calm-dsl
calm-dsl copied to clipboard
Validations for blueprint file.
We need more validations on blueprint classes related to calm domain. Need to have these validations on client side
For ex:
- All the downloadable images that are used in any of disk images should be included in
Blueprint.packages
(Blueprint Class attribute). - Check multiple profiles are using same set of services object. Basically we cannot each different services for different profiles.
- Go through
Blueprint -> Profiles ->
flow and check each required class are defined in blueprint class attributes i.eBlueprint.services/packages/substrates/profiles
.
@baljanak . Pls add more rules that need to be taken care of ..
Check if more than entity classes have same name
Validation if same service is used across multiple profile. (To be specific, set of services should be same for any profile in bp)
Need context builder to be passed for each entity to address some validations in more easy way
Add a validation to check whether all container services
of k8s pod used in blueprint deployments are included in Blueprint.services
.