[Red Hat JIRA] (ISPN-12763) Allow loading of URIs from classpath
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-12763?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-12763:
-----------------------------------
Status: Open (was: New)
> Allow loading of URIs from classpath
> ------------------------------------
>
> Key: ISPN-12763
> URL: https://issues.redhat.com/browse/ISPN-12763
> Project: Infinispan
> Issue Type: Enhancement
> Components: Hot Rod
> Affects Versions: 12.0.1.Final
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 12.1.0.Final
>
>
> When passing {{configuration_uri}} in properties, we should provide a way to load resources from the classpath.
> Since the JDK doesn't have a comfortable URL handler for classpath, we should do the following:
> * if the URI is relative (i.e. it doesn't provide a protocol), attempt to load the resource from the system classloader and TCCL.
> * provide a {{URLStreamHandlerFactory}} which handles the {{classpath:}} protocol
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 10 months
[Red Hat JIRA] (ISPN-12763) Allow loading of URIs from classpath
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-12763?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-12763:
-----------------------------------
Git Pull Request: https://github.com/infinispan/infinispan/pull/9074
Status: Pull Request Sent (was: Open)
> Allow loading of URIs from classpath
> ------------------------------------
>
> Key: ISPN-12763
> URL: https://issues.redhat.com/browse/ISPN-12763
> Project: Infinispan
> Issue Type: Enhancement
> Components: Hot Rod
> Affects Versions: 12.0.1.Final
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 12.1.0.Final
>
>
> When passing {{configuration_uri}} in properties, we should provide a way to load resources from the classpath.
> Since the JDK doesn't have a comfortable URL handler for classpath, we should do the following:
> * if the URI is relative (i.e. it doesn't provide a protocol), attempt to load the resource from the system classloader and TCCL.
> * provide a {{URLStreamHandlerFactory}} which handles the {{classpath:}} protocol
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 10 months
[Red Hat JIRA] (ISPN-12763) Allow loading of URIs from classpath
by Tristan Tarrant (Jira)
Tristan Tarrant created ISPN-12763:
--------------------------------------
Summary: Allow loading of URIs from classpath
Key: ISPN-12763
URL: https://issues.redhat.com/browse/ISPN-12763
Project: Infinispan
Issue Type: Enhancement
Components: Hot Rod
Affects Versions: 12.0.1.Final
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 12.1.0.Final
When passing {{configuration_uri}} in properties, we should provide a way to load resources from the classpath.
Since the JDK doesn't have a comfortable URL handler for classpath, we should do the following:
* if the URI is relative (i.e. it doesn't provide a protocol), attempt to load the resource from the system classloader and TCCL.
* provide a {{URLStreamHandlerFactory}} which handles the {{classpath:}} protocol
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 10 months