diff options
author | 2022-05-11 13:47:15 +0000 | |
---|---|---|
committer | 2022-05-11 13:52:05 +0000 | |
commit | 3834528bd0ad36892e98acd49550ceb20cea7dec (patch) | |
tree | c530c9a8db57797fe5b320f4ac8e44b6dcdb8313 /components/slice-analysis-ms/src/main/java | |
parent | 374a349e10e60076b6279605029c555f3578ca96 (diff) |
[SLICEANALYSIS] Fix bug in fetching PM data from DES1.1.3-slice-analysis-ms
Issue-ID: DCAEGEN2-3156
Signed-off-by: Niranjana <niranjana.y60@wipro.com>
Change-Id: I0ffa262b15701958c50312c7549e09ce94bb9617
Diffstat (limited to 'components/slice-analysis-ms/src/main/java')
-rw-r--r-- | components/slice-analysis-ms/src/main/java/org/onap/slice/analysis/ms/service/SliceUtilization.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/slice-analysis-ms/src/main/java/org/onap/slice/analysis/ms/service/SliceUtilization.java b/components/slice-analysis-ms/src/main/java/org/onap/slice/analysis/ms/service/SliceUtilization.java index 1d53892c..a9d30ce7 100644 --- a/components/slice-analysis-ms/src/main/java/org/onap/slice/analysis/ms/service/SliceUtilization.java +++ b/components/slice-analysis-ms/src/main/java/org/onap/slice/analysis/ms/service/SliceUtilization.java @@ -181,9 +181,9 @@ public class SliceUtilization { numOfPRBData += measValuesArray.length(); for (int j = 0; j < measValuesArray.length(); j++) { dlPRBUsed += - measValuesArray.getJSONArray(j).getJSONArray(2).getJSONArray(dlThptIndex).getInt(1); + measValuesArray.getJSONArray(j).getJSONArray(1).getJSONArray(dlThptIndex).getInt(1); ulPRBUsed += - measValuesArray.getJSONArray(j).getJSONArray(2).getJSONArray(ulThptIndex).getInt(1); + measValuesArray.getJSONArray(j).getJSONArray(1).getJSONArray(ulThptIndex).getInt(1); } } } |