aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/restapi-templates/src/main')
-rw-r--r--platform-logic/restapi-templates/src/main/json/bbs-access-connectivity-create.json39
-rw-r--r--platform-logic/restapi-templates/src/main/json/bbs-internet-profile-operation.json11
-rw-r--r--platform-logic/restapi-templates/src/main/json/bbs-token-template.json5
3 files changed, 55 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/bbs-access-connectivity-create.json b/platform-logic/restapi-templates/src/main/json/bbs-access-connectivity-create.json
new file mode 100644
index 00000000..0cab56ef
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/bbs-access-connectivity-create.json
@@ -0,0 +1,39 @@
+{
+"accessE2Eservice" : {
+ "serviceID" : "",
+ "subscriberInfo" : {
+ "accessID" : "",
+ "extendParas" : {},
+"dpName":""
+ },
+ "aEnd" : {
+ "endNeName" : "",
+ "endPort" : "",
+ "extendParas" : {
+ "ontSN" : ${prop.bbs.ONTSN},
+ "cVlanID" : ${prop.bbs.CVLAN}
+ }
+ },
+ "zEnd" : {
+ "endNeName" : "",
+ "endPort" : "",
+ "extendParas" : {
+ "sVlanID" : ${prop.bbs.SVLAN}
+ }
+ },
+ "serviceInfo" : {
+ "serviceBasciInfo" : {
+ "serviceType" : "HSI"
+ },
+ "hsiServiceInfo" : {
+ "hsiServiceType" : ${prop.bbs.HsiType},
+ "hsiPackage" : ${prop.bbs.HsiPackage},
+ "lineProfileName" : "",
+ "serviceProfileName" : "",
+ "vaProfileName" : "",
+ "trafficProfileName" : "",
+ "extendParas" : {}
+ }
+ }
+ }
+}
diff --git a/platform-logic/restapi-templates/src/main/json/bbs-internet-profile-operation.json b/platform-logic/restapi-templates/src/main/json/bbs-internet-profile-operation.json
new file mode 100644
index 00000000..3ad3a9c5
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/bbs-internet-profile-operation.json
@@ -0,0 +1,11 @@
+{
+ "service-id":${prop.bbs.service-id},
+ "access_id":${prop.bbs.access_id},
+ "ont_sn":${prop.bbs.ont_sn},
+ "service_type":${prop.bbs.service_type},
+ "mac":${prop.bbs.mac},
+ "up_speed":${prop.bbs.up_speed},
+ "down_speed":${prop.bbs.down_speed},
+ "s_vlan":${prop.bbs.s_vlan},
+ "c_vlan":${prop.bbs.c_vlan}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/bbs-token-template.json b/platform-logic/restapi-templates/src/main/json/bbs-token-template.json
new file mode 100644
index 00000000..d2526713
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/bbs-token-template.json
@@ -0,0 +1,5 @@
+{
+"userName":"tokenUser",
+"grantType":"password",
+"value":"Test_12345"
+}