configuration management thru Git in Jboss fuse 6.2

42 views
Skip to first unread message

Chaitanya Yarlagadda

unread,
Jul 23, 2015, 11:37:17 AM7/23/15
to fabric8

I have requirement in Jboss fuse 6.2 version.

The documentation says Fabric8 uses a GIT repo for configuration. So if I have an application that is deploying to the a container and its, for example, a bundle containing a camel route and has some config params(test.properties) that change based on environment. How can you tap into the configuration repository to store the config there. Also what is the recommended approach to handling the difference between production and pre-production nodes?

as per the documentation , retrieved all the fabric profiles using clone command.I did this step. I can see that the profile that I uploaded thru Hawtio console but I cannot see the properties file in that profile then how can add those changes back to profile?

git clone -b 1.0 http://admin:ad...@xx.x.x.xx:8181/git/fabric cd fabric cp ../test.properties ./fabric/profiles/cxf/restservice This assumes the login/password of admin/admin; you probably want to change that password. It should then have the version 1.0 branch checked out where edit the various profiles (in fabric/profiles folder) using any text editor. To submit any changes back, commit them and then type git commit -a -m "my new changes" git push origin HEAD:1.0

Reply all
Reply to author
Forward
0 new messages