Details
-
Type:
Task
-
Status: Closed (View Workflow)
-
Priority:
P2
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 33.0.0
-
Labels:
-
Template:customfield_11100 43860
-
Sprint:CP: sprint 110
-
Story Points:2
-
Development Team:Core: Platform
Description
Remove PostgresTesterEmbedded
Remove PostgresClient.getEmbeddedPort and PostgresClient.setEmbeddedPort
Previously, PostgresClient.init would shift to "embedded" postgres if "host" config was absent.
There are two options for what happens when host is not configured.. This would previously auto-enable embedded postgres.
1: Fail. This will make a module fail if it's started on its own without at least host configured (port probably defaults to 5432). Since init is not called until tenant init, RestVerticle should make a check already there (so the problem is seen at launch, not at tenant init).
2. Accept.. init will just keep settings as they are and leave it to the Postgres client driver to determine what goes on.. (Probably defaults to localhost or local socket??). No change in behavior in start up ..The real change will not be seen until tenant init.. Where it will now try a "local" postgres and not spawn an embedded tester.
RestVerticle: Command line option embed_"postgres=true" should result in failure as this can not be honored anymore.
TestRail: Results
Attachments
Issue Links
- is blocked by
-
RMB-483 TestContainers instead of postgresql-embedded
-
- Closed
-
- requires
-
FOLIO-1845 Replace postgresql-embedded by testcontainers.org
-
- Closed
-