You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ariatosca.apache.org by "Tal Liron (JIRA)" <ji...@apache.org> on 2017/12/05 09:39:00 UTC
[jira] [Created] (ARIA-424) Instrinsic functions in ad hoc inputs
do not get parsed
Tal Liron created ARIA-424:
------------------------------
Summary: Instrinsic functions in ad hoc inputs do not get parsed
Key: ARIA-424
URL: https://issues.apache.org/jira/browse/ARIA-424
Project: AriaTosca
Issue Type: Story
Reporter: Tal Liron
Priority: Minor
Currently, if an operation input is typeless (meaning that it is added at the node template, but has no declaration at the node type or at the interface type) then ARIA sends it "as is" with no coercion. That means that if it has an intrinsic functions somewhere inside its dict structure, the function will not be parsed.
The commented-out lines below would workaround this bug:
{code}
tosca_definitions_version: tosca_simple_yaml_1_0
data_types:
Payload:
properties:
config:
type: string
node_types:
my_Node_Server:
derived_from: tosca.nodes.Root
attributes:
vmme_configuration:
type: string
default: hi
interfaces:
Standard:
type: tosca.interfaces.node.lifecycle.Standard
create:
implementation: sample.sample_test.call_test
inputs: {}
configure:
implementation: sample.sample_test.call_name
# inputs:
# payload:
# type: Payload
topology_template:
node_templates:
v_mme:
type: my_Node_Server
interfaces:
Standard:
configure:
inputs:
payload: {
"config": {get_attribute: [ SELF, vmme_configuration ]}}
config: {get_attribute: [ SELF, vmme_configuration ]}
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)