Currently, SADIS caches Subscriber records defining Subscriber Tagging requirements, authentication data and other service flow information. The OF Flow Table ID used to reference a Technology Profile for a given Subscriber needs to be able to be added to the Subscriber Record and a Reference to an Upstream and Downstream OF Meter also supported.
Change-Id: I2951d777e557c5354eb7ef0d9d8645c22b763740
diff --git a/app/src/test/resources/3 b/app/src/test/resources/3
index a7fead8..496bf28 100644
--- a/app/src/test/resources/3
+++ b/app/src/test/resources/3
@@ -9,5 +9,8 @@
"ipAddress":"30.30.30.30",
"nasId":"MNO-NASID",
"circuitId":"circuit567",
- "remoteId":"remote567"
+ "remoteId":"remote567",
+ "technologyProfileId":64,
+ "upstreamBandwidthProfile":"10Gb",
+ "downstreamBandwidthProfile":"10Gb"
}
diff --git a/app/src/test/resources/4 b/app/src/test/resources/4
index 19f00f8..757e741 100644
--- a/app/src/test/resources/4
+++ b/app/src/test/resources/4
@@ -9,5 +9,8 @@
"ipAddress":"15.15.15.15",
"nasId":"PQR-NASID",
"circuitId":"circuit678",
- "remoteId":"remote678"
+ "remoteId":"remote678",
+ "technologyProfileId":64,
+ "upstreamBandwidthProfile":"5Gb",
+ "downstreamBandwidthProfile":"5Gb"
}
diff --git a/app/src/test/resources/HighSpeed b/app/src/test/resources/HighSpeed
new file mode 100644
index 0000000..f57465f
--- /dev/null
+++ b/app/src/test/resources/HighSpeed
@@ -0,0 +1,8 @@
+{
+ "id": "High Speed",
+ "cir": 1000000000,
+ "cbs": 384000,
+ "eir": 100000000,
+ "ebs": 384000,
+ "air": 100000000
+}
\ No newline at end of file
diff --git a/app/src/test/resources/LocalBpConfig.json b/app/src/test/resources/LocalBpConfig.json
new file mode 100644
index 0000000..aee463b
--- /dev/null
+++ b/app/src/test/resources/LocalBpConfig.json
@@ -0,0 +1,26 @@
+{
+ "integration": {
+ "cache": {
+ "maxsize": 60,
+ "ttl": "PT1m"
+ }
+ },
+ "entries": [
+ {
+ "id": "High Speed",
+ "cir": 1000000000,
+ "cbs": 384000,
+ "eir": 100000000,
+ "ebs": 384000,
+ "air": 100000000
+ },
+ {
+ "id": "Home User Speed",
+ "cir": 1000000000,
+ "cbs": 200000,
+ "eir": 100000000,
+ "ebs": 200000,
+ "air": 100000000
+ }
+ ]
+}
\ No newline at end of file
diff --git a/app/src/test/resources/LocalConfig.json b/app/src/test/resources/LocalSubConfig.json
similarity index 65%
rename from app/src/test/resources/LocalConfig.json
rename to app/src/test/resources/LocalSubConfig.json
index d72de31..99c861a 100644
--- a/app/src/test/resources/LocalConfig.json
+++ b/app/src/test/resources/LocalSubConfig.json
@@ -21,7 +21,10 @@
"ipAddress":"10.10.10.10",
"nasId":"XXX-NASID",
"circuitId":"circuit123",
- "remoteId":"remote123"
+ "remoteId":"remote123",
+ "technologyProfileId":64,
+ "upstreamBandwidthProfile":"1Gb",
+ "downstreamBandwidthProfile":"1Gb"
},
{
@@ -35,7 +38,10 @@
"ipAddress":"1.1.1.1",
"nasId":"YYY-NASID",
"circuitId":"circuit234",
- "remoteId":"remote234"
+ "remoteId":"remote234",
+ "technologyProfileId":64,
+ "upstreamBandwidthProfile":"10Gb",
+ "downstreamBandwidthProfile":"10Gb"
},
{
@@ -44,7 +50,10 @@
"ipAddress":"12.12.12.12",
"nasId":"CCC-NASID",
"circuitId":"circuit345",
- "remoteId":"remote345"
+ "remoteId":"remote345",
+ "technologyProfileId":64,
+ "upstreamBandwidthProfile":"10Gb",
+ "downstreamBandwidthProfile":"10Gb"
}
]
}