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.
6 External Systems support
7 ------------------------
9 Interaction with **external systems** is made **dynamic** and **plug-able**
10 removing development cycle to support new endpoint.
11 In order to share the external system information, TOSCA provides a way to create macros using **dsl_definitions**:
13 `info 1 <http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csd01/TOSCA-Simple-Profile-YAML-v1.2-csd01.html#_Toc494454160>`_,
14 `info 2 <http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csd01/TOSCA-Simple-Profile-YAML-v1.2-csd01.html#_Toc494454173>`_.
17 * Resource resolution using **REST** (see tab Node Type) or **SQL** (see tab Node Type) external systems
18 * **gRPC** is supported for remote execution
19 * Any REST endpoint can be dynamically injected as part of the scripting framework.
21 Here are some examples on how to populate the system information within the package:
28 * - .. code-block:: json
35 "url": "http://netbox-nginx.netprog:8080",
36 "token": "Token 0123456789abcdef0123456789abcdef01234567"
45 * - .. code-block:: json
52 "url": "http://localhost:8080",
65 * - .. code-block:: json
71 "type" : "ssl-basic-auth",
72 "url" : "http://localhost:32778",
73 "keyStoreInstance": "JKS or PKCS12",
74 "sslTrust": "trusture",
75 "sslTrustPassword": "trustore password",
77 "sslKeyPassword: "keystore password"
88 * - .. code-block:: json
95 "host": "cds-command-executor.netprog",
97 "token": "Basic Y2NzZGthcHBzOmNjc2RrYXBwcw=="
107 * - .. code-block:: json
114 "url": "jdbc:mysql://10.195.196.123:32050/netprog",
115 "username": "netprog",
116 "password": "netprog"