Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-7051

Alerts: Expose Creation and Updating of Group Targets & Definitions

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • None

    Description

      The alert group endpoint api/v1/clusters/c1/alert_groups must provide structured responses for both the definitions and targets associated with that group.

      The endpoint must also allow updating of the group name, target associations, and definition associations.

      Creation or update of a group with associated targets and definitions.

      POST api/v1/clusters/c1/alert_groups
      {
        "AlertGroup": {
          "name": "Test",
          "targets": [4,5],
          "definitions": [2]
        }
      }
      
      PUT api/v1/clusters/c1/alert_groups/10
      {
        "AlertGroup": {
          "name": "Test",
          "targets": [4,5],
          "definitions": [2]
        }
      }
      

      Attachments

        Issue Links

          Activity

            People

              jonathanhurley Jonathan Hurley
              jonathanhurley Jonathan Hurley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: