aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample
diff options
context:
space:
mode:
Diffstat (limited to 'products/onap-dublin/features/sdc/src/main/resources/open-cli-sample')
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-commit-schema-dublin-moco.json24
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-commit-schema-dublin-sample.yaml10
2 files changed, 34 insertions, 0 deletions
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-commit-schema-dublin-moco.json b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-commit-schema-dublin-moco.json
new file mode 100644
index 00000000..439f5e00
--- /dev/null
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-commit-schema-dublin-moco.json
@@ -0,0 +1,24 @@
+[ {
+ "request" : {
+ "method" : "put",
+ "uri" : "/onboarding-api/v1.0/items/a653d9bd40dc43e2ae45004daeab9003/versions/d6e590f98c2347b7a29b27e263527fac/actions",
+ "headers" : {
+ "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "USER_ID" : "cs0008",
+ "X-TransactionId" : "req-f64dec4f-646e-46d8-807e-99e7170a6afb",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "action" : "Commit",
+ "commitRequest" : {
+ "message" : "Powered by Open Command Platform - OCOMP"
+ }
+ }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : { }
+ }
+} ] \ No newline at end of file
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-commit-schema-dublin-sample.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-commit-schema-dublin-sample.yaml
new file mode 100644
index 00000000..3f02163a
--- /dev/null
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-commit-schema-dublin-sample.yaml
@@ -0,0 +1,10 @@
+open_cli_sample_version: 1.0
+name: vsp-commit
+version: onap-dublin
+samples:
+ sample1:
+ name: vsp-commit
+ input: --format json --remarks Powered by Open Command Platform - OCOMP --vsp-version d6e590f98c2347b7a29b27e263527fac --vsp-id a653d9bd40dc43e2ae45004daeab9003
+ moco: vsp-commit-schema-dublin-moco.json
+ output: |
+ [{}]