With the new Global configuration model in carbon 5.2.0, we need to define
default values for configurations in configuration bean.

Earlier we used to have some configurations as system properties.
For instance we define token url as



* tokenURL = "https://${carbon.local.ip}:${https.nio.port}/token"*
In C5, what could be the best way to define such properties in
configuration bean classes.

Can we get the ip and port + port offset from carbonConfiguration and
append to derive the value?
Or is there a better way to do this as string concatenation is costly?


Thanks & Regards,
Ishara Cooray
Senior Software Engineer
Mobile : +9477 262 9512
WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to