Skip to content

Commit 497ed6e

Browse files
committed
add resource identity for cloudfoundry route
1 parent c42e9d0 commit 497ed6e

File tree

5 files changed

+459
-2
lines changed

5 files changed

+459
-2
lines changed
Lines changed: 343 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,343 @@
1+
---
2+
version: 2
3+
interactions:
4+
- id: 0
5+
request:
6+
proto: HTTP/1.1
7+
proto_major: 1
8+
proto_minor: 1
9+
content_length: 209
10+
transfer_encoding: []
11+
trailer: {}
12+
host: api.x.x.x.x.com
13+
remote_addr: ""
14+
request_uri: ""
15+
body: |
16+
{"relationships":{"space":{"data":{"guid":"50655f6a-a66c-4276-b544-1d1aa864effd"}},"domain":{"data":{"guid":"d042f463-bda6-4036-95a8-f2abfa7287ee"}}},"port":null,"metadata":{"labels":null,"annotations":null}}
17+
form: {}
18+
headers:
19+
Authorization:
20+
- Bearer redacted
21+
Content-Type:
22+
- application/json
23+
User-Agent:
24+
- Terraform/1.14.3 terraform-provider-cloudfoundry/dev
25+
url: https://api.x.x.x.x.com/v3/routes
26+
method: POST
27+
response:
28+
proto: HTTP/2.0
29+
proto_major: 2
30+
proto_minor: 0
31+
transfer_encoding: []
32+
trailer: {}
33+
content_length: 893
34+
uncompressed: false
35+
body: '{"guid":"985c396e-33a8-4d23-91d0-5a1a16c7833b","created_at":"2026-02-09T06:32:05Z","updated_at":"2026-02-09T06:32:05Z","protocol":"http","host":"","path":"","port":null,"url":"test.cfapps.stagingazure.hanavlab.ondemand.com","destinations":[],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"50655f6a-a66c-4276-b544-1d1aa864effd"}},"domain":{"data":{"guid":"d042f463-bda6-4036-95a8-f2abfa7287ee"}}},"links":{"self":{"href":"https://api.x.x.x.x.com/v3/routes/985c396e-33a8-4d23-91d0-5a1a16c7833b"},"space":{"href":"https://api.x.x.x.x.com/v3/spaces/50655f6a-a66c-4276-b544-1d1aa864effd"},"destinations":{"href":"https://api.x.x.x.x.com/v3/routes/985c396e-33a8-4d23-91d0-5a1a16c7833b/destinations"},"domain":{"href":"https://api.x.x.x.x.com/v3/domains/d042f463-bda6-4036-95a8-f2abfa7287ee"}},"options":{}}'
36+
headers:
37+
Content-Length:
38+
- "893"
39+
Content-Type:
40+
- application/json; charset=utf-8
41+
Date:
42+
- Mon, 09 Feb 2026 06:32:05 GMT
43+
Referrer-Policy:
44+
- strict-origin-when-cross-origin
45+
Strict-Transport-Security:
46+
- max-age=31536000; includeSubDomains; preload;
47+
X-B3-Spanid:
48+
- 4d81f9b7a5fb1f5f
49+
X-B3-Traceid:
50+
- 890d13e54daa4c4e4d81f9b7a5fb1f5f
51+
X-Content-Type-Options:
52+
- nosniff
53+
X-Download-Options:
54+
- noopen
55+
X-Frame-Options:
56+
- SAMEORIGIN
57+
X-Permitted-Cross-Domain-Policies:
58+
- none
59+
X-Ratelimit-Limit:
60+
- "20000"
61+
X-Ratelimit-Remaining:
62+
- "18000"
63+
X-Ratelimit-Reset:
64+
- "1770619706"
65+
X-Runtime:
66+
- "0.051036"
67+
X-Vcap-Request-Id:
68+
- 890d13e5-4daa-4c4e-4d81-f9b7a5fb1f5f::bf061754-949e-4ad2-9525-e0a363b4dd75
69+
X-Xss-Protection:
70+
- 1; mode=block
71+
status: 201 Created
72+
code: 201
73+
duration: 932.826834ms
74+
- id: 1
75+
request:
76+
proto: HTTP/1.1
77+
proto_major: 1
78+
proto_minor: 1
79+
content_length: 0
80+
transfer_encoding: []
81+
trailer: {}
82+
host: api.x.x.x.x.com
83+
remote_addr: ""
84+
request_uri: ""
85+
body: ""
86+
form: {}
87+
headers:
88+
Authorization:
89+
- Bearer redacted
90+
User-Agent:
91+
- Terraform/1.14.3 terraform-provider-cloudfoundry/dev
92+
url: https://api.x.x.x.x.com/v3/routes/985c396e-33a8-4d23-91d0-5a1a16c7833b
93+
method: GET
94+
response:
95+
proto: HTTP/2.0
96+
proto_major: 2
97+
proto_minor: 0
98+
transfer_encoding: []
99+
trailer: {}
100+
content_length: 893
101+
uncompressed: false
102+
body: '{"guid":"985c396e-33a8-4d23-91d0-5a1a16c7833b","created_at":"2026-02-09T06:32:05Z","updated_at":"2026-02-09T06:32:05Z","protocol":"http","host":"","path":"","port":null,"url":"test.cfapps.stagingazure.hanavlab.ondemand.com","destinations":[],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"50655f6a-a66c-4276-b544-1d1aa864effd"}},"domain":{"data":{"guid":"d042f463-bda6-4036-95a8-f2abfa7287ee"}}},"links":{"self":{"href":"https://api.x.x.x.x.com/v3/routes/985c396e-33a8-4d23-91d0-5a1a16c7833b"},"space":{"href":"https://api.x.x.x.x.com/v3/spaces/50655f6a-a66c-4276-b544-1d1aa864effd"},"destinations":{"href":"https://api.x.x.x.x.com/v3/routes/985c396e-33a8-4d23-91d0-5a1a16c7833b/destinations"},"domain":{"href":"https://api.x.x.x.x.com/v3/domains/d042f463-bda6-4036-95a8-f2abfa7287ee"}},"options":{}}'
103+
headers:
104+
Content-Length:
105+
- "893"
106+
Content-Type:
107+
- application/json; charset=utf-8
108+
Date:
109+
- Mon, 09 Feb 2026 06:32:06 GMT
110+
Referrer-Policy:
111+
- strict-origin-when-cross-origin
112+
Strict-Transport-Security:
113+
- max-age=31536000; includeSubDomains; preload;
114+
X-B3-Spanid:
115+
- 4b8216107334746c
116+
X-B3-Traceid:
117+
- b4d98b872ab84e844b8216107334746c
118+
X-Content-Type-Options:
119+
- nosniff
120+
X-Download-Options:
121+
- noopen
122+
X-Frame-Options:
123+
- SAMEORIGIN
124+
X-Permitted-Cross-Domain-Policies:
125+
- none
126+
X-Ratelimit-Limit:
127+
- "20000"
128+
X-Ratelimit-Remaining:
129+
- "18000"
130+
X-Ratelimit-Reset:
131+
- "1770619706"
132+
X-Runtime:
133+
- "0.008359"
134+
X-Vcap-Request-Id:
135+
- b4d98b87-2ab8-4e84-4b82-16107334746c::e2f971d3-6ebe-4d74-aeba-f016c54cbbf0
136+
X-Xss-Protection:
137+
- 1; mode=block
138+
status: 200 OK
139+
code: 200
140+
duration: 248.676625ms
141+
- id: 2
142+
request:
143+
proto: HTTP/1.1
144+
proto_major: 1
145+
proto_minor: 1
146+
content_length: 0
147+
transfer_encoding: []
148+
trailer: {}
149+
host: api.x.x.x.x.com
150+
remote_addr: ""
151+
request_uri: ""
152+
body: ""
153+
form: {}
154+
headers:
155+
Authorization:
156+
- Bearer redacted
157+
User-Agent:
158+
- Terraform/1.14.3 terraform-provider-cloudfoundry/dev
159+
url: https://api.x.x.x.x.com/v3/routes/985c396e-33a8-4d23-91d0-5a1a16c7833b
160+
method: GET
161+
response:
162+
proto: HTTP/2.0
163+
proto_major: 2
164+
proto_minor: 0
165+
transfer_encoding: []
166+
trailer: {}
167+
content_length: 893
168+
uncompressed: false
169+
body: '{"guid":"985c396e-33a8-4d23-91d0-5a1a16c7833b","created_at":"2026-02-09T06:32:05Z","updated_at":"2026-02-09T06:32:05Z","protocol":"http","host":"","path":"","port":null,"url":"test.cfapps.stagingazure.hanavlab.ondemand.com","destinations":[],"metadata":{"labels":{},"annotations":{}},"relationships":{"space":{"data":{"guid":"50655f6a-a66c-4276-b544-1d1aa864effd"}},"domain":{"data":{"guid":"d042f463-bda6-4036-95a8-f2abfa7287ee"}}},"links":{"self":{"href":"https://api.x.x.x.x.com/v3/routes/985c396e-33a8-4d23-91d0-5a1a16c7833b"},"space":{"href":"https://api.x.x.x.x.com/v3/spaces/50655f6a-a66c-4276-b544-1d1aa864effd"},"destinations":{"href":"https://api.x.x.x.x.com/v3/routes/985c396e-33a8-4d23-91d0-5a1a16c7833b/destinations"},"domain":{"href":"https://api.x.x.x.x.com/v3/domains/d042f463-bda6-4036-95a8-f2abfa7287ee"}},"options":{}}'
170+
headers:
171+
Content-Length:
172+
- "893"
173+
Content-Type:
174+
- application/json; charset=utf-8
175+
Date:
176+
- Mon, 09 Feb 2026 06:32:07 GMT
177+
Referrer-Policy:
178+
- strict-origin-when-cross-origin
179+
Strict-Transport-Security:
180+
- max-age=31536000; includeSubDomains; preload;
181+
X-B3-Spanid:
182+
- 449295f5bb38f756
183+
X-B3-Traceid:
184+
- c6ffeb1ad781430d449295f5bb38f756
185+
X-Content-Type-Options:
186+
- nosniff
187+
X-Download-Options:
188+
- noopen
189+
X-Frame-Options:
190+
- SAMEORIGIN
191+
X-Permitted-Cross-Domain-Policies:
192+
- none
193+
X-Ratelimit-Limit:
194+
- "20000"
195+
X-Ratelimit-Remaining:
196+
- "18000"
197+
X-Ratelimit-Reset:
198+
- "1770619706"
199+
X-Runtime:
200+
- "0.009891"
201+
X-Vcap-Request-Id:
202+
- c6ffeb1a-d781-430d-4492-95f5bb38f756::400442c3-3be2-46fd-aa58-86eb982ed165
203+
X-Xss-Protection:
204+
- 1; mode=block
205+
status: 200 OK
206+
code: 200
207+
duration: 245.403458ms
208+
- id: 3
209+
request:
210+
proto: HTTP/1.1
211+
proto_major: 1
212+
proto_minor: 1
213+
content_length: 0
214+
transfer_encoding: []
215+
trailer: {}
216+
host: api.x.x.x.x.com
217+
remote_addr: ""
218+
request_uri: ""
219+
body: ""
220+
form: {}
221+
headers:
222+
Authorization:
223+
- Bearer redacted
224+
User-Agent:
225+
- Terraform/1.14.3 terraform-provider-cloudfoundry/dev
226+
url: https://api.x.x.x.x.com/v3/routes/985c396e-33a8-4d23-91d0-5a1a16c7833b
227+
method: DELETE
228+
response:
229+
proto: HTTP/2.0
230+
proto_major: 2
231+
proto_minor: 0
232+
transfer_encoding: []
233+
trailer: {}
234+
content_length: 0
235+
uncompressed: false
236+
body: ""
237+
headers:
238+
Content-Length:
239+
- "0"
240+
Content-Type:
241+
- text/html
242+
Date:
243+
- Mon, 09 Feb 2026 06:32:08 GMT
244+
Location:
245+
- https://api.x.x.x.x.com/v3/jobs/a659ebdb-13cc-42db-95d2-06f051fb17bb
246+
Referrer-Policy:
247+
- strict-origin-when-cross-origin
248+
Strict-Transport-Security:
249+
- max-age=31536000; includeSubDomains; preload;
250+
X-B3-Spanid:
251+
- 67a5103916be9fcf
252+
X-B3-Traceid:
253+
- 6c2b737c6ec04b1a67a5103916be9fcf
254+
X-Content-Type-Options:
255+
- nosniff
256+
X-Download-Options:
257+
- noopen
258+
X-Frame-Options:
259+
- SAMEORIGIN
260+
X-Permitted-Cross-Domain-Policies:
261+
- none
262+
X-Ratelimit-Limit:
263+
- "20000"
264+
X-Ratelimit-Remaining:
265+
- "18000"
266+
X-Ratelimit-Reset:
267+
- "1770619706"
268+
X-Runtime:
269+
- "0.021535"
270+
X-Vcap-Request-Id:
271+
- 6c2b737c-6ec0-4b1a-67a5-103916be9fcf::b63da4f4-6dcd-4c05-bef8-cbea7ea85481
272+
X-Xss-Protection:
273+
- 1; mode=block
274+
status: 202 Accepted
275+
code: 202
276+
duration: 258.89775ms
277+
- id: 4
278+
request:
279+
proto: HTTP/1.1
280+
proto_major: 1
281+
proto_minor: 1
282+
content_length: 0
283+
transfer_encoding: []
284+
trailer: {}
285+
host: api.x.x.x.x.com
286+
remote_addr: ""
287+
request_uri: ""
288+
body: ""
289+
form: {}
290+
headers:
291+
Authorization:
292+
- Bearer redacted
293+
User-Agent:
294+
- Terraform/1.14.3 terraform-provider-cloudfoundry/dev
295+
url: https://api.x.x.x.x.com/v3/jobs/a659ebdb-13cc-42db-95d2-06f051fb17bb
296+
method: GET
297+
response:
298+
proto: HTTP/2.0
299+
proto_major: 2
300+
proto_minor: 0
301+
transfer_encoding: []
302+
trailer: {}
303+
content_length: 302
304+
uncompressed: false
305+
body: '{"guid":"a659ebdb-13cc-42db-95d2-06f051fb17bb","created_at":"2026-02-09T06:32:08Z","updated_at":"2026-02-09T06:32:08Z","operation":"route.delete","state":"COMPLETE","errors":[],"warnings":[],"links":{"self":{"href":"https://api.x.x.x.x.com/v3/jobs/a659ebdb-13cc-42db-95d2-06f051fb17bb"}}}'
306+
headers:
307+
Content-Length:
308+
- "302"
309+
Content-Type:
310+
- application/json; charset=utf-8
311+
Date:
312+
- Mon, 09 Feb 2026 06:32:10 GMT
313+
Referrer-Policy:
314+
- strict-origin-when-cross-origin
315+
Strict-Transport-Security:
316+
- max-age=31536000; includeSubDomains; preload;
317+
X-B3-Spanid:
318+
- 7db54b151a0cc63c
319+
X-B3-Traceid:
320+
- 6c92628afb034e747db54b151a0cc63c
321+
X-Content-Type-Options:
322+
- nosniff
323+
X-Download-Options:
324+
- noopen
325+
X-Frame-Options:
326+
- SAMEORIGIN
327+
X-Permitted-Cross-Domain-Policies:
328+
- none
329+
X-Ratelimit-Limit:
330+
- "20000"
331+
X-Ratelimit-Remaining:
332+
- "18000"
333+
X-Ratelimit-Reset:
334+
- "1770619706"
335+
X-Runtime:
336+
- "0.005082"
337+
X-Vcap-Request-Id:
338+
- 6c92628a-fb03-4e74-7db5-4b151a0cc63c::dc3d6ee0-678e-4e5f-89ae-6a51a41982ff
339+
X-Xss-Protection:
340+
- 1; mode=block
341+
status: 200 OK
342+
code: 200
343+
duration: 241.139ms

0 commit comments

Comments
 (0)