Uploaded image for project: 'Hawkular'
  1. Hawkular
  2. HAWKULAR-277

Unable to add the same URL across different tenants

XMLWordPrintable

      Here is what happens in JS console (+warning in UI) when doing the ${subject}:

      POST http://localhost:8080/hawkular/alerts/triggers 400 (Bad Request)
      POST - Trigger with ID [f52adbe73fbac9ded8cafc5cfcae67a1_trigger_thres] exists.

      It happens because of this lines https://github.com/hawkular/hawkular/blob/b318df5def29f0f4e383ed8b8160b225043ada36/ui/console/src/main/scripts/plugins/metrics/plugins/metrics/ts/addUrlPage.ts#L151

      The trigger name should contain also the persona id to be unique (MD5 hash of the URL is not enough)

            Unassigned Unassigned
            jkremser_jira Jirka Kremser (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: