ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [05/10] incubator-ignite git commit: ignite-790: added example configs for clouds
Date Wed, 29 Apr 2015 10:48:00 GMT
ignite-790: added example configs for clouds


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/4ee6dd9f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/4ee6dd9f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/4ee6dd9f

Branch: refs/heads/ignite-sprint-4
Commit: 4ee6dd9f2144ed0968ac1a3b3e5f0d32b2112dc7
Parents: b1ee6bf
Author: Denis Magda <dmagda@gridgain.com>
Authored: Fri Apr 24 18:41:50 2015 +0300
Committer: Denis Magda <dmagda@gridgain.com>
Committed: Fri Apr 24 18:41:50 2015 +0300

----------------------------------------------------------------------
 modules/cloud/configs/example-aws-config.xml      | 10 +++++++---
 modules/cloud/configs/example-gce-config.xml      |  6 +++++-
 .../cloud/configs/example-rackspace-config.xml    | 18 ++++++++++++------
 .../ignite/testsuites/IgniteCloudTestSuite.java   |  2 +-
 4 files changed, 25 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4ee6dd9f/modules/cloud/configs/example-aws-config.xml
----------------------------------------------------------------------
diff --git a/modules/cloud/configs/example-aws-config.xml b/modules/cloud/configs/example-aws-config.xml
index a21506a..018c458 100644
--- a/modules/cloud/configs/example-aws-config.xml
+++ b/modules/cloud/configs/example-aws-config.xml
@@ -62,11 +62,15 @@
             <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
                 <property name="ipFinder">
 
-                    <!-- Explicitly configure IP finder for nodes located in Google Compute
Engine. -->
+                    <!--
+                        Explicitly configure IP finder for nodes located in Google Compute
Engine.
+                        For more info on settings refer to corresponding Ignite API and to
+                        https://jclouds.apache.org/guides/aws/.
+                    -->
                     <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.cloud.TcpDiscoveryCloudNodesIpFinder">
                         <property name="provider" value="aws-ec2"/>
-                        <property name="identity" value="Ahjdns2323TEST_ID"/>
-                        <property name="credential" value="Jkndwqo89834JkljdlsdTEST_KEY"/>
+                        <property name="identity" value="Ahjdns2323_TEST_ID"/>
+                        <property name="credential" value="Jkndwqo89834Jkljdlsd_TEST_KEY"/>
                         <property name="discoveryPort" value="45712"/>
                     </bean>
                 </property>

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4ee6dd9f/modules/cloud/configs/example-gce-config.xml
----------------------------------------------------------------------
diff --git a/modules/cloud/configs/example-gce-config.xml b/modules/cloud/configs/example-gce-config.xml
index 406be06..ff7b826 100644
--- a/modules/cloud/configs/example-gce-config.xml
+++ b/modules/cloud/configs/example-gce-config.xml
@@ -62,7 +62,11 @@
             <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
                 <property name="ipFinder">
 
-                    <!-- Explicitly configure IP finder for nodes located in Google Compute
Engine. -->
+                    <!--
+                        Explicitly configure IP finder for nodes located in Google Compute
Engine.
+                        For more info on settings refer to corresponding Ignite API and to
+                        https://jclouds.apache.org/guides/google/.
+                    -->
                     <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.cloud.TcpDiscoveryCloudNodesIpFinder">
                         <property name="provider" value="google-compute-engine"/>
                         <property name="identity" value="209979073-test6@developer.gserviceaccount.com"/>

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4ee6dd9f/modules/cloud/configs/example-rackspace-config.xml
----------------------------------------------------------------------
diff --git a/modules/cloud/configs/example-rackspace-config.xml b/modules/cloud/configs/example-rackspace-config.xml
index 406be06..b3d8ec9 100644
--- a/modules/cloud/configs/example-rackspace-config.xml
+++ b/modules/cloud/configs/example-rackspace-config.xml
@@ -62,17 +62,23 @@
             <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
                 <property name="ipFinder">
 
-                    <!-- Explicitly configure IP finder for nodes located in Google Compute
Engine. -->
+                    <!--
+                        Explicitly configure IP finder for nodes located in Google Compute
Engine.
+                        For more info on settings refer to corresponding Ignite API and to
+                        https://jclouds.apache.org/guides/rackspace/.
+                    -->
                     <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.cloud.TcpDiscoveryCloudNodesIpFinder">
-                        <property name="provider" value="google-compute-engine"/>
-                        <property name="identity" value="209979073-test6@developer.gserviceaccount.com"/>
-                        <property name="credentialPath" value="\var\credential\key.pem"/>
+                        <property name="provider" value="rackspace-cloudservers-us"/>
+                        <property name="identity" value="username"/>
+                        <property name="credential" value="7878a5a5b1aba2c4626TEST_KEY"/>
                         <property name="discoveryPort" value="45712"/>
                     </bean>
                 </property>
 
-                <!-- All nodes must be started on the same port. So localPort must be
equal to
-                    TcpDiscoveryCloudNodesIpFinder.discoveryPort -->
+                <!--
+                    All nodes must be started on the same port. So localPort must be equal
to
+                    TcpDiscoveryCloudNodesIpFinder.discoveryPort
+                -->
                 <property name="localPort" value="45712"/>
             </bean>
         </property>

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4ee6dd9f/modules/cloud/src/test/java/org/apache/ignite/testsuites/IgniteCloudTestSuite.java
----------------------------------------------------------------------
diff --git a/modules/cloud/src/test/java/org/apache/ignite/testsuites/IgniteCloudTestSuite.java
b/modules/cloud/src/test/java/org/apache/ignite/testsuites/IgniteCloudTestSuite.java
index 576e4f9..e838540 100644
--- a/modules/cloud/src/test/java/org/apache/ignite/testsuites/IgniteCloudTestSuite.java
+++ b/modules/cloud/src/test/java/org/apache/ignite/testsuites/IgniteCloudTestSuite.java
@@ -18,7 +18,7 @@
 package org.apache.ignite.testsuites;
 
 import junit.framework.*;
-import org.apache.ignite.spi.discovery.tcp.ipfinder.cloud.TcpDiscoveryCloudNodesIpFinderSelfTest;
+import org.apache.ignite.spi.discovery.tcp.ipfinder.cloud.*;
 
 /**
  * Ignite Cloud integration test.


Mime
View raw message