summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal
diff options
context:
space:
mode:
authorTao Shen <shentao@chinamobile.com>2019-09-12 06:24:44 +0000
committerGerrit Code Review <gerrit@onap.org>2019-09-12 06:24:44 +0000
commit8fc83809ff5d970b7ecda3e24e4038faa03d950b (patch)
treebc02a01a2e1b179057ecf5e6961ffe18ebb3014b /usecaseui-portal
parente779979ec9c7bbb18711339a26c4706a7096f7cc (diff)
parent3664bafa60eadff25e0f17f6ffcc5d1341ecfcda (diff)
Merge "feat:mock local json data for customers page"
Diffstat (limited to 'usecaseui-portal')
-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