From 3b4b3739a45d46c1dc1d35eace605df6fc45060d Mon Sep 17 00:00:00 2001 From: cyuamber Date: Wed, 25 Sep 2019 13:25:35 +0800 Subject: feat: fix the interface of the onboard page and add json data Change-Id: Ie39a134703f2e3d48bba1a271d6d74b40a3eda72 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber --- .../src/app/mock/json/POST_uui-lcm_create.json | 44 ++++++++++++++++++++++ .../app/mock/json/POST_uui-lcm_ns-packages.json | 5 +++ .../app/mock/json/POST_uui-lcm_vf-packages.json | 5 +++ 3 files changed, 54 insertions(+) create mode 100644 usecaseui-portal/src/app/mock/json/POST_uui-lcm_create.json create mode 100644 usecaseui-portal/src/app/mock/json/POST_uui-lcm_ns-packages.json create mode 100644 usecaseui-portal/src/app/mock/json/POST_uui-lcm_vf-packages.json (limited to 'usecaseui-portal/src/app/mock/json') diff --git a/usecaseui-portal/src/app/mock/json/POST_uui-lcm_create.json b/usecaseui-portal/src/app/mock/json/POST_uui-lcm_create.json new file mode 100644 index 00000000..65291751 --- /dev/null +++ b/usecaseui-portal/src/app/mock/json/POST_uui-lcm_create.json @@ -0,0 +1,44 @@ +{ + "id": "001", + "nsdId": "string", + "nsdName": "string", + "nsdVersion": "string", + "nsdDesigner": "string", + "nsdInvariantId": "string", + "vnfPkgIds": [ + "string" + ], + "pnfdInfoIds": [ + "string" + ], + "nestedNsdInfoIds": [ + "string" + ], + "nsdOnboardingState": "CREATED", + "onboardingFailureDetails": { + "type": "string", + "title": 0, + "detail": "string", + "instance": "string", + "additional_attributes": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "nsdOperationalState": "ENABLED", + "nsdUsageState": "IN_USE", + "userDefinedData": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "_links": { + "self": { + "href": "string" + }, + "nsd_content": { + "href": "string" + } + } +} \ No newline at end of file diff --git a/usecaseui-portal/src/app/mock/json/POST_uui-lcm_ns-packages.json b/usecaseui-portal/src/app/mock/json/POST_uui-lcm_ns-packages.json new file mode 100644 index 00000000..2b185d34 --- /dev/null +++ b/usecaseui-portal/src/app/mock/json/POST_uui-lcm_ns-packages.json @@ -0,0 +1,5 @@ +{ + "status": "200", + "statusDescription": "onboard ns sdc successfully", + "errorCode": "0" +} \ No newline at end of file diff --git a/usecaseui-portal/src/app/mock/json/POST_uui-lcm_vf-packages.json b/usecaseui-portal/src/app/mock/json/POST_uui-lcm_vf-packages.json new file mode 100644 index 00000000..4379a94c --- /dev/null +++ b/usecaseui-portal/src/app/mock/json/POST_uui-lcm_vf-packages.json @@ -0,0 +1,5 @@ +{ + "status": "200", + "statusDescription": "onboard vnf sdc successfully", + "errorCode": "0" +} \ No newline at end of file -- cgit 1.2.3-korg