-
Story
-
Resolution: Done
-
Normal
-
None
-
None
Owner: Architect:
Francesco Ilario
Story (Required)
As a Developer, I would like to claim or a specific application by name so that I can bind a specific application to a service
Background (Required)
We need to implement the ServiceClaim API as define in the Primaza architecture document.
As of now, the ServiceClaim controller can create ServiceBindings that bind a service to applications filtered by a label selector. We also want to bind to a specific application, providing its name.
See epic for arch document link.
Glossary
See glossary in architecture document
Out of scope
- Claims in Application Clusters
- ServiceBinding API, we will use SBO for now
- No ApplicationContext, only EnvironmentTag
- No TTL
- No ClaimID
In Scope
- Claims in Primaza namespace only
Approach(Required)
Add custom validation on ServiceClaims checking that Application.Name and Application.Selector are not defined at the same time.
Use the Application.Name to bake a ServiceBinding that binds a specific application.
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 can bind application to services using application's name
Primaza validates ServiceClaim ensuring that Application.Name and Application.Selector are not defined at the same time
- QE
There are test cases for binding to an application identified by its name
There are test cases for application not found by name
- Docs
There is a page in ServiceClaim doc dedicated to explaining how to bind to an application using its name
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