Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Commit eeaad52

Browse files
committed
lots of fixtures
1 parent d36404b commit eeaad52

File tree

11 files changed

+615
-0
lines changed

11 files changed

+615
-0
lines changed

fixtures/createTags/_.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"InstanceStatuses": [
3+
{
4+
"InstanceId": "i-5203422c",
5+
"InstanceState": {
6+
"Code": 16,
7+
"Name": "running"
8+
},
9+
"AvailabilityZone": "us-east-1d",
10+
"SystemStatus": {
11+
"Status": "ok",
12+
"Details": [
13+
{
14+
"Status": "passed",
15+
"Name": "reachability"
16+
}
17+
]
18+
},
19+
"InstanceStatus": {
20+
"Status": "ok",
21+
"Details": [
22+
{
23+
"Status": "passed",
24+
"Name": "reachability"
25+
}
26+
]
27+
}
28+
}
29+
]
30+
}

fixtures/describeInstances/_.json

+219
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,219 @@
1+
{
2+
"Reservations": [
3+
{
4+
"ReservationId": "r-d640397b",
5+
"OwnerId": "528578904246",
6+
"Groups": [],
7+
"Instances": [
8+
{
9+
"InstanceId": "i-2c0f9fa1",
10+
"ImageId": "ami-3faf9f48",
11+
"State": {
12+
"Code": 80,
13+
"Name": "stopped"
14+
},
15+
"PrivateDnsName": "ip-10-0-3-165.eu-west-1.compute.internal",
16+
"PublicDnsName": "",
17+
"StateTransitionReason": "User initiated (2015-12-09 14:50:37 GMT)",
18+
"KeyName": "kon-tiki-development",
19+
"AmiLaunchIndex": 0,
20+
"ProductCodes": [],
21+
"InstanceType": "m3.large",
22+
"LaunchTime": "2015-12-09T11:51:54.000Z",
23+
"Placement": {
24+
"AvailabilityZone": "eu-west-1c",
25+
"GroupName": "",
26+
"Tenancy": "default"
27+
},
28+
"Platform": "windows",
29+
"Monitoring": {
30+
"State": "disabled"
31+
},
32+
"SubnetId": "subnet-3a3b177c",
33+
"VpcId": "vpc-1f011f7d",
34+
"PrivateIpAddress": "10.0.3.165",
35+
"StateReason": {
36+
"Code": "Client.UserInitiatedShutdown",
37+
"Message": "Client.UserInitiatedShutdown: User initiated shutdown"
38+
},
39+
"Architecture": "x86_64",
40+
"RootDeviceType": "ebs",
41+
"RootDeviceName": "/dev/sda1",
42+
"BlockDeviceMappings": [
43+
{
44+
"DeviceName": "/dev/sda1",
45+
"Ebs": {
46+
"VolumeId": "vol-cbdec904",
47+
"Status": "attached",
48+
"AttachTime": "2015-12-09T11:51:57.000Z",
49+
"DeleteOnTermination": true
50+
}
51+
}
52+
],
53+
"VirtualizationType": "hvm",
54+
"ClientToken": "",
55+
"Tags": [
56+
{
57+
"Key": "Name",
58+
"Value": "github-e-conomic-2710"
59+
}
60+
],
61+
"SecurityGroups": [
62+
{
63+
"GroupName": "development-services",
64+
"GroupId": "sg-9040a2f5"
65+
}
66+
],
67+
"SourceDestCheck": true,
68+
"Hypervisor": "xen",
69+
"NetworkInterfaces": [
70+
{
71+
"NetworkInterfaceId": "eni-bcf305e6",
72+
"SubnetId": "subnet-3a3b177c",
73+
"VpcId": "vpc-1f011f7d",
74+
"Description": "",
75+
"OwnerId": "528578904246",
76+
"Status": "in-use",
77+
"MacAddress": "0a:2a:d5:3e:e9:b5",
78+
"PrivateIpAddress": "10.0.3.165",
79+
"PrivateDnsName": "ip-10-0-3-165.eu-west-1.compute.internal",
80+
"SourceDestCheck": true,
81+
"Groups": [
82+
{
83+
"GroupName": "development-services",
84+
"GroupId": "sg-9040a2f5"
85+
}
86+
],
87+
"Attachment": {
88+
"AttachmentId": "eni-attach-6b8f538d",
89+
"DeviceIndex": 0,
90+
"Status": "attached",
91+
"AttachTime": "2015-12-09T11:51:54.000Z",
92+
"DeleteOnTermination": true
93+
},
94+
"PrivateIpAddresses": [
95+
{
96+
"PrivateIpAddress": "10.0.3.165",
97+
"PrivateDnsName": "ip-10-0-3-165.eu-west-1.compute.internal",
98+
"Primary": true
99+
}
100+
]
101+
}
102+
],
103+
"EbsOptimized": false
104+
}
105+
]
106+
},
107+
{
108+
"ReservationId": "r-a61a8a0b",
109+
"OwnerId": "528578904246",
110+
"Groups": [],
111+
"Instances": [
112+
{
113+
"InstanceId": "i-e403955c",
114+
"ImageId": "ami-3faf9f48",
115+
"State": {
116+
"Code": 16,
117+
"Name": "running"
118+
},
119+
"PrivateDnsName": "ip-10-0-0-64.eu-west-1.compute.internal",
120+
"PublicDnsName": "ec2-52-18-54-198.eu-west-1.compute.amazonaws.com",
121+
"StateTransitionReason": "",
122+
"KeyName": "kon-tiki-development",
123+
"AmiLaunchIndex": 0,
124+
"ProductCodes": [],
125+
"InstanceType": "m3.large",
126+
"LaunchTime": "2015-11-10T12:42:12.000Z",
127+
"Placement": {
128+
"AvailabilityZone": "eu-west-1c",
129+
"GroupName": "",
130+
"Tenancy": "default"
131+
},
132+
"Platform": "windows",
133+
"Monitoring": {
134+
"State": "disabled"
135+
},
136+
"SubnetId": "subnet-3a3b177c",
137+
"VpcId": "vpc-1f011f7d",
138+
"PrivateIpAddress": "10.0.0.64",
139+
"PublicIpAddress": "52.18.54.198",
140+
"Architecture": "x86_64",
141+
"RootDeviceType": "ebs",
142+
"RootDeviceName": "/dev/sda1",
143+
"BlockDeviceMappings": [
144+
{
145+
"DeviceName": "/dev/sda1",
146+
"Ebs": {
147+
"VolumeId": "vol-90f8a45f",
148+
"Status": "attached",
149+
"AttachTime": "2015-11-10T12:42:17.000Z",
150+
"DeleteOnTermination": true
151+
}
152+
}
153+
],
154+
"VirtualizationType": "hvm",
155+
"ClientToken": "",
156+
"Tags": [
157+
{
158+
"Key": "Name",
159+
"Value": "github-e-conomic-2486"
160+
}
161+
],
162+
"SecurityGroups": [
163+
{
164+
"GroupName": "development-services",
165+
"GroupId": "sg-9040a2f5"
166+
}
167+
],
168+
"SourceDestCheck": true,
169+
"Hypervisor": "xen",
170+
"NetworkInterfaces": [
171+
{
172+
"NetworkInterfaceId": "eni-5ad1fd01",
173+
"SubnetId": "subnet-3a3b177c",
174+
"VpcId": "vpc-1f011f7d",
175+
"Description": "",
176+
"OwnerId": "528578904246",
177+
"Status": "in-use",
178+
"MacAddress": "0a:8a:d8:25:45:95",
179+
"PrivateIpAddress": "10.0.0.64",
180+
"PrivateDnsName": "ip-10-0-0-64.eu-west-1.compute.internal",
181+
"SourceDestCheck": true,
182+
"Groups": [
183+
{
184+
"GroupName": "development-services",
185+
"GroupId": "sg-9040a2f5"
186+
}
187+
],
188+
"Attachment": {
189+
"AttachmentId": "eni-attach-b31a079f",
190+
"DeviceIndex": 0,
191+
"Status": "attached",
192+
"AttachTime": "2015-11-10T12:42:12.000Z",
193+
"DeleteOnTermination": true
194+
},
195+
"Association": {
196+
"PublicIp": "52.18.54.198",
197+
"PublicDnsName": "ec2-52-18-54-198.eu-west-1.compute.amazonaws.com",
198+
"IpOwnerId": "amazon"
199+
},
200+
"PrivateIpAddresses": [
201+
{
202+
"PrivateIpAddress": "10.0.0.64",
203+
"PrivateDnsName": "ip-10-0-0-64.eu-west-1.compute.internal",
204+
"Primary": true,
205+
"Association": {
206+
"PublicIp": "52.18.54.198",
207+
"PublicDnsName": "ec2-52-18-54-198.eu-west-1.compute.amazonaws.com",
208+
"IpOwnerId": "amazon"
209+
}
210+
}
211+
]
212+
}
213+
],
214+
"EbsOptimized": false
215+
}
216+
]
217+
}
218+
]
219+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"Reservations": []
3+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
{
2+
"Reservations": [
3+
{
4+
"ReservationId": "r-a61a8a0b",
5+
"OwnerId": "528578904246",
6+
"Groups": [],
7+
"Instances": [
8+
{
9+
"InstanceId": "i-e403955c",
10+
"ImageId": "ami-3faf9f48",
11+
"State": {
12+
"Code": 16,
13+
"Name": "running"
14+
},
15+
"PrivateDnsName": "ip-10-0-0-64.eu-west-1.compute.internal",
16+
"PublicDnsName": "ec2-52-18-54-198.eu-west-1.compute.amazonaws.com",
17+
"StateTransitionReason": "",
18+
"KeyName": "kon-tiki-development",
19+
"AmiLaunchIndex": 0,
20+
"ProductCodes": [],
21+
"InstanceType": "m3.large",
22+
"LaunchTime": "2015-11-10T12:42:12.000Z",
23+
"Placement": {
24+
"AvailabilityZone": "eu-west-1c",
25+
"GroupName": "",
26+
"Tenancy": "default"
27+
},
28+
"Platform": "windows",
29+
"Monitoring": {
30+
"State": "disabled"
31+
},
32+
"SubnetId": "subnet-3a3b177c",
33+
"VpcId": "vpc-1f011f7d",
34+
"PrivateIpAddress": "10.0.0.64",
35+
"PublicIpAddress": "52.18.54.198",
36+
"Architecture": "x86_64",
37+
"RootDeviceType": "ebs",
38+
"RootDeviceName": "/dev/sda1",
39+
"BlockDeviceMappings": [
40+
{
41+
"DeviceName": "/dev/sda1",
42+
"Ebs": {
43+
"VolumeId": "vol-90f8a45f",
44+
"Status": "attached",
45+
"AttachTime": "2015-11-10T12:42:17.000Z",
46+
"DeleteOnTermination": true
47+
}
48+
}
49+
],
50+
"VirtualizationType": "hvm",
51+
"ClientToken": "",
52+
"Tags": [
53+
{
54+
"Key": "Name",
55+
"Value": "github-e-conomic-2486"
56+
}
57+
],
58+
"SecurityGroups": [
59+
{
60+
"GroupName": "development-services",
61+
"GroupId": "sg-9040a2f5"
62+
}
63+
],
64+
"SourceDestCheck": true,
65+
"Hypervisor": "xen",
66+
"NetworkInterfaces": [
67+
{
68+
"NetworkInterfaceId": "eni-5ad1fd01",
69+
"SubnetId": "subnet-3a3b177c",
70+
"VpcId": "vpc-1f011f7d",
71+
"Description": "",
72+
"OwnerId": "528578904246",
73+
"Status": "in-use",
74+
"MacAddress": "0a:8a:d8:25:45:95",
75+
"PrivateIpAddress": "10.0.0.64",
76+
"PrivateDnsName": "ip-10-0-0-64.eu-west-1.compute.internal",
77+
"SourceDestCheck": true,
78+
"Groups": [
79+
{
80+
"GroupName": "development-services",
81+
"GroupId": "sg-9040a2f5"
82+
}
83+
],
84+
"Attachment": {
85+
"AttachmentId": "eni-attach-b31a079f",
86+
"DeviceIndex": 0,
87+
"Status": "attached",
88+
"AttachTime": "2015-11-10T12:42:12.000Z",
89+
"DeleteOnTermination": true
90+
},
91+
"Association": {
92+
"PublicIp": "52.18.54.198",
93+
"PublicDnsName": "ec2-52-18-54-198.eu-west-1.compute.amazonaws.com",
94+
"IpOwnerId": "amazon"
95+
},
96+
"PrivateIpAddresses": [
97+
{
98+
"PrivateIpAddress": "10.0.0.64",
99+
"PrivateDnsName": "ip-10-0-0-64.eu-west-1.compute.internal",
100+
"Primary": true,
101+
"Association": {
102+
"PublicIp": "52.18.54.198",
103+
"PublicDnsName": "ec2-52-18-54-198.eu-west-1.compute.amazonaws.com",
104+
"IpOwnerId": "amazon"
105+
}
106+
}
107+
]
108+
}
109+
],
110+
"EbsOptimized": false
111+
}
112+
]
113+
}
114+
]
115+
}

0 commit comments

Comments
 (0)