bosh-notes icon indicating copy to clipboard operation
bosh-notes copied to clipboard

Release properties validations (before deployment)

Open allomov opened this issue 8 years ago • 4 comments

Hey, all.

A lot of errors can occur because of a "human factor". I mean that errors in BOSH manifests can be caused by misspelling or misunderstanding of BOSH release properties. Even if BOSH can check some type of errors in manifest properties, often it is not enough.

I am pretty sure that teams that are implementing BOSH release are the best people who can put reasonable validations to properties fields. That's why I'm sure that it will be a good thing to provide a way to add validations to BOSH release properties during implementation. At this moment job spec (example) contains only following fields: description, default and the name of the property. I suggest adding type and validations fields to this sections. The easiest way to validate properties will be checking their types and validating across regexp.

This feature will allow to aware user to set database schema to postgresql, not postgres and will save user's time to find out what's wrong.

What do you think about this feature?

allomov avatar Sep 09 '15 13:09 allomov