Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-6588

Return information if DBaaS functionality is enabled. API

    XMLWordPrintable

    Details

    • Story Points:
      2
    • Sprint:
      Platform Sprint 25
    • Needs Review:
      Yes

      Description

      The Problem: we need to limit the number of people who will use  DBaaS during the Beta process. 

      We have several stages for this:  

      1. people intentionally do some actions to activate this feature but we'll not cover it in documentation  (Environment variable ) 
      2. people will be able to turn the feature  in UI (Setting page )
      3. We'll enable it by default 

      The scope of this issue is (1)

      The scope of the feature is Backend for UI part. So a user  who not activated DBaaS can have all components running in his pmm server, without  exposing this on UI.  For it we need to provide new field in settings API with a value read from environment variable.

      Acceptance criteria: 

      1. The user is able to pass some  Env. var to activate DBaaS on pmm server 
      2. if PMM server has var activated - user should see it in Settings API.

       

      Suggested solution:

      • Parse ENV Variable from PMM-6566 as boolean value.
      • Add new field to settings API response.
      • Return parsed value as new field in settings API.
        • It may require to save parsed value to db and then extract it from db to response.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nurlan.moldomurov Nurlan Moldomurov
              Reporter:
              roma.novikov Roma Novikov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 20 minutes
                  20m

                    Smart Checklist