Uploaded image for project: 'Service Binding'
  1. Service Binding
  2. APPSVC-1314

Create ServiceCatalog on ClusterEnvironment creation

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • Primaza 0.1
    • None
    • Service Binding
    • None
    • 3
    • False
    • None
    • False
    • Hide
      Feature: Create ServiceCatalog on ClusterEnvironment creation

          Scenario: ServiceCatalog is created
              Given Primaza Cluster "main" is running
              And Worker Cluster "worker" for "main" is running
              And Clusters "main" and "worker" can communicate
              And On Primaza Cluster "main", Worker "worker"'s ClusterContext secret "primaza-kw" is published
              When On Primaza Cluster "main", Resource is created
              """
              apiVersion: primaza.io/v1alpha1
              kind: ClusterEnvironment
              metadata:
                  name: worker
                  namespace: primaza-system
              spec:
                  environmentName: dev
                  clusterContextSecret: primaza-kw
              """
              Then On Primaza Cluster "main", ServiceCatalog "dev" exists

      Show
      Feature: Create ServiceCatalog on ClusterEnvironment creation     Scenario: ServiceCatalog is created         Given Primaza Cluster "main" is running         And Worker Cluster "worker" for "main" is running         And Clusters "main" and "worker" can communicate         And On Primaza Cluster "main", Worker "worker"'s ClusterContext secret "primaza-kw" is published         When On Primaza Cluster "main", Resource is created         """         apiVersion: primaza.io/v1alpha1         kind: ClusterEnvironment         metadata:             name: worker             namespace: primaza-system         spec:             environmentName: dev             clusterContextSecret: primaza-kw         """         Then On Primaza Cluster "main", ServiceCatalog "dev" exists
    • AppSvc Sprint 234

      Owner: Architect:

      Francesco Ilario

      Story (Required)

      As a Primaza Developer,
      I would like Primaza to create the Service Catalog (if it doesn't exists) on Cluster Environment creation
      so that a Service Catalog is available to user and services

      Background (Required)

      As defined in the Primaza architecture document, we need to create a Service Catalog for each environment.
      When a ClusterEnvironment is created, we need to ensure a Service Catalog exists for its environment.

      See epic for arch document link.

      Glossary

      See glossary in architecture document

      Out of scope

      NA

      In Scope

      • ServiceCatalog creation

      Approach(Required)

      In ClusterEnvironment controller, create the ServiceCatalog if not existing. If it already exists, fetch the Service catalog and  push it to Cluster Environment's application namespace (mostly implemented in APPSVC-1306).

      Demo requirements(Required)

      NA

      Dependencies

      NA

      Edge Case

      NA

      BDD Tests

      You can find BDD Test specification for this story in the "Testing Instruction" Field Tab or in the GitHub Issue linked to this story.
      Click here for all BDD Tests Issues.

      Acceptance Criteria

      • Development
        ClusterEnvironment controller creates the ServiceCatalog for its environment if it doesn't exists
      • QE
        There are test cases for ServiceCatalog creation
      • Docs
        Our ClusterEnvironment and ServiceCatalog docs are updated
        Update architecture document with any changes while implementing

      INVEST Checklist

      Dependencies identified
      Blockers noted and expected delivery timelines set
      Design is implementable
      Acceptance criteria agreed upon
      Story estimated

      Legend

      Unknown
      Verified
      Unsatisfied

              kmamgain@redhat.com Kartikey Mamgain (Inactive)
              rh-ee-filario Francesco Ilario
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: