From: vrvarma Date: Wed, 29 May 2019 14:07:01 +0000 (-0400) Subject: Fix the pci-opt response to the swagger specs X-Git-Tag: 1.3.2^0 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F74%2F88774%2F1;p=optf%2Fosdf.git Fix the pci-opt response to the swagger specs Change-Id: I01f4e81563c02ccf6668fd4e39118bc1cf3f9aa8 Signed-off-by: vrvarma Issue-ID: OPTFRA-508 --- diff --git a/osdf/optimizers/pciopt/pci_opt_processor.py b/osdf/optimizers/pciopt/pci_opt_processor.py index 7a640aa..03c742b 100644 --- a/osdf/optimizers/pciopt/pci_opt_processor.py +++ b/osdf/optimizers/pciopt/pci_opt_processor.py @@ -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 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@ org.onap.optf.osdf optf-osdf optf-osdf - 1.3.1-SNAPSHOT + 1.3.2-SNAPSHOT Optimization Service Design Framework diff --git a/version.properties b/version.properties index 3d14ded..0428858 100644 --- a/version.properties +++ b/version.properties @@ -19,7 +19,7 @@ major=1 minor=3 -patch=1 +patch=2 base_version=${major}.${minor}.${patch}