-
Notifications
You must be signed in to change notification settings - Fork 93
Description
Feature Proposal
Target Project:
CALM CLI
Description of Feature:
Currently the CALM Validation of pattern instances is done against patterns that already exist in the project directory.
It should be possible to pass in a pattern instance and the pattern to the validation in order for it to be validated.
User Stories:
As a developer, I want to validate a CALM instance against a custom pattern that I provide so that I am assured that the instance of the pattern conforms to the pattern.
Current Limitations:
Currently all pattern instances need to be defined up front and cannot be calculated on the fly.
Proposed Implementation:
Add an additional parameter in the request body of the payload to the CLI server mode to allow the upload of a pattern or patterns (required due to the hierarchical status of CALM patterns) that the CLI server mode can validate against.
Alternatives Considered:
CALM Hub is not available everywhere yet. The CLI is very accessible.
Testing Strategy:
The CLI server mode will be tested with a new pattern instance and a new pattern that is not already within the CALM project, and the CLI server mode should be able to successfully validate against this. The test would be unit tested and integration tested.
Documentation Requirements:
Additional documentation required would be to include the new request parameter for the CLI server mode.
Implementation Checklist:
- Design reviewed and approved
- Implementation completed
- Tests written and passing
- Documentation updated
Additional Context:
...add any other context, diagrams, mockups, or screenshots about the feature request here...