aboutsummaryrefslogtreecommitdiffstats
path: root/src/k8splugin/mock_files
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-11-28 12:21:09 -0800
committerKiran Kamineni <kiran.k.kamineni@intel.com>2019-01-17 12:47:04 -0800
commitcd9644049545a47676e87ad279833ced1b0f9c1a (patch)
treee400e1afc580cef33a95a17a5e6b019d00a07fef /src/k8splugin/mock_files
parent1fa0e21ea6d3c5fb060daba19a0cb6c1f26f1364 (diff)
Add resource bundle profile api
Add CRUD api for uploading profiles for specific definition resource bundles. - Adding unit tests Issue-ID: ONAPARC-348 Change-Id: Ic43724b4e2c035e7989c827612f1b2800fc49a69 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'src/k8splugin/mock_files')
-rw-r--r--src/k8splugin/mock_files/mock_json/create_rbdefinition.json6
-rw-r--r--src/k8splugin/mock_files/mock_json/create_rbprofile.json7
-rw-r--r--src/k8splugin/mock_files/mock_json/create_vnfd.json6
3 files changed, 13 insertions, 6 deletions
diff --git a/src/k8splugin/mock_files/mock_json/create_rbdefinition.json b/src/k8splugin/mock_files/mock_json/create_rbdefinition.json
new file mode 100644
index 00000000..994afdf8
--- /dev/null
+++ b/src/k8splugin/mock_files/mock_json/create_rbdefinition.json
@@ -0,0 +1,6 @@
+{
+ "name": "test-rbdef",
+ "description": "testing resource bundle definition api",
+ "uuid": "7eb09e38-4363-9942-1234-3beb2e95fd85",
+ "service-type": "firewall"
+} \ No newline at end of file
diff --git a/src/k8splugin/mock_files/mock_json/create_rbprofile.json b/src/k8splugin/mock_files/mock_json/create_rbprofile.json
new file mode 100644
index 00000000..5d439cf0
--- /dev/null
+++ b/src/k8splugin/mock_files/mock_json/create_rbprofile.json
@@ -0,0 +1,7 @@
+{
+ "name": "test-rbprofile",
+ "description": "testing resource bundle profile api",
+ "rbdid": "7eb09e38-4363-9942-1234-3beb2e95fd85",
+ "uuid": "12345678-8888-4578-3344-987654398731",
+ "service-type": "firewall"
+}
diff --git a/src/k8splugin/mock_files/mock_json/create_vnfd.json b/src/k8splugin/mock_files/mock_json/create_vnfd.json
deleted file mode 100644
index 64a186b2..00000000
--- a/src/k8splugin/mock_files/mock_json/create_vnfd.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "name": "test-vnfd",
- "description": "testing vnfd creation api",
- "uuid": "",
- "service-type": "firewall"
-} \ No newline at end of file