Closed mkollenstart closed 3 years ago
The problem seems to have something to do with Postgres.
When I'm using memory backed H2 databases the whole process works correctly, but as soon as I enable Postgres for the provider the error returns.
The used Spring JPA configuration for Postgres is:
SPRING_DATASOURCE_URL=jdbc:postgresql://*********:5432/connectordb
SPRING_DATASOURCE_USERNAME=connector
SPRING_DATASOURCE_PASSWORD=************
SPRING_DATASOURCE_PLATFORM=postgres
SPRING_DATASOURCE_DRIVER_CLASS_NAME=org.postgresql.Driver
SPRING_JPA_DATABASE_PLATFORM=org.hibernate.dialect.PostgreSQLDialect
And the Postgres version is 13.3
The configuration itself doesn't seem to be the problem, since all the requests prior to the error are all working.
It seems the database changes the format of the uris. Thus a query on the provider side fails/returns wrong elements.
Describe the bug After creating all the relevant resources at the provider side, when the consumer tries to consume the data it is throwing an error message. Also the previously working /data endpoint at the provider side is not working anymore.
To Reproduce Provider side:
Consumer side
When I now repeat the last command of the provider side, that previously worked:
The logs of the provider connector, for both calls show this stacktrace: