branch develop updated (1c3ed60 -> 5774893)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository observe. See https://gitlab.nuiton.org/codelutin/observe.git from 1c3ed60 Fix dependency usage new 5774893 Fix generated webmotion mapping The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 577489388e863eb5f5d5e902aa0cb19f6628b19b Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Sep 7 10:54:46 2016 +0200 Fix generated webmotion mapping Summary of changes: .../ird/observe/maven/plugins/toolbox/GenerateWebmotionMappingMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository observe. See https://gitlab.nuiton.org/codelutin/observe.git commit 577489388e863eb5f5d5e902aa0cb19f6628b19b Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Sep 7 10:54:46 2016 +0200 Fix generated webmotion mapping --- .../ird/observe/maven/plugins/toolbox/GenerateWebmotionMappingMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolbox-maven-plugin/src/main/java/fr/ird/observe/maven/plugins/toolbox/GenerateWebmotionMappingMojo.java b/toolbox-maven-plugin/src/main/java/fr/ird/observe/maven/plugins/toolbox/GenerateWebmotionMappingMojo.java index 3451f0e..7e0287d 100644 --- a/toolbox-maven-plugin/src/main/java/fr/ird/observe/maven/plugins/toolbox/GenerateWebmotionMappingMojo.java +++ b/toolbox-maven-plugin/src/main/java/fr/ird/observe/maven/plugins/toolbox/GenerateWebmotionMappingMojo.java @@ -238,7 +238,7 @@ public class GenerateWebmotionMappingMojo extends ToolboxMojoSupport { } String packagePrefix = targetClass.getName().substring(targetApiPackageName.length() + 1) + "."; - String rulePrefix = "GET,POST,DELETE /api/v1/" + packagePrefix.replace("\\.", "\\"); + String rulePrefix = "GET,POST,DELETE /api/v1/" + packagePrefix.replace("Controller", "").replaceAll("\\.", "/"); for (Method sourceMethod : sourceDeclaredMethods) { -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm