Guest User

Untitled

a guest
Feb 9th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. DB_URL='jdbc:mysql://localhost:3306/sd?autoReconnect=true'
  2. sed -i -e 's, MYDATABASE,'$DB_URL',g' input.yaml
  3.  
  4. - name: AP_DB
  5. description: "datasource"
  6. jndiConfig:
  7. name: jdbc/AP_DB
  8. definition:
  9. type: RDBMS
  10. configuration:
  11. jdbcUrl: MYDATABASE
  12. username: username
  13. password: password
  14. driverClassName: com.mysql.jdbc.Driver
  15.  
  16. - name: AP_DB
  17. description: "datasource"
  18. jndiConfig:
  19. name: jdbc/AP_DB
  20. definition:
  21. type: RDBMS
  22. configuration:
  23. jdbcUrl: 'jdbc:mysql://localhost:3306/sd?autoReconnect=true'
  24. username: username
  25. password: password
  26. driverClassName: com.mysql.jdbc.Driver
Add Comment
Please, Sign In to add comment