summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhekeguang <hekeguang@chinamobile.com>2020-05-22 14:58:13 +0800
committerhekeguang <hekeguang@chinamobile.com>2020-05-22 14:58:23 +0800
commit7759c093cb99a369a32091bd84383a4c70c8e4c6 (patch)
tree09af82bb9a9d0fef08a4bd06f177a66fd22522af
parent7d31a401b00b0c74fed77e05b0a58c0cde2d2da0 (diff)
The uemobilityLevel field needs to be modified to uEMobilityLevel.3.0.4
Issue-ID: USECASEUI-441 Change-Id: I836bb02b5d3527c696a6ff6bae07e97865a8ed9d Signed-off-by: hekeguang <hekeguang@chinamobile.com>
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreationRequestInputs.java2
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/service/csmf/impl/SlicingServiceImpl.java2
-rw-r--r--server/src/test/java/org/onap/usecaseui/server/bean/csmf/CreationParametersTest.java2
-rw-r--r--server/src/test/java/org/onap/usecaseui/server/bean/csmf/CreationRequestInputsTest.java4
4 files changed, 5 insertions, 5 deletions
diff --git a/server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreationRequestInputs.java b/server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreationRequestInputs.java
index 9562e489..2fdc27b5 100644
--- a/server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreationRequestInputs.java
+++ b/server/src/main/java/org/onap/usecaseui/server/bean/csmf/CreationRequestInputs.java
@@ -25,7 +25,7 @@ public class CreationRequestInputs {
private Integer expDataRateUL;
private Integer latency;
private Integer maxNumberofUEs;
- private String uemobilityLevel;
+ private String uEMobilityLevel;
private String resourceSharingLevel;
private String coverageAreaList;
private String useInterval;
diff --git a/server/src/main/java/org/onap/usecaseui/server/service/csmf/impl/SlicingServiceImpl.java b/server/src/main/java/org/onap/usecaseui/server/service/csmf/impl/SlicingServiceImpl.java
index 2f0cc8d8..4fa4eb63 100644
--- a/server/src/main/java/org/onap/usecaseui/server/service/csmf/impl/SlicingServiceImpl.java
+++ b/server/src/main/java/org/onap/usecaseui/server/service/csmf/impl/SlicingServiceImpl.java
@@ -102,7 +102,7 @@ public class SlicingServiceImpl implements SlicingService {
requestInputs.setExpDataRateUL(slicingOrder.getSlicing_order_info().getExpDataRateUL());
requestInputs.setLatency(slicingOrder.getSlicing_order_info().getLatency());
requestInputs.setMaxNumberofUEs(slicingOrder.getSlicing_order_info().getMaxNumberofUEs());
- requestInputs.setUemobilityLevel(slicingOrder.getSlicing_order_info().getUEMobilityLevel());
+ requestInputs.setUEMobilityLevel(slicingOrder.getSlicing_order_info().getUEMobilityLevel());
requestInputs.setResourceSharingLevel(slicingOrder.getSlicing_order_info().getResourceSharingLevel());
requestInputs.setCoverageAreaList(slicingOrder.getSlicing_order_info().getCoverageArea());
//use default value
diff --git a/server/src/test/java/org/onap/usecaseui/server/bean/csmf/CreationParametersTest.java b/server/src/test/java/org/onap/usecaseui/server/bean/csmf/CreationParametersTest.java
index 0c9f5f79..1af21e9f 100644
--- a/server/src/test/java/org/onap/usecaseui/server/bean/csmf/CreationParametersTest.java
+++ b/server/src/test/java/org/onap/usecaseui/server/bean/csmf/CreationParametersTest.java
@@ -39,7 +39,7 @@ public class CreationParametersTest {
creationRequestInputs.setLatency(12);
creationRequestInputs.setMaxNumberofUEs(123);
creationRequestInputs.setResourceSharingLevel("share");
- creationRequestInputs.setUemobilityLevel("mobile");
+ creationRequestInputs.setUEMobilityLevel("mobile");
creationRequestInputs.setUseInterval("230");
CreationParameters creationParameters = new CreationParameters();
diff --git a/server/src/test/java/org/onap/usecaseui/server/bean/csmf/CreationRequestInputsTest.java b/server/src/test/java/org/onap/usecaseui/server/bean/csmf/CreationRequestInputsTest.java
index 27e4a7f7..32108508 100644
--- a/server/src/test/java/org/onap/usecaseui/server/bean/csmf/CreationRequestInputsTest.java
+++ b/server/src/test/java/org/onap/usecaseui/server/bean/csmf/CreationRequestInputsTest.java
@@ -39,7 +39,7 @@ public class CreationRequestInputsTest {
creationRequestInputs.setLatency(12);
creationRequestInputs.setMaxNumberofUEs(123);
creationRequestInputs.setResourceSharingLevel("share");
- creationRequestInputs.setUemobilityLevel("mobile");
+ creationRequestInputs.setUEMobilityLevel("mobile");
creationRequestInputs.setUseInterval("230");
creationRequestInputs.getCoverageAreaList();
@@ -48,7 +48,7 @@ public class CreationRequestInputsTest {
creationRequestInputs.getLatency();
creationRequestInputs.getMaxNumberofUEs();
creationRequestInputs.getResourceSharingLevel();
- creationRequestInputs.getUemobilityLevel();
+ creationRequestInputs.getUEMobilityLevel();
creationRequestInputs.getUseInterval();
}
}