Guest User

Untitled

a guest
Dec 19th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. node {
  2. dataSourceProperties = {
  3. dataSourceClassName = "org.postgresql.ds.PGSimpleDataSource"
  4. dataSource.url = "jdbc:postgresql://localhost:5432/postgres"
  5. dataSource.user = test
  6. dataSource.password = test123
  7. }
  8. database = {
  9. transactionIsolationLevel = READ_COMMITTED
  10. }
  11. name "O=PartyC,L=Paris,C=FR"
  12. p2pPort 10013
  13. rpcSettings {
  14. address("localhost:10014")
  15. adminAddress("localhost:10054")
  16. }
  17. webPort 10015
  18. cordapps = ["$corda_release_group:corda-finance:$corda_release_version"]
  19. rpcUsers = [[user: "user1", "password": "test", "permissions": ["ALL"]]]
  20. }
  21.  
  22. node {
  23. ....
  24.  
  25. extraConfig = [
  26. dataSourceProperties : [
  27. 'dataSourceClassName' : "org.h2.jdbcx.JdbcDataSource",
  28. '"dataSource.url"' : "jdbc:h2:tcp://localhost:9105/persistence;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=10000;WRITE_DELAY=100;AUTO_RECONNECT=TRUE;",
  29. '"dataSource.user"' : "sa",
  30. '"dataSource.password"' : ""
  31. ],
  32. database : ["transactionIsolationLevel" :"READ_COMMITTED"]
  33. ]
  34.  
  35. }
Add Comment
Please, Sign In to add comment