I am planning to store my test results in postgres Cloud DB. Cloud DB accepts connection only with SSL enabled.
I have tried below configuration . Same configuration works fine with plain java program but not with groovy.
Any suggestions ?
Map batchDBConnParams = [ ssl: 'true', sslmode: 'verify-ca', sslrootcert: 'D:\\venkat\\automation\\postgres\\pg_badge.cert', user:'XXXXXX', password:'XXXXX', url:'jdbc:postgresql://cloudURL:32681/DB_name', driver: 'org.postgresql.Driver', sslfactory:'org.postgresql.ssl.NonValidatingFactory' // This i have added based on some other topic suggestion . ]