-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
5
-
False
-
None
-
False
-
-
-
-
AppSvc Sprint 235, AppSvc Sprint 236, AppSvc Sprint 237
Owner: Architect:
Francesco Ilario
Story (Required)
As a Primaza Developer,
I would like Primaza to update the impacted Service Catalogs when a Registered Service's event is processed
so that Service Catalogs are up to date
Background (Required)
As of now, a single Service Catalog is maintained by Primaza.
In the process of splitting the single Service Catalog in one per each environment we need to update the Registered Service controller's logic.
See epic for arch document link.
Glossary
See glossary in architecture document
Out of scope
- NA
In Scope
- update documentation
- update multiple service catalogs
Approach(Required)
When a Registered Service is created, updated, or deleted, the Registered Service controller should retrieve all the matching Service Catalogs and update them.
A Service Catalog is a match if its environment matches the constraints of the Registered Service.
The logic to check the match is already implemented at pkg/envtag.
The controller must try to update all the matching Service Catalogs, collect all the errors and return a joined error (i.e. errrors.Join).
Demo requirements(Required)
NA
Dependencies
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
RegisteredService controller updates matching ServiceCatalogs
- QE
There are test cases for updates of Service Catalogs
- Docs
There is a Section in our Service Catalog doc dedicated to explaining how they 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
- depends on
-
APPSVC-1314 Create ServiceCatalog on ClusterEnvironment creation
- Closed