Uploaded image for project: 'Database as a Service'
  1. Database as a Service
  2. DBAAS-1112

DBaaS Policy disableProvisions enabled on expose namespaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 0.4.0 [R5]
    • None
    • Low

      Description:{}

      DBaaSPolicy created with disableProvisions: true condition and connections.namespaces field with target namespaces list. On the source namespace, "Create Database Instance" field under Administrator view and "Create New Database Instance" button on Developer topology view has been disabled for the inventories as expected.

      But on the Target namespaces, "Create New Database Instance" button on Developer Topology screen was enabled for the inventories from source namespaces. However while navigating to provisioning screen, these inventories are not listed as expected.

      Expected Result:

      "Create New Database Instance" button on developer topology view should be disabled for the inventories with dbaas policy  disableProvisions: true

      Actual Result:

      "Create New Database Instance" button on developer topology view enabled

      Steps to Reproduce:

      1. Login to openshift with valid credentials and make sure the RHODA operator is installed
      2. Create a new namespace and create a DBaaSPolicy for the namespace with condition disableProvisions: true
      3. Add Database inventories for this namespace
      4. Under connections.namespaces list out the target namespaces where the inventories from this namespace should exposed
      5. Navigate to Database Services --> Database Access page, "Create Database Instance" button disabled
      6. Navigate to Developer view --> +Add --> Cloud Hosted Database --> Select Database provider Tile --> Add to Topology. On Add to topology screen, for the selected database inventory created on step 3, "Create New Database Instance" button is disabled
      7. Open the target namespace listed under connections.namespaces on step 4
      8. Navigate to  Developer view --> +Add --> Cloud Hosted Database --> Select Database provider Tile --> Add to Topology. On Add to Topology screen, the Database inventories created on Step 3 exposed and listed
      9. Button "Create New Database Instance" is enabled for the exposed database inventory
      10. Click on the "Create New Database Instance" button, on the provisioning screen the database inventories were not listed

              rhn-support-rravi Rajan Ravi
              rhn-support-rravi Rajan Ravi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: