modified path replacement for ACS v6.x+

This commit is contained in:
Brian Long 2023-06-16 09:47:40 -04:00
parent b420e53a58
commit af23be4e64

10
pom.xml
View File

@ -225,23 +225,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>