Hi all,
I have been analysing the redhat-sso72-openshift Dockerfile and the image
internal scripts to customize the standalone.xml with necessary XML
elements to add new data sources.
We need some guidance here to make this image customization and add this
entry along with the driver's module.
I've found that inside the image's /opt/eap/bin/launch folder there's a
datasource.sh, which is part of the configuration step, responsible to add
the data sources entries to the standalone-openshift.xml file.
So, despite this script has a third option that seems to be capable to
create a new data source entry for other types of databases (besides MySQL
and PostgreSQL), I am not sure if this is recommended. We didn't find any
guidance in the docs on how to use it and we don't know if this will be
backward compatible in future RH-SSO releases.
Do you think this is the right approach or it's better to create new
scripts to do the necessary customizations, without using the
datasources.sh script, and call it from the openshift-launch.sh script
after the configuration have been finished?
Best regards,
--
Marcelo Ohashi
Middleware Architect | Red Hat Brasil
M: +55 11 9 7338-6338 Av. Brigadeiro Faria Lima 3900, 8° Andar. São Paulo,
Brasil.
RED HAT | TRIED. TESTED. TRUSTED. Saiba porque em
redhat.com
<
https://www.redhat.com/pt-br/about/trusted>
<
http://www.redhat.com/es/about/trusted> <
http://www.redhat.com.br>[image:
Red Hat] <
http://www.redhat.com.br>