Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.11.0
    • Component/s: None
    • Labels:
      None

      Description

      While tenant id is not required to create metric definition you cannot send a REST request to create metric definition without tenant id in http header.

      # curl -X POST -H "Content-Type: application/json" --data '{"id" : "someid","dataRetention" : 1, "type" : "availability", "tenantId" : null}' \
      http://livingontheedge.hawkular.org/hawkular/metrics/availability
      
      # {"errorMsg":"Tenant is not specified. Use 'Hawkular-Tenant' header."}
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                nstefan Stefan Negrea
                Reporter:
                vietn viet nguyen
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: