openshift-s2i / s2i-wildfly

Source-to-Image template for WildFly applications
http://wildfly.org/
Other
73 stars 145 forks source link

Custom default datasource (ExampleDS) #127

Closed carlosthe19916 closed 7 years ago

carlosthe19916 commented 7 years ago

This pull request is for customize the name of the default datasource called ExampleDS for default.

Because there are POSTGRESQL_DATASOURCE and MYSQL_DATASOURCE env variables for define the name of the datasources so I decided to named this variable just as DATASOURCE.

the default datasource name can be changed passing an env variable called DATASOURCE, for example:

DATASOURCE=MyCustomDS

fixes https://github.com/openshift-s2i/s2i-wildfly/issues/125

openshift-bot commented 7 years ago

Can one of the admins verify this patch?

bparees commented 7 years ago

[test]

bparees commented 7 years ago

[test]