You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by na...@apache.org on 2016/01/25 12:38:20 UTC

[2/3] jclouds-karaf git commit: JCLOUDS-1056: Added DigitalOcean v2

JCLOUDS-1056: Added DigitalOcean v2


Project: http://git-wip-us.apache.org/repos/asf/jclouds-karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds-karaf/commit/d0d62fcd
Tree: http://git-wip-us.apache.org/repos/asf/jclouds-karaf/tree/d0d62fcd
Diff: http://git-wip-us.apache.org/repos/asf/jclouds-karaf/diff/d0d62fcd

Branch: refs/heads/master
Commit: d0d62fcd466565a5be301daece9b0e8da2f6e3bc
Parents: 73b61fc
Author: Ignasi Barrera <na...@apache.org>
Authored: Mon Jan 25 09:36:09 2016 +0100
Committer: Ignasi Barrera <na...@apache.org>
Committed: Mon Jan 25 11:50:51 2016 +0100

----------------------------------------------------------------------
 feature/pom.xml                                                | 1 +
 feature/src/main/resources/feature.xml                         | 6 ++++++
 .../org/jclouds/karaf/itests/MiscFeaturesInstallationTest.java | 5 +++++
 3 files changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds-karaf/blob/d0d62fcd/feature/pom.xml
----------------------------------------------------------------------
diff --git a/feature/pom.xml b/feature/pom.xml
index c2d5941..e99b367 100644
--- a/feature/pom.xml
+++ b/feature/pom.xml
@@ -130,6 +130,7 @@ limitations under the License.
                 <feature>jclouds-cloudsigma2-sjc</feature>
                 <feature>jclouds-cloudsigma2-wdc</feature>
                 <feature>jclouds-cloudsigma2-zrh</feature>
+                <feature>jclouds-digitalocean2</feature>
                 <feature>jclouds-dynect</feature>
                 <feature>jclouds-elastichosts-lon-b</feature>
                 <feature>jclouds-elastichosts-lon-p</feature>

http://git-wip-us.apache.org/repos/asf/jclouds-karaf/blob/d0d62fcd/feature/src/main/resources/feature.xml
----------------------------------------------------------------------
diff --git a/feature/src/main/resources/feature.xml b/feature/src/main/resources/feature.xml
index 53c963e..fa6debc 100644
--- a/feature/src/main/resources/feature.xml
+++ b/feature/src/main/resources/feature.xml
@@ -321,6 +321,12 @@ limitations under the License.
         <bundle>mvn:org.apache.jclouds.provider/openhosting-east1/${jclouds.version}</bundle>
     </feature>
 
+    <feature name='jclouds-digitalocean2' description='Components to access DigitalOcean v2' version='${project.version}' resolver='(obr)'>
+        <feature version='${project.version}'>jclouds-compute</feature>
+        <bundle dependency='true'>mvn:org.apache.jclouds.api/oauth/${jclouds.version}</bundle>
+        <bundle>mvn:org.apache.jclouds.provider/digitalocean2/${jclouds.version}</bundle>
+    </feature>
+
     <feature name='jclouds-serverlove-z1-man' description='Serverlove implementation targeted to Manchester' version='${project.version}' resolver='(obr)'>
         <feature version='${project.version}'>jclouds-compute</feature>
         <bundle dependency='true'>mvn:org.apache.jclouds.api/elasticstack/${jclouds.version}</bundle>

http://git-wip-us.apache.org/repos/asf/jclouds-karaf/blob/d0d62fcd/itests/src/test/java/org/jclouds/karaf/itests/MiscFeaturesInstallationTest.java
----------------------------------------------------------------------
diff --git a/itests/src/test/java/org/jclouds/karaf/itests/MiscFeaturesInstallationTest.java b/itests/src/test/java/org/jclouds/karaf/itests/MiscFeaturesInstallationTest.java
index c563a1e..8017718 100644
--- a/itests/src/test/java/org/jclouds/karaf/itests/MiscFeaturesInstallationTest.java
+++ b/itests/src/test/java/org/jclouds/karaf/itests/MiscFeaturesInstallationTest.java
@@ -88,4 +88,9 @@ public class MiscFeaturesInstallationTest extends JcloudsFeaturesTestSupport {
     public void testGlesysFeature() throws Exception {
         installAndCheckFeature("jclouds-glesys");
     }
+
+    @Test
+    public void testDigitalOcean2Feature() throws Exception {
+        installAndCheckFeature("jclouds-digitalocean2");
+    }
 }