[FOLIO-518] Postgres database in cql2pgjson-java-pull-request Jenkins CI Created: 23/Mar/17  Updated: 12/Nov/18  Resolved: 23/Mar/17

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: P3
Reporter: Julian Ladisch Assignee: John Malconian
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 20 minutes
Original estimate: Not Specified

Issue links:
Relates
relates to FOLIO-528 extension uuid-ossp missing in CI's P... Closed
Sprint:

 Description   

What is the name of the database in cql2pgjson-java-pull-request?

https://jenkins-aws.indexdata.com/job/cql2pgjson-java-pull-request/12/console
reports:

jdbc:postgresql://127.0.0.1:5433/test?currentSchema=public&user=postgres&password=postgres
FATAL: database "test" does not exist


 Comments   
Comment by John Malconian [ 23/Mar/17 ]

There is no pre-existing database. It is meant to be created during job execution. I will add a database called 'cql2pgjson' as a pre-build job step prior to the build.

Comment by John Malconian [ 23/Mar/17 ]

Looks like the current cql2pgjson unit tests use an embedded postgres instance, but I added a step which creates the db, 'cql2pgjson', the external postgres database anyway in case it's your intention to switch over to that. (same connection/credentials as you described in the issue Description)

Generated at Thu Feb 08 23:06:23 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.