Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5641

Decouple phoenix-queryserver from phoenix-core

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.1.0, 4.16.0
    • 5.1.0, 4.16.0
    • None
    • None

    Description

      phoenix-queryserver has been moved to a separate repo, and it's versioning has been decoupled from that of phoenix-core.

      Yet, phoenix-queryserver still uses code from phoenix-core, and phoenix-core in turn contains code that is only used by phoenix-queryserver.

      This causes (at least) the following problems:

      • Adding new features to PQS is problematic, because it depends on an old released version of phoenix
      • The phoenix-thin-client includes phoenix code, that is not really necessary

      I propose fully decoupling the PQS code from phoenix proper. This effectively means:

      • duplicating the PQS specific configuration parameter names and defaults in PQS
      • copying a minimal amount of code for building the JDBC connection URL
      • copying theĀ InstanceResolver cache class

      The tests are still dependent on phoenix-core, but I do not consider that a problem.

      If/when this patch lands in PQS, we should also remove the PQS specific parameters from phoenix-core.

      Attachments

        1. PHOENIX-5641.master.v1.patch
          26 kB
          Istvan Toth

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h