From 8b44c34fcdcdecce3db4b53da2ab807117b0be06 Mon Sep 17 00:00:00 2001
From: Robert Latta <robert.latta@geant.org>
Date: Mon, 21 Oct 2019 10:43:48 +0000
Subject: [PATCH] added testing route for updating Lambdas

---
 inventory_provider/routes/testing.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/inventory_provider/routes/testing.py b/inventory_provider/routes/testing.py
index 6b7871be..45fdd056 100644
--- a/inventory_provider/routes/testing.py
+++ b/inventory_provider/routes/testing.py
@@ -25,6 +25,12 @@ def update_interfaces_to_services():
     return Response('OK')
 
 
+@routes.route("update-geant-lambdas", methods=['GET', 'POST'])
+def update_geant_lambdas():
+    worker.update_geant_lambdas.delay()
+    return Response('OK')
+
+
 @routes.route("update-service-hierarchy")
 def update_service_hierarchy():
     worker.update_circuit_hierarchy.delay()
-- 
GitLab