The reference documentation says of prefixes in the value configured in web.xml for initialSpecFile that:
"The string {file} in the prefix is replaced by the base of the filename with any trailing .ttl removed. The string {api} in the prefix is replaced by the local name(s) of the API resouce(s) in the spec."
Except that this doesn't happen, because:
- The only reference to the strings
{file} and {api} in the (Java) code is in the setUriTemplate() method of elda-lda/src/main/java/com/epimorphics/lda/routing/ServletUtils.java.
- In
elda-lda/src/main/java/com/epimorphics/lda/routing/ServletUtils.java, the call in registerModel() to the setUriTemplate() method has been "commented out"; it appears as:
if (false) setUriTemplatePrefix( prefixPath, filePath, api );
It seems this happened in commit b7e0e7e (23 November 2012), commit comment "Revised prefixed routing to use a map in DefauktRouter rather than extendeding the uri templates."
The commit comment suggests the feature should be available some other way, but it wasn't clear by reading the diff of that commit what that other way would be.
The reference documentation says of prefixes in the value configured in
web.xmlforinitialSpecFilethat:"The string
{file}in the prefix is replaced by the base of the filename with any trailing.ttlremoved. The string{api}in the prefix is replaced by the local name(s) of the API resouce(s) in the spec."Except that this doesn't happen, because:
{file}and{api}in the (Java) code is in thesetUriTemplate()method ofelda-lda/src/main/java/com/epimorphics/lda/routing/ServletUtils.java.elda-lda/src/main/java/com/epimorphics/lda/routing/ServletUtils.java, the call inregisterModel()to thesetUriTemplate()method has been "commented out"; it appears as:It seems this happened in commit b7e0e7e (23 November 2012), commit comment "Revised prefixed routing to use a map in DefauktRouter rather than extendeding the uri templates."
The commit comment suggests the feature should be available some other way, but it wasn't clear by reading the diff of that commit what that other way would be.