MariaDB Connector and Sonar Scans; clean nl
[portal.git] / ecomp-portal-BE-os / src / main / java / org / openecomp / portalapp / portal / service / TicketEventServiceImpl.java
diff --git a/ecomp-portal-BE-os/src/main/java/org/openecomp/portalapp/portal/service/TicketEventServiceImpl.java b/ecomp-portal-BE-os/src/main/java/org/openecomp/portalapp/portal/service/TicketEventServiceImpl.java
new file mode 100644 (file)
index 0000000..37acfe5
--- /dev/null
@@ -0,0 +1,18 @@
+package org.openecomp.portalapp.portal.service;
+
+import org.openecomp.portalapp.portal.utils.EPCommonSystemProperties;
+import org.openecomp.portalsdk.core.util.SystemProperties;
+import org.springframework.stereotype.Service;
+
+import com.fasterxml.jackson.databind.JsonNode;
+
+@Service("ticketService")
+public class TicketEventServiceImpl implements TicketEventService{
+
+       @Override
+       public String getNotificationHyperLink(JsonNode application, String ticket, String eventSource) {
+               String hyperlink = SystemProperties.getProperty(EPCommonSystemProperties.EXTERNAL_SYSTEM_NOTIFICATION_URL)+ticket;
+               return hyperlink;
+       }
+
+}