aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/test-dictionary
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2019-03-26 09:49:13 -0400
committerAlexis de Talhouët <adetalhouet89@gmail.com>2019-03-26 09:49:13 -0400
commit72d22a4339db09824d46746dacbba1e141763dc0 (patch)
tree7fbfea4b81afca0bc0c95e5d4b810f236f4dea29 /components/model-catalog/resource-dictionary/test-dictionary
parentef6983b670796becfa66c69075c1829e8f9aef4b (diff)
Migrate ccdsk/apps to ccsdk/cds
Change-Id: I020a2ccec4e691717f888e8bd2afec91a7c4e987 Issue-ID: CCSDK-1178 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'components/model-catalog/resource-dictionary/test-dictionary')
-rw-r--r--components/model-catalog/resource-dictionary/test-dictionary/create_netbox_ip.json29
-rw-r--r--components/model-catalog/resource-dictionary/test-dictionary/delete_netbox_ip.json30
-rw-r--r--components/model-catalog/resource-dictionary/test-dictionary/hostname.json14
-rw-r--r--components/model-catalog/resource-dictionary/test-dictionary/interface-description.json21
-rw-r--r--components/model-catalog/resource-dictionary/test-dictionary/interface-name.json15
-rw-r--r--components/model-catalog/resource-dictionary/test-dictionary/prefix-id.json16
-rw-r--r--components/model-catalog/resource-dictionary/test-dictionary/unit-number.json14
-rw-r--r--components/model-catalog/resource-dictionary/test-dictionary/vf-module-number.json16
-rw-r--r--components/model-catalog/resource-dictionary/test-dictionary/vf-module-type.json27
9 files changed, 0 insertions, 182 deletions
diff --git a/components/model-catalog/resource-dictionary/test-dictionary/create_netbox_ip.json b/components/model-catalog/resource-dictionary/test-dictionary/create_netbox_ip.json
deleted file mode 100644
index 297a8ef8..00000000
--- a/components/model-catalog/resource-dictionary/test-dictionary/create_netbox_ip.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "tags" : "oam-local-ipv4-address",
- "name" : "create_netbox_ip",
- "property" : {
- "description" : "netbox ip",
- "type" : "dt-netbox-ip"
- },
- "updated-by" : "adetalhouet",
- "sources" : {
- "primary-config-data" : {
- "type" : "source-rest",
- "properties" : {
- "type" : "JSON",
- "verb" : "POST",
- "endpoint-selector" : "ipam-1",
- "url-path" : "/api/ipam/prefixes/$prefix-id/available-ips/",
- "path" : "",
- "input-key-mapping" : {
- "prefix-id" : "prefix-id"
- },
- "output-key-mapping" : {
- "address" : "address",
- "id" : "id"
- },
- "key-dependencies" : [ "prefix-id" ]
- }
- }
- }
- } \ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/test-dictionary/delete_netbox_ip.json b/components/model-catalog/resource-dictionary/test-dictionary/delete_netbox_ip.json
deleted file mode 100644
index 35a8a351..00000000
--- a/components/model-catalog/resource-dictionary/test-dictionary/delete_netbox_ip.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "tags": "oam-local-ipv4-address",
- "name": "delete_netbox_ip",
- "property": {
- "description": "delete netbox ip",
- "type": "string"
- },
- "updated-by": "adetalhouet",
- "sources": {
- "primary-config-data": {
- "type": "source-rest",
- "properties": {
- "type": "JSON",
- "verb": "DELETE",
- "endpoint-selector": "ipam-1",
- "url-path": "/api/ipam/ip-addresses/$ip-address-id",
- "path": "/address",
- "input-key-mapping": {
- "ip-address-id": "ip-address-id"
- },
- "output-key-mapping": {
-
- },
- "key-dependencies": [
- "ip-address-id"
- ]
- }
- }
- }
-} \ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/test-dictionary/hostname.json b/components/model-catalog/resource-dictionary/test-dictionary/hostname.json
deleted file mode 100644
index 025cce33..00000000
--- a/components/model-catalog/resource-dictionary/test-dictionary/hostname.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "tags": "hostname",
- "name": "hostname",
- "property": {
- "description": "hostname",
- "type": "string"
- },
- "updated-by": "adetalhouet",
- "sources": {
- "input": {
- "type": "source-input"
- }
- }
- } \ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/test-dictionary/interface-description.json b/components/model-catalog/resource-dictionary/test-dictionary/interface-description.json
deleted file mode 100644
index d13bfc44..00000000
--- a/components/model-catalog/resource-dictionary/test-dictionary/interface-description.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "tags": "interface-description",
- "name": "interface-description",
- "property": {
- "description": "interface-description",
- "type": "string"
- },
- "updated-by": "adetalhouet",
- "sources": {
- "capability": {
- "type": "source-capability",
- "properties": {
- "script-type": "jython",
- "script-class-reference": "DescriptionExample",
- "instance-dependencies": [
-
- ]
- }
- }
- }
-} \ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/test-dictionary/interface-name.json b/components/model-catalog/resource-dictionary/test-dictionary/interface-name.json
deleted file mode 100644
index 53a11ed7..00000000
--- a/components/model-catalog/resource-dictionary/test-dictionary/interface-name.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "name" : "interface-name",
- "tags" : "interface-name",
- "updated-by" : "adetalhouet",
- "property" : {
- "description" : "interface-name",
- "type" : "string"
- },
- "sources" : {
- "input" : {
- "type" : "source-input",
- "properties" : { }
- }
- }
-} \ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/test-dictionary/prefix-id.json b/components/model-catalog/resource-dictionary/test-dictionary/prefix-id.json
deleted file mode 100644
index e515eca5..00000000
--- a/components/model-catalog/resource-dictionary/test-dictionary/prefix-id.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "tags": "prefix-id",
- "name": "prefix-id",
- "property" :{
- "description": "prefix-id",
- "type": "integer"
- },
- "updated-by": "adetalhouet",
- "sources": {
- "default": {
- "type": "source-default",
- "properties": {
- }
- }
- }
-} \ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/test-dictionary/unit-number.json b/components/model-catalog/resource-dictionary/test-dictionary/unit-number.json
deleted file mode 100644
index 333fd78e..00000000
--- a/components/model-catalog/resource-dictionary/test-dictionary/unit-number.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "tags": "unit-number",
- "name": "unit-number",
- "property": {
- "description": "unit-number",
- "type": "string"
- },
- "updated-by": "adetalhouet",
- "sources": {
- "input": {
- "type": "source-input"
- }
- }
- } \ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/test-dictionary/vf-module-number.json b/components/model-catalog/resource-dictionary/test-dictionary/vf-module-number.json
deleted file mode 100644
index cdd40f66..00000000
--- a/components/model-catalog/resource-dictionary/test-dictionary/vf-module-number.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "tags": "vf-module-number",
- "name": "vf-module-number",
- "property" :{
- "description": "vf-module-number",
- "type": "string"
- },
- "updated-by": "adetalhouet",
- "sources": {
- "default": {
- "type": "source-default",
- "properties": {
- }
- }
- }
-} \ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/test-dictionary/vf-module-type.json b/components/model-catalog/resource-dictionary/test-dictionary/vf-module-type.json
deleted file mode 100644
index 9e8c4096..00000000
--- a/components/model-catalog/resource-dictionary/test-dictionary/vf-module-type.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "name": "vf-module-type",
- "tags": "vf-module-type",
- "property": {
- "description": "vf-module-type",
- "type": "string"
- },
- "updated-by": "adetalhouet",
- "sources": {
- "processor-db": {
- "type": "source-processor-db",
- "properties": {
- "type": "SQL",
- "query": "select sdnctl.demo.value as value from sdnctl.demo where sdnctl.demo.id=:vfmoduleid",
- "input-key-mapping": {
- "vfmoduleid": "vf-module-number"
- },
- "output-key-mapping": {
- "vf-module-type": "value"
- },
- "key-dependencies": [
- "vf-module-number"
- ]
- }
- }
- }
-} \ No newline at end of file