libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject svn commit: r1055067 - in /incubator/libcloud/trunk/test/fixtures/ec2: run_instances_idem.xml run_instances_idem_mismatch.xml
Date Tue, 04 Jan 2011 14:47:23 GMT
Author: jerry
Date: Tue Jan  4 14:47:23 2011
New Revision: 1055067

URL: http://svn.apache.org/viewvc?rev=1055067&view=rev
Log:
Forgot EC2 text fixtures... again.

Added:
    incubator/libcloud/trunk/test/fixtures/ec2/run_instances_idem.xml
    incubator/libcloud/trunk/test/fixtures/ec2/run_instances_idem_mismatch.xml

Added: incubator/libcloud/trunk/test/fixtures/ec2/run_instances_idem.xml
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/test/fixtures/ec2/run_instances_idem.xml?rev=1055067&view=auto
==============================================================================
--- incubator/libcloud/trunk/test/fixtures/ec2/run_instances_idem.xml (added)
+++ incubator/libcloud/trunk/test/fixtures/ec2/run_instances_idem.xml Tue Jan  4 14:47:23
2011
@@ -0,0 +1,32 @@
+<RunInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/">
+  <reservationId>r-47a5402e</reservationId>
+  <ownerId>AIDADH4IGTRXXKCD</ownerId>
+  <groupSet>
+    <item>
+      <groupId>default</groupId>
+    </item>
+  </groupSet>
+  <instancesSet>
+    <item>
+      <instanceId>i-2ba64342</instanceId>
+      <imageId>ami-be3adfd7</imageId>
+      <instanceState>
+        <code>0</code>
+        <name>pending</name>
+      </instanceState>
+      <privateDnsName></privateDnsName>
+      <dnsName></dnsName>
+      <keyName>example-key-name</keyName>
+      <amiLaunchIndex>0</amiLaunchIndex>
+      <instanceType>m1.small</instanceType>
+      <launchTime>2007-08-07T11:51:50.000Z</launchTime>
+      <placement>
+        <availabilityZone>us-east-1b</availabilityZone>
+      </placement>
+      <monitoring>
+        <enabled>true</enabled>
+      </monitoring>
+      <clientToken>testclienttoken</clientToken>
+    </item>
+  </instancesSet>
+</RunInstancesResponse>

Added: incubator/libcloud/trunk/test/fixtures/ec2/run_instances_idem_mismatch.xml
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/test/fixtures/ec2/run_instances_idem_mismatch.xml?rev=1055067&view=auto
==============================================================================
--- incubator/libcloud/trunk/test/fixtures/ec2/run_instances_idem_mismatch.xml (added)
+++ incubator/libcloud/trunk/test/fixtures/ec2/run_instances_idem_mismatch.xml Tue Jan  4
14:47:23 2011
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Response>
+    <Errors>
+        <Error>
+            <Code>IdempotentParameterMismatch</Code>
+            <Message>
+                Arguments on this idempotent request are inconsistent with arguments used
in previous request(s).
+            </Message>
+        </Error>
+    </Errors>
+    <RequestID>5dabd361-d2e0-4f79-937d-4b2852a3b719</RequestID>
+</Response>



Mime
View raw message