This is an automated email from the ASF dual-hosted git repository.
jiajunwang pushed a change to branch helix-0.9.x
in repository https://gitbox.apache.org/repos/asf/helix.git.
from 615af36 Update ivy files.
new 6800dc3 Add CloudConfig code
new 4286e2f add Helix cloud interface and implementation skeleton methods
new eb6c51a Add java API to create cluster with CloudConfig
new ffe8eea Add REST API for Cluster Creation with CloudConfig (#675)
new bc3dd83 Add Helix properties factory and class (#653)
new da32e4e Implement Azure cloud instance information processor (#698)
new ffe55cc Modify participant manager to add cluster auto registration
logic (#695)
new c80fdb3 add one more test for auto registration (#806)
new 2ee9d3c Change the cluster creation logic (#872)
new 3a11313 Add construction of domain in Helix participant logic (#876)
new 90c9e25 Change the REST call for delete CloudConfig (#882)
new 980fbd1 Add REST and JAVA API to modify existing cloudconfig (#898)
new acebdae Fix ClusterAccessor::createCluster wrt CloudConfig (#937)
new ef5722e Change TestInstanceAutoJoin to adapt to cloud environment
(#1265)
new 35bbc7c Minor fix to add participant auto registration
new bdcb37a Add TrieClusterTopology for retrieving hierarchical topology
(#1307)
new 790e158 Add REST API for cluster topology (#1416)
new 681fdbb Return "name" field as VM name in Azure environment (#1340)
The 18 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
helix-core/pom.xml | 5 +
.../main/java/org/apache/helix/ConfigAccessor.java | 65 ++-
.../src/main/java/org/apache/helix/HelixAdmin.java | 21 +
.../java/org/apache/helix/HelixCloudProperty.java | 183 ++++++++
.../java/org/apache/helix/HelixManagerFactory.java | 2 +-
.../org/apache/helix/HelixManagerProperty.java | 74 ++++
.../org/apache/helix/HelixPropertyFactory.java | 87 ++++
.../main/java/org/apache/helix/PropertyKey.java | 11 +
.../java/org/apache/helix/SystemPropertyKeys.java | 8 +
.../cloud/CloudInstanceInformation.java} | 21 +-
.../CloudInstanceInformationProcessor.java} | 23 +-
.../apache/helix/api/topology/ClusterTopology.java | 192 +++++++++
.../cloud/azure/AzureCloudInstanceInformation.java | 72 ++++
.../AzureCloudInstanceInformationProcessor.java | 160 +++++++
.../apache/helix/cloud/azure/AzureConstants.java | 6 +
.../constants/CloudProvider.java} | 7 +-
.../helix/manager/zk/ParticipantManager.java | 110 ++++-
.../org/apache/helix/manager/zk/ZKHelixAdmin.java | 48 +++
.../apache/helix/manager/zk/ZKHelixManager.java | 17 +-
.../java/org/apache/helix/model/CloudConfig.java | 263 ++++++++++++
.../java/org/apache/helix/model/ClusterTrie.java | 227 ++++++++++
.../org/apache/helix/model/HelixConfigScope.java | 6 +-
.../main/java/org/apache/helix/model/TrieNode.java | 49 ++-
.../model/builder/HelixConfigScopeBuilder.java | 3 +
.../java/org/apache/helix/tools/ClusterSetup.java | 28 +-
.../main/java/org/apache/helix/util/HelixUtil.java | 19 +
.../apache/helix/util/InstanceValidationUtil.java | 14 +-
.../dummy.sh => resources/azure-cloud.properties} | 12 +-
...version.properties => helix-manager.properties} | 5 +-
.../java/org/apache/helix/TestConfigAccessor.java | 112 ++++-
.../org/apache/helix/cloud/MockHttpClient.java | 53 +++
...TestAzureCloudInstanceInformationProcessor.java | 69 +++
.../manager/MockParticipantManager.java | 10 +-
.../paticipant/TestInstanceAutoJoin.java | 69 ++-
.../apache/helix/manager/zk/TestZkHelixAdmin.java | 145 ++++++-
.../java/org/apache/helix/mock/MockHelixAdmin.java | 17 +
.../org/apache/helix/model/TestClusterTrie.java | 141 +++++++
.../apache/helix/model/cloud/TestCloudConfig.java | 224 ++++++++++
.../org/apache/helix/tools/TestClusterSetup.java | 96 ++++-
helix-core/src/test/resources/AzureResponse.json | 104 +++++
helix-rest/pom.xml | 5 -
.../server/resources/helix/ClusterAccessor.java | 176 +++++++-
.../helix/rest/server/AbstractTestClass.java | 5 +-
.../helix/rest/server/TestClusterAccessor.java | 468 ++++++++++++++++++++-
44 files changed, 3307 insertions(+), 125 deletions(-)
create mode 100644
helix-core/src/main/java/org/apache/helix/HelixCloudProperty.java
create mode 100644
helix-core/src/main/java/org/apache/helix/HelixManagerProperty.java
create mode 100644
helix-core/src/main/java/org/apache/helix/HelixPropertyFactory.java
copy helix-core/src/main/java/org/apache/helix/{HelixTimerTask.java =>
api/cloud/CloudInstanceInformation.java} (62%)
copy
helix-core/src/main/java/org/apache/helix/api/{listeners/IdealStateChangeListener.java
=> cloud/CloudInstanceInformationProcessor.java} (57%)
create mode 100644
helix-core/src/main/java/org/apache/helix/api/topology/ClusterTopology.java
create mode 100644
helix-core/src/main/java/org/apache/helix/cloud/azure/AzureCloudInstanceInformation.java
create mode 100644
helix-core/src/main/java/org/apache/helix/cloud/azure/AzureCloudInstanceInformationProcessor.java
create mode 100644
helix-core/src/main/java/org/apache/helix/cloud/azure/AzureConstants.java
copy
helix-core/src/main/java/org/apache/helix/{controller/pipeline/StageContext.java
=> cloud/constants/CloudProvider.java} (89%)
create mode 100644
helix-core/src/main/java/org/apache/helix/model/CloudConfig.java
create mode 100644
helix-core/src/main/java/org/apache/helix/model/ClusterTrie.java
copy helix-agent/src/main/java/org/apache/helix/agent/CommandAttribute.java =>
helix-core/src/main/java/org/apache/helix/model/TrieNode.java (53%)
copy helix-core/src/main/{scripts/integration-test/testcases/dummy.sh =>
resources/azure-cloud.properties} (68%)
mode change 100755 => 100644
copy helix-core/src/main/resources/{cluster-manager-version.properties =>
helix-manager.properties} (88%)
create mode 100644
helix-core/src/test/java/org/apache/helix/cloud/MockHttpClient.java
create mode 100644
helix-core/src/test/java/org/apache/helix/cloud/TestAzureCloudInstanceInformationProcessor.java
create mode 100644
helix-core/src/test/java/org/apache/helix/model/TestClusterTrie.java
create mode 100644
helix-core/src/test/java/org/apache/helix/model/cloud/TestCloudConfig.java
create mode 100644 helix-core/src/test/resources/AzureResponse.json