Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: alerts
    • Labels:
      None

      Description

      Add preliminary endpoints for alert data. This is only to show that alert data is being returned and can be shown via an API call. The name is not proper yet (alerts_data vs alerts) and summary information is not yet provided. That will be tracked separately.

        Issue Links

          Activity

          Hide
          ncole@hortonworks.com Nate Cole added a comment -

          commit 84c16c5c5981559454659d069463a5bbd26e7de6

          Show
          ncole@hortonworks.com Nate Cole added a comment - commit 84c16c5c5981559454659d069463a5bbd26e7de6
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-trunk-Commit #492 (See https://builds.apache.org/job/Ambari-trunk-Commit/492/)
          AMBARI-7160. Add endpoints for alert data (ncole) (ncole: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=84c16c5c5981559454659d069463a5bbd26e7de6)

          • ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertResourceProvider.java
          • ambari-server/src/test/java/org/apache/ambari/server/api/query/render/MinimalRendererTest.java
          • ambari-server/src/main/java/org/apache/ambari/server/api/resources/ClusterResourceDefinition.java
          • ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertsDAO.java
          • ambari-server/src/main/java/org/apache/ambari/server/api/resources/ServiceResourceDefinition.java
          • ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
          • ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AlertResourceProviderTest.java
          • ambari-server/src/main/java/org/apache/ambari/server/controller/spi/Resource.java
          • ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractControllerResourceProvider.java
          • ambari-server/src/main/resources/key_properties.json
          • ambari-server/src/main/java/org/apache/ambari/server/api/resources/ResourceInstanceFactoryImpl.java
          • ambari-server/src/main/java/org/apache/ambari/server/api/resources/AlertResourceDefinition.java
          • ambari-server/src/main/java/org/apache/ambari/server/api/services/HostService.java
          • ambari-server/src/test/java/org/apache/ambari/server/api/resources/ClusterResourceDefinitionTest.java
          • ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterService.java
          • ambari-server/src/main/java/org/apache/ambari/server/api/resources/HostResourceDefinition.java
          • ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertsDAOTest.java
          • ambari-server/src/test/java/org/apache/ambari/server/api/query/render/DefaultRendererTest.java
          • ambari-server/src/main/resources/properties.json
          • ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertCurrentEntity.java
          • ambari-server/src/main/java/org/apache/ambari/server/api/services/AlertService.java
          • ambari-server/src/main/java/org/apache/ambari/server/api/services/ServiceService.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-trunk-Commit #492 (See https://builds.apache.org/job/Ambari-trunk-Commit/492/ ) AMBARI-7160 . Add endpoints for alert data (ncole) (ncole: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=84c16c5c5981559454659d069463a5bbd26e7de6 ) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertResourceProvider.java ambari-server/src/test/java/org/apache/ambari/server/api/query/render/MinimalRendererTest.java ambari-server/src/main/java/org/apache/ambari/server/api/resources/ClusterResourceDefinition.java ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertsDAO.java ambari-server/src/main/java/org/apache/ambari/server/api/resources/ServiceResourceDefinition.java ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AlertResourceProviderTest.java ambari-server/src/main/java/org/apache/ambari/server/controller/spi/Resource.java ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractControllerResourceProvider.java ambari-server/src/main/resources/key_properties.json ambari-server/src/main/java/org/apache/ambari/server/api/resources/ResourceInstanceFactoryImpl.java ambari-server/src/main/java/org/apache/ambari/server/api/resources/AlertResourceDefinition.java ambari-server/src/main/java/org/apache/ambari/server/api/services/HostService.java ambari-server/src/test/java/org/apache/ambari/server/api/resources/ClusterResourceDefinitionTest.java ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterService.java ambari-server/src/main/java/org/apache/ambari/server/api/resources/HostResourceDefinition.java ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertsDAOTest.java ambari-server/src/test/java/org/apache/ambari/server/api/query/render/DefaultRendererTest.java ambari-server/src/main/resources/properties.json ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertCurrentEntity.java ambari-server/src/main/java/org/apache/ambari/server/api/services/AlertService.java ambari-server/src/main/java/org/apache/ambari/server/api/services/ServiceService.java

            People

            • Assignee:
              ncole@hortonworks.com Nate Cole
              Reporter:
              ncole@hortonworks.com Nate Cole
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development