Fix the pci-opt response to the swagger specs 74/88774/1 1.3.2
authorvrvarma <vv8305@att.com>
Wed, 29 May 2019 14:07:01 +0000 (10:07 -0400)
committervrvarma <vv8305@att.com>
Wed, 29 May 2019 14:07:11 +0000 (10:07 -0400)
Change-Id: I01f4e81563c02ccf6668fd4e39118bc1cf3f9aa8
Signed-off-by: vrvarma <vv8305@att.com>
Issue-ID: OPTFRA-508

osdf/optimizers/pciopt/pci_opt_processor.py
pom.xml
version.properties

index 7a640aa..03c742b 100644 (file)
@@ -73,13 +73,11 @@ def get_solutions(cell_info_list, network_cell_info, request_json):
         "requestId": request_json["requestInfo"]["requestId"],
         "requestStatus": "completed",
         "statusMessage": status,
-        "solutions": [
-            {
-                'networkId': request_json['cellInfo']['networkId'],
-                'pciSolutions': pci_solutions,
-                'anrSolutions': anr_solutions
-            }
-        ]
+        "solutions": {
+            'networkId': request_json['cellInfo']['networkId'],
+            'pciSolutions': pci_solutions,
+            'anrSolutions': anr_solutions
+        }
     }
 
 
diff --git a/pom.xml b/pom.xml
index 8f01b43..24819f3 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
     <groupId>org.onap.optf.osdf</groupId>
     <artifactId>optf-osdf</artifactId>
     <name>optf-osdf</name>
-    <version>1.3.1-SNAPSHOT</version>
+    <version>1.3.2-SNAPSHOT</version>
     <description>Optimization Service Design Framework</description>
 
     <properties>
index 3d14ded..0428858 100644 (file)
@@ -19,7 +19,7 @@
 
 major=1
 minor=3
-patch=1
+patch=2
 
 base_version=${major}.${minor}.${patch}