[jira] [Created] (DELTASPIKE-591) Add a ProjectStage aware resource Servlet

2014-05-12 Thread Daniel Sachse (JIRA)
Daniel Sachse created DELTASPIKE-591:


 Summary: Add a ProjectStage aware resource Servlet
 Key: DELTASPIKE-591
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-591
 Project: DeltaSpike
  Issue Type: New Feature
  Components: Servlet-Module
Reporter: Daniel Sachse






--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (DELTASPIKE-591) Add a ProjectStage aware resource Servlet

2014-05-13 Thread Daniel Sachse (JIRA)

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

Daniel Sachse commented on DELTASPIKE-591:
--

The benefit to us would be, that given the current ProjectStage is Production 
and you request a file e.g. /configuration.js, the filter would try to find a 
file /Production/configuration.js . If the ProjectStage changes to Development 
then the filter would try to find /Development/configuration.js

This would be an easy way for us to deliver different files depending on the 
environment. It basically is a mapping of the ProjectStage aware configuration 
into the context of file resources.

> Add a ProjectStage aware resource Servlet
> -
>
> Key: DELTASPIKE-591
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-591
> Project: DeltaSpike
>  Issue Type: New Feature
>  Components: Servlet-Module
>Reporter: Daniel Sachse
> Attachments: DELTASPIKE-591.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (DELTASPIKE-591) Add a ProjectStage aware resource Servlet

2014-05-13 Thread Daniel Sachse (JIRA)

 [ 
https://issues.apache.org/jira/browse/DELTASPIKE-591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Sachse resolved DELTASPIKE-591.
--

Resolution: Fixed

> Add a ProjectStage aware resource Servlet
> -
>
> Key: DELTASPIKE-591
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-591
> Project: DeltaSpike
>  Issue Type: New Feature
>  Components: Servlet-Module
>Reporter: Daniel Sachse
> Attachments: DELTASPIKE-591.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (DELTASPIKE-591) Add a ProjectStage aware resource Servlet

2014-05-13 Thread Daniel Sachse (JIRA)

 [ 
https://issues.apache.org/jira/browse/DELTASPIKE-591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Sachse updated DELTASPIKE-591:
-

Attachment: DELTASPIKE-591.patch

Hey folks,

here is my implementation including 2 test cases.

What do you think?

Daniel

> Add a ProjectStage aware resource Servlet
> -
>
> Key: DELTASPIKE-591
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-591
> Project: DeltaSpike
>  Issue Type: New Feature
>  Components: Servlet-Module
>Reporter: Daniel Sachse
> Attachments: DELTASPIKE-591.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)