Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DB_URL='jdbc:mysql://localhost:3306/sd?autoReconnect=true'
- sed -i -e 's, MYDATABASE,'$DB_URL',g' input.yaml
- - name: AP_DB
- description: "datasource"
- jndiConfig:
- name: jdbc/AP_DB
- definition:
- type: RDBMS
- configuration:
- jdbcUrl: MYDATABASE
- username: username
- password: password
- driverClassName: com.mysql.jdbc.Driver
- - name: AP_DB
- description: "datasource"
- jndiConfig:
- name: jdbc/AP_DB
- definition:
- type: RDBMS
- configuration:
- jdbcUrl: 'jdbc:mysql://localhost:3306/sd?autoReconnect=true'
- username: username
- password: password
- driverClassName: com.mysql.jdbc.Driver
Add Comment
Please, Sign In to add comment