baloise / CICD-pipeline

continuous integration and deployment for applications @ Baloise
Apache License 2.0
3 stars 3 forks source link

Configure PostgreSQL database in JBoss server #27

Open danielgrob opened 3 years ago

culmat commented 3 years ago

How to configure Postgresql DB in JBOSS server?

1) Application Configuration file (No action required from AWX/Mycloud API configuration perspective) 1) If configuration steps provided , Will configure through Ansible. 1) manually configure by team (Not recommanded)!

culmat commented 3 years ago

I would say option 1. - via standalone.xml Manual configuration is a no-go for me.

@matal0, @vangual, @niiku, @joachimprinzbach what do you think?

matal0 commented 3 years ago

Ideally, Liima would push this configuration file (and others) to an existing JBoss base installation. But Im' not sure yet how we can achieve this. In fact, Liima also uses Ansible for distribution and service restart/reload. Currently unclear:

renat1sakenov commented 3 years ago

Hello @matal0. I'm sorry for the late reply.

how to trigger Liima to build and publish the configuration?

Usually liima configuration rollout is triggered by the middleware team, manually per web interface, when they need to make changes, but can also be triggered by REST API.

how provide server details received from myCloud deployment request (like postgres IP) to Liima?

This can be done manually or per Liima REST API.

The official documentation: https://github.com/liimaorg/docs (but it is in German). Description of the API can be found at < liima-url >/AMW_rest/

Does this help, or should we look at this in more depth?

Best regards Renat