You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jörn Kottmann (JIRA)" <de...@uima.apache.org> on 2011/02/21 15:26:38 UTC

[jira] Commented: (UIMA-1969) Add support for external resources hosted on an http server

    [ https://issues.apache.org/jira/browse/UIMA-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997418#comment-12997418 ] 

Jörn Kottmann commented on UIMA-1969:
-------------------------------------

Sorry it took me a few days. I tested it now with UIMA-AS 2.3.1 RC4 and it can just load resources from an http server out of the box.

To close this issue we need to update the documentation.

> Add support for external resources hosted on an http server
> -----------------------------------------------------------
>
>                 Key: UIMA-1969
>                 URL: https://issues.apache.org/jira/browse/UIMA-1969
>             Project: UIMA
>          Issue Type: New Feature
>          Components: Core Java Framework
>    Affects Versions: 2.3.1SDK
>            Reporter: Jörn Kottmann
>
> Currently external resources for an Analysis Engine can only be loaded from the file system. This is useful 
> for many use cases in which the resources are almost static and rarely change. In our scenario the resources
> are updated frequently and hosted on a central server. The server could expose a file system over the network
> via NFS or windows file sharing, but it seems to be more intuitiv and easier to just distribute the resources via http.
> In order to do that the resource loading must be extended to also support resource which are available via
> http. It seems that the current code for the file URLs can be easily extended to also allow http resources. 
> According to the documentation it uses URL.openStream and forbids http URLs which would be supported
> by that method.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira