From 7d2d48d3d0b35de0acd03c6e8a1261efd736edc3 Mon Sep 17 00:00:00 2001 From: Kiran Kamineni Date: Wed, 31 Oct 2018 16:24:32 -0700 Subject: Add vnf definition APIs Adding APIs for POST, GET, LIST (implemented via GET) and DELETE commands on /v1/vnfd base for creating, getting, listing and deleting VNF Definitions. P2: Added unit tests for vnfdhandler.go P3: Add unit tests for serialize and deserialize P4: Integrating review comments P5: Added customizable mocking for vnfdhandler_test P6: Added customizablt mocking for vnfd_test Note that this will soon need to be updated once the db changes go through in patch 71090 Issue-ID: MULTICLOUD-393 Change-Id: Id509bed370ab3bdc572c6ead22324c1ee3dbf82d Signed-off-by: Kiran Kamineni Signed-off-by: Victor Morales --- src/k8splugin/mock_files/mock_json/create_vnfd.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/k8splugin/mock_files/mock_json/create_vnfd.json (limited to 'src/k8splugin/mock_files/mock_json') diff --git a/src/k8splugin/mock_files/mock_json/create_vnfd.json b/src/k8splugin/mock_files/mock_json/create_vnfd.json new file mode 100644 index 00000000..64a186b2 --- /dev/null +++ b/src/k8splugin/mock_files/mock_json/create_vnfd.json @@ -0,0 +1,6 @@ +{ + "name": "test-vnfd", + "description": "testing vnfd creation api", + "uuid": "", + "service-type": "firewall" +} \ No newline at end of file -- cgit 1.2.3-korg