aboutsummaryrefslogtreecommitdiffstats
path: root/models-interactions/model-actors/actor.so/src/test/resources
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-02-18 12:25:37 -0500
committerJim Hahn <jrh3@att.com>2020-02-19 12:45:30 -0500
commitcbbc4a71ce71f22439b083107c65c22cc63bc9cc (patch)
tree5123d1b22ddd887d693b5007060cb3bdc7f0bad6 /models-interactions/model-actors/actor.so/src/test/resources
parent4ccc26577b51545b4b4db6823c6d926bc0ffc5a4 (diff)
Add SO actor
Issue-ID: POLICY-2371 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I3faf0276e8039dc43a976d18ff8e704fdbec3d49
Diffstat (limited to 'models-interactions/model-actors/actor.so/src/test/resources')
-rw-r--r--models-interactions/model-actors/actor.so/src/test/resources/model.json8
-rw-r--r--models-interactions/model-actors/actor.so/src/test/resources/reqinfo.json5
-rw-r--r--models-interactions/model-actors/actor.so/src/test/resources/reqparams.json5
-rw-r--r--models-interactions/model-actors/actor.so/src/test/resources/vfModuleCreate.json49
4 files changed, 67 insertions, 0 deletions
diff --git a/models-interactions/model-actors/actor.so/src/test/resources/model.json b/models-interactions/model-actors/actor.so/src/test/resources/model.json
new file mode 100644
index 000000000..133b0fe91
--- /dev/null
+++ b/models-interactions/model-actors/actor.so/src/test/resources/model.json
@@ -0,0 +1,8 @@
+{
+ "modelType": "vfModule",
+ "modelInvariantId": "my-model-invariant-id",
+ "modelVersionId": "my-model-version-id",
+ "modelName": "my-model-name",
+ "modelVersion": "my-model-version",
+ "modelCustomizationId": "my-model-customization-id"
+} \ No newline at end of file
diff --git a/models-interactions/model-actors/actor.so/src/test/resources/reqinfo.json b/models-interactions/model-actors/actor.so/src/test/resources/reqinfo.json
new file mode 100644
index 000000000..62d6eb1e6
--- /dev/null
+++ b/models-interactions/model-actors/actor.so/src/test/resources/reqinfo.json
@@ -0,0 +1,5 @@
+{
+ "source": "POLICY",
+ "suppressRollback": false,
+ "requestorId": "policy"
+} \ No newline at end of file
diff --git a/models-interactions/model-actors/actor.so/src/test/resources/reqparams.json b/models-interactions/model-actors/actor.so/src/test/resources/reqparams.json
new file mode 100644
index 000000000..44598ac81
--- /dev/null
+++ b/models-interactions/model-actors/actor.so/src/test/resources/reqparams.json
@@ -0,0 +1,5 @@
+{
+ "subscriptionServiceType": "my-subscription-service-type",
+ "usePreload": false,
+ "userParams": []
+} \ No newline at end of file
diff --git a/models-interactions/model-actors/actor.so/src/test/resources/vfModuleCreate.json b/models-interactions/model-actors/actor.so/src/test/resources/vfModuleCreate.json
new file mode 100644
index 000000000..06258f3f3
--- /dev/null
+++ b/models-interactions/model-actors/actor.so/src/test/resources/vfModuleCreate.json
@@ -0,0 +1,49 @@
+{
+ "requestDetails": {
+ "modelInfo": {
+ "modelType": "vfModule",
+ "modelInvariantId": "my-model-invariant-id",
+ "modelVersionId": "my-model-version-id",
+ "modelName": "my-model-name",
+ "modelVersion": "my-model-version",
+ "modelCustomizationId": "my-model-customization-id"
+ },
+ "cloudConfiguration": {},
+ "requestInfo": {
+ "instanceName": "vfModuleName",
+ "source": "POLICY",
+ "suppressRollback": false,
+ "requestorId": "policy"
+ },
+ "relatedInstanceList": [
+ {
+ "relatedInstance": {
+ "instanceId": "my-service-instance-id",
+ "modelInfo": {
+ "modelType": "service",
+ "modelName": "my-model-name-B",
+ "modelVersion": "my-model-version-B"
+ }
+ }
+ },
+ {
+ "relatedInstance": {
+ "instanceId": "my-vnf-id",
+ "modelInfo": {
+ "modelType": "vnf",
+ "modelName": "my-model-name-B",
+ "modelVersion": "my-model-version-B"
+ }
+ }
+ }
+ ],
+ "requestParameters": {
+ "subscriptionServiceType": "my-subscription-service-type",
+ "usePreload": false,
+ "userParams": []
+ },
+ "configurationParameters": [
+ {}
+ ]
+ }
+} \ No newline at end of file