package com.netflix.spinnaker.front50.model.notification;

import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;

public interface NotificationDAO {

  Collection<String> NOTIFICATION_FORMATS =
      Collections.unmodifiableList(
          Arrays.asList("bearychat", "email", "googlechat", "hipchat", "pubsub", "slack", "sms"));

  Collection<Notification> all();

  Notification getGlobal();

  Notification get(HierarchicalLevel level, String name);

  void saveGlobal(Notification notification);

  void save(HierarchicalLevel level, String name, Notification notification);

  void delete(HierarchicalLevel level, String name);
}

@@ -281,73 +281,204 @@
 ist(
-%22bearychat%22, %22email%22, %22googlechat%22, %22hipchat%22, %22pubsub%22, %22slack%22,
+%0A              %22bearychat%22,%0A              %22email%22,%0A              %22googlechat%22,%0A              %22hipchat%22,%0A              %22microsoftteams%22,%0A              %22pubsub%22,%0A              %22slack%22,%0A             
  %22sm

Add Microsoft Teams notification support (#927)