Add component function scripting service
authorMuthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
Mon, 18 Feb 2019 20:10:25 +0000 (15:10 -0500)
committerAlexis de Talhouët <adetalhouet89@gmail.com>
Wed, 20 Feb 2019 21:02:05 +0000 (21:02 +0000)
Change-Id: I7c5b49617823dd623566fb4be4d431012420e17c
Issue-ID: CCSDK-959
Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Environments/source-rest.properties [new file with mode: 0644]
components/model-catalog/definition-type/starter-type/node_type/source-rest.json
components/model-catalog/resource-dictionary/starter-dictionary/mdsal-source.json
components/parent/pom.xml

diff --git a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Environments/source-rest.properties b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Environments/source-rest.properties
new file mode 100644 (file)
index 0000000..37bad8d
--- /dev/null
@@ -0,0 +1,9 @@
+blueprintsprocessor.restclient.primary-config-data.type=basic-auth
+blueprintsprocessor.restclient.primary-config-data.url=http://127.0.0.1:9111
+blueprintsprocessor.restclient.primary-config-data.userId=sampleuser
+blueprintsprocessor.restclient.primary-config-data.token=sampletoken
+
+blueprintsprocessor.restclient.primary-config-data1.type=basic-auth
+blueprintsprocessor.restclient.primary-config-data1.url=http://127.0.0.1:9111
+blueprintsprocessor.restclient.primary-config-data1.userId=sampleuser
+blueprintsprocessor.restclient.primary-config-data1.token=sampletoken
\ No newline at end of file
index f8dd8b6..0449830 100644 (file)
         }
       ]
     },
+    "endpoint-selector": {
+      "required": false,
+      "type": "string"
+    },
     "url-path": {
       "required": true,
       "type": "string"
index 67661ec..ee67b92 100755 (executable)
@@ -11,6 +11,7 @@
       "type": "source-rest",
       "properties": {
         "type": "JSON",
+        "endpoint-selector" : "",
         "url-path": "config/L3VNF-API:services/service-list/$service-instance-id/service-data/vnf-topology-information/vnf-assignments/vnf-vms/$vm-type/vm-networks/$network-role/v4-assigned-ip-list/$v4-ip-type",
         "path": "/v4-assigned-ip-list/0/v4-ip-prefix",
         "input-key-mapping": {
index 761b0fa..94a06a1 100644 (file)
@@ -29,6 +29,7 @@
     <name>Components Parent</name>
     <packaging>pom</packaging>
     <properties>
+        <kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
         <spring.boot.version>2.1.2.RELEASE</spring.boot.version>
         <spring.version>5.1.4.RELEASE</spring.version>
         <kotlin.version>1.3.20</kotlin.version>