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

Forward Service Classes to Service Namespaces

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • Primaza 0.1
    • None
    • Service Binding
    • None
    • AppSvc Sprint 232, AppSvc Sprint 233

      Owner: Architect:

      Francesco Ilario

      Story (Required)

      As a Primaza Developer, I would like Primaza forwarding the Service Classes to Worker Clusters Service namespaces so that discovery can be performed.

      Background (Required)

      As defined in the Primaza architecture document, we need to forward Service Classes created into Primaza's namespaces to all the service namespaces of all matching Worker Clusters.
      These Service Classes will be then used by the Service Agents during discovery.

      See epic for arch document link.

      Glossary

      See glossary in architecture document

      Out of scope

      • Protocol field
      • Serverless field

      In Scope

      • Push Service Classes to Worker Clusters
      • Constraints

      Approach(Required)

      When a Service Class is pushed to Primaza's namespace, the operator retrieves the Cluster Environment whose EnvironmentTag satisfies the Service Class's Constraints field.
      The Constraints logic is also needed by Registered Services, hence it is suggested to implement it outside the Reconciler.

      For all matching Cluster Environments, we need to push the Service Class into all its Service Namespaces.

      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
        ServiceClass controller pushes ServiceClass specifications from Worker clusters
        ServiceClass controller removes ServiceClass specifications from Worker clusters
      • QE
        There are test cases for Service Class push
        There are test cases for Service Class deletion
      • Docs
        There is a section in Service Class docs dedicated to explaining how they are pushed and deleted on worker clusters
        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

              rh-ee-filario Francesco Ilario
              rh-ee-filario Francesco Ilario
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: