Closed yoh1496 closed 3 years ago
This PR closes https://github.com/personium/personium-core/issues/338 .
You can configure service collection endpoint name with JAX-RX URI Template pattern.
Like this.
<p:service language="JavaScript" xmlns:p="urn:x-personium:xmlns" xmlns:D="DAV:"> <p:path name="{id: \d.}/edit" src="edit.js"/> <p:path name="{id: \d.}/view" src="view.js"/> </p:service>
FilenameResolverTest.java
ScriptTestForDynamicPath.java
ScriptTestForDynamicPath.java is must be done by mvn test commmand with arg -Dio.personium.test.service=true.
mvn test
-Dio.personium.test.service=true
I'll create another PR for modifying test codes folder strucuture and GitHub actions for test
This PR closes https://github.com/personium/personium-core/issues/338 .
You can configure service collection endpoint name with JAX-RX URI Template pattern.
Like this.
Test Codes
FilenameResolverTest.java
: route resolver unit testScriptTestForDynamicPath.java
: tests for calling engine script via personium-coreScriptTestForDynamicPath.java
is must be done bymvn test
commmand with arg-Dio.personium.test.service=true
.