deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [46/46] Ec2: Added VCR cassette required to run Ec2 minitest
Date Mon, 04 Jun 2012 11:21:08 GMT
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/f965e758/server/tests/drivers/ec2/fixtures/test_0027_should_allow_to_create_and_destroy_new_instance_using_the_first_available_image_and_first_hardware_profile_pool_3_instance.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/ec2/fixtures/test_0027_should_allow_to_create_and_destroy_new_instance_using_the_first_available_image_and_first_hardware_profile_pool_3_instance.yml
b/server/tests/drivers/ec2/fixtures/test_0027_should_allow_to_create_and_destroy_new_instance_using_the_first_available_image_and_first_hardware_profile_pool_3_instance.yml
new file mode 100644
index 0000000..e6fd210
--- /dev/null
+++ b/server/tests/drivers/ec2/fixtures/test_0027_should_allow_to_create_and_destroy_new_instance_using_the_first_available_image_and_first_hardware_profile_pool_3_instance.yml
@@ -0,0 +1,88 @@
+--- 
+http_interactions: 
+- request: 
+    method: get
+    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=DescribeInstances&InstanceId.1=i-79223a1f&Signature=wqUZ+ZzA8XwPXGzzOUM8YFYYZdMzH/7WCa87AczwvHc=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-05-31T10:58:00.000Z&Version=2010-08-31
+    body: 
+      string: ""
+    headers: 
+      User-Agent: 
+      - ""
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
+      code: 200
+      message: OK
+    headers: 
+      Transfer-Encoding: 
+      - chunked
+      Server: 
+      - AmazonEC2
+      Content-Type: 
+      - text/xml;charset=UTF-8
+      Date: 
+      - Thu, 31 May 2012 09:20:07 GMT
+    body: 
+      string: |-
+        <?xml version="1.0" encoding="UTF-8"?>
+        <DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/">
+            <requestId>c942f98a-e6d1-45f6-b376-596fed7b100a</requestId>
+            <reservationSet>
+                <item>
+                    <reservationId>r-d52421b7</reservationId>
+                    <ownerId>293787749884</ownerId>
+                    <groupSet>
+                        <item>
+                            <groupId>default</groupId>
+                        </item>
+                    </groupSet>
+                    <instancesSet>
+                        <item>
+                            <instanceId>i-79223a1f</instanceId>
+                            <imageId>ami-e565ba8c</imageId>
+                            <instanceState>
+                                <code>16</code>
+                                <name>running</name>
+                            </instanceState>
+                            <privateDnsName>ip-10-64-83-211.ec2.internal</privateDnsName>
+                            <dnsName>ec2-23-22-116-76.compute-1.amazonaws.com</dnsName>
+                            <reason/>
+                            <amiLaunchIndex>0</amiLaunchIndex>
+                            <productCodes/>
+                            <instanceType>m1.small</instanceType>
+                            <launchTime>2012-05-31T09:19:32.000Z</launchTime>
+                            <placement>
+                                <availabilityZone>us-east-1a</availabilityZone>
+                                <groupName/>
+                            </placement>
+                            <kernelId>aki-88aa75e1</kernelId>
+                            <monitoring>
+                                <state>disabled</state>
+                            </monitoring>
+                            <privateIpAddress>10.64.83.211</privateIpAddress>
+                            <ipAddress>23.22.116.76</ipAddress>
+                            <architecture>x86_64</architecture>
+                            <rootDeviceType>ebs</rootDeviceType>
+                            <rootDeviceName>/dev/sda1</rootDeviceName>
+                            <blockDeviceMapping>
+                                <item>
+                                    <deviceName>/dev/sda1</deviceName>
+                                    <ebs>
+                                        <volumeId>vol-41c71c2f</volumeId>
+                                        <status>attached</status>
+                                        <attachTime>2012-05-31T09:19:58.000Z</attachTime>
+                                        <deleteOnTermination>true</deleteOnTermination>
+                                    </ebs>
+                                </item>
+                            </blockDeviceMapping>
+                            <virtualizationType>paravirtual</virtualizationType>
+                            <clientToken/>
+                        </item>
+                    </instancesSet>
+                </item>
+            </reservationSet>
+        </DescribeInstancesResponse>
+    http_version: 
+  recorded_at: Thu, 31 May 2012 10:58:00 GMT
+recorded_with: VCR 2.1.1


Mime
View raw message