mirror of https://github.com/apache/jclouds.git
Issue 419 separated elasticstack and cloudsigma drivers
This commit is contained in:
parent
19a8ce4db2
commit
92a9e2f562
|
@ -45,6 +45,6 @@ public class KeyValuesDelimitedByBlankLinesToDriveInfoTest {
|
||||||
|
|
||||||
public void testOne() {
|
public void testOne() {
|
||||||
assertEquals(FN.apply(new HttpResponse(200, "", Payloads.newInputStreamPayload(MapToDriveInfoTest.class
|
assertEquals(FN.apply(new HttpResponse(200, "", Payloads.newInputStreamPayload(MapToDriveInfoTest.class
|
||||||
.getResourceAsStream("/cloudsigma/drive.txt")))), MapToDriveInfoTest.ONE);
|
.getResourceAsStream("/drive.txt")))), MapToDriveInfoTest.ONE);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -47,6 +47,6 @@ public class ListOfKeyValuesDelimitedByBlankLinesToDriveInfoSetTest {
|
||||||
|
|
||||||
public void testOne() {
|
public void testOne() {
|
||||||
assertEquals(FN.apply(new HttpResponse(200, "", Payloads.newInputStreamPayload(MapToDriveInfoTest.class
|
assertEquals(FN.apply(new HttpResponse(200, "", Payloads.newInputStreamPayload(MapToDriveInfoTest.class
|
||||||
.getResourceAsStream("/cloudsigma/drive.txt")))), ImmutableSet.<DriveInfo> of(MapToDriveInfoTest.ONE));
|
.getResourceAsStream("/drive.txt")))), ImmutableSet.<DriveInfo> of(MapToDriveInfoTest.ONE));
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -89,7 +89,7 @@ public class MapToDriveInfoTest {
|
||||||
public void testComplete() throws IOException {
|
public void testComplete() throws IOException {
|
||||||
|
|
||||||
Map<String, String> input = new ListOfKeyValuesDelimitedByBlankLinesToListOfMaps().apply(
|
Map<String, String> input = new ListOfKeyValuesDelimitedByBlankLinesToListOfMaps().apply(
|
||||||
Utils.toStringAndClose(MapToDriveInfoTest.class.getResourceAsStream("/cloudsigma/drive.txt"))).get(0);
|
Utils.toStringAndClose(MapToDriveInfoTest.class.getResourceAsStream("/drive.txt"))).get(0);
|
||||||
|
|
||||||
assertEquals(MAP_TO_DRIVE.apply(input), ONE);
|
assertEquals(MAP_TO_DRIVE.apply(input), ONE);
|
||||||
|
|
|
@ -35,12 +35,6 @@
|
||||||
<name>jclouds elasticstack core</name>
|
<name>jclouds elasticstack core</name>
|
||||||
<description>jclouds components to access elasticstack</description>
|
<description>jclouds components to access elasticstack</description>
|
||||||
|
|
||||||
<scm>
|
|
||||||
<connection>scm:svn:http://jclouds.googlecode.com/svn/trunk/elasticstack</connection>
|
|
||||||
<developerConnection>scm:svn:https://jclouds.googlecode.com/svn/trunk/elasticstack</developerConnection>
|
|
||||||
<url>http://jclouds.googlecode.com/svn/trunk/elasticstack</url>
|
|
||||||
</scm>
|
|
||||||
|
|
||||||
<!-- bootstrapping: need to fetch the project POM -->
|
<!-- bootstrapping: need to fetch the project POM -->
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
|
@ -59,7 +53,7 @@
|
||||||
<properties>
|
<properties>
|
||||||
<!-- when instances are hung, open a ticket and add here -->
|
<!-- when instances are hung, open a ticket and add here -->
|
||||||
<jclouds.compute.blacklist-nodes>trmkrun-ccc,test.trmk-924</jclouds.compute.blacklist-nodes>
|
<jclouds.compute.blacklist-nodes>trmkrun-ccc,test.trmk-924</jclouds.compute.blacklist-nodes>
|
||||||
<test.elasticstack.endpoint>https://api.cloudsigma.com</test.elasticstack.endpoint>
|
<test.elasticstack.endpoint>https://api.lon-p.elastichosts.com</test.elasticstack.endpoint>
|
||||||
<test.elasticstack.apiversion>1.0</test.elasticstack.apiversion>
|
<test.elasticstack.apiversion>1.0</test.elasticstack.apiversion>
|
||||||
<test.elasticstack.identity>FIXME</test.elasticstack.identity>
|
<test.elasticstack.identity>FIXME</test.elasticstack.identity>
|
||||||
<test.elasticstack.credential>FIXME</test.elasticstack.credential>
|
<test.elasticstack.credential>FIXME</test.elasticstack.credential>
|
||||||
|
|
Loading…
Reference in New Issue