summaryrefslogtreecommitdiffstats
path: root/test/functest
diff options
context:
space:
mode:
authorDileep Ranganathan <dileep.ranganathan@intel.com>2018-11-01 18:06:15 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-01 18:06:15 +0000
commitf2a275b6864c34866e2d99a2f98baeca516b80d3 (patch)
tree20a5d7a693b8e6dd72c8f911374583997f2ee9a1 /test/functest
parenta1a1abda557963fb4595a6da2f4cf4225d0cddaa (diff)
parente8f00ec45adb71eac51e110ea19dd2bead78b2d3 (diff)
Merge "oof changes for the new sdnr-configdb changes"
Diffstat (limited to 'test/functest')
-rwxr-xr-xtest/functest/simulators/oof_dependencies_simulators.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/functest/simulators/oof_dependencies_simulators.py b/test/functest/simulators/oof_dependencies_simulators.py
index b7e6cb5..2995861 100755
--- a/test/functest/simulators/oof_dependencies_simulators.py
+++ b/test/functest/simulators/oof_dependencies_simulators.py
@@ -93,18 +93,18 @@ def get_policies(sub_component):
return jsonify(list_json)
-@app.route("/simulated/configdb/getCellList", methods=["GET"])
-def get_cell_list():
+@app.route("/simulated/configdb/getCellList/<network_id>/<ts>", methods=["GET"])
+def get_cell_list(network_id, ts):
data, status = get_payload_for_simulated_component('configdb',
- 'getCellList-' + request.args.get('networkId') + '.json')
+ 'getCellList-' + network_id + '.json')
if not status:
return jsonify(data)
return jsonify(data), 503
-@app.route("/simulated/configdb/getNbrList", methods=["GET"])
-def get_nbr_list():
- data, status = get_payload_for_simulated_component('configdb', 'getNbrList-' + request.args.get('cellId') + '.json')
+@app.route("/simulated/configdb/getNbrList/<cell_id>/<ts>", methods=["GET"])
+def get_nbr_list(cell_id, ts):
+ data, status = get_payload_for_simulated_component('configdb', 'getNbrList-' + cell_id + '.json')
if not status:
return jsonify(data)
return jsonify(data), 503