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
36 "url": "http://netbox-nginx.netprog:8080",
37 "token": "Token 0123456789abcdef0123456789abcdef01234567"
46 * - .. code-block:: json
52 "url": "http://localhost:8080",
64 * - .. code-block:: json
69 "type": "ssl-basic-auth",
70 "url": "http://localhost:32778",
71 "keyStoreInstance": "JKS or PKCS12",
72 "sslTrust": "trusture",
73 "sslTrustPassword": "trustore password",
75 "sslKeyPassword": "keystore password"
85 * - .. code-block:: json
91 "host": "cds-command-executor.netprog",
93 "token": "Basic Y2NzZGthcHBzOmNjc2RrYXBwcw=="
102 * - .. code-block:: json
108 "url": "jdbc:mysql://10.195.196.123:32050/netprog",
109 "username": "netprog",
110 "password": "netprog"