AMBARI-25006. Support component-level provision_action in Add Service request (#2725)
authorDoroszlai, Attila <6454655+adoroszlai@users.noreply.github.com>
Thu, 20 Dec 2018 14:56:46 +0000 (15:56 +0100)
committerGitHub <noreply@github.com>
Thu, 20 Dec 2018 14:56:46 +0000 (15:56 +0100)
commit1431ab44887c2ff7f9e94f8fcb42e24e3ce33800
treed74fe934aaaa00f729247990fa34e9a738b5f9ac
parent3fc52fcbe3e8fa221abf22aee6acb69211fb337c
AMBARI-25006. Support component-level provision_action in Add Service request (#2725)
23 files changed:
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostComponentResourceProvider.java
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ProvisionAction.java
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ServiceResourceProvider.java
ambari-server/src/main/java/org/apache/ambari/server/controller/predicate/OrPredicate.java
ambari-server/src/main/java/org/apache/ambari/server/controller/predicate/Predicates.java [new file with mode: 0644]
ambari-server/src/main/java/org/apache/ambari/server/topology/ProvisionStep.java [new file with mode: 0644]
ambari-server/src/main/java/org/apache/ambari/server/topology/addservice/AddServiceInfo.java
ambari-server/src/main/java/org/apache/ambari/server/topology/addservice/AddServiceOrchestrator.java
ambari-server/src/main/java/org/apache/ambari/server/topology/addservice/AddServiceRequest.java [moved from ambari-server/src/main/java/org/apache/ambari/server/controller/AddServiceRequest.java with 72% similarity]
ambari-server/src/main/java/org/apache/ambari/server/topology/addservice/Component.java [new file with mode: 0644]
ambari-server/src/main/java/org/apache/ambari/server/topology/addservice/Host.java [new file with mode: 0644]
ambari-server/src/main/java/org/apache/ambari/server/topology/addservice/ProvisionActionPredicateBuilder.java [new file with mode: 0644]
ambari-server/src/main/java/org/apache/ambari/server/topology/addservice/RequestValidator.java
ambari-server/src/main/java/org/apache/ambari/server/topology/addservice/RequestValidatorFactory.java
ambari-server/src/main/java/org/apache/ambari/server/topology/addservice/ResourceProviderAdapter.java
ambari-server/src/main/java/org/apache/ambari/server/topology/addservice/Service.java [new file with mode: 0644]
ambari-server/src/test/java/org/apache/ambari/server/topology/addservice/AddServiceRequestTest.java [moved from ambari-server/src/test/java/org/apache/ambari/server/controller/AddServiceRequestTest.java with 92% similarity]
ambari-server/src/test/java/org/apache/ambari/server/topology/addservice/ProvisionActionPredicateBuilderTest.java [new file with mode: 0644]
ambari-server/src/test/java/org/apache/ambari/server/topology/addservice/RequestValidatorTest.java
ambari-server/src/test/java/org/apache/ambari/server/topology/addservice/StackAdvisorAdapterTest.java
ambari-server/src/test/resources/add_service_api/request1.json