Add validation for parameters

Registered by xiaodong shang

Add validation for all parameters and modification related test cases:
    1. Add property of required in Input class;
    2. For all required inputs which have not default value, must provide parameters when instantiated a template;
    3. For all required inputs which have default value, may not provide parameters when instantiated a template;
    4. For all not required inputs, must process the logical of no parameters in template design(may provide default value, const value, or process case for none input).

    The details about inputs or parameters refer to http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cs01/TOSCA-Simple-Profile-YAML-v1.0-cs01.html.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
xiaodong shang
Direction:
Needs approval
Assignee:
xiaodong shang
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
xiaodong shang
Completed by
xiaodong shang

Related branches

Sprints

Whiteboard

1. Add property of required in input class;
2. Add and modify the test cased.

https://review.openstack.org/#/c/355453/

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.