teamcity_ruby 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/teamcity_ruby/build_configuration.rb +38 -15
- data/lib/teamcity_ruby/version.rb +1 -1
- data/lib/teamcity_ruby.rb +2 -0
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/{a_existing_build_configuration/can_get_a_build_step_added_to_it.yml → an_existing_build_configuration/has_a_build_step_added_to_it.yml} +103 -103
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/{a_existing_build_configuration/can_get_a_build_trigger_added_to_it.yml → an_existing_build_configuration/has_a_build_trigger_added_to_it.yml} +93 -93
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/{a_existing_build_configuration/can_get_a_vcs_root_attached_with_specific_checkout_rules.yml → an_existing_build_configuration/has_a_vcs_root_attached_to_it_with_specific_checkout_rules.yml} +106 -106
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_settings_definitions.yml +333 -0
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/fetches_a_specific_build_configuration_by_id.yml +80 -80
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/lists_all_build_configurations.yml +116 -116
- data/spec/cassettes/TeamcityRuby_Project/creates_a_project_copying_its_settings_from_a_source_project.yml +93 -93
- data/spec/cassettes/TeamcityRuby_Project/creates_a_project_with_a_parent_project.yml +48 -48
- data/spec/cassettes/TeamcityRuby_Project/destroys_a_specific_project.yml +64 -64
- data/spec/cassettes/TeamcityRuby_Project/fetches_a_specific_project_by_id_locator.yml +64 -64
- data/spec/cassettes/TeamcityRuby_Project/fetches_a_specific_project_by_name_locator.yml +56 -56
- data/spec/cassettes/TeamcityRuby_Project/lists_all_projects_including_root_built_in_on_TeamCity_.yml +68 -68
- data/spec/cassettes/TeamcityRuby_VcsRoot/lists_all_vcs_roots.yml +52 -52
- data/spec/spec_helper.rb +1 -0
- data/spec/teamcity_ruby/build_configuration_spec.rb +12 -4
- metadata +12 -10
@@ -17,27 +17,27 @@ http_interactions:
|
|
17
17
|
message: OK
|
18
18
|
headers:
|
19
19
|
Date:
|
20
|
-
-
|
21
|
-
Transfer-Encoding:
|
22
|
-
- chunked
|
20
|
+
- Fri, 23 May 2014 04:53:07 GMT
|
23
21
|
Server:
|
24
22
|
- Apache-Coyote/1.1
|
25
|
-
|
26
|
-
-
|
27
|
-
-
|
28
|
-
Content-Type:
|
29
|
-
- application/json
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
- no-store
|
30
26
|
Pragma:
|
31
27
|
- no-cache
|
28
|
+
Transfer-Encoding:
|
29
|
+
- chunked
|
30
|
+
Content-Type:
|
31
|
+
- application/json
|
32
|
+
Set-Cookie:
|
33
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
34
|
+
- TCSESSIONID=00CA02ACB66A2FC91578A3AC72FB183F; Path=/; HttpOnly
|
32
35
|
Expires:
|
33
36
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
34
|
-
Cache-Control:
|
35
|
-
- no-cache
|
36
|
-
- no-store
|
37
37
|
body:
|
38
38
|
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
39
|
http_version:
|
40
|
-
recorded_at:
|
40
|
+
recorded_at: Fri, 23 May 2014 04:53:07 GMT
|
41
41
|
- request:
|
42
42
|
method: delete
|
43
43
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:_Root
|
@@ -54,30 +54,30 @@ http_interactions:
|
|
54
54
|
message: Forbidden
|
55
55
|
headers:
|
56
56
|
Date:
|
57
|
-
-
|
58
|
-
Transfer-Encoding:
|
59
|
-
- chunked
|
57
|
+
- Fri, 23 May 2014 04:53:07 GMT
|
60
58
|
Server:
|
61
59
|
- Apache-Coyote/1.1
|
62
|
-
|
63
|
-
-
|
64
|
-
-
|
65
|
-
Content-Type:
|
66
|
-
- text/plain
|
60
|
+
Cache-Control:
|
61
|
+
- no-cache
|
62
|
+
- no-store
|
67
63
|
Pragma:
|
68
64
|
- no-cache
|
65
|
+
Transfer-Encoding:
|
66
|
+
- chunked
|
67
|
+
Content-Type:
|
68
|
+
- text/plain
|
69
|
+
Set-Cookie:
|
70
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
71
|
+
- TCSESSIONID=DE51D9D23528851FDC5CD4CC6670A96B; Path=/; HttpOnly
|
69
72
|
Expires:
|
70
73
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
71
|
-
Cache-Control:
|
72
|
-
- no-cache
|
73
|
-
- no-store
|
74
74
|
body:
|
75
75
|
string: |-
|
76
76
|
Error has occurred during request processing (Forbidden).
|
77
77
|
Error: jetbrains.buildServer.serverSide.auth.AccessDeniedException: Root project cannot be removed
|
78
78
|
Access denied. Check the user has enough permissions to perform the operation.
|
79
79
|
http_version:
|
80
|
-
recorded_at:
|
80
|
+
recorded_at: Fri, 23 May 2014 04:53:07 GMT
|
81
81
|
- request:
|
82
82
|
method: delete
|
83
83
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:PetshopGroup
|
@@ -94,23 +94,23 @@ http_interactions:
|
|
94
94
|
message: No Content
|
95
95
|
headers:
|
96
96
|
Date:
|
97
|
-
-
|
97
|
+
- Fri, 23 May 2014 04:53:07 GMT
|
98
98
|
Server:
|
99
99
|
- Apache-Coyote/1.1
|
100
|
-
|
101
|
-
-
|
102
|
-
-
|
100
|
+
Cache-Control:
|
101
|
+
- no-cache
|
102
|
+
- no-store
|
103
103
|
Pragma:
|
104
104
|
- no-cache
|
105
|
+
Set-Cookie:
|
106
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
107
|
+
- TCSESSIONID=E8125712E5AF173382921776D0575F64; Path=/; HttpOnly
|
105
108
|
Expires:
|
106
109
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
107
|
-
Cache-Control:
|
108
|
-
- no-cache
|
109
|
-
- no-store
|
110
110
|
body:
|
111
111
|
string: ""
|
112
112
|
http_version:
|
113
|
-
recorded_at:
|
113
|
+
recorded_at: Fri, 23 May 2014 04:53:07 GMT
|
114
114
|
- request:
|
115
115
|
method: delete
|
116
116
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:PetshopGroup_SampleProject
|
@@ -127,30 +127,30 @@ http_interactions:
|
|
127
127
|
message: Not Found
|
128
128
|
headers:
|
129
129
|
Date:
|
130
|
-
-
|
131
|
-
Transfer-Encoding:
|
132
|
-
- chunked
|
130
|
+
- Fri, 23 May 2014 04:53:07 GMT
|
133
131
|
Server:
|
134
132
|
- Apache-Coyote/1.1
|
135
|
-
|
136
|
-
-
|
137
|
-
-
|
138
|
-
Content-Type:
|
139
|
-
- text/plain
|
133
|
+
Cache-Control:
|
134
|
+
- no-cache
|
135
|
+
- no-store
|
140
136
|
Pragma:
|
141
137
|
- no-cache
|
138
|
+
Transfer-Encoding:
|
139
|
+
- chunked
|
140
|
+
Content-Type:
|
141
|
+
- text/plain
|
142
|
+
Set-Cookie:
|
143
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
144
|
+
- TCSESSIONID=99CDB49BF0B369091A13A47C4FEE5181; Path=/; HttpOnly
|
142
145
|
Expires:
|
143
146
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
144
|
-
Cache-Control:
|
145
|
-
- no-cache
|
146
|
-
- no-store
|
147
147
|
body:
|
148
148
|
string: |-
|
149
149
|
Error has occurred during request processing (Not Found).
|
150
150
|
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
151
|
Could not find the entity requested. Check the reference is correct and the user has permissions to access the entity.
|
152
152
|
http_version:
|
153
|
-
recorded_at:
|
153
|
+
recorded_at: Fri, 23 May 2014 04:53:07 GMT
|
154
154
|
- request:
|
155
155
|
method: post
|
156
156
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
@@ -167,27 +167,27 @@ http_interactions:
|
|
167
167
|
message: OK
|
168
168
|
headers:
|
169
169
|
Date:
|
170
|
-
-
|
171
|
-
Transfer-Encoding:
|
172
|
-
- chunked
|
170
|
+
- Fri, 23 May 2014 04:53:07 GMT
|
173
171
|
Server:
|
174
172
|
- Apache-Coyote/1.1
|
175
|
-
|
176
|
-
-
|
177
|
-
-
|
178
|
-
Content-Type:
|
179
|
-
- application/json
|
173
|
+
Cache-Control:
|
174
|
+
- no-cache
|
175
|
+
- no-store
|
180
176
|
Pragma:
|
181
177
|
- no-cache
|
178
|
+
Transfer-Encoding:
|
179
|
+
- chunked
|
180
|
+
Content-Type:
|
181
|
+
- application/json
|
182
|
+
Set-Cookie:
|
183
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
184
|
+
- TCSESSIONID=4AEA410858AE1C496D753E7C1254F2FC; Path=/; HttpOnly
|
182
185
|
Expires:
|
183
186
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
184
|
-
Cache-Control:
|
185
|
-
- no-cache
|
186
|
-
- no-store
|
187
187
|
body:
|
188
188
|
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
189
|
http_version:
|
190
|
-
recorded_at:
|
190
|
+
recorded_at: Fri, 23 May 2014 04:53:07 GMT
|
191
191
|
- request:
|
192
192
|
method: put
|
193
193
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:BaseProject/description
|
@@ -204,32 +204,32 @@ http_interactions:
|
|
204
204
|
message: OK
|
205
205
|
headers:
|
206
206
|
Date:
|
207
|
-
-
|
208
|
-
Transfer-Encoding:
|
209
|
-
- chunked
|
207
|
+
- Fri, 23 May 2014 04:53:07 GMT
|
210
208
|
Server:
|
211
209
|
- Apache-Coyote/1.1
|
212
|
-
|
213
|
-
-
|
214
|
-
-
|
215
|
-
Content-Type:
|
216
|
-
- text/plain
|
210
|
+
Cache-Control:
|
211
|
+
- no-cache
|
212
|
+
- no-store
|
217
213
|
Pragma:
|
218
214
|
- no-cache
|
215
|
+
Transfer-Encoding:
|
216
|
+
- chunked
|
217
|
+
Content-Type:
|
218
|
+
- text/plain
|
219
|
+
Set-Cookie:
|
220
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
221
|
+
- TCSESSIONID=3EEF682BA1F622901E03D0111C336B4B; Path=/; HttpOnly
|
219
222
|
Expires:
|
220
223
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
221
|
-
Cache-Control:
|
222
|
-
- no-cache
|
223
|
-
- no-store
|
224
224
|
body:
|
225
225
|
string: Base Project Description
|
226
226
|
http_version:
|
227
|
-
recorded_at:
|
227
|
+
recorded_at: Fri, 23 May 2014 04:53:07 GMT
|
228
228
|
- request:
|
229
229
|
method: post
|
230
230
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
231
231
|
body:
|
232
|
-
string: "{\"
|
232
|
+
string: "{\"name\":\"Project Copy\",\"copyAllAssociatedSettings\":\"true\",\"sourceProject\":{\"id\":\"BaseProject\"}}"
|
233
233
|
headers:
|
234
234
|
Accept:
|
235
235
|
- application/json
|
@@ -241,27 +241,27 @@ http_interactions:
|
|
241
241
|
message: OK
|
242
242
|
headers:
|
243
243
|
Date:
|
244
|
-
-
|
245
|
-
Transfer-Encoding:
|
246
|
-
- chunked
|
244
|
+
- Fri, 23 May 2014 04:53:07 GMT
|
247
245
|
Server:
|
248
246
|
- Apache-Coyote/1.1
|
249
|
-
|
250
|
-
-
|
251
|
-
-
|
252
|
-
Content-Type:
|
253
|
-
- application/json
|
247
|
+
Cache-Control:
|
248
|
+
- no-cache
|
249
|
+
- no-store
|
254
250
|
Pragma:
|
255
251
|
- no-cache
|
252
|
+
Transfer-Encoding:
|
253
|
+
- chunked
|
254
|
+
Content-Type:
|
255
|
+
- application/json
|
256
|
+
Set-Cookie:
|
257
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
258
|
+
- TCSESSIONID=A9A9A6E4CBE6A2EC884414DD81969405; Path=/; HttpOnly
|
256
259
|
Expires:
|
257
260
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
258
|
-
Cache-Control:
|
259
|
-
- no-cache
|
260
|
-
- no-store
|
261
261
|
body:
|
262
262
|
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
263
|
http_version:
|
264
|
-
recorded_at:
|
264
|
+
recorded_at: Fri, 23 May 2014 04:53:08 GMT
|
265
265
|
- request:
|
266
266
|
method: get
|
267
267
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:ProjectCopy_2/description
|
@@ -278,24 +278,24 @@ http_interactions:
|
|
278
278
|
message: OK
|
279
279
|
headers:
|
280
280
|
Date:
|
281
|
-
-
|
282
|
-
Transfer-Encoding:
|
283
|
-
- chunked
|
281
|
+
- Fri, 23 May 2014 04:53:07 GMT
|
284
282
|
Server:
|
285
283
|
- Apache-Coyote/1.1
|
286
|
-
|
287
|
-
-
|
288
|
-
-
|
289
|
-
Content-Type:
|
290
|
-
- text/plain
|
284
|
+
Cache-Control:
|
285
|
+
- no-cache
|
286
|
+
- no-store
|
291
287
|
Pragma:
|
292
288
|
- no-cache
|
289
|
+
Transfer-Encoding:
|
290
|
+
- chunked
|
291
|
+
Content-Type:
|
292
|
+
- text/plain
|
293
|
+
Set-Cookie:
|
294
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
295
|
+
- TCSESSIONID=0CD543A25FCA74837BE171E900B1BBBD; Path=/; HttpOnly
|
293
296
|
Expires:
|
294
297
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
295
|
-
Cache-Control:
|
296
|
-
- no-cache
|
297
|
-
- no-store
|
298
298
|
body:
|
299
299
|
string: Base Project Description
|
300
300
|
http_version:
|
301
|
-
recorded_at:
|
301
|
+
recorded_at: Fri, 23 May 2014 04:53:08 GMT
|
@@ -17,27 +17,27 @@ http_interactions:
|
|
17
17
|
message: OK
|
18
18
|
headers:
|
19
19
|
Date:
|
20
|
-
-
|
21
|
-
Transfer-Encoding:
|
22
|
-
- chunked
|
20
|
+
- Fri, 23 May 2014 04:53:07 GMT
|
23
21
|
Server:
|
24
22
|
- Apache-Coyote/1.1
|
25
|
-
|
26
|
-
-
|
27
|
-
-
|
28
|
-
Content-Type:
|
29
|
-
- application/json
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
- no-store
|
30
26
|
Pragma:
|
31
27
|
- no-cache
|
28
|
+
Transfer-Encoding:
|
29
|
+
- chunked
|
30
|
+
Content-Type:
|
31
|
+
- application/json
|
32
|
+
Set-Cookie:
|
33
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
34
|
+
- TCSESSIONID=EF2A981FD83D82726BD3FEAB2C6279EA; Path=/; HttpOnly
|
32
35
|
Expires:
|
33
36
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
34
|
-
Cache-Control:
|
35
|
-
- no-cache
|
36
|
-
- no-store
|
37
37
|
body:
|
38
38
|
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
39
|
http_version:
|
40
|
-
recorded_at:
|
40
|
+
recorded_at: Fri, 23 May 2014 04:53:07 GMT
|
41
41
|
- request:
|
42
42
|
method: delete
|
43
43
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:_Root
|
@@ -54,30 +54,30 @@ http_interactions:
|
|
54
54
|
message: Forbidden
|
55
55
|
headers:
|
56
56
|
Date:
|
57
|
-
-
|
58
|
-
Transfer-Encoding:
|
59
|
-
- chunked
|
57
|
+
- Fri, 23 May 2014 04:53:07 GMT
|
60
58
|
Server:
|
61
59
|
- Apache-Coyote/1.1
|
62
|
-
|
63
|
-
-
|
64
|
-
-
|
65
|
-
Content-Type:
|
66
|
-
- text/plain
|
60
|
+
Cache-Control:
|
61
|
+
- no-cache
|
62
|
+
- no-store
|
67
63
|
Pragma:
|
68
64
|
- no-cache
|
65
|
+
Transfer-Encoding:
|
66
|
+
- chunked
|
67
|
+
Content-Type:
|
68
|
+
- text/plain
|
69
|
+
Set-Cookie:
|
70
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
71
|
+
- TCSESSIONID=2189F0E47A49C1CDF31C69D9A19E66DC; Path=/; HttpOnly
|
69
72
|
Expires:
|
70
73
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
71
|
-
Cache-Control:
|
72
|
-
- no-cache
|
73
|
-
- no-store
|
74
74
|
body:
|
75
75
|
string: |-
|
76
76
|
Error has occurred during request processing (Forbidden).
|
77
77
|
Error: jetbrains.buildServer.serverSide.auth.AccessDeniedException: Root project cannot be removed
|
78
78
|
Access denied. Check the user has enough permissions to perform the operation.
|
79
79
|
http_version:
|
80
|
-
recorded_at:
|
80
|
+
recorded_at: Fri, 23 May 2014 04:53:07 GMT
|
81
81
|
- request:
|
82
82
|
method: post
|
83
83
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
@@ -94,27 +94,27 @@ http_interactions:
|
|
94
94
|
message: OK
|
95
95
|
headers:
|
96
96
|
Date:
|
97
|
-
-
|
98
|
-
Transfer-Encoding:
|
99
|
-
- chunked
|
97
|
+
- Fri, 23 May 2014 04:53:07 GMT
|
100
98
|
Server:
|
101
99
|
- Apache-Coyote/1.1
|
102
|
-
|
103
|
-
-
|
104
|
-
-
|
105
|
-
Content-Type:
|
106
|
-
- application/json
|
100
|
+
Cache-Control:
|
101
|
+
- no-cache
|
102
|
+
- no-store
|
107
103
|
Pragma:
|
108
104
|
- no-cache
|
105
|
+
Transfer-Encoding:
|
106
|
+
- chunked
|
107
|
+
Content-Type:
|
108
|
+
- application/json
|
109
|
+
Set-Cookie:
|
110
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
111
|
+
- TCSESSIONID=806B3A236B272FF55BEAC848CA48F271; Path=/; HttpOnly
|
109
112
|
Expires:
|
110
113
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
111
|
-
Cache-Control:
|
112
|
-
- no-cache
|
113
|
-
- no-store
|
114
114
|
body:
|
115
115
|
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
116
|
http_version:
|
117
|
-
recorded_at:
|
117
|
+
recorded_at: Fri, 23 May 2014 04:53:07 GMT
|
118
118
|
- request:
|
119
119
|
method: post
|
120
120
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
@@ -131,24 +131,24 @@ http_interactions:
|
|
131
131
|
message: OK
|
132
132
|
headers:
|
133
133
|
Date:
|
134
|
-
-
|
135
|
-
Transfer-Encoding:
|
136
|
-
- chunked
|
134
|
+
- Fri, 23 May 2014 04:53:07 GMT
|
137
135
|
Server:
|
138
136
|
- Apache-Coyote/1.1
|
139
|
-
|
140
|
-
-
|
141
|
-
-
|
142
|
-
Content-Type:
|
143
|
-
- application/json
|
137
|
+
Cache-Control:
|
138
|
+
- no-cache
|
139
|
+
- no-store
|
144
140
|
Pragma:
|
145
141
|
- no-cache
|
142
|
+
Transfer-Encoding:
|
143
|
+
- chunked
|
144
|
+
Content-Type:
|
145
|
+
- application/json
|
146
|
+
Set-Cookie:
|
147
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
148
|
+
- TCSESSIONID=04BF8F8750E185E66282021DA4C5E3CB; Path=/; HttpOnly
|
146
149
|
Expires:
|
147
150
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
148
|
-
Cache-Control:
|
149
|
-
- no-cache
|
150
|
-
- no-store
|
151
151
|
body:
|
152
152
|
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
153
|
http_version:
|
154
|
-
recorded_at:
|
154
|
+
recorded_at: Fri, 23 May 2014 04:53:07 GMT
|