mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-4565 (Update RM API Explorer dependency and split war files)
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
<alfresco.rm.artifactId>alfresco-rm-community-repo</alfresco.rm.artifactId>
|
||||
<skip.integrationtests>true</skip.integrationtests>
|
||||
<alfresco.solr.home>${project.build.directory}/solr/home</alfresco.solr.home>
|
||||
<api.explorer.version>1.4</api.explorer.version>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
@@ -532,11 +533,19 @@
|
||||
<contextPath>/solr4</contextPath>
|
||||
<contextFile>${alfresco.solr.home}/context.xml</contextFile>
|
||||
</webapp>
|
||||
<webapp>
|
||||
<groupId>org.alfresco</groupId>
|
||||
<artifactId>api-explorer</artifactId>
|
||||
<version>${api.explorer.version}</version>
|
||||
<contextPath>/api-explorer</contextPath>
|
||||
<type>war</type>
|
||||
<asWebapp>true</asWebapp>
|
||||
</webapp>
|
||||
<webapp>
|
||||
<groupId>org.alfresco</groupId>
|
||||
<artifactId>alfresco-rm-community-rest-api-explorer</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<contextPath>/api-explorer</contextPath>
|
||||
<contextPath>/rm-api-explorer</contextPath>
|
||||
<type>war</type>
|
||||
<asWebapp>true</asWebapp>
|
||||
</webapp>
|
||||
|
@@ -11,7 +11,7 @@
|
||||
</parent>
|
||||
|
||||
<properties>
|
||||
<alfresco.api.explorer.version>2.0-SNAPSHOT</alfresco.api.explorer.version>
|
||||
<alfresco.api.explorer.version>1.4</alfresco.api.explorer.version>
|
||||
<swagger-ui.version>2.1.4</swagger-ui.version>
|
||||
<maven.compiler.source>1.7</maven.compiler.source>
|
||||
<maven.compiler.target>1.7</maven.compiler.target>
|
||||
@@ -30,6 +30,9 @@
|
||||
<overlay>
|
||||
<groupId>org.alfresco</groupId>
|
||||
<artifactId>api-explorer</artifactId>
|
||||
<excludes>
|
||||
<exclude>definitions/*</exclude>
|
||||
</excludes>
|
||||
</overlay>
|
||||
</overlays>
|
||||
</configuration>
|
||||
|
@@ -32,7 +32,7 @@
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
window.swaggerUi = new SwaggerUi({
|
||||
url: "definitions/alfresco-core.yaml",
|
||||
url: "definitions/ig-core-api.yaml",
|
||||
dom_id: "swagger-ui-container",
|
||||
supportedSubmitMethods: ['get', 'post', 'put', 'delete'],
|
||||
onComplete: function(swaggerApi, swaggerUi){
|
||||
@@ -91,10 +91,6 @@
|
||||
<form id="api_selector">
|
||||
<div class="input" id="select-wrapper">
|
||||
<select id="select_baseUrl" name="select_baseUrl">
|
||||
<option value="definitions/alfresco-core.yaml">Core API</option>
|
||||
<option value="definitions/alfresco-search.yaml">Search API</option>
|
||||
<option value="definitions/alfresco-auth.yaml">Authentication API</option>
|
||||
<option value="definitions/alfresco-workflow.yaml">Workflow API</option>
|
||||
<option value="definitions/ig-core-api.yaml">IG Core API</option>
|
||||
</select>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user