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: onap-discuss@lists.onap.org <onap-discuss@lists.onap.org> On Behalf Of 
MALAKOV, YURIY via lists.onap.org
Sent: Wednesday, August 12, 2020 3:50 PM
To: onap-discuss@lists.onap.org; Steve Baillargeon 
<steve.baillarg...@ericsson.com>
Cc: Fontaine, Julien <julien.fonta...@bell.ca>; jozsef.csong...@bell.ca
Subject: Re: [onap-discuss] CDS Execution Scripts - Python Support #ccsdk 
#python


CDS Python executor support Python 3.6

Please use this sample.


[cid:image001.png@01D670C2.BFF2E020]

Yuriy Malakov
ONAP/ECOMP SA/SE
732-420-3030, Q-Chat<qto://talk/ym9479>
yuriy.mala...@att.com<mailto:yuriy.mala...@att.com>

From: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> On Behalf Of 
Steve Baillargeon via lists.onap.org
Sent: Wednesday, August 12, 2020 11:37 AM
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
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: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to