summaryrefslogtreecommitdiffstats
path: root/plugins/aai/src/test/resources/onap-cli-sample/subscription
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/aai/src/test/resources/onap-cli-sample/subscription')
-rw-r--r--plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-create-sample-1.1.yaml2
-rw-r--r--plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-delete-sample-1.1.yaml8
-rw-r--r--plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-list-sample-1.1.yaml13
3 files changed, 16 insertions, 7 deletions
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-create-sample-1.1.yaml b/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-create-sample-1.1.yaml
index c2777458..b33cf597 100644
--- a/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-create-sample-1.1.yaml
+++ b/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-create-sample-1.1.yaml
@@ -5,4 +5,4 @@ version: onap-1.1
samples:
sample1:
name: Create a subscription
- input: -h https://locahost:8443 -u AAI -p AAI -x customer-2 -y subscriber-2 -z att-aic -r AAIAIC25 -c 26ab7af6-96cc-4c4e-814a-e533af4ef9f6 -e vTest
+ input: -h https://locahost:8443 -u AAI -p AAI -x customer-4 -y subscriber-4 -z abc-xyz -r ABCXYZ25 -c 8bcf4466-b092-473f-889b-7f40efb5a323 -e vTest
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-delete-sample-1.1.yaml b/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-delete-sample-1.1.yaml
new file mode 100644
index 00000000..3a040d7e
--- /dev/null
+++ b/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-delete-sample-1.1.yaml
@@ -0,0 +1,8 @@
+onap_cli_sample_version: 1.0
+
+name: subscription-delete
+version: onap-1.1
+samples:
+ sample1:
+ name: Delete the subscription
+ input: -h https://locahost:8443 -u AAI -p AAI -x customer-4 -y vTest -g 1504258356743
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-list-sample-1.1.yaml b/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-list-sample-1.1.yaml
index 5943ab15..c4c6f206 100644
--- a/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-list-sample-1.1.yaml
+++ b/plugins/aai/src/test/resources/onap-cli-sample/subscription/subscription-list-sample-1.1.yaml
@@ -5,11 +5,12 @@ version: onap-1.1
samples:
sample1:
name: List the configured subscription in onap for a given customer
- input: -h https://locahost:8443 -u AAI -p AAI -x customer-2
+ input: -h https://locahost:8443 -u AAI -p AAI -x customer-4
output: |
- +--------------+
- |service-type |
- +--------------+
- |vTest |
- +--------------+
+ +--------------+------------------+
+ |service-type |resource-version |
+ +--------------+------------------+
+ |vTest |1504258356743 |
+ +--------------+------------------+
+