You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Minto van der Sluis (JIRA)" <ji...@apache.org> on 2012/09/20 21:57:07 UTC

[jira] [Created] (ISIS-271) the option to overrule properties distributed as part of the application (read external properties)

Minto van der Sluis created ISIS-271:
----------------------------------------

             Summary: the option to overrule properties distributed as part of the application (read external properties)
                 Key: ISIS-271
                 URL: https://issues.apache.org/jira/browse/ISIS-271
             Project: Isis
          Issue Type: Wish
          Components: Viewer: HTML, Viewer: Wicket
    Affects Versions: 0.3.1-incubating
            Reporter: Minto van der Sluis
            Priority: Minor


Currently property files can be read from a few sources. However in the current situation the property files are mostly read from inside the deployed application (insde the war file). In an enterprise situation it is practically never the case that the properties are the same in DTAP (Development, Test, Acceptance, Production) environment. For instance the database most likely is different in any of these environment.

To support this it should be possible to override a minor subset of all the available properties. In this situation external (outside war) and internal (inside war) are merged together in one set of property files used by Isis. (see also ISIS-262).

It is possible to achieve this using the classpath but that is quite a burden. Using a special context parameter (in web applications) is the easiest and most transparent solution.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (ISIS-271) the option to overrule properties distributed as part of the application (read external properties)

Posted by "Minto van der Sluis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ISIS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459914#comment-13459914 ] 

Minto van der Sluis commented on ISIS-271:
------------------------------------------

See also these related messages on the mailing list:
http://mail-archives.apache.org/mod_mbox/incubator-isis-users/201208.mbox/%3C5040A282.5010300%40xup.nl%3E
http://mail-archives.apache.org/mod_mbox/incubator-isis-users/201209.mbox/%3CCALJOYLEG0Na03knHNptgX7aCCKifkYS9AixcQQsM9vDtK1uajg%40mail.gmail.com%3E
                
> the option to overrule properties distributed as part of the application (read external properties)
> ---------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-271
>                 URL: https://issues.apache.org/jira/browse/ISIS-271
>             Project: Isis
>          Issue Type: Wish
>          Components: Viewer: HTML, Viewer: Wicket
>    Affects Versions: 0.3.1-incubating
>            Reporter: Minto van der Sluis
>            Priority: Minor
>         Attachments: ISIS-271-Added-support-for-using-property-files-from.patch
>
>
> Currently property files can be read from a few sources. However in the current situation the property files are mostly read from inside the deployed application (insde the war file). In an enterprise situation it is practically never the case that the properties are the same in DTAP (Development, Test, Acceptance, Production) environment. For instance the database most likely is different in any of these environment.
> To support this it should be possible to override a minor subset of all the available properties. In this situation external (outside war) and internal (inside war) are merged together in one set of property files used by Isis. (see also ISIS-262).
> It is possible to achieve this using the classpath but that is quite a burden. Using a special context parameter (in web applications) is the easiest and most transparent solution.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (ISIS-271) the option to overrule properties distributed as part of the application (read external properties)

Posted by "Dan Haywood (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ISIS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood resolved ISIS-271.
------------------------------

    Resolution: Fixed

r1388737
                
> the option to overrule properties distributed as part of the application (read external properties)
> ---------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-271
>                 URL: https://issues.apache.org/jira/browse/ISIS-271
>             Project: Isis
>          Issue Type: Wish
>          Components: Viewer: HTML, Viewer: Wicket
>    Affects Versions: 0.3.1-incubating
>            Reporter: Minto van der Sluis
>            Priority: Minor
>         Attachments: ISIS-271-Added-support-for-using-property-files-from.patch
>
>
> Currently property files can be read from a few sources. However in the current situation the property files are mostly read from inside the deployed application (insde the war file). In an enterprise situation it is practically never the case that the properties are the same in DTAP (Development, Test, Acceptance, Production) environment. For instance the database most likely is different in any of these environment.
> To support this it should be possible to override a minor subset of all the available properties. In this situation external (outside war) and internal (inside war) are merged together in one set of property files used by Isis. (see also ISIS-262).
> It is possible to achieve this using the classpath but that is quite a burden. Using a special context parameter (in web applications) is the easiest and most transparent solution.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (ISIS-271) the option to overrule properties distributed as part of the application (read external properties)

Posted by "Minto van der Sluis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ISIS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Minto van der Sluis updated ISIS-271:
-------------------------------------

    Attachment: ISIS-271-Added-support-for-using-property-files-from.patch

Patch to read property files from a configurable external location. This patch requires the patch from ISIS-262. 
                
> the option to overrule properties distributed as part of the application (read external properties)
> ---------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-271
>                 URL: https://issues.apache.org/jira/browse/ISIS-271
>             Project: Isis
>          Issue Type: Wish
>          Components: Viewer: HTML, Viewer: Wicket
>    Affects Versions: 0.3.1-incubating
>            Reporter: Minto van der Sluis
>            Priority: Minor
>         Attachments: ISIS-271-Added-support-for-using-property-files-from.patch
>
>
> Currently property files can be read from a few sources. However in the current situation the property files are mostly read from inside the deployed application (insde the war file). In an enterprise situation it is practically never the case that the properties are the same in DTAP (Development, Test, Acceptance, Production) environment. For instance the database most likely is different in any of these environment.
> To support this it should be possible to override a minor subset of all the available properties. In this situation external (outside war) and internal (inside war) are merged together in one set of property files used by Isis. (see also ISIS-262).
> It is possible to achieve this using the classpath but that is quite a burden. Using a special context parameter (in web applications) is the easiest and most transparent solution.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira