Update SDC service model commands
[cli.git] / products / onap-dublin / features / sdc / src / main / resources / open-cli-sample / service-model / get-resource-module-name-moco.json
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/get-resource-module-name-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/service-model/get-resource-module-name-moco.json
new file mode 100644 (file)
index 0000000..9efdd73
--- /dev/null
@@ -0,0 +1,242 @@
+[ {
+  "request" : {
+    "method" : "get",
+    "uri" : "/sdc2/rest/v1/followed",
+    "headers" : {
+      "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
+      "X-FromAppId" : "ONAP CLI",
+      "Accept" : "application/json",
+      "USER_ID" : "cs0008",
+      "X-TransactionId" : "req-0ff67b63-5fcb-4f84-b8e0-3e103aa239b3",
+      "Content-Type" : "application/json"
+    },
+    "json" : null
+  },
+  "response" : {
+    "status" : 200,
+    "json" : {
+      "resources" : [ {
+        "artifacts" : { },
+        "deploymentArtifacts" : { },
+        "toscaArtifacts" : { },
+        "categories" : [ {
+          "name" : "Generic",
+          "normalizedName" : "generic",
+          "uniqueId" : "resourceNewCategory.generic",
+          "subcategories" : [ {
+            "name" : "Abstract",
+            "normalizedName" : "abstract",
+            "uniqueId" : "resourceNewCategory.generic.abstract",
+            "icons" : [ "objectStorage", "compute" ],
+            "empty" : false
+          } ],
+          "empty" : false
+        } ],
+        "componentInstancesRelations" : [ ],
+        "capabilities" : { },
+        "derivedFromGenericType" : "org.openecomp.resource.abstract.nodes.VF",
+        "derivedFromGenericVersion" : "1.0",
+        "toscaType" : "topology_template",
+        "interfaces" : { },
+        "vendorName" : "ffc7ea3e-5407-44f6-9dcb",
+        "vendorRelease" : "1.0",
+        "resourceVendorModelNumber" : "",
+        "toscaResourceName" : "org.openecomp.resource.vf.B6e67bfdA2164168A16e",
+        "abstract" : false,
+        "resourceType" : "VF",
+        "version" : "1.0",
+        "tags" : [ "b6e67bfd-a216-4168-a16e" ],
+        "description" : "vendor software product",
+        "creationDate" : 1554244581380,
+        "csarVersion" : "1.0",
+        "archived" : false,
+        "archiveTime" : 0,
+        "highestVersion" : true,
+        "uniqueId" : "512dd581-fe42-4e82-b08e-13f5ed5ec071",
+        "contactId" : "cs0008",
+        "lastUpdaterFullName" : "Carlos Santana",
+        "normalizedName" : "b6e67bfda2164168a16e",
+        "vspArchived" : false,
+        "actualComponentType" : "VF",
+        "topologyTemplate" : true,
+        "allArtifacts" : { },
+        "icon" : "defaulticon",
+        "invariantUUID" : "7037ee95-babf-4324-a942-e6cf4a99473b",
+        "uuid" : "de0e7941-a28b-4b07-8ba5-b5eb2a39b476",
+        "creatorUserId" : "cs0008",
+        "creatorFullName" : "Carlos Santana",
+        "componentType" : "RESOURCE",
+        "lifecycleState" : "CERTIFIED",
+        "systemName" : "B6e67bfdA2164168A16e",
+        "lastUpdateDate" : 1554244588651,
+        "lastUpdaterUserId" : "cs0008",
+        "csarUUID" : "b5b395e79a3b49e7888c53c9c782db6a",
+        "name" : "b6e67bfd-a216-4168-a16e"
+      }, {
+        "artifacts" : { },
+        "deploymentArtifacts" : { },
+        "toscaArtifacts" : { },
+        "categories" : [ {
+          "name" : "Application L4+",
+          "normalizedName" : "application l4+",
+          "uniqueId" : "resourceNewCategory.application l4+",
+          "subcategories" : [ {
+            "name" : "Firewall",
+            "normalizedName" : "firewall",
+            "uniqueId" : "resourceNewCategory.application l4+.firewall",
+            "icons" : [ "firewall" ],
+            "empty" : false
+          } ],
+          "empty" : false
+        } ],
+        "componentInstancesRelations" : [ ],
+        "capabilities" : { },
+        "derivedFromGenericType" : "org.openecomp.resource.abstract.nodes.VF",
+        "derivedFromGenericVersion" : "1.0",
+        "toscaType" : "topology_template",
+        "interfaces" : { },
+        "vendorName" : "vfw-hpa-demo",
+        "vendorRelease" : "1.0",
+        "resourceVendorModelNumber" : "",
+        "toscaResourceName" : "org.openecomp.resource.vf.VfwHpaSriovV2",
+        "abstract" : false,
+        "resourceType" : "VF",
+        "version" : "1.0",
+        "tags" : [ "vfw-hpa-sriov_v2" ],
+        "description" : "vfw hpa",
+        "creationDate" : 1554412673495,
+        "csarVersion" : "1.0",
+        "archived" : false,
+        "archiveTime" : 0,
+        "highestVersion" : true,
+        "uniqueId" : "143748d8-a6e4-4be9-94c2-6138a9444490",
+        "contactId" : "cs0008",
+        "lastUpdaterFullName" : "Carlos Santana",
+        "normalizedName" : "vfwhpasriovv2",
+        "vspArchived" : false,
+        "actualComponentType" : "VF",
+        "topologyTemplate" : true,
+        "allArtifacts" : { },
+        "icon" : "defaulticon",
+        "invariantUUID" : "b7d993a3-3870-4096-a16c-90110d402349",
+        "uuid" : "04ffd583-5625-4471-b20b-38394b513efd",
+        "creatorUserId" : "cs0008",
+        "creatorFullName" : "Carlos Santana",
+        "componentType" : "RESOURCE",
+        "lifecycleState" : "CERTIFIED",
+        "systemName" : "VfwHpaSriovV2",
+        "lastUpdateDate" : 1554412686835,
+        "lastUpdaterUserId" : "cs0008",
+        "csarUUID" : "13a62878030c464095d2727381299565",
+        "name" : "vfw-hpa-sriov_v2"
+      } ],
+      "services" : [ {
+        "artifacts" : { },
+        "deploymentArtifacts" : { },
+        "toscaArtifacts" : { },
+        "categories" : [ {
+          "name" : "Network L1-3",
+          "normalizedName" : "network l1-3",
+          "uniqueId" : "serviceNewCategory.network l1-3",
+          "empty" : false
+        } ],
+        "componentInstancesRelations" : [ ],
+        "capabilities" : { },
+        "derivedFromGenericType" : "org.openecomp.resource.abstract.nodes.service",
+        "derivedFromGenericVersion" : "1.0",
+        "toscaType" : "topology_template",
+        "interfaces" : { },
+        "serviceApiArtifacts" : { },
+        "forwardingPaths" : { },
+        "projectCode" : "000000",
+        "environmentContext" : "General_Revenue-Bearing",
+        "serviceType" : "",
+        "serviceRole" : "",
+        "ecompGeneratedNaming" : true,
+        "namingPolicy" : "",
+        "instantiationType" : "A-la-carte",
+        "distributionStatus" : "DISTRIBUTED",
+        "version" : "1.0",
+        "tags" : [ "vfw-demo-service" ],
+        "description" : "vfw demo service",
+        "creationDate" : 1554412767728,
+        "archived" : false,
+        "archiveTime" : 0,
+        "highestVersion" : true,
+        "uniqueId" : "7929bce5-5f06-4514-82b2-f33c03e8b2ab",
+        "contactId" : "cs0008",
+        "conformanceLevel" : "9.0",
+        "lastUpdaterFullName" : "Joni Mitchell",
+        "normalizedName" : "vfwdemoservice",
+        "vspArchived" : false,
+        "actualComponentType" : "Service",
+        "topologyTemplate" : true,
+        "allArtifacts" : { },
+        "icon" : "defaulticon",
+        "invariantUUID" : "41d0ebba-4b89-4437-9b22-4d83d2183aaa",
+        "uuid" : "545bca3c-8cc0-4dac-b464-1720894e0213",
+        "creatorUserId" : "jm0007",
+        "creatorFullName" : "Joni Mitchell",
+        "componentType" : "SERVICE",
+        "lifecycleState" : "CERTIFIED",
+        "systemName" : "VfwDemoService",
+        "lastUpdateDate" : 1554414709904,
+        "lastUpdaterUserId" : "jm0007",
+        "name" : "vfw-demo-service"
+      }, {
+        "artifacts" : { },
+        "deploymentArtifacts" : { },
+        "toscaArtifacts" : { },
+        "categories" : [ {
+          "name" : "Network L1-3",
+          "normalizedName" : "network l1-3",
+          "uniqueId" : "serviceNewCategory.network l1-3",
+          "empty" : false
+        } ],
+        "componentInstancesRelations" : [ ],
+        "capabilities" : { },
+        "derivedFromGenericType" : "org.openecomp.resource.abstract.nodes.service",
+        "derivedFromGenericVersion" : "1.0",
+        "toscaType" : "topology_template",
+        "interfaces" : { },
+        "serviceApiArtifacts" : { },
+        "forwardingPaths" : { },
+        "projectCode" : "123456",
+        "environmentContext" : "General_Revenue-Bearing",
+        "serviceType" : "",
+        "serviceRole" : "",
+        "ecompGeneratedNaming" : true,
+        "namingPolicy" : "",
+        "instantiationType" : "A-la-carte",
+        "distributionStatus" : "DISTRIBUTED",
+        "version" : "1.0",
+        "tags" : [ "robot-ete", "vFW 2019-04-02 22:36:04" ],
+        "description" : "catalog service description",
+        "creationDate" : 1554244565488,
+        "archived" : false,
+        "archiveTime" : 0,
+        "highestVersion" : true,
+        "uniqueId" : "7545af33-5b19-44b9-925f-b7f897e95a9e",
+        "contactId" : "cs0008",
+        "conformanceLevel" : "9.0",
+        "lastUpdaterFullName" : "Joni Mitchell",
+        "normalizedName" : "vfw2019040222:36:04",
+        "vspArchived" : false,
+        "actualComponentType" : "Service",
+        "topologyTemplate" : true,
+        "allArtifacts" : { },
+        "icon" : "network_l_1-3",
+        "invariantUUID" : "00d2740e-705b-4f90-a1d0-6f61c131d4fc",
+        "uuid" : "e5d812e6-6c6e-45f0-a3a5-e231d2a328be",
+        "creatorUserId" : "jm0007",
+        "creatorFullName" : "Joni Mitchell",
+        "componentType" : "SERVICE",
+        "lifecycleState" : "CERTIFIED",
+        "systemName" : "Vfw2019040222:36:04",
+        "lastUpdateDate" : 1554244609192,
+        "lastUpdaterUserId" : "jm0007",
+        "name" : "vFW 2019-04-02 22:36:04"
+      } ]
+    }
+  }
+} ]
\ No newline at end of file