calm-dsl icon indicating copy to clipboard operation
calm-dsl copied to clipboard

Validations for blueprint file.

Open abhijeetkaurav1st opened this issue 4 years ago • 5 comments

We need more validations on blueprint classes related to calm domain. Need to have these validations on client side

For ex:

  1. All the downloadable images that are used in any of disk images should be included in Blueprint.packages (Blueprint Class attribute).
  2. Check multiple profiles are using same set of services object. Basically we cannot each different services for different profiles.
  3. Go through Blueprint -> Profiles -> flow and check each required class are defined in blueprint class attributes i.e Blueprint.services/packages/substrates/profiles.

abhijeetkaurav1st avatar Jun 17 '20 12:06 abhijeetkaurav1st

@baljanak . Pls add more rules that need to be taken care of ..

abhijeetkaurav1st avatar Jun 17 '20 12:06 abhijeetkaurav1st

Check if more than entity classes have same name

abhijeetkaurav1st avatar Sep 18 '20 07:09 abhijeetkaurav1st

Validation if same service is used across multiple profile. (To be specific, set of services should be same for any profile in bp)

abhijeetkaurav1st avatar Sep 24 '20 06:09 abhijeetkaurav1st

Need context builder to be passed for each entity to address some validations in more easy way

abhijeetkaurav1st avatar Dec 16 '20 05:12 abhijeetkaurav1st

Add a validation to check whether all container services of k8s pod used in blueprint deployments are included in Blueprint.services.

abhijeetkaurav1st avatar Jan 23 '21 05:01 abhijeetkaurav1st