Return-Path: X-Original-To: apmail-deltacloud-commits-archive@www.apache.org Delivered-To: apmail-deltacloud-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A4E2D407 for ; Mon, 30 Jul 2012 14:29:17 +0000 (UTC) Received: (qmail 411 invoked by uid 500); 30 Jul 2012 14:29:17 -0000 Delivered-To: apmail-deltacloud-commits-archive@deltacloud.apache.org Received: (qmail 367 invoked by uid 500); 30 Jul 2012 14:29:17 -0000 Mailing-List: contact commits-help@deltacloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltacloud.apache.org Delivered-To: mailing list commits@deltacloud.apache.org Received: (qmail 99974 invoked by uid 99); 30 Jul 2012 14:29:17 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2012 14:29:17 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id D60811A04E; Mon, 30 Jul 2012 14:29:16 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mfojtik@apache.org To: commits@deltacloud.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [11/50] [abbrv] EC2: Rerecorded test fixtures Message-Id: <20120730142916.D60811A04E@tyr.zones.apache.org> Date: Mon, 30 Jul 2012 14:29:16 +0000 (UTC) http://git-wip-us.apache.org/repos/asf/deltacloud/blob/ffbfb658/server/tests/drivers/ec2/fixtures/test_0004_must_allow_to_retrieve_single_realm.yml ---------------------------------------------------------------------- diff --git a/server/tests/drivers/ec2/fixtures/test_0004_must_allow_to_retrieve_single_realm.yml b/server/tests/drivers/ec2/fixtures/test_0004_must_allow_to_retrieve_single_realm.yml index 2841809..6cbefa6 100644 --- a/server/tests/drivers/ec2/fixtures/test_0004_must_allow_to_retrieve_single_realm.yml +++ b/server/tests/drivers/ec2/fixtures/test_0004_must_allow_to_retrieve_single_realm.yml @@ -1,134 +1,149 @@ ---- -http_interactions: -- request: +--- +recorded_with: VCR 2.2.4 +http_interactions: +- request: method: get - uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=DescribeAvailabilityZones&Signature=h49McV822SFee5Govv94m/ZTu6jwmC265RSJ/lqoIpY=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-23T12:21:00.000Z&Version=2010-08-31&ZoneName.1=us-east-1a - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - ! '*/*' - User-Agent: - - '' - response: - status: + uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeAvailabilityZones&Signature=lD6W5nRItiJYqY/W8bWXxZd7Nm0nyXwgc8tSTL86/9c=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31&ZoneName.1=us-east-1a + body: + string: "" + headers: + Accept: + - "*/*" + User-Agent: + - "" + response: + status: code: 200 message: OK - headers: - Content-Type: - - text/xml;charset=UTF-8 - Transfer-Encoding: - - chunked - Date: - - Mon, 23 Jul 2012 12:26:19 GMT - Server: + headers: + Date: + - Mon, 30 Jul 2012 11:05:09 GMT + Server: - AmazonEC2 - body: - encoding: US-ASCII - string: ! "\n\n d708c85e-df57-471f-bc46-ac9980a3dde7\n - \ \n \n us-east-1a\n - \ available\n us-east-1\n - \ \n \n \n" + Transfer-Encoding: + - chunked + Content-Type: + - text/xml;charset=UTF-8 + body: + string: |- + + + 234b0644-3a1b-47db-80e4-1c5de11f0a98 + + + us-east-1a + available + us-east-1 + + + + http_version: - recorded_at: Mon, 23 Jul 2012 12:21:00 GMT -- request: + recorded_at: Mon, 30 Jul 2012 11:05:00 GMT +- request: method: get - uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=DescribeAvailabilityZones&Signature=h49McV822SFee5Govv94m/ZTu6jwmC265RSJ/lqoIpY=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-23T12:21:00.000Z&Version=2010-08-31&ZoneName.1=us-east-1a - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - ! '*/*' - User-Agent: - - '' - response: - status: + uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeAvailabilityZones&Signature=lD6W5nRItiJYqY/W8bWXxZd7Nm0nyXwgc8tSTL86/9c=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31&ZoneName.1=us-east-1a + body: + string: "" + headers: + Accept: + - "*/*" + User-Agent: + - "" + response: + status: code: 200 message: OK - headers: - Content-Type: - - text/xml;charset=UTF-8 - Transfer-Encoding: - - chunked - Date: - - Mon, 23 Jul 2012 12:26:20 GMT - Server: + headers: + Date: + - Mon, 30 Jul 2012 11:05:10 GMT + Server: - AmazonEC2 - body: - encoding: US-ASCII - string: ! "\n\n 67f9ecb9-0a2b-4af6-b25d-c4e9ae9a07f2\n - \ \n \n us-east-1a\n - \ available\n us-east-1\n - \ \n \n \n" + Transfer-Encoding: + - chunked + Content-Type: + - text/xml;charset=UTF-8 + body: + string: |- + + + 964a755c-926f-48fb-822a-418d67f5d72c + + + us-east-1a + available + us-east-1 + + + + http_version: - recorded_at: Mon, 23 Jul 2012 12:21:00 GMT -- request: + recorded_at: Mon, 30 Jul 2012 11:05:00 GMT +- request: method: get - uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=DescribeAvailabilityZones&Signature=2w2Ow4BbzYKMPmsZRIUzHv0x+329DaxT83wuEOIX3Go=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-23T12:21:00.000Z&Version=2010-08-31&ZoneName.1=us-east-1b - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - ! '*/*' - User-Agent: - - '' - response: - status: + uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeAvailabilityZones&Signature=w5SEVTxX73OC/0F8tvtkae7W/2iA83SKuE53jiu+loE=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31&ZoneName.1=us-east-1b + body: + string: "" + headers: + Accept: + - "*/*" + User-Agent: + - "" + response: + status: code: 200 message: OK - headers: - Content-Type: - - text/xml;charset=UTF-8 - Transfer-Encoding: - - chunked - Date: - - Mon, 23 Jul 2012 12:26:21 GMT - Server: + headers: + Date: + - Mon, 30 Jul 2012 11:05:10 GMT + Server: - AmazonEC2 - body: - encoding: US-ASCII - string: ! "\n\n af2246c3-a9c9-4c20-be72-2ac7360d8ffd\n - \ \n \n us-east-1b\n - \ available\n us-east-1\n - \ \n \n \n" + Transfer-Encoding: + - chunked + Content-Type: + - text/xml;charset=UTF-8 + body: + string: |- + + + 010e0971-1a4c-4f63-a795-b6a359e2620f + + + us-east-1b + available + us-east-1 + + + + http_version: - recorded_at: Mon, 23 Jul 2012 12:21:00 GMT -- request: + recorded_at: Mon, 30 Jul 2012 11:05:00 GMT +- request: method: get - uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=DescribeAvailabilityZones&Signature=pm4d1Vf8bxMiCN+/yn7xXDhevuqk5ZawW8E2sAzaO/s=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-23T12:21:00.000Z&Version=2010-08-31&ZoneName.1=unknown - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - ! '*/*' - User-Agent: - - '' - response: - status: + uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeAvailabilityZones&Signature=BOBmQdyCTils3NLI6e4oSxJmIhoEPfxFERnQlce3rJ8=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31&ZoneName.1=unknown + body: + string: "" + headers: + Accept: + - "*/*" + User-Agent: + - "" + response: + status: code: 400 message: Bad Request - headers: - Transfer-Encoding: - - chunked - Date: - - Mon, 23 Jul 2012 12:26:21 GMT - Cneonction: + headers: + Cneonction: - close - Server: + Date: + - Mon, 30 Jul 2012 11:05:11 GMT + Server: - AmazonEC2 - body: - encoding: US-ASCII - string: ! ' - - InvalidParameterValueInvalid - availability zone: [unknown]e483326c-0c81-443f-ba4c-c2749e218769' + Transfer-Encoding: + - chunked + body: + string: |- + + InvalidParameterValueInvalid availability zone: [unknown]52a1f797-fb37-4b4a-9009-9ed7a830a606 http_version: - recorded_at: Mon, 23 Jul 2012 12:21:00 GMT -recorded_with: VCR 2.1.1 + recorded_at: Mon, 30 Jul 2012 11:05:00 GMT http://git-wip-us.apache.org/repos/asf/deltacloud/blob/ffbfb658/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-10.yml ---------------------------------------------------------------------- diff --git a/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-10.yml b/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-10.yml index 3d7a62d..dffb22d 100644 --- a/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-10.yml +++ b/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-10.yml @@ -2,7 +2,56 @@ http_interactions: - request: method: get - uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=DescribeInstances&InstanceId.1=i-8aebc4f2&Signature=ZUP5RvEqK9oMtW/M8PcWuKLViw/EiEgzPvwxPcw8Bsg=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-23T12:21:00.000Z&Version=2010-08-31 + uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeInstances&InstanceId.1=i-fd749186&Signature=Rg03inb0DLdzZQyCPvRURftYeu4Pld+SDhWZWObVxcU=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31 + body: + encoding: UTF-8 + string: '' + headers: + User-Agent: + - '' + Accept: + - ! '*/*' + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml;charset=UTF-8 + Server: + - AmazonEC2 + Transfer-Encoding: + - chunked + Date: + - Mon, 30 Jul 2012 11:06:44 GMT + body: + encoding: UTF-8 + string: ! "\n\n b58287b2-4408-47d2-9058-74a12ac1bbc2\n + \ \n \n r-882d9cec\n + \ 293787749884\n \n \n + \ default\n \n + \ \n \n \n + \ i-fd749186\n ami-aecd60c7\n + \ \n 0\n + \ pending\n \n + \ \n \n \n + \ test1\n 0\n + \ \n t1.micro\n + \ 2012-07-30T11:06:44.000Z\n \n + \ us-east-1a\n + \ \n \n aki-88aa75e1\n + \ \n disabled\n + \ \n x86_64\n + \ ebs\n /dev/sda1\n + \ \n paravirtual\n + \ \n \n \n + \ \n \n" + http_version: + recorded_at: Mon, 30 Jul 2012 11:05:00 GMT +- request: + method: get + uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeInstances&InstanceId.1=i-2570955e&Signature=nmsD4nelZt1ddVHrSPKuJRoUrbcKRFLQaPd9YAFep60=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31 body: encoding: US-ASCII string: '' @@ -21,24 +70,24 @@ http_interactions: Transfer-Encoding: - chunked Date: - - Mon, 23 Jul 2012 12:24:34 GMT + - Mon, 30 Jul 2012 11:10:10 GMT Server: - AmazonEC2 body: encoding: US-ASCII string: ! "\n\n 96ec1ae0-0777-465a-896c-014bc56ee037\n - \ \n \n r-627ab106\n + xmlns=\"http://ec2.amazonaws.com/doc/2010-08-31/\">\n ba2c26e2-c4a0-4460-80d4-d50fcdcc59a1\n + \ \n \n r-8a2e9fee\n \ 293787749884\n \n \n \ default\n \n \ \n \n \n - \ i-8aebc4f2\n ami-aecd60c7\n + \ i-2570955e\n ami-aecd60c7\n \ \n 0\n \ pending\n \n \ \n \n \n \ test1\n 0\n \ \n t1.micro\n - \ 2012-07-23T12:24:34.000Z\n \n + \ 2012-07-30T11:10:09.000Z\n \n \ us-east-1a\n \ \n \n aki-88aa75e1\n \ \n disabled\n @@ -48,5 +97,5 @@ http_interactions: \ \n \n \n \ \n \n" http_version: - recorded_at: Mon, 23 Jul 2012 12:21:00 GMT -recorded_with: VCR 2.1.1 + recorded_at: Mon, 30 Jul 2012 11:05:00 GMT +recorded_with: VCR 2.2.4 http://git-wip-us.apache.org/repos/asf/deltacloud/blob/ffbfb658/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-8.yml ---------------------------------------------------------------------- diff --git a/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-8.yml b/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-8.yml index 180d830..20b8d2f 100644 --- a/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-8.yml +++ b/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-8.yml @@ -2,7 +2,64 @@ http_interactions: - request: method: get - uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=DescribeInstances&InstanceId.1=i-8aebc4f2&Signature=ZUP5RvEqK9oMtW/M8PcWuKLViw/EiEgzPvwxPcw8Bsg=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-23T12:21:00.000Z&Version=2010-08-31 + uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeInstances&InstanceId.1=i-fd749186&Signature=Rg03inb0DLdzZQyCPvRURftYeu4Pld+SDhWZWObVxcU=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31 + body: + encoding: UTF-8 + string: '' + headers: + User-Agent: + - '' + Accept: + - ! '*/*' + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml;charset=UTF-8 + Server: + - AmazonEC2 + Transfer-Encoding: + - chunked + Date: + - Mon, 30 Jul 2012 11:07:06 GMT + body: + encoding: UTF-8 + string: ! "\n\n 43964ca4-cfe5-47ff-a0ef-8e4d2c9b76fa\n + \ \n \n r-882d9cec\n + \ 293787749884\n \n \n + \ default\n \n + \ \n \n \n + \ i-fd749186\n ami-aecd60c7\n + \ \n 16\n + \ running\n \n + \ domU-12-31-39-02-7E-CB.compute-1.internal\n + \ ec2-23-22-177-20.compute-1.amazonaws.com\n + \ \n test1\n + \ 0\n \n + \ t1.micro\n 2012-07-30T11:06:44.000Z\n + \ \n us-east-1a\n + \ \n \n aki-88aa75e1\n + \ \n disabled\n + \ \n 10.248.129.53\n + \ 23.22.177.20\n x86_64\n + \ ebs\n /dev/sda1\n + \ \n \n + \ /dev/sda1\n \n + \ vol-e66f6087\n attached\n + \ 2012-07-30T11:07:05.000Z\n + \ true\n + \ \n \n \n + \ paravirtual\n + \ \n \n \n + \ \n \n" + http_version: + recorded_at: Mon, 30 Jul 2012 11:05:00 GMT +- request: + method: get + uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeInstances&InstanceId.1=i-2570955e&Signature=nmsD4nelZt1ddVHrSPKuJRoUrbcKRFLQaPd9YAFep60=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31 body: encoding: US-ASCII string: '' @@ -21,40 +78,40 @@ http_interactions: Transfer-Encoding: - chunked Date: - - Mon, 23 Jul 2012 12:24:57 GMT + - Mon, 30 Jul 2012 11:10:31 GMT Server: - AmazonEC2 body: encoding: US-ASCII string: ! "\n\n 55cc63e1-a842-46bd-a54f-314b3c0561bb\n - \ \n \n r-627ab106\n + xmlns=\"http://ec2.amazonaws.com/doc/2010-08-31/\">\n 3ba1edb0-e628-460f-a4b0-1251c0546d3f\n + \ \n \n r-8a2e9fee\n \ 293787749884\n \n \n \ default\n \n \ \n \n \n - \ i-8aebc4f2\n ami-aecd60c7\n + \ i-2570955e\n ami-aecd60c7\n \ \n 16\n \ running\n \n - \ domU-12-31-39-10-42-E7.compute-1.internal\n - \ ec2-23-20-131-250.compute-1.amazonaws.com\n + \ domU-12-31-39-03-30-7D.compute-1.internal\n + \ ec2-107-22-66-178.compute-1.amazonaws.com\n \ \n test1\n \ 0\n \n - \ t1.micro\n 2012-07-23T12:24:34.000Z\n + \ t1.micro\n 2012-07-30T11:10:09.000Z\n \ \n us-east-1a\n \ \n \n aki-88aa75e1\n \ \n disabled\n - \ \n 10.198.65.17\n - \ 23.20.131.250\n x86_64\n + \ \n 10.249.51.139\n + \ 107.22.66.178\n x86_64\n \ ebs\n /dev/sda1\n \ \n \n \ /dev/sda1\n \n - \ vol-4ad78c2b\n attached\n - \ 2012-07-23T12:24:53.000Z\n + \ vol-506c6331\n attached\n + \ 2012-07-30T11:10:28.000Z\n \ true\n \ \n \n \n \ paravirtual\n \ \n \n \n \ \n \n" http_version: - recorded_at: Mon, 23 Jul 2012 12:21:00 GMT -recorded_with: VCR 2.1.1 + recorded_at: Mon, 30 Jul 2012 11:05:00 GMT +recorded_with: VCR 2.2.4 http://git-wip-us.apache.org/repos/asf/deltacloud/blob/ffbfb658/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-9.yml ---------------------------------------------------------------------- diff --git a/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-9.yml b/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-9.yml index 0c5dc75..b531871 100644 --- a/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-9.yml +++ b/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-9.yml @@ -2,15 +2,15 @@ http_interactions: - request: method: get - uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=DescribeInstances&InstanceId.1=i-8aebc4f2&Signature=ZUP5RvEqK9oMtW/M8PcWuKLViw/EiEgzPvwxPcw8Bsg=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-23T12:21:00.000Z&Version=2010-08-31 + uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeInstances&InstanceId.1=i-fd749186&Signature=Rg03inb0DLdzZQyCPvRURftYeu4Pld+SDhWZWObVxcU=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31 body: - encoding: US-ASCII + encoding: UTF-8 string: '' headers: - Accept: - - ! '*/*' User-Agent: - '' + Accept: + - ! '*/*' response: status: code: 200 @@ -18,43 +18,92 @@ http_interactions: headers: Content-Type: - text/xml;charset=UTF-8 + Server: + - AmazonEC2 Transfer-Encoding: - chunked Date: - - Mon, 23 Jul 2012 12:24:45 GMT - Server: - - AmazonEC2 + - Mon, 30 Jul 2012 11:06:55 GMT body: - encoding: US-ASCII + encoding: UTF-8 string: ! "\n\n 5036f7a2-bae6-4e11-884b-a4ea54e3a06c\n - \ \n \n r-627ab106\n + xmlns=\"http://ec2.amazonaws.com/doc/2010-08-31/\">\n 982b1c1d-74a3-4be7-ae17-9957309c1e71\n + \ \n \n r-882d9cec\n \ 293787749884\n \n \n \ default\n \n \ \n \n \n - \ i-8aebc4f2\n ami-aecd60c7\n + \ i-fd749186\n ami-aecd60c7\n \ \n 0\n \ pending\n \n - \ domU-12-31-39-10-42-E7.compute-1.internal\n - \ ec2-23-20-131-250.compute-1.amazonaws.com\n + \ domU-12-31-39-02-7E-CB.compute-1.internal\n + \ ec2-23-22-177-20.compute-1.amazonaws.com\n \ \n test1\n \ 0\n \n - \ t1.micro\n 2012-07-23T12:24:34.000Z\n + \ t1.micro\n 2012-07-30T11:06:44.000Z\n \ \n us-east-1a\n \ \n \n aki-88aa75e1\n \ \n disabled\n - \ \n 10.198.65.17\n - \ 23.20.131.250\n x86_64\n + \ \n 10.248.129.53\n + \ 23.22.177.20\n x86_64\n \ ebs\n /dev/sda1\n \ \n \n \ /dev/sda1\n \n - \ vol-4ad78c2b\n attaching\n - \ 2012-07-23T12:24:40.000Z\n + \ vol-e66f6087\n attaching\n + \ 2012-07-30T11:06:50.000Z\n \ true\n \ \n \n \n \ paravirtual\n \ \n \n \n \ \n \n" http_version: - recorded_at: Mon, 23 Jul 2012 12:21:00 GMT -recorded_with: VCR 2.1.1 + recorded_at: Mon, 30 Jul 2012 11:05:00 GMT +- request: + method: get + uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeInstances&InstanceId.1=i-2570955e&Signature=nmsD4nelZt1ddVHrSPKuJRoUrbcKRFLQaPd9YAFep60=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31 + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - ! '*/*' + User-Agent: + - '' + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml;charset=UTF-8 + Transfer-Encoding: + - chunked + Date: + - Mon, 30 Jul 2012 11:10:20 GMT + Server: + - AmazonEC2 + body: + encoding: US-ASCII + string: ! "\n\n be66140f-16f0-46bd-8eb5-4c3350457fd5\n + \ \n \n r-8a2e9fee\n + \ 293787749884\n \n \n + \ default\n \n + \ \n \n \n + \ i-2570955e\n ami-aecd60c7\n + \ \n 0\n + \ pending\n \n + \ \n \n \n + \ test1\n 0\n + \ \n t1.micro\n + \ 2012-07-30T11:10:09.000Z\n \n + \ us-east-1a\n + \ \n \n aki-88aa75e1\n + \ \n disabled\n + \ \n x86_64\n + \ ebs\n /dev/sda1\n + \ \n paravirtual\n + \ \n \n \n + \ \n \n" + http_version: + recorded_at: Mon, 30 Jul 2012 11:05:00 GMT +recorded_with: VCR 2.2.4 http://git-wip-us.apache.org/repos/asf/deltacloud/blob/ffbfb658/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-stopped-10.yml ---------------------------------------------------------------------- diff --git a/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-stopped-10.yml b/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-stopped-10.yml index ae99e8c..1b06647 100644 --- a/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-stopped-10.yml +++ b/server/tests/drivers/ec2/fixtures/test_0005_must_allow_to_create_a_new_instance_if_instance_supported-stopped-10.yml @@ -2,7 +2,67 @@ http_interactions: - request: method: get - uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=DescribeInstances&InstanceId.1=i-8aebc4f2&Signature=ZUP5RvEqK9oMtW/M8PcWuKLViw/EiEgzPvwxPcw8Bsg=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-23T12:21:00.000Z&Version=2010-08-31 + uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeInstances&InstanceId.1=i-fd749186&Signature=Rg03inb0DLdzZQyCPvRURftYeu4Pld+SDhWZWObVxcU=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31 + body: + encoding: UTF-8 + string: '' + headers: + User-Agent: + - '' + Accept: + - ! '*/*' + response: + status: + code: 200 + message: OK + headers: + Content-Type: + - text/xml;charset=UTF-8 + Server: + - AmazonEC2 + Transfer-Encoding: + - chunked + Date: + - Mon, 30 Jul 2012 11:07:17 GMT + body: + encoding: UTF-8 + string: ! "\n\n f0301d0d-8f07-47c6-a798-30136fc02aca\n + \ \n \n r-882d9cec\n + \ 293787749884\n \n \n + \ default\n \n + \ \n \n \n + \ i-fd749186\n ami-aecd60c7\n + \ \n 32\n + \ shutting-down\n \n + \ domU-12-31-39-02-7E-CB.compute-1.internal\n + \ ec2-23-22-177-20.compute-1.amazonaws.com\n + \ User initiated (2012-07-30 11:07:16 GMT)\n + \ test1\n 0\n + \ \n t1.micro\n + \ 2012-07-30T11:06:44.000Z\n \n + \ us-east-1a\n + \ \n \n aki-88aa75e1\n + \ \n disabled\n + \ \n 10.248.129.53\n + \ 23.22.177.20\n \n + \ Client.UserInitiatedShutdown\n Client.UserInitiatedShutdown: + User initiated shutdown\n \n x86_64\n + \ ebs\n /dev/sda1\n + \ \n \n + \ /dev/sda1\n \n + \ vol-e66f6087\n attached\n + \ 2012-07-30T11:07:05.000Z\n + \ true\n + \ \n \n \n + \ paravirtual\n + \ \n \n \n + \ \n \n" + http_version: + recorded_at: Mon, 30 Jul 2012 11:05:00 GMT +- request: + method: get + uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeInstances&InstanceId.1=i-2570955e&Signature=nmsD4nelZt1ddVHrSPKuJRoUrbcKRFLQaPd9YAFep60=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31 body: encoding: US-ASCII string: '' @@ -21,43 +81,43 @@ http_interactions: Transfer-Encoding: - chunked Date: - - Mon, 23 Jul 2012 12:25:08 GMT + - Mon, 30 Jul 2012 11:10:43 GMT Server: - AmazonEC2 body: encoding: US-ASCII string: ! "\n\n 58d571c3-7d89-49fa-b1fb-188f96656fcf\n - \ \n \n r-627ab106\n + xmlns=\"http://ec2.amazonaws.com/doc/2010-08-31/\">\n 9544c850-9066-449b-86c5-9370e17b79ca\n + \ \n \n r-8a2e9fee\n \ 293787749884\n \n \n \ default\n \n \ \n \n \n - \ i-8aebc4f2\n ami-aecd60c7\n + \ i-2570955e\n ami-aecd60c7\n \ \n 32\n \ shutting-down\n \n - \ domU-12-31-39-10-42-E7.compute-1.internal\n - \ ec2-23-20-131-250.compute-1.amazonaws.com\n - \ User initiated (2012-07-23 12:25:07 GMT)\n + \ domU-12-31-39-03-30-7D.compute-1.internal\n + \ ec2-107-22-66-178.compute-1.amazonaws.com\n + \ User initiated (2012-07-30 11:10:42 GMT)\n \ test1\n 0\n \ \n t1.micro\n - \ 2012-07-23T12:24:34.000Z\n \n + \ 2012-07-30T11:10:09.000Z\n \n \ us-east-1a\n \ \n \n aki-88aa75e1\n \ \n disabled\n - \ \n 10.198.65.17\n - \ 23.20.131.250\n \n + \ \n 10.249.51.139\n + \ 107.22.66.178\n \n \ Client.UserInitiatedShutdown\n Client.UserInitiatedShutdown: User initiated shutdown\n \n x86_64\n \ ebs\n /dev/sda1\n \ \n \n \ /dev/sda1\n \n - \ vol-4ad78c2b\n attached\n - \ 2012-07-23T12:24:53.000Z\n + \ vol-506c6331\n attached\n + \ 2012-07-30T11:10:28.000Z\n \ true\n \ \n \n \n \ paravirtual\n \ \n \n \n \ \n \n" http_version: - recorded_at: Mon, 23 Jul 2012 12:21:00 GMT -recorded_with: VCR 2.1.1 + recorded_at: Mon, 30 Jul 2012 11:05:00 GMT +recorded_with: VCR 2.2.4