You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2017/11/02 09:31:00 UTC

[jira] [Commented] (FELIX-5736) forward custom properties in a configuration to HttpRuntimeService

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

Carsten Ziegeler commented on FELIX-5736:
-----------------------------------------

Thanks for the patch [~jalbert]. I'Ve applied a slightly modified version in rev 1814050 and rev 1814051 (R7 branch).
I didn't apply the move of the constants. This is in order to keep the changes minimal as we have to maintain two branches atm (R6 + R7)
I changed the name of the property to "org.apache.felix.http.runtime.init." as this is more inline with the other props for similar cases like "servlet.init", "filter.init" etc.

> forward custom properties in a configuration to HttpRuntimeService
> ------------------------------------------------------------------
>
>                 Key: FELIX-5736
>                 URL: https://issues.apache.org/jira/browse/FELIX-5736
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http.jetty-3.4.4
>            Reporter: Jürgen Albert
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: http.jetty-3.5.0
>
>         Attachments: FELIX-5736.patch
>
>
> In order to use the whiteboard target in a meaningful manner, it would make sense, to set custom properties in a configuration to the HttpRuntimeService as well. 
> This can be achieved by forwarding all properties, that are no known configuration properties or by defining some kind of prefix, similar to the HttpWhiteboardConstants.HTTP_WHITEBOARD_CONTEXT_INIT_PARAM_PREFIX. The prefix solution should then be added to the runtime properties without the prefix.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)