Hi Abimaran,

We have implemented enum based config read approach for all the above
configurations. Please find the implementation [1]. Every config has a
default value and it gets overrides after reading from the XML file. I
think we could figure out approach to read data from deployment.yaml and
inject it.

[1]
https://github.com/wso2/andes/blob/4.x.x/modules/andes-core/broker/src/main/java/org/wso2/andes/configuration/enums/AndesConfiguration.java

Cheers!

On Tue, Jul 25, 2017 at 4:22 PM, Abimaran Kugathasan <[email protected]>
wrote:

> Hi All,
>
> We planned to embed MB features [1] into API Manager 3.0 core to share API
> Manager artifacts (APIs, Policies, Subscription, etc) between different
> nodes/profiles.
>
> All the products/features which are written on C5 should have default
> configuration values in source code and should be able to override this
> value through YAML based configuration files [2]
>
> Recently released MB features based on C5 [1] are having old XML based
> configuration files such as broker.xml, qpid-config.xml,
> qpid-virtualhosts.xml.
>
> Can we please move these default values into source code, provide the
> capability to override them through deployment.yaml file and release these
> components?
>
>
> [1]: https://github.com/wso2/carbon-business-messaging/tree/v4.0.2
> [2]: [Architecture] Move away from XML to YAML config files
>
>
> --
> Thanks
> Abimaran Kugathasan
> Senior Software Engineer - API Technologies
>
> Email : [email protected]
> Mobile : +94 773922820 <+94%2077%20392%202820>
>
> <http://stackoverflow.com/users/515034>
> <http://lk.linkedin.com/in/abimaran>
> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
> <https://twitter.com/abimaran>
>
>


-- 
Indika Sampath
Associate Technical Lead
WSO2 Inc.
http://wso2.com

Phone: +94 716 424 744
Blog: http://indikasampath.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to