Compare commits
59 Commits
develop-ac
...
v2.1.0-acs
Author | SHA1 | Date | |
---|---|---|---|
37e5bfeba2 | |||
bd5a0eed26 | |||
6becd9fbcd | |||
573804252b | |||
151366e787 | |||
af23be4e64 | |||
b420e53a58 | |||
b1e5cf72e3 | |||
35806152a8 | |||
11f1b54dc2 | |||
0f32bb67c0 | |||
4563273606 | |||
1af15422a2 | |||
89515eb147 | |||
12b4544f81 | |||
c800a492d6 | |||
6ab29b64f3 | |||
2d05f7a2a5 | |||
c84f11868e | |||
ca54c5f893 | |||
af33dc3730 | |||
1f6838ece7 | |||
038237e2aa | |||
29a13ac7b2 | |||
50c6cf6199 | |||
2d05a1a7d0 | |||
f8967b535e | |||
a70dfe2d60 | |||
e9adb1bf2f | |||
898cb702e9 | |||
8fcaed758d | |||
920aeb4ec4 | |||
a015ed5101 | |||
4ddb9aafd4 | |||
7b0963617e | |||
52010dc76e | |||
cac4c90781 | |||
117efaeedd | |||
b3275519ff | |||
3093d2bdc4 | |||
068aff951e | |||
76ac68d0e4 | |||
9e0499b243 | |||
eb0ab01355 | |||
105868b5df | |||
0e8d522769 | |||
7185dd225e | |||
1e4f420f47 | |||
64330e3ca4 | |||
8e538cfec5 | |||
d0c1e92bce | |||
c879fa41b7 | |||
10b8a4c982 | |||
7dd7cc0fd4 | |||
e9ea115849 | |||
5741c77a45 | |||
3bbda05066 | |||
cf1da9b6f1 | |||
1f48c3196f |
37
pom.xml
37
pom.xml
@@ -5,10 +5,10 @@
|
||||
|
||||
<groupId>com.inteligr8.alfresco</groupId>
|
||||
<artifactId>acs-public-rest-api</artifactId>
|
||||
<version>2.1-SNAPSHOT-acs52</version>
|
||||
<version>2.1.0-acs62</version>
|
||||
|
||||
<name>Alfresco Content Services ReST API for Java</name>
|
||||
<description>A library for building ACS v5.2.x JAX-RS REST API clients</description>
|
||||
<description>A library for building ACS v6.2.x JAX-RS REST API clients</description>
|
||||
<url>https://bitbucket.org/inteligr8/acs-public-rest-api</url>
|
||||
|
||||
<licenses>
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
<swagger.basePackage>com.inteligr8.alfresco.acs</swagger.basePackage>
|
||||
|
||||
<alfresco.platform.version>5.2.0</alfresco.platform.version>
|
||||
<alfresco.platform.version>6.2.0</alfresco.platform.version>
|
||||
|
||||
<jersey.version>2.39.1</jersey.version>
|
||||
<cxf.version>3.5.6</cxf.version>
|
||||
@@ -144,6 +144,17 @@
|
||||
<generateModelDocumentation>false</generateModelDocumentation>
|
||||
</configuration>
|
||||
<executions>
|
||||
<!-- search before core, as ContentInfo is incorrect in search -->
|
||||
<execution>
|
||||
<id>swagger-search-codegen</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>generate</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<inputSpec>${project.build.directory}/dependency/definitions/alfresco-search.yaml</inputSpec>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>swagger-core-codegen</id>
|
||||
<phase>generate-sources</phase>
|
||||
@@ -164,16 +175,6 @@
|
||||
<inputSpec>${project.build.directory}/dependency/definitions/alfresco-workflow.yaml</inputSpec>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>swagger-search-codegen</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>generate</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<inputSpec>${project.build.directory}/dependency/definitions/alfresco-search.yaml</inputSpec>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>swagger-auth-codegen</id>
|
||||
<phase>generate-sources</phase>
|
||||
@@ -225,23 +226,23 @@
|
||||
<previousPattern>/\*\*</previousPattern>
|
||||
</regex>
|
||||
<regex>
|
||||
<pattern>(\* Alfresco Core REST API[^@]*)@Path\("/"\)</pattern>
|
||||
<pattern>(\*\*Core API\*\*[^@]*)@Path\("/"\)</pattern>
|
||||
<replacement>$1@Path("/api/-default-/public/alfresco/versions/1")</replacement>
|
||||
</regex>
|
||||
<regex>
|
||||
<pattern>(\* Alfresco Workflow REST API[^@]*)@Path\("/"\)</pattern>
|
||||
<pattern>(\*\*Workflow API\*\*[^@]*)@Path\("/"\)</pattern>
|
||||
<replacement>$1@Path("/api/-default-/public/workflow/versions/1")</replacement>
|
||||
</regex>
|
||||
<regex>
|
||||
<pattern>(\* Alfresco Authentication REST API[^@]*)@Path\("/"\)</pattern>
|
||||
<pattern>(\*\*Authentication API\*\*[^@]*)@Path\("/"\)</pattern>
|
||||
<replacement>$1@Path("/api/-default-/public/authentication/versions/1")</replacement>
|
||||
</regex>
|
||||
<regex>
|
||||
<pattern>(\* Alfresco Discovery REST API[^@]*)@Path\("/"\)</pattern>
|
||||
<pattern>(\*\*Discovery API\*\*[^@]*)@Path\("/"\)</pattern>
|
||||
<replacement>$1@Path("/api")</replacement>
|
||||
</regex>
|
||||
<regex>
|
||||
<pattern>(\* Alfresco Search REST API[^@]*)@Path\("/"\)</pattern>
|
||||
<pattern>(\*\*Search API\*\*[^@]*)@Path\("/"\)</pattern>
|
||||
<replacement>$1@Path("/api/-default-/public/search/versions/1")</replacement>
|
||||
</regex>
|
||||
</regexes>
|
||||
|
@@ -14,16 +14,21 @@
|
||||
*/
|
||||
package com.inteligr8.alfresco.acs;
|
||||
|
||||
import com.inteligr8.alfresco.acs.api.ActionsApi;
|
||||
import com.inteligr8.alfresco.acs.api.ActivitiesApi;
|
||||
import com.inteligr8.alfresco.acs.api.AuditApi;
|
||||
import com.inteligr8.alfresco.acs.api.AuthenticationApi;
|
||||
import com.inteligr8.alfresco.acs.api.CommentsApi;
|
||||
import com.inteligr8.alfresco.acs.api.DeploymentsApi;
|
||||
import com.inteligr8.alfresco.acs.api.DiscoveryApi;
|
||||
import com.inteligr8.alfresco.acs.api.DownloadsApi;
|
||||
import com.inteligr8.alfresco.acs.api.FavoritesApi;
|
||||
import com.inteligr8.alfresco.acs.api.GroupsApi;
|
||||
import com.inteligr8.alfresco.acs.api.NetworksApi;
|
||||
import com.inteligr8.alfresco.acs.api.NodesApi;
|
||||
import com.inteligr8.alfresco.acs.api.PeopleApi;
|
||||
import com.inteligr8.alfresco.acs.api.PreferencesApi;
|
||||
import com.inteligr8.alfresco.acs.api.ProbesApi;
|
||||
import com.inteligr8.alfresco.acs.api.ProcessDefinitionsApi;
|
||||
import com.inteligr8.alfresco.acs.api.ProcessesApi;
|
||||
import com.inteligr8.alfresco.acs.api.QueriesApi;
|
||||
@@ -48,9 +53,17 @@ public interface AcsPublicRestApi {
|
||||
|
||||
<T> T getApi(Class<T> apiClass);
|
||||
|
||||
default ActionsApi getActionsApi() {
|
||||
return this.getApi(ActionsApi.class);
|
||||
}
|
||||
|
||||
default ActivitiesApi getActivitiesApi() {
|
||||
return this.getApi(ActivitiesApi.class);
|
||||
}
|
||||
|
||||
default AuditApi getAuditApi() {
|
||||
return this.getApi(AuditApi.class);
|
||||
}
|
||||
|
||||
default AuthenticationApi getAuthenticationApi() {
|
||||
return this.getApi(AuthenticationApi.class);
|
||||
@@ -68,10 +81,18 @@ public interface AcsPublicRestApi {
|
||||
return this.getApi(DiscoveryApi.class);
|
||||
}
|
||||
|
||||
default DownloadsApi getDownloadsApi() {
|
||||
return this.getApi(DownloadsApi.class);
|
||||
}
|
||||
|
||||
default FavoritesApi getFavoritesApi() {
|
||||
return this.getApi(FavoritesApi.class);
|
||||
}
|
||||
|
||||
default GroupsApi getGroupsApi() {
|
||||
return this.getApi(GroupsApi.class);
|
||||
}
|
||||
|
||||
default NetworksApi getNetworksApi() {
|
||||
return this.getApi(NetworksApi.class);
|
||||
}
|
||||
@@ -96,6 +117,10 @@ public interface AcsPublicRestApi {
|
||||
return this.getApi(ProcessesApi.class);
|
||||
}
|
||||
|
||||
default ProbesApi getProbesApi() {
|
||||
return this.getApi(ProbesApi.class);
|
||||
}
|
||||
|
||||
default QueriesApi getQueriesApi() {
|
||||
return this.getApi(QueriesApi.class);
|
||||
}
|
||||
|
Reference in New Issue
Block a user