summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-09-12 09:36:08 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-09-12 09:36:14 +0800
commit3664bafa60eadff25e0f17f6ffcc5d1341ecfcda (patch)
tree7df9c28e0e239a7a93e2e9f232082393b3cdcd85 /usecaseui-portal/src/app
parent82ff35f629b05d57b9ec9f24f7189af4a10fceca (diff)
feat:mock local json data for customers page
Change-Id: Id6ad77af72fddf8331bf1318ce0ff378251d4e98 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app')
-rw-r--r--usecaseui-portal/src/app/mock/json/DELETE_uui-lcm_customers.json6
-rw-r--r--usecaseui-portal/src/app/mock/json/DELETE_uui-lcm_customers_service-subscriptions.json5
-rw-r--r--usecaseui-portal/src/app/mock/json/PUT_uui-lcm_customers.json8
-rw-r--r--usecaseui-portal/src/app/mock/json/PUT_uui-lcm_customers_service-subscriptions.json7
-rw-r--r--usecaseui-portal/src/app/mock/json/getCustomerresourceVersion.json9
-rw-r--r--usecaseui-portal/src/app/mock/json/getServiceTypeResourceVersion.json7
6 files changed, 34 insertions, 8 deletions
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
index 00000000..c1cce948
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/DELETE_uui-lcm_customers.json
@@ -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
index 00000000..74fbf513
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/DELETE_uui-lcm_customers_service-subscriptions.json
@@ -0,0 +1,5 @@
+{
+ "service-type":"delete_test",
+ "temp-ub-sub-account-id":"sotnaccount",
+ "status":"SUCCESS"
+} \ No newline at end of file
diff --git a/usecaseui-portal/src/app/mock/json/PUT_uui-lcm_customers.json b/usecaseui-portal/src/app/mock/json/PUT_uui-lcm_customers.json
index c014187e..01492fb9 100644
--- a/usecaseui-portal/src/app/mock/json/PUT_uui-lcm_customers.json
+++ b/usecaseui-portal/src/app/mock/json/PUT_uui-lcm_customers.json
@@ -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
diff --git a/usecaseui-portal/src/app/mock/json/PUT_uui-lcm_customers_service-subscriptions.json b/usecaseui-portal/src/app/mock/json/PUT_uui-lcm_customers_service-subscriptions.json
index c014187e..370366d9 100644
--- a/usecaseui-portal/src/app/mock/json/PUT_uui-lcm_customers_service-subscriptions.json
+++ b/usecaseui-portal/src/app/mock/json/PUT_uui-lcm_customers_service-subscriptions.json
@@ -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
index 00000000..d9e2d383
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/getCustomerresourceVersion.json
@@ -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
index 00000000..f37b26b5
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/getServiceTypeResourceVersion.json
@@ -0,0 +1,7 @@
+{
+ "result": {
+ "service-type": "CCVPN",
+ "resource-version": "1542249347284"
+ },
+ "status": "SUCCESS"
+} \ No newline at end of file