New module for intrinsic function

Registered by Sahdev Zala

Currently, NodeTemplate (toscalib/nodetemplate.py) has a method 'ref_property' to solve node template reference property. Per the latest review,
Thomas:
It could make sense to extract intrinsic function relation into a separate module. Similar to what Heat does in functions.py. Seems to be better for code extensibility and maintainability.

Depends on the functionality of the template method, it should be considered whether to invoke template methods when parsing the tosca yaml file or leaving it for the translator (or orchestrator) to decide.
For example, get_ref_property might reference a runtime property not resolvable on parsing time.
Such a method should be translated to the heat equivalent (this can be relevant for both static and runtime properties).

Blueprint information

Status:
Complete
Approver:
None
Priority:
High
Drafter:
Sahdev Zala
Direction:
Approved
Assignee:
Idan Moyal
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Sahdev Zala
Completed by
Sahdev Zala

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/tosca-ref-property,n,z

Addressed by: https://review.openstack.org/102462
    Added a module for intrinsic function.

Addressed by: https://review.openstack.org/118583
    Extended intrinsic functions support.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.