Uploaded image for project: 'RAML Module Builder'
  1. RAML Module Builder
  2. RMB-789

Remove support of EmbeddedPostgres

    XMLWordPrintable

    Details

    • Template:
    • 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

              Activity

                People

                Assignee:
                adam Adam Dickmeiss
                Reporter:
                adam Adam Dickmeiss
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases