[jira] [Commented] (OFBIZ-12401) Improved OFBiz configuration management for containers

2022-09-18 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17606280#comment-17606280
 ] 

Jacques Le Roux commented on OFBIZ-12401:
-

Hi, what should be the status here?

> Improved OFBiz configuration management for containers
> --
>
> Key: OFBIZ-12401
> URL: https://issues.apache.org/jira/browse/OFBIZ-12401
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Ioan Eugen Stan
>Priority: Major
>
> It's hard to use OFBiz with containers and other deployment scenarios because 
> the OFBiz configuration is intertwined with source files and there are a lot 
> of them.
> We also need:
>  * the ability to override configuration properties
>  * load configs from a single / handful of files in a single location
>  * optionally load from multiple sources (files, db, configuration services 
> like kubernetes, consul ,etc) .
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12401) Improved OFBiz configuration management for containers

2021-12-17 Thread Marco RODRIGUES (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17461489#comment-17461489
 ] 

Marco RODRIGUES commented on OFBIZ-12401:
-

I will have some days off, two next week.

If you have material to integrate into the common reflection, it would be 
interesting to send it. Even if it is not finalized, it will provide ideas that 
could be integrated, trying to fit the needs.

> Improved OFBiz configuration management for containers
> --
>
> Key: OFBIZ-12401
> URL: https://issues.apache.org/jira/browse/OFBIZ-12401
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Ioan Eugen Stan
>Priority: Major
>
> It's hard to use OFBiz with containers and other deployment scenarios because 
> the OFBiz configuration is intertwined with source files and there are a lot 
> of them.
> We also need:
>  * the ability to override configuration properties
>  * load configs from a single / handful of files in a single location
>  * optionally load from multiple sources (files, db, configuration services 
> like kubernetes, consul ,etc) .
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (OFBIZ-12401) Improved OFBiz configuration management for containers

2021-11-29 Thread Marco RODRIGUES (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17450460#comment-17450460
 ] 

Marco RODRIGUES commented on OFBIZ-12401:
-

Hi Eugen, Hi Jacques,
I have added a comment on ticket OFBIZ-9498 which has lead to 
https://github.com/apache/ofbiz-framework/pull/355 .

All your comments, improvements or recommendations to make it better or fit 
your needs are welcome

> Improved OFBiz configuration management for containers
> --
>
> Key: OFBIZ-12401
> URL: https://issues.apache.org/jira/browse/OFBIZ-12401
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Ioan Eugen Stan
>Priority: Major
>
> It's hard to use OFBiz with containers and other deployment scenarios because 
> the OFBiz configuration is intertwined with source files and there are a lot 
> of them.
> We also need:
>  * the ability to override configuration properties
>  * load configs from a single / handful of files in a single location
>  * optionally load from multiple sources (files, db, configuration services 
> like kubernetes, consul ,etc) .
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (OFBIZ-12401) Improved OFBiz configuration management for containers

2021-11-28 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17450039#comment-17450039
 ] 

Jacques Le Roux commented on OFBIZ-12401:
-

Hi Eugen,

Are you aware of OFBIZ-9498 and 
https://github.com/apache/ofbiz-framework/pull/355 ?

> Improved OFBiz configuration management for containers
> --
>
> Key: OFBIZ-12401
> URL: https://issues.apache.org/jira/browse/OFBIZ-12401
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Ioan Eugen Stan
>Priority: Major
>
> It's hard to use OFBiz with containers and other deployment scenarios because 
> the OFBiz configuration is intertwined with source files and there are a lot 
> of them.
> We also need:
>  * the ability to override configuration properties
>  * load configs from a single / handful of files in a single location
>  * optionally load from multiple sources (files, db, configuration services 
> like kubernetes, consul ,etc) .
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (OFBIZ-12401) Improved OFBiz configuration management for containers

2021-11-28 Thread Ioan Eugen Stan (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17450026#comment-17450026
 ] 

Ioan Eugen Stan commented on OFBIZ-12401:
-

When running inside containers we need a way to easily configure 
"host-headers-allowed" 
"You need to set host-headers-allowed property in security.properties file. " 

It would be great to have this configured via environment variable for easy 
container configuration.

 

The alternative right now is to mount a configuration file as a volume which is 
not very nice. 

> Improved OFBiz configuration management for containers
> --
>
> Key: OFBIZ-12401
> URL: https://issues.apache.org/jira/browse/OFBIZ-12401
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Ioan Eugen Stan
>Priority: Major
>
> It's hard to use OFBiz with containers and other deployment scenarios because 
> the OFBiz configuration is intertwined with source files and there are a lot 
> of them.
> We also need:
>  * the ability to override configuration properties
>  * load configs from a single / handful of files in a single location
>  * optionally load from multiple sources (files, db, configuration services 
> like kubernetes, consul ,etc) .
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (OFBIZ-12401) Improved OFBiz configuration management for containers

2021-11-24 Thread Ioan Eugen Stan (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17448821#comment-17448821
 ] 

Ioan Eugen Stan commented on OFBIZ-12401:
-

[~pierresmits] : I'm talking about the configurations you normally need to 
restart the application for:
 * ports
 * database configuration (url, credentials, etc)
 *  

Some good libraries for this are:
[https://github.com/lightbend/config]  - 0 dependency configuration library

[https://github.com/cfg4j/cfg4j] - nice feature set - but seems not to be 
maintained so I am worried

I also looked at commons-configuration but I think it brings a lot of baggage.

 

One question is how to migrate existing configurations?

> Improved OFBiz configuration management for containers
> --
>
> Key: OFBIZ-12401
> URL: https://issues.apache.org/jira/browse/OFBIZ-12401
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Ioan Eugen Stan
>Priority: Major
>
> It's hard to use OFBiz with containers and other deployment scenarios because 
> the OFBiz configuration is intertwined with source files and there are a lot 
> of them.
> We also need:
>  * the ability to override configuration properties
>  * load configs from a single / handful of files in a single location
>  * optionally load from multiple sources (files, db, configuration services 
> like kubernetes, consul ,etc) .
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (OFBIZ-12401) Improved OFBiz configuration management for containers

2021-11-24 Thread Pierre Smits (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17448564#comment-17448564
 ] 

Pierre Smits commented on OFBIZ-12401:
--

Grüß Gott Ioan,

Which configuration options do you think that fall in the category of to be 
overridden?

Many of those in the various components in applications, plugins and themes (if 
there some), can be loaded into the SystemProperties table as seed data.

> Improved OFBiz configuration management for containers
> --
>
> Key: OFBIZ-12401
> URL: https://issues.apache.org/jira/browse/OFBIZ-12401
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Ioan Eugen Stan
>Priority: Major
>
> It's hard to use OFBiz with containers and other deployment scenarios because 
> the OFBiz configuration is intertwined with source files and there are a lot 
> of them.
> We also need:
>  * the ability to override configuration properties
>  * load configs from a single / handful of files in a single location
>  * optionally load from multiple sources (files, db, configuration services 
> like kubernetes, consul ,etc) .
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)