Uploaded image for project: 'Hawkular Metrics'
  1. Hawkular Metrics
  2. HWKMETRICS-127

Add back support for specifying data retention with tenant creation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 0.3.3
    • Fix Version/s: 0.7.0
    • Component/s: REST
    • Labels:
      None

      Description

      At some point support for specifying retention settings was removed from the REST API. In Tenant.java we currently have,

      @JsonIgnore
      private RetentionSettings retentionSettings = new RetentionSettings();
      

      And based on the commit message, I think this was done because the RetentionSettings class probably does not map very easily with Jackson. With HWKMETRICS-113, we have decoupled the core model from the REST model. In the REST model, the retention settings can be a simple map that allows entries for gauges and for availability for now since those are the only metric types we currently support.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tsegismont Thomas Segismont
                  Reporter:
                  john.sanda John Sanda
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: