teamcity_ruby 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/teamcity_ruby/agent_pool.rb +39 -0
- data/lib/teamcity_ruby/version.rb +1 -1
- data/lib/teamcity_ruby.rb +1 -0
- data/spec/cassettes/TeamcityRuby_AgentPool/creates_an_agent_pool.yml +299 -0
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_a_build_step_added_to_it.yml +107 -107
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_a_build_trigger_added_to_it.yml +95 -95
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_a_vcs_root_attached_to_it_with_specific_checkout_rules.yml +109 -109
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_settings_definitions.yml +107 -107
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/fetches_a_specific_build_configuration_by_id.yml +83 -83
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/lists_all_build_configurations.yml +103 -169
- data/spec/cassettes/TeamcityRuby_Project/creates_a_project_copying_its_settings_from_a_source_project.yml +96 -96
- data/spec/cassettes/TeamcityRuby_Project/creates_a_project_with_a_parent_project.yml +49 -49
- data/spec/cassettes/TeamcityRuby_Project/destroys_a_specific_project.yml +69 -69
- data/spec/cassettes/TeamcityRuby_Project/fetches_a_specific_project_by_id_locator.yml +69 -69
- data/spec/cassettes/TeamcityRuby_Project/fetches_a_specific_project_by_name_locator.yml +59 -59
- data/spec/cassettes/TeamcityRuby_Project/lists_all_projects_including_root_built_in_on_TeamCity_.yml +71 -71
- data/spec/cassettes/TeamcityRuby_VcsRoot/lists_all_vcs_roots.yml +51 -51
- data/spec/spec_helper.rb +6 -0
- data/spec/teamcity_ruby/agent_pool_spec.rb +25 -0
- metadata +8 -3
@@ -1,5 +1,4 @@
|
|
1
1
|
---
|
2
|
-
recorded_with: VCR 2.4.0
|
3
2
|
http_interactions:
|
4
3
|
- request:
|
5
4
|
method: get
|
@@ -16,28 +15,28 @@ http_interactions:
|
|
16
15
|
code: 200
|
17
16
|
message: OK
|
18
17
|
headers:
|
19
|
-
Cache-Control:
|
20
|
-
- no-cache
|
21
|
-
- no-store
|
22
18
|
Set-Cookie:
|
23
19
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
24
|
-
- TCSESSIONID=
|
20
|
+
- TCSESSIONID=68D856D7F22AB83369C1DA1D47DF18D9; Path=/; HttpOnly
|
21
|
+
Pragma:
|
22
|
+
- no-cache
|
23
|
+
Content-Type:
|
24
|
+
- application/json
|
25
|
+
Server:
|
26
|
+
- Apache-Coyote/1.1
|
27
|
+
Date:
|
28
|
+
- Fri, 23 May 2014 07:28:38 GMT
|
25
29
|
Expires:
|
26
30
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
27
31
|
Transfer-Encoding:
|
28
32
|
- chunked
|
29
|
-
|
30
|
-
- Apache-Coyote/1.1
|
31
|
-
Pragma:
|
33
|
+
Cache-Control:
|
32
34
|
- no-cache
|
33
|
-
|
34
|
-
- Fri, 23 May 2014 05:17:10 GMT
|
35
|
-
Content-Type:
|
36
|
-
- application/json
|
35
|
+
- no-store
|
37
36
|
body:
|
38
37
|
string: "{\"project\":[{\"id\":\"_Root\",\"name\":\"<Root project>\",\"href\":\"/httpAuth/app/rest/projects/id:_Root\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=_Root\"},{\"id\":\"PetshopGroup\",\"name\":\"Petshop Group\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopGroup\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopGroup\",\"parentProjectId\":\"_Root\"},{\"id\":\"PetshopGroup_SampleProject\",\"name\":\"Sample Project\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopGroup_SampleProject\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopGroup_SampleProject\",\"parentProjectId\":\"PetshopGroup\"}]}"
|
39
38
|
http_version:
|
40
|
-
recorded_at: Fri, 23 May 2014
|
39
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
41
40
|
- request:
|
42
41
|
method: delete
|
43
42
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:_Root
|
@@ -53,31 +52,31 @@ http_interactions:
|
|
53
52
|
code: 403
|
54
53
|
message: Forbidden
|
55
54
|
headers:
|
56
|
-
Cache-Control:
|
57
|
-
- no-cache
|
58
|
-
- no-store
|
59
55
|
Set-Cookie:
|
60
56
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
61
|
-
- TCSESSIONID=
|
57
|
+
- TCSESSIONID=0286748F6223CA3927C525157F45C3A9; Path=/; HttpOnly
|
58
|
+
Pragma:
|
59
|
+
- no-cache
|
60
|
+
Content-Type:
|
61
|
+
- text/plain
|
62
|
+
Server:
|
63
|
+
- Apache-Coyote/1.1
|
64
|
+
Date:
|
65
|
+
- Fri, 23 May 2014 07:28:38 GMT
|
62
66
|
Expires:
|
63
67
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
64
68
|
Transfer-Encoding:
|
65
69
|
- chunked
|
66
|
-
|
67
|
-
- Apache-Coyote/1.1
|
68
|
-
Pragma:
|
70
|
+
Cache-Control:
|
69
71
|
- no-cache
|
70
|
-
|
71
|
-
- Fri, 23 May 2014 05:17:10 GMT
|
72
|
-
Content-Type:
|
73
|
-
- text/plain
|
72
|
+
- no-store
|
74
73
|
body:
|
75
74
|
string: |-
|
76
75
|
Error has occurred during request processing (Forbidden).
|
77
76
|
Error: jetbrains.buildServer.serverSide.auth.AccessDeniedException: Root project cannot be removed
|
78
77
|
Access denied. Check the user has enough permissions to perform the operation.
|
79
78
|
http_version:
|
80
|
-
recorded_at: Fri, 23 May 2014
|
79
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
81
80
|
- request:
|
82
81
|
method: delete
|
83
82
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:PetshopGroup
|
@@ -93,24 +92,24 @@ http_interactions:
|
|
93
92
|
code: 204
|
94
93
|
message: No Content
|
95
94
|
headers:
|
96
|
-
Cache-Control:
|
97
|
-
- no-cache
|
98
|
-
- no-store
|
99
95
|
Set-Cookie:
|
100
96
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
101
|
-
- TCSESSIONID=
|
102
|
-
Expires:
|
103
|
-
- Thu, 01 Jan 1970 00:00:00 GMT
|
104
|
-
Server:
|
105
|
-
- Apache-Coyote/1.1
|
97
|
+
- TCSESSIONID=DB23F978203DABFBCA6AF17220A84FD6; Path=/; HttpOnly
|
106
98
|
Pragma:
|
107
99
|
- no-cache
|
100
|
+
Server:
|
101
|
+
- Apache-Coyote/1.1
|
108
102
|
Date:
|
109
|
-
- Fri, 23 May 2014
|
103
|
+
- Fri, 23 May 2014 07:28:38 GMT
|
104
|
+
Expires:
|
105
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
106
|
+
Cache-Control:
|
107
|
+
- no-cache
|
108
|
+
- no-store
|
110
109
|
body:
|
111
110
|
string: ""
|
112
111
|
http_version:
|
113
|
-
recorded_at: Fri, 23 May 2014
|
112
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
114
113
|
- request:
|
115
114
|
method: delete
|
116
115
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:PetshopGroup_SampleProject
|
@@ -126,31 +125,31 @@ http_interactions:
|
|
126
125
|
code: 404
|
127
126
|
message: Not Found
|
128
127
|
headers:
|
129
|
-
Cache-Control:
|
130
|
-
- no-cache
|
131
|
-
- no-store
|
132
128
|
Set-Cookie:
|
133
129
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
134
|
-
- TCSESSIONID=
|
130
|
+
- TCSESSIONID=87F4A45DF1D38A74594271F34D0490BC; Path=/; HttpOnly
|
131
|
+
Pragma:
|
132
|
+
- no-cache
|
133
|
+
Content-Type:
|
134
|
+
- text/plain
|
135
|
+
Server:
|
136
|
+
- Apache-Coyote/1.1
|
137
|
+
Date:
|
138
|
+
- Fri, 23 May 2014 07:28:38 GMT
|
135
139
|
Expires:
|
136
140
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
137
141
|
Transfer-Encoding:
|
138
142
|
- chunked
|
139
|
-
|
140
|
-
- Apache-Coyote/1.1
|
141
|
-
Pragma:
|
143
|
+
Cache-Control:
|
142
144
|
- no-cache
|
143
|
-
|
144
|
-
- Fri, 23 May 2014 05:17:10 GMT
|
145
|
-
Content-Type:
|
146
|
-
- text/plain
|
145
|
+
- no-store
|
147
146
|
body:
|
148
147
|
string: |-
|
149
148
|
Error has occurred during request processing (Not Found).
|
150
149
|
Error: jetbrains.buildServer.server.rest.errors.NotFoundException: No project found by locator 'id:PetshopGroup_SampleProject'. Project cannot be found by external id 'PetshopGroup_SampleProject'.
|
151
150
|
Could not find the entity requested. Check the reference is correct and the user has permissions to access the entity.
|
152
151
|
http_version:
|
153
|
-
recorded_at: Fri, 23 May 2014
|
152
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
154
153
|
- request:
|
155
154
|
method: post
|
156
155
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
@@ -166,28 +165,28 @@ http_interactions:
|
|
166
165
|
code: 200
|
167
166
|
message: OK
|
168
167
|
headers:
|
169
|
-
Cache-Control:
|
170
|
-
- no-cache
|
171
|
-
- no-store
|
172
168
|
Set-Cookie:
|
173
169
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
174
|
-
- TCSESSIONID=
|
170
|
+
- TCSESSIONID=41D8B1143D0876077B56B2F62B48167B; Path=/; HttpOnly
|
171
|
+
Pragma:
|
172
|
+
- no-cache
|
173
|
+
Content-Type:
|
174
|
+
- application/json
|
175
|
+
Server:
|
176
|
+
- Apache-Coyote/1.1
|
177
|
+
Date:
|
178
|
+
- Fri, 23 May 2014 07:28:38 GMT
|
175
179
|
Expires:
|
176
180
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
177
181
|
Transfer-Encoding:
|
178
182
|
- chunked
|
179
|
-
|
180
|
-
- Apache-Coyote/1.1
|
181
|
-
Pragma:
|
183
|
+
Cache-Control:
|
182
184
|
- no-cache
|
183
|
-
|
184
|
-
- Fri, 23 May 2014 05:17:10 GMT
|
185
|
-
Content-Type:
|
186
|
-
- application/json
|
185
|
+
- no-store
|
187
186
|
body:
|
188
187
|
string: "{\"id\":\"BaseProject\",\"name\":\"Base Project\",\"href\":\"/httpAuth/app/rest/projects/id:BaseProject\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=BaseProject\",\"parentProjectId\":\"_Root\"}"
|
189
188
|
http_version:
|
190
|
-
recorded_at: Fri, 23 May 2014
|
189
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
191
190
|
- request:
|
192
191
|
method: put
|
193
192
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:BaseProject/description
|
@@ -203,33 +202,33 @@ http_interactions:
|
|
203
202
|
code: 200
|
204
203
|
message: OK
|
205
204
|
headers:
|
206
|
-
Cache-Control:
|
207
|
-
- no-cache
|
208
|
-
- no-store
|
209
205
|
Set-Cookie:
|
210
206
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
211
|
-
- TCSESSIONID=
|
207
|
+
- TCSESSIONID=5C32DA15D15B9D4729C0A70CA56159C2; Path=/; HttpOnly
|
208
|
+
Pragma:
|
209
|
+
- no-cache
|
210
|
+
Content-Type:
|
211
|
+
- text/plain
|
212
|
+
Server:
|
213
|
+
- Apache-Coyote/1.1
|
214
|
+
Date:
|
215
|
+
- Fri, 23 May 2014 07:28:38 GMT
|
212
216
|
Expires:
|
213
217
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
214
218
|
Transfer-Encoding:
|
215
219
|
- chunked
|
216
|
-
|
217
|
-
- Apache-Coyote/1.1
|
218
|
-
Pragma:
|
220
|
+
Cache-Control:
|
219
221
|
- no-cache
|
220
|
-
|
221
|
-
- Fri, 23 May 2014 05:17:10 GMT
|
222
|
-
Content-Type:
|
223
|
-
- text/plain
|
222
|
+
- no-store
|
224
223
|
body:
|
225
224
|
string: Base Project Description
|
226
225
|
http_version:
|
227
|
-
recorded_at: Fri, 23 May 2014
|
226
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
228
227
|
- request:
|
229
228
|
method: post
|
230
229
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
231
230
|
body:
|
232
|
-
string: "{\"
|
231
|
+
string: "{\"sourceProject\":{\"id\":\"BaseProject\"},\"name\":\"Project Copy\",\"copyAllAssociatedSettings\":\"true\"}"
|
233
232
|
headers:
|
234
233
|
Accept:
|
235
234
|
- application/json
|
@@ -240,28 +239,28 @@ http_interactions:
|
|
240
239
|
code: 200
|
241
240
|
message: OK
|
242
241
|
headers:
|
243
|
-
Cache-Control:
|
244
|
-
- no-cache
|
245
|
-
- no-store
|
246
242
|
Set-Cookie:
|
247
243
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
248
|
-
- TCSESSIONID=
|
244
|
+
- TCSESSIONID=3BBFAB18DBAC517C76D8C46B247F257F; Path=/; HttpOnly
|
245
|
+
Pragma:
|
246
|
+
- no-cache
|
247
|
+
Content-Type:
|
248
|
+
- application/json
|
249
|
+
Server:
|
250
|
+
- Apache-Coyote/1.1
|
251
|
+
Date:
|
252
|
+
- Fri, 23 May 2014 07:28:38 GMT
|
249
253
|
Expires:
|
250
254
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
251
255
|
Transfer-Encoding:
|
252
256
|
- chunked
|
253
|
-
|
254
|
-
- Apache-Coyote/1.1
|
255
|
-
Pragma:
|
257
|
+
Cache-Control:
|
256
258
|
- no-cache
|
257
|
-
|
258
|
-
- Fri, 23 May 2014 05:17:10 GMT
|
259
|
-
Content-Type:
|
260
|
-
- application/json
|
259
|
+
- no-store
|
261
260
|
body:
|
262
261
|
string: "{\"id\":\"ProjectCopy_2\",\"name\":\"Project Copy\",\"href\":\"/httpAuth/app/rest/projects/id:ProjectCopy_2\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=ProjectCopy_2\",\"parentProjectId\":\"_Root\"}"
|
263
262
|
http_version:
|
264
|
-
recorded_at: Fri, 23 May 2014
|
263
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
265
264
|
- request:
|
266
265
|
method: get
|
267
266
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:ProjectCopy_2/description
|
@@ -277,25 +276,26 @@ http_interactions:
|
|
277
276
|
code: 200
|
278
277
|
message: OK
|
279
278
|
headers:
|
280
|
-
Cache-Control:
|
281
|
-
- no-cache
|
282
|
-
- no-store
|
283
279
|
Set-Cookie:
|
284
280
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
285
|
-
- TCSESSIONID=
|
281
|
+
- TCSESSIONID=B92D3BD297FFB90EB214F4766DE0A384; Path=/; HttpOnly
|
282
|
+
Pragma:
|
283
|
+
- no-cache
|
284
|
+
Content-Type:
|
285
|
+
- text/plain
|
286
|
+
Server:
|
287
|
+
- Apache-Coyote/1.1
|
288
|
+
Date:
|
289
|
+
- Fri, 23 May 2014 07:28:38 GMT
|
286
290
|
Expires:
|
287
291
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
288
292
|
Transfer-Encoding:
|
289
293
|
- chunked
|
290
|
-
|
291
|
-
- Apache-Coyote/1.1
|
292
|
-
Pragma:
|
294
|
+
Cache-Control:
|
293
295
|
- no-cache
|
294
|
-
|
295
|
-
- Fri, 23 May 2014 05:17:10 GMT
|
296
|
-
Content-Type:
|
297
|
-
- text/plain
|
296
|
+
- no-store
|
298
297
|
body:
|
299
298
|
string: Base Project Description
|
300
299
|
http_version:
|
301
|
-
recorded_at: Fri, 23 May 2014
|
300
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
301
|
+
recorded_with: VCR 2.4.0
|
@@ -1,5 +1,4 @@
|
|
1
1
|
---
|
2
|
-
recorded_with: VCR 2.4.0
|
3
2
|
http_interactions:
|
4
3
|
- request:
|
5
4
|
method: get
|
@@ -16,28 +15,28 @@ http_interactions:
|
|
16
15
|
code: 200
|
17
16
|
message: OK
|
18
17
|
headers:
|
19
|
-
Cache-Control:
|
20
|
-
- no-cache
|
21
|
-
- no-store
|
22
18
|
Set-Cookie:
|
23
19
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
24
|
-
- TCSESSIONID=
|
20
|
+
- TCSESSIONID=BE499E20C3E3056E75F2165675C36B65; Path=/; HttpOnly
|
21
|
+
Pragma:
|
22
|
+
- no-cache
|
23
|
+
Content-Type:
|
24
|
+
- application/json
|
25
|
+
Server:
|
26
|
+
- Apache-Coyote/1.1
|
27
|
+
Date:
|
28
|
+
- Fri, 23 May 2014 07:28:37 GMT
|
25
29
|
Expires:
|
26
30
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
27
31
|
Transfer-Encoding:
|
28
32
|
- chunked
|
29
|
-
|
30
|
-
- Apache-Coyote/1.1
|
31
|
-
Pragma:
|
33
|
+
Cache-Control:
|
32
34
|
- no-cache
|
33
|
-
|
34
|
-
- Fri, 23 May 2014 05:17:10 GMT
|
35
|
-
Content-Type:
|
36
|
-
- application/json
|
35
|
+
- no-store
|
37
36
|
body:
|
38
37
|
string: "{\"project\":[{\"id\":\"_Root\",\"name\":\"<Root project>\",\"href\":\"/httpAuth/app/rest/projects/id:_Root\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=_Root\"}]}"
|
39
38
|
http_version:
|
40
|
-
recorded_at: Fri, 23 May 2014
|
39
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
41
40
|
- request:
|
42
41
|
method: delete
|
43
42
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:_Root
|
@@ -53,31 +52,31 @@ http_interactions:
|
|
53
52
|
code: 403
|
54
53
|
message: Forbidden
|
55
54
|
headers:
|
56
|
-
Cache-Control:
|
57
|
-
- no-cache
|
58
|
-
- no-store
|
59
55
|
Set-Cookie:
|
60
56
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
61
|
-
- TCSESSIONID=
|
57
|
+
- TCSESSIONID=F55D14B84901B6404B08534CD0993C4F; Path=/; HttpOnly
|
58
|
+
Pragma:
|
59
|
+
- no-cache
|
60
|
+
Content-Type:
|
61
|
+
- text/plain
|
62
|
+
Server:
|
63
|
+
- Apache-Coyote/1.1
|
64
|
+
Date:
|
65
|
+
- Fri, 23 May 2014 07:28:37 GMT
|
62
66
|
Expires:
|
63
67
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
64
68
|
Transfer-Encoding:
|
65
69
|
- chunked
|
66
|
-
|
67
|
-
- Apache-Coyote/1.1
|
68
|
-
Pragma:
|
70
|
+
Cache-Control:
|
69
71
|
- no-cache
|
70
|
-
|
71
|
-
- Fri, 23 May 2014 05:17:10 GMT
|
72
|
-
Content-Type:
|
73
|
-
- text/plain
|
72
|
+
- no-store
|
74
73
|
body:
|
75
74
|
string: |-
|
76
75
|
Error has occurred during request processing (Forbidden).
|
77
76
|
Error: jetbrains.buildServer.serverSide.auth.AccessDeniedException: Root project cannot be removed
|
78
77
|
Access denied. Check the user has enough permissions to perform the operation.
|
79
78
|
http_version:
|
80
|
-
recorded_at: Fri, 23 May 2014
|
79
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
81
80
|
- request:
|
82
81
|
method: post
|
83
82
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
@@ -93,28 +92,28 @@ http_interactions:
|
|
93
92
|
code: 200
|
94
93
|
message: OK
|
95
94
|
headers:
|
96
|
-
Cache-Control:
|
97
|
-
- no-cache
|
98
|
-
- no-store
|
99
95
|
Set-Cookie:
|
100
96
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
101
|
-
- TCSESSIONID=
|
97
|
+
- TCSESSIONID=412DAD591781513F4CBE61E39C6C190A; Path=/; HttpOnly
|
98
|
+
Pragma:
|
99
|
+
- no-cache
|
100
|
+
Content-Type:
|
101
|
+
- application/json
|
102
|
+
Server:
|
103
|
+
- Apache-Coyote/1.1
|
104
|
+
Date:
|
105
|
+
- Fri, 23 May 2014 07:28:37 GMT
|
102
106
|
Expires:
|
103
107
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
104
108
|
Transfer-Encoding:
|
105
109
|
- chunked
|
106
|
-
|
107
|
-
- Apache-Coyote/1.1
|
108
|
-
Pragma:
|
110
|
+
Cache-Control:
|
109
111
|
- no-cache
|
110
|
-
|
111
|
-
- Fri, 23 May 2014 05:17:10 GMT
|
112
|
-
Content-Type:
|
113
|
-
- application/json
|
112
|
+
- no-store
|
114
113
|
body:
|
115
114
|
string: "{\"id\":\"PetshopGroup\",\"name\":\"Petshop Group\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopGroup\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopGroup\",\"parentProjectId\":\"_Root\"}"
|
116
115
|
http_version:
|
117
|
-
recorded_at: Fri, 23 May 2014
|
116
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
118
117
|
- request:
|
119
118
|
method: post
|
120
119
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
@@ -130,25 +129,26 @@ http_interactions:
|
|
130
129
|
code: 200
|
131
130
|
message: OK
|
132
131
|
headers:
|
133
|
-
Cache-Control:
|
134
|
-
- no-cache
|
135
|
-
- no-store
|
136
132
|
Set-Cookie:
|
137
133
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
138
|
-
- TCSESSIONID=
|
134
|
+
- TCSESSIONID=5B579A363E832852DD49777ED2141FA4; Path=/; HttpOnly
|
135
|
+
Pragma:
|
136
|
+
- no-cache
|
137
|
+
Content-Type:
|
138
|
+
- application/json
|
139
|
+
Server:
|
140
|
+
- Apache-Coyote/1.1
|
141
|
+
Date:
|
142
|
+
- Fri, 23 May 2014 07:28:38 GMT
|
139
143
|
Expires:
|
140
144
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
141
145
|
Transfer-Encoding:
|
142
146
|
- chunked
|
143
|
-
|
144
|
-
- Apache-Coyote/1.1
|
145
|
-
Pragma:
|
147
|
+
Cache-Control:
|
146
148
|
- no-cache
|
147
|
-
|
148
|
-
- Fri, 23 May 2014 05:17:10 GMT
|
149
|
-
Content-Type:
|
150
|
-
- application/json
|
149
|
+
- no-store
|
151
150
|
body:
|
152
151
|
string: "{\"id\":\"PetshopGroup_SampleProject\",\"name\":\"Sample Project\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopGroup_SampleProject\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopGroup_SampleProject\",\"parentProjectId\":\"PetshopGroup\"}"
|
153
152
|
http_version:
|
154
|
-
recorded_at: Fri, 23 May 2014
|
153
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
154
|
+
recorded_with: VCR 2.4.0
|