From d233ac01c1c6f7728882a2185d0868e51a57a1f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20J=C3=BCrges?= <jurges@astron.nl>
Date: Tue, 12 Sep 2017 12:33:11 +0000
Subject: [PATCH] Task #11173: added a call to the get_trigger_spec
 implementation.

---
 SAS/SpecificationServices/lib/specification_service.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SAS/SpecificationServices/lib/specification_service.py b/SAS/SpecificationServices/lib/specification_service.py
index 3d264545aa1..a88bae4d41d 100644
--- a/SAS/SpecificationServices/lib/specification_service.py
+++ b/SAS/SpecificationServices/lib/specification_service.py
@@ -260,8 +260,8 @@ class SpecificationHandler(MessageHandlerInterface):
 
     def get_specification(self, user, id):
         logger.info("getting spec of id "+str(id))
-        # todo: return real trigger info as xml
-        raise NotImplementedError
+        response = momqueryrpc.get_trigger_spec(user, id)
+        return response
 
 
 def create_service(servicename=SPECIFICATION_SERVICENAME, busname=SPECIFICATION_BUSNAME):
-- 
GitLab