Hi
One quick clarification.

Below is the definition for component-remote-script-executor.
Why does it *not* include the path name to the python script included in the 
CBA?
I am just wondering how such component can find the desired python script.
Or is it blueprint-action?

{
  "node_types" : {
    "component-remote-script-executor" : {
      "description" : "Generic Remote Script Component Executor",
      "version" : "1.0.0",
      "attributes" : {
        "response-data" : {
          "description" : "Remote executed response data.",
          "required" : false,
          "type" : "json"
        },
        "status" : {
          "description" : "Remote execution status.",
          "required" : true,
          "type" : "string"
        }
      },
      "interfaces" : {
        "ComponentRemoteScriptExecutor" : {
          "operations" : {
            "process" : {
              "description" : "ComponentRemoteScriptExecutor Operation",
              "inputs" : {
                "blueprint-version" : {
                  "description" : "Blueprint version.",
                  "required" : true,
                  "type" : "string"
                },
                "blueprint-name" : {
                  "description" : "Blueprint name.",
                  "required" : true,
                  "type" : "string"
                },
                "selector" : {
                  "description" : "Remote GRPC selector or DSL reference or 
GRPC Json config.",
                  "required" : true,
                  "type" : "json"
                },
                "blueprint-action" : {
                  "description" : "Blueprint action name.",
                  "required" : true,
                  "type" : "string"
                },
                "timeout" : {
                  "description" : "Remote execution timeout in sec.",
                  "required" : true,
                  "type" : "integer",
                  "default" : 180
                },
                "request-data" : {
                  "description" : "Dynamic Json Content or DSL Json reference.",
                  "required" : false,
                  "type" : "json"
                }
              },
              "outputs" : {
                "status" : {
                  "description" : "Status of the Component Execution ( success 
or failure )",
                  "required" : true,
                  "type" : "string"
                }
              }
            }
          }
        }
      },
      "derived_from" : "tosca.nodes.Component"
    },
    "tosca.nodes.Component" : {
      "description" : "This is default Component Node",
      "version" : "1.0.0",
      "derived_from" : "tosca.nodes.Root"
    }
  }
}

Thanks again

-Steve

From: [email protected] <[email protected]> On Behalf Of 
MALAKOV, YURIY via lists.onap.org
Sent: Wednesday, August 12, 2020 3:50 PM
To: [email protected]; Steve Baillargeon 
<[email protected]>
Cc: Fontaine, Julien <[email protected]>; [email protected]
Subject: Re: [onap-discuss] CDS Execution Scripts - Python Support #ccsdk 
#python


CDS Python executor support Python 3.6

Please use this sample.


[cid:[email protected]]

Yuriy Malakov
ONAP/ECOMP SA/SE
732-420-3030, Q-Chat<qto://talk/ym9479>
[email protected]<mailto:[email protected]>

From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
Steve Baillargeon via lists.onap.org
Sent: Wednesday, August 12, 2020 11:37 AM
To: [email protected]<mailto:[email protected]>
Subject: [onap-discuss] CDS Execution Scripts - Python Support #ccsdk #python

Hi
Does CDS support python execution scripts?
More specifically, is the component-netconf-executor.json node type with a 
python script supported by CDS in Guilin?
Which python version is used?

Thank you

SB


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#21893): https://lists.onap.org/g/onap-discuss/message/21893
Mute This Topic: https://lists.onap.org/mt/76149468/21656
Mute #ccsdk: https://lists.onap.org/g/onap+onap-discuss/mutehashtag/ccsdk
Mute #python: https://lists.onap.org/g/onap+onap-discuss/mutehashtag/python
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to