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

Add predicate objects for checking empty resource category & category count

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      We need to be able to check through the API to see if a property category contains any properties.

      For example, if we want to check to see if configurations have been overridden then we can look at the ServiceInfo/desired_configs of a component resource. If desired_configs is empty then there are no config overrides.

      Through the API, we can examine the ServiceInfo/desired_configs property but we have no way to write a predicate that would allow us to query for components that contain config overrides.

      In order to allow for such a query, we need the underlying predicate objects.

      Attachments

        1. AMBARI-1270.patch
          21 kB
          Tom Beerbower

        Activity

          People

            tbeerbower Tom Beerbower
            tbeerbower Tom Beerbower
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: