[
https://issues.apache.org/jira/browse/STANBOL-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197760#comment-13197760
]
Alessandro Adamou commented on STANBOL-476:
-------------------------------------------
Download links are correct from the content hub, but I see you added the
"contenthub" part in the enhancer.jersey resource.
Is that resource supposed to work even if the content hub is not installed?
Will any other component use that resource and create those download links?
Probably this means it is about time to move the ContentItem -related APIs out
of the enhancer and either into commons or into contenthub (by extension, in
this case we should include the contenthub in the stable launcher).
> Wrong URIs in ContentHub HTML metadata and content download links
> -----------------------------------------------------------------
>
> Key: STANBOL-476
> URL: https://issues.apache.org/jira/browse/STANBOL-476
> Project: Stanbol
> Issue Type: Bug
> Components: Content Hub
> Reporter: Alessandro Adamou
> Labels: REST
>
> Upon creating a new content item using the [stanbol-host]/contenthub/store
> HTML interface, a new ContentItemResource is created, e.g.
> http://localhost:8080/contenthub/store/page/urn:content-item-sha1-c08cb1a33e7343bd1c9b85f98800ac1bac157c76
> The Web template for that resource has content item and enhancement download
> links, but their URIs miss the "contenthub" endpoint:
> http://localhost:8080/store/raw/urn:content-item-sha1-c08cb1a33e7343bd1c9b85f98800ac1bac157c76
> http://localhost:8080/store/metadata/urn:content-item-sha1-c08cb1a33e7343bd1c9b85f98800ac1bac157c76
> where they should be http://localhost:8080/contenthub/store/...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira