Ambari
  1. Ambari
  2. AMBARI-1270

Add predicate objects for checking empty resource category & category count

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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.

      1. AMBARI-1270.patch
        21 kB
        Tom Beerbower

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Tom Beerbower
            Reporter:
            Tom Beerbower
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development