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 813f968 Add CloudConfig code
new ff23b1b add Helix cloud interface and implementation skeleton methods
new bc9e33f Add java API to create cluster with CloudConfig
new 73edd83 Add REST API for Cluster Creation with CloudConfig (#675)
new a8369e3 Add Helix properties factory and class (#653)
new 7eeaf4c Implement Azure cloud instance information processor (#698)
new fec3f40 Modify participant manager to add cluster auto registration
logic (#695)
new 41cdbcc add one more test for auto registration (#806)
new a7f9b74 Change the cluster creation logic (#872)
new 6e0bb32 Add construction of domain in Helix participant logic (#876)
new 03763dc Change the REST call for delete CloudConfig (#882)
new a4c7245 Add REST and JAVA API to modify existing cloudconfig (#898)
new db5b297 Fix ClusterAccessor::createCluster wrt CloudConfig (#937)
new 624adac Change TestInstanceAutoJoin to adapt to cloud environment
(#1265)
new fa75172 Minor fix to add participant auto registration
new 34359b0 Add TrieClusterTopology for retrieving hierarchical topology
(#1307)
new 192f582 Add REST API for cluster topology (#1416)
new 03b8511 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 +
.../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 ++++++++++++++++++++-
43 files changed, 3294 insertions(+), 124 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