feat:mock local json data for customers page 49/95549/1
authorcyuamber <xuranyjy@chinamobile.com>
Thu, 12 Sep 2019 01:36:08 +0000 (09:36 +0800)
committercyuamber <xuranyjy@chinamobile.com>
Thu, 12 Sep 2019 01:36:14 +0000 (09:36 +0800)
Change-Id: Id6ad77af72fddf8331bf1318ce0ff378251d4e98
Issue-ID: USECASEUI-307
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
usecaseui-portal/src/app/mock/json/DELETE_uui-lcm_customers.json [new file with mode: 0644]
usecaseui-portal/src/app/mock/json/DELETE_uui-lcm_customers_service-subscriptions.json [new file with mode: 0644]
usecaseui-portal/src/app/mock/json/PUT_uui-lcm_customers.json
usecaseui-portal/src/app/mock/json/PUT_uui-lcm_customers_service-subscriptions.json
usecaseui-portal/src/app/mock/json/getCustomerresourceVersion.json [new file with mode: 0644]
usecaseui-portal/src/app/mock/json/getServiceTypeResourceVersion.json [new file with mode: 0644]

diff --git a/usecaseui-portal/src/app/mock/json/DELETE_uui-lcm_customers.json b/usecaseui-portal/src/app/mock/json/DELETE_uui-lcm_customers.json
new file mode 100644 (file)
index 0000000..c1cce94
--- /dev/null
@@ -0,0 +1,6 @@
+{
+  "status":"Failed",
+  "global-customer-id": "gongjie_test",
+  "subscriber-name": "gongjie_test",
+  "subscriber-type": "INFRA"
+}
diff --git a/usecaseui-portal/src/app/mock/json/DELETE_uui-lcm_customers_service-subscriptions.json b/usecaseui-portal/src/app/mock/json/DELETE_uui-lcm_customers_service-subscriptions.json
new file mode 100644 (file)
index 0000000..74fbf51
--- /dev/null
@@ -0,0 +1,5 @@
+{
+  "service-type":"delete_test",
+  "temp-ub-sub-account-id":"sotnaccount",
+  "status":"SUCCESS"
+}
\ No newline at end of file
index c014187..01492fb 100644 (file)
@@ -1,6 +1,6 @@
 {
-    "global-customer-id": "Democcy",
-    "subscriber-name": "Democcy",
-    "subscriber-type": "INFRA",
-    "resource-version": "1535601196964"
+  "status":"SUCCESS",
+  "global-customer-id": "tian_test",
+  "subscriber-name": "tian_test",
+  "subscriber-type": "INFRA"
 }
\ No newline at end of file
index c014187..370366d 100644 (file)
@@ -1,6 +1,5 @@
 {
-    "global-customer-id": "Democcy",
-    "subscriber-name": "Democcy",
-    "subscriber-type": "INFRA",
-    "resource-version": "1535601196964"
+  "service-type":"tian_test",
+  "temp-ub-sub-account-id":"sotnaccount",
+  "status":"SUCCESS"
 }
\ No newline at end of file
diff --git a/usecaseui-portal/src/app/mock/json/getCustomerresourceVersion.json b/usecaseui-portal/src/app/mock/json/getCustomerresourceVersion.json
new file mode 100644 (file)
index 0000000..d9e2d38
--- /dev/null
@@ -0,0 +1,9 @@
+{
+  "result": {
+    "global-customer-id": "tian_test",
+    "subscriber-name": "tian_test",
+    "subscriber-type": "INFRA",
+    "resource-version": "100020202"
+  },
+  "status": "SUCCESS"
+}
\ No newline at end of file
diff --git a/usecaseui-portal/src/app/mock/json/getServiceTypeResourceVersion.json b/usecaseui-portal/src/app/mock/json/getServiceTypeResourceVersion.json
new file mode 100644 (file)
index 0000000..f37b26b
--- /dev/null
@@ -0,0 +1,7 @@
+{
+  "result": {
+    "service-type": "CCVPN",
+    "resource-version": "1542249347284"
+  },
+  "status": "SUCCESS"
+}
\ No newline at end of file