From c79afc3377a940e441332f81fc46b3d3a49277f6 Mon Sep 17 00:00:00 2001 From: Robert Latta <robert.latta@geant.org> Date: Fri, 21 Aug 2020 16:27:35 +0000 Subject: [PATCH] added testing route for updating ims interface services --- inventory_provider/routes/testing.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/inventory_provider/routes/testing.py b/inventory_provider/routes/testing.py index 35357564..ae169363 100644 --- a/inventory_provider/routes/testing.py +++ b/inventory_provider/routes/testing.py @@ -21,6 +21,11 @@ def flushdb(): # IMS routes +@routes.route("update-interfaces-to-services-ims", methods=['GET', 'POST']) +def update_interfaces_to_services_ims(): + ims_worker.update_interfaces_to_services_ims.delay(use_current=True) + return Response('OK') + @routes.route("update-circuit-hierarchy-ims", methods=['GET', 'POST']) def update_circuit_hierarchy_ims(): ims_worker.update_circuit_hierarchy_ims.delay(use_current=True) -- GitLab