Make Policy Template version mandatory #393
Labels
area/vrotsc
Relates to `vrotsc` module
effort/low
kind/enhancement
Enhancement or improvement of existing features
lang/typescript
Related to typescript code
triage/accepted
The issue was accepted and will be done
version/major
Introduces a breaking change
Milestone
Description
Full support for the Policy Feature was introduced 2 via adding new attributes to the Policy Template:
and makes the 'type' attribute obsolete.
To take advantage of these improvements, 'templateVersion': 'v2' is required.
However this can be easily missed as the attribute is optional and its value defaults to 'v1' (for backward compatibility).
To avoid missing on the new functionality or confusion with the available versions, the 'templateVersion' attribute needs to be made mandatory.
As the Policy Template attributes are validated, this will be a breaking change (affecting all Policies built), requiring Major version release for BTVA and for https://github.com/vmware-samples/build-tools-for-vmware-aria-samples, where the sample and base-package version need to be updated.
Additional Context
The issue is opened after discussion in:
#385
Introduction of full support for the Policy Feature:
#20
The text was updated successfully, but these errors were encountered: