1 .. This work is a derivative of https://wiki.onap.org/display/DW/Modeling+Concepts#Concepts-2026349199
2 .. This work is licensed under a Creative Commons Attribution 4.0
3 .. International License. http://creativecommons.org/licenses/by/4.0
4 .. Copyright (C) 2020 Deutsche Telekom AG.
8 External Systems support
9 ------------------------
11 Interaction with **external systems** is made **dynamic** and **plug-able**
12 removing development cycle to support new endpoint.
13 In order to share the external system information, TOSCA provides a way to create macros using **dsl_definitions**:
15 `info 1 <http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csd01/TOSCA-Simple-Profile-YAML-v1.2-csd01.html#_Toc494454160>`_,
16 `info 2 <http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csd01/TOSCA-Simple-Profile-YAML-v1.2-csd01.html#_Toc494454173>`_.
19 * Resource resolution using **REST** (see tab Node Type) or **SQL** (see tab Node Type) external systems
20 * **gRPC** is supported for remote execution
21 * Any REST endpoint can be dynamically injected as part of the scripting framework.
23 Here are some examples on how to populate the system information within the package:
30 * - .. code-block:: json
37 "url": "http://netbox-nginx.netprog:8080",
38 "token": "Token 0123456789abcdef0123456789abcdef01234567"
47 * - .. code-block:: json
54 "url": "http://localhost:8080",
67 * - .. code-block:: json
73 "type" : "ssl-basic-auth",
74 "url" : "http://localhost:32778",
75 "keyStoreInstance": "JKS or PKCS12",
76 "sslTrust": "trusture",
77 "sslTrustPassword": "trustore password",
79 "sslKeyPassword: "keystore password"
90 * - .. code-block:: json
97 "host": "cds-command-executor.netprog",
99 "token": "Basic Y2NzZGthcHBzOmNjc2RrYXBwcw=="
109 * - .. code-block:: json
116 "url": "jdbc:mysql://10.195.196.123:32050/netprog",
117 "username": "netprog",
118 "password": "netprog"