don't validate required property of policies
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TOSCA Parser |
In Progress
|
Undecided
|
Ayumu Ueha |
Bug Description
Problem:
Tosca-parser validates the required parameter for node_template but does not
validate the required property of the policy like node_template.
In the case of policies it should also be verified in the same way.
Example:
I confirmed the action of tosca-parser if the required parameter of policies is missing.
1. edit `toscaparser/
----
...
policies:
- SP1:
type: tosca.policies.
...
----
2. exec `tosca-parser --template-
It should error such as following, but it is not occur any errors.
---
MissingRequ
---
In case of node_templates, the following error is occured.
----
toscaparser
The input "toscaparser/
following error(s):
----
Raised the code review: https:/ /review. opendev. org/c/openstack /tosca- parser/ +/763144