-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
3
-
False
-
None
-
False
-
-
-
Owner: Architect:
Francesco Ilario
Story (Required)
As an OpenShift developer, I would like to claim services in the service catalog so that my application can bind to SED.
Background (Required)
We need to implement the ServiceClaim API as define in the Primaza architecture document.
See epic for arch document link.
Glossary
See glossary in architecture document
Out of scope
- No ApplicationContext, only EnvironmentTag
- No Application Name, only Label Selector
- No TTL
- No ClaimID
In Scope
- Use Primaza's Service Binding
Approach(Required)
The ServiceClaim controller will determine the target clusters and namespaces by searching all the RegisteredCluster resources that contain the specified EnvironmentTag.
It will match the claim with a RegisteredService.
The match is made if the ServiceClaim SCIKeys and SEDKeys are subsets of the RegisteredService SCI and SED correspondingly.
Once the match is made the SCI and SED data are extracted and a secret resource created.
A ServiceBinding Resource is also created.
The ServiceBinding resource for this story is the Primaza's Service Binding one.
In the ServiceBinding resource the service will point to the secret while the workload will point to the application defined in the claim.
Both the secret and the ServiceBinding resource will be pushed to the namespaces identified in the target clusters.
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
ServiceClaim controller pushes Primaza's Service Binding to target clusters
- QE
Update tests removing Service Binding Operator in favor of Primaza's Application Agent
- Docs
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-1271 Define the ServiceClaim API
- Closed