Compare commits

...

3 Commits

Author SHA1 Message Date
59adc9cea4 v1.2.2 pom 2022-04-07 23:49:57 -04:00
92b038f65b Merge branch 'develop' into stable 2022-04-07 23:48:42 -04:00
0365425e4f added renew param for import app 2022-04-07 23:48:34 -04:00
2 changed files with 6 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.inteligr8.alfresco</groupId>
<artifactId>aps-public-rest-api</artifactId>
<version>1.2.1</version>
<version>1.2.2</version>
<name>Alfresco Process Services ReST API Client for Java</name>
<properties>

View File

@@ -6,6 +6,7 @@ import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import org.apache.cxf.jaxrs.ext.multipart.MultipartBody;
@@ -21,7 +22,8 @@ public interface AppDefinitionsCxfApi {
@Consumes({ MediaType.MULTIPART_FORM_DATA })
@Produces({ MediaType.APPLICATION_JSON })
AppDefinitionRepresentation import_(
MultipartBody body);
MultipartBody body,
@QueryParam("renewIdmEntries") Boolean renewIdmEntries);
@POST
@Path("{modelId}/import")
@@ -29,7 +31,8 @@ public interface AppDefinitionsCxfApi {
@Produces({ MediaType.APPLICATION_JSON })
AppDefinitionRepresentation import_(
@PathParam("modelId") Long appId,
MultipartBody body);
MultipartBody body,
@QueryParam("renewIdmEntries") Boolean renewIdmEntries);
@POST
@Path("publish-app")