teamcity_ruby 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (17) hide show
  1. data/lib/teamcity_ruby/vcs_root.rb +10 -4
  2. data/lib/teamcity_ruby/version.rb +1 -1
  3. data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_a_build_step_added_to_it.yml +103 -103
  4. data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_a_build_trigger_added_to_it.yml +93 -93
  5. data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_a_vcs_root_attached_to_it_with_specific_checkout_rules.yml +106 -106
  6. data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_settings_definitions.yml +104 -104
  7. data/spec/cassettes/TeamcityRuby_BuildConfiguration/fetches_a_specific_build_configuration_by_id.yml +80 -80
  8. data/spec/cassettes/TeamcityRuby_BuildConfiguration/lists_all_build_configurations.yml +116 -116
  9. data/spec/cassettes/TeamcityRuby_Project/creates_a_project_copying_its_settings_from_a_source_project.yml +93 -93
  10. data/spec/cassettes/TeamcityRuby_Project/creates_a_project_with_a_parent_project.yml +48 -48
  11. data/spec/cassettes/TeamcityRuby_Project/destroys_a_specific_project.yml +64 -64
  12. data/spec/cassettes/TeamcityRuby_Project/fetches_a_specific_project_by_id_locator.yml +64 -64
  13. data/spec/cassettes/TeamcityRuby_Project/fetches_a_specific_project_by_name_locator.yml +56 -56
  14. data/spec/cassettes/TeamcityRuby_Project/lists_all_projects_including_root_built_in_on_TeamCity_.yml +68 -68
  15. data/spec/cassettes/TeamcityRuby_VcsRoot/lists_all_vcs_roots.yml +50 -50
  16. data/spec/teamcity_ruby/vcs_root_spec.rb +21 -0
  17. metadata +3 -3
@@ -16,28 +16,28 @@ http_interactions:
16
16
  code: 200
17
17
  message: OK
18
18
  headers:
19
- Date:
20
- - Fri, 23 May 2014 04:53:06 GMT
21
- Server:
22
- - Apache-Coyote/1.1
23
19
  Cache-Control:
24
20
  - no-cache
25
21
  - no-store
26
- Pragma:
27
- - no-cache
28
- Transfer-Encoding:
29
- - chunked
30
- Content-Type:
31
- - application/json
32
22
  Set-Cookie:
33
23
  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
34
- - TCSESSIONID=483FF27D8B5E38EB872E06353E767C28; Path=/; HttpOnly
24
+ - TCSESSIONID=F2802B649E24C6DD6A3A805A24ACBA5C; Path=/; HttpOnly
35
25
  Expires:
36
26
  - Thu, 01 Jan 1970 00:00:00 GMT
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Server:
30
+ - Apache-Coyote/1.1
31
+ Pragma:
32
+ - no-cache
33
+ Date:
34
+ - Fri, 23 May 2014 05:17:09 GMT
35
+ Content-Type:
36
+ - application/json
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\":\"PetshopApp\",\"name\":\"Petshop App\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopApp\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopApp\",\"parentProjectId\":\"_Root\"}]}"
39
39
  http_version:
40
- recorded_at: Fri, 23 May 2014 04:53:07 GMT
40
+ recorded_at: Fri, 23 May 2014 05:17:10 GMT
41
41
  - request:
42
42
  method: delete
43
43
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:_Root
@@ -53,31 +53,31 @@ http_interactions:
53
53
  code: 403
54
54
  message: Forbidden
55
55
  headers:
56
- Date:
57
- - Fri, 23 May 2014 04:53:06 GMT
58
- Server:
59
- - Apache-Coyote/1.1
60
56
  Cache-Control:
61
57
  - no-cache
62
58
  - no-store
63
- Pragma:
64
- - no-cache
65
- Transfer-Encoding:
66
- - chunked
67
- Content-Type:
68
- - text/plain
69
59
  Set-Cookie:
70
60
  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
71
- - TCSESSIONID=5D5A0414896BE6E9DFDFCA86A45A3618; Path=/; HttpOnly
61
+ - TCSESSIONID=65E61FF06FB23B14DF804BFAF7810388; Path=/; HttpOnly
72
62
  Expires:
73
63
  - Thu, 01 Jan 1970 00:00:00 GMT
64
+ Transfer-Encoding:
65
+ - chunked
66
+ Server:
67
+ - Apache-Coyote/1.1
68
+ Pragma:
69
+ - no-cache
70
+ Date:
71
+ - Fri, 23 May 2014 05:17:09 GMT
72
+ Content-Type:
73
+ - text/plain
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: Fri, 23 May 2014 04:53:07 GMT
80
+ recorded_at: Fri, 23 May 2014 05:17:10 GMT
81
81
  - request:
82
82
  method: delete
83
83
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:PetshopApp
@@ -93,24 +93,24 @@ http_interactions:
93
93
  code: 204
94
94
  message: No Content
95
95
  headers:
96
- Date:
97
- - Fri, 23 May 2014 04:53:06 GMT
98
- Server:
99
- - Apache-Coyote/1.1
100
96
  Cache-Control:
101
97
  - no-cache
102
98
  - no-store
103
- Pragma:
104
- - no-cache
105
99
  Set-Cookie:
106
100
  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
107
- - TCSESSIONID=6D350A49FFA354514F85EA21EFA8DD29; Path=/; HttpOnly
101
+ - TCSESSIONID=4E4199B66703A273F5D208CB689A1C2D; Path=/; HttpOnly
108
102
  Expires:
109
103
  - Thu, 01 Jan 1970 00:00:00 GMT
104
+ Server:
105
+ - Apache-Coyote/1.1
106
+ Pragma:
107
+ - no-cache
108
+ Date:
109
+ - Fri, 23 May 2014 05:17:09 GMT
110
110
  body:
111
111
  string: ""
112
112
  http_version:
113
- recorded_at: Fri, 23 May 2014 04:53:07 GMT
113
+ recorded_at: Fri, 23 May 2014 05:17:10 GMT
114
114
  - request:
115
115
  method: post
116
116
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
@@ -126,28 +126,28 @@ http_interactions:
126
126
  code: 200
127
127
  message: OK
128
128
  headers:
129
- Date:
130
- - Fri, 23 May 2014 04:53:07 GMT
131
- Server:
132
- - Apache-Coyote/1.1
133
129
  Cache-Control:
134
130
  - no-cache
135
131
  - no-store
136
- Pragma:
137
- - no-cache
138
- Transfer-Encoding:
139
- - chunked
140
- Content-Type:
141
- - application/json
142
132
  Set-Cookie:
143
133
  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
144
- - TCSESSIONID=DBF58CC09A7BA6DC00E039B2E400175B; Path=/; HttpOnly
134
+ - TCSESSIONID=38C39AFE94AEEBCE9846275DB48DEFA8; Path=/; HttpOnly
145
135
  Expires:
146
136
  - Thu, 01 Jan 1970 00:00:00 GMT
137
+ Transfer-Encoding:
138
+ - chunked
139
+ Server:
140
+ - Apache-Coyote/1.1
141
+ Pragma:
142
+ - no-cache
143
+ Date:
144
+ - Fri, 23 May 2014 05:17:09 GMT
145
+ Content-Type:
146
+ - application/json
147
147
  body:
148
148
  string: "{\"id\":\"PetshopApp\",\"name\":\"Petshop App\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopApp\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopApp\",\"parentProjectId\":\"_Root\"}"
149
149
  http_version:
150
- recorded_at: Fri, 23 May 2014 04:53:07 GMT
150
+ recorded_at: Fri, 23 May 2014 05:17:10 GMT
151
151
  - request:
152
152
  method: delete
153
153
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:PetshopApp
@@ -163,24 +163,24 @@ http_interactions:
163
163
  code: 204
164
164
  message: No Content
165
165
  headers:
166
- Date:
167
- - Fri, 23 May 2014 04:53:07 GMT
168
- Server:
169
- - Apache-Coyote/1.1
170
166
  Cache-Control:
171
167
  - no-cache
172
168
  - no-store
173
- Pragma:
174
- - no-cache
175
169
  Set-Cookie:
176
170
  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
177
- - TCSESSIONID=9703AF8F952E21B924D05A9A4283B285; Path=/; HttpOnly
171
+ - TCSESSIONID=024987CACB7B66414D71864C387E1B50; Path=/; HttpOnly
178
172
  Expires:
179
173
  - Thu, 01 Jan 1970 00:00:00 GMT
174
+ Server:
175
+ - Apache-Coyote/1.1
176
+ Pragma:
177
+ - no-cache
178
+ Date:
179
+ - Fri, 23 May 2014 05:17:09 GMT
180
180
  body:
181
181
  string: ""
182
182
  http_version:
183
- recorded_at: Fri, 23 May 2014 04:53:07 GMT
183
+ recorded_at: Fri, 23 May 2014 05:17:10 GMT
184
184
  - request:
185
185
  method: get
186
186
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:PetshopApp
@@ -196,28 +196,28 @@ http_interactions:
196
196
  code: 404
197
197
  message: Not Found
198
198
  headers:
199
- Date:
200
- - Fri, 23 May 2014 04:53:07 GMT
201
- Server:
202
- - Apache-Coyote/1.1
203
199
  Cache-Control:
204
200
  - no-cache
205
201
  - no-store
206
- Pragma:
207
- - no-cache
208
- Transfer-Encoding:
209
- - chunked
210
- Content-Type:
211
- - text/plain
212
202
  Set-Cookie:
213
203
  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
214
- - TCSESSIONID=62CCBA7B12A27F36489CD13D135D3842; Path=/; HttpOnly
204
+ - TCSESSIONID=A4D643E1EEC95FC06F11462C947BFD6F; Path=/; HttpOnly
215
205
  Expires:
216
206
  - Thu, 01 Jan 1970 00:00:00 GMT
207
+ Transfer-Encoding:
208
+ - chunked
209
+ Server:
210
+ - Apache-Coyote/1.1
211
+ Pragma:
212
+ - no-cache
213
+ Date:
214
+ - Fri, 23 May 2014 05:17:09 GMT
215
+ Content-Type:
216
+ - text/plain
217
217
  body:
218
218
  string: |-
219
219
  Error has occurred during request processing (Not Found).
220
220
  Error: jetbrains.buildServer.server.rest.errors.NotFoundException: No project found by locator 'id:PetshopApp'. Project cannot be found by external id 'PetshopApp'.
221
221
  Could not find the entity requested. Check the reference is correct and the user has permissions to access the entity.
222
222
  http_version:
223
- recorded_at: Fri, 23 May 2014 04:53:07 GMT
223
+ recorded_at: Fri, 23 May 2014 05:17:10 GMT
@@ -16,28 +16,28 @@ http_interactions:
16
16
  code: 200
17
17
  message: OK
18
18
  headers:
19
- Date:
20
- - Fri, 23 May 2014 04:53:06 GMT
21
- Server:
22
- - Apache-Coyote/1.1
23
19
  Cache-Control:
24
20
  - no-cache
25
21
  - no-store
26
- Pragma:
27
- - no-cache
28
- Transfer-Encoding:
29
- - chunked
30
- Content-Type:
31
- - application/json
32
22
  Set-Cookie:
33
23
  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
34
- - TCSESSIONID=542CA78D7C7BD13CCCB810A53F21194B; Path=/; HttpOnly
24
+ - TCSESSIONID=FDA8A5A9F46D3AD0BF2A6723CDA1C6E8; Path=/; HttpOnly
35
25
  Expires:
36
26
  - Thu, 01 Jan 1970 00:00:00 GMT
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Server:
30
+ - Apache-Coyote/1.1
31
+ Pragma:
32
+ - no-cache
33
+ Date:
34
+ - Fri, 23 May 2014 05:17:09 GMT
35
+ Content-Type:
36
+ - application/json
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\":\"Project1\",\"name\":\"Project 1\",\"href\":\"/httpAuth/app/rest/projects/id:Project1\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=Project1\",\"parentProjectId\":\"_Root\"},{\"id\":\"Project2\",\"name\":\"Project 2\",\"href\":\"/httpAuth/app/rest/projects/id:Project2\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=Project2\",\"parentProjectId\":\"_Root\"}]}"
39
39
  http_version:
40
- recorded_at: Fri, 23 May 2014 04:53:07 GMT
40
+ recorded_at: Fri, 23 May 2014 05:17:10 GMT
41
41
  - request:
42
42
  method: delete
43
43
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:_Root
@@ -53,31 +53,31 @@ http_interactions:
53
53
  code: 403
54
54
  message: Forbidden
55
55
  headers:
56
- Date:
57
- - Fri, 23 May 2014 04:53:06 GMT
58
- Server:
59
- - Apache-Coyote/1.1
60
56
  Cache-Control:
61
57
  - no-cache
62
58
  - no-store
63
- Pragma:
64
- - no-cache
65
- Transfer-Encoding:
66
- - chunked
67
- Content-Type:
68
- - text/plain
69
59
  Set-Cookie:
70
60
  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
71
- - TCSESSIONID=6D720B584305249972D7D3D8900F128F; Path=/; HttpOnly
61
+ - TCSESSIONID=A37CD616E066A482E3A9483176F00C30; Path=/; HttpOnly
72
62
  Expires:
73
63
  - Thu, 01 Jan 1970 00:00:00 GMT
64
+ Transfer-Encoding:
65
+ - chunked
66
+ Server:
67
+ - Apache-Coyote/1.1
68
+ Pragma:
69
+ - no-cache
70
+ Date:
71
+ - Fri, 23 May 2014 05:17:09 GMT
72
+ Content-Type:
73
+ - text/plain
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: Fri, 23 May 2014 04:53:07 GMT
80
+ recorded_at: Fri, 23 May 2014 05:17:10 GMT
81
81
  - request:
82
82
  method: delete
83
83
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:Project1
@@ -93,24 +93,24 @@ http_interactions:
93
93
  code: 204
94
94
  message: No Content
95
95
  headers:
96
- Date:
97
- - Fri, 23 May 2014 04:53:06 GMT
98
- Server:
99
- - Apache-Coyote/1.1
100
96
  Cache-Control:
101
97
  - no-cache
102
98
  - no-store
103
- Pragma:
104
- - no-cache
105
99
  Set-Cookie:
106
100
  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
107
- - TCSESSIONID=BB10A2FDB58FA0A31B02C7FC6A68B79D; Path=/; HttpOnly
101
+ - TCSESSIONID=12B67A8B7E2BC338F54FABA532BFB036; Path=/; HttpOnly
108
102
  Expires:
109
103
  - Thu, 01 Jan 1970 00:00:00 GMT
104
+ Server:
105
+ - Apache-Coyote/1.1
106
+ Pragma:
107
+ - no-cache
108
+ Date:
109
+ - Fri, 23 May 2014 05:17:09 GMT
110
110
  body:
111
111
  string: ""
112
112
  http_version:
113
- recorded_at: Fri, 23 May 2014 04:53:07 GMT
113
+ recorded_at: Fri, 23 May 2014 05:17:10 GMT
114
114
  - request:
115
115
  method: delete
116
116
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:Project2
@@ -126,24 +126,24 @@ http_interactions:
126
126
  code: 204
127
127
  message: No Content
128
128
  headers:
129
- Date:
130
- - Fri, 23 May 2014 04:53:06 GMT
131
- Server:
132
- - Apache-Coyote/1.1
133
129
  Cache-Control:
134
130
  - no-cache
135
131
  - no-store
136
- Pragma:
137
- - no-cache
138
132
  Set-Cookie:
139
133
  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
140
- - TCSESSIONID=E3F8F8E5E2D7C25F4B3F8C1FB62BEAAC; Path=/; HttpOnly
134
+ - TCSESSIONID=69A638DE87A53FCBA5C8A4AAE2D9D429; Path=/; HttpOnly
141
135
  Expires:
142
136
  - Thu, 01 Jan 1970 00:00:00 GMT
137
+ Server:
138
+ - Apache-Coyote/1.1
139
+ Pragma:
140
+ - no-cache
141
+ Date:
142
+ - Fri, 23 May 2014 05:17:09 GMT
143
143
  body:
144
144
  string: ""
145
145
  http_version:
146
- recorded_at: Fri, 23 May 2014 04:53:07 GMT
146
+ recorded_at: Fri, 23 May 2014 05:17:10 GMT
147
147
  - request:
148
148
  method: post
149
149
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
@@ -159,28 +159,28 @@ http_interactions:
159
159
  code: 200
160
160
  message: OK
161
161
  headers:
162
- Date:
163
- - Fri, 23 May 2014 04:53:06 GMT
164
- Server:
165
- - Apache-Coyote/1.1
166
162
  Cache-Control:
167
163
  - no-cache
168
164
  - no-store
169
- Pragma:
170
- - no-cache
171
- Transfer-Encoding:
172
- - chunked
173
- Content-Type:
174
- - application/json
175
165
  Set-Cookie:
176
166
  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
177
- - TCSESSIONID=D3C2EC0DE4E57952D5F11FCC3B4017C8; Path=/; HttpOnly
167
+ - TCSESSIONID=8DD7470A84DA5E2028D272B20C6B12DE; Path=/; HttpOnly
178
168
  Expires:
179
169
  - Thu, 01 Jan 1970 00:00:00 GMT
170
+ Transfer-Encoding:
171
+ - chunked
172
+ Server:
173
+ - Apache-Coyote/1.1
174
+ Pragma:
175
+ - no-cache
176
+ Date:
177
+ - Fri, 23 May 2014 05:17:09 GMT
178
+ Content-Type:
179
+ - application/json
180
180
  body:
181
181
  string: "{\"id\":\"PetshopApp\",\"name\":\"Petshop App\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopApp\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopApp\",\"parentProjectId\":\"_Root\"}"
182
182
  http_version:
183
- recorded_at: Fri, 23 May 2014 04:53:07 GMT
183
+ recorded_at: Fri, 23 May 2014 05:17:10 GMT
184
184
  - request:
185
185
  method: get
186
186
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:PetshopApp
@@ -196,25 +196,25 @@ http_interactions:
196
196
  code: 200
197
197
  message: OK
198
198
  headers:
199
- Date:
200
- - Fri, 23 May 2014 04:53:06 GMT
201
- Server:
202
- - Apache-Coyote/1.1
203
199
  Cache-Control:
204
200
  - no-cache
205
201
  - no-store
206
- Pragma:
207
- - no-cache
208
- Transfer-Encoding:
209
- - chunked
210
- Content-Type:
211
- - application/json
212
202
  Set-Cookie:
213
203
  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
214
- - TCSESSIONID=56261B6D66694761A122B519050C1BEC; Path=/; HttpOnly
204
+ - TCSESSIONID=A5B85AECEA6F0DAD83145A3C37DCB5CD; Path=/; HttpOnly
215
205
  Expires:
216
206
  - Thu, 01 Jan 1970 00:00:00 GMT
207
+ Transfer-Encoding:
208
+ - chunked
209
+ Server:
210
+ - Apache-Coyote/1.1
211
+ Pragma:
212
+ - no-cache
213
+ Date:
214
+ - Fri, 23 May 2014 05:17:09 GMT
215
+ Content-Type:
216
+ - application/json
217
217
  body:
218
218
  string: "{\"id\":\"PetshopApp\",\"name\":\"Petshop App\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopApp\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopApp\",\"parentProjectId\":\"_Root\"}"
219
219
  http_version:
220
- recorded_at: Fri, 23 May 2014 04:53:07 GMT
220
+ recorded_at: Fri, 23 May 2014 05:17:10 GMT
@@ -16,28 +16,28 @@ http_interactions:
16
16
  code: 200
17
17
  message: OK
18
18
  headers:
19
- Date:
20
- - Fri, 23 May 2014 04:53:06 GMT
21
- Server:
22
- - Apache-Coyote/1.1
23
19
  Cache-Control:
24
20
  - no-cache
25
21
  - no-store
26
- Pragma:
27
- - no-cache
28
- Transfer-Encoding:
29
- - chunked
30
- Content-Type:
31
- - application/json
32
22
  Set-Cookie:
33
23
  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
34
- - TCSESSIONID=61EA2737F76B4EA0E9D410F3A026353B; Path=/; HttpOnly
24
+ - TCSESSIONID=0867ECD5BE8BE0DF10C5D58E0AA5285A; Path=/; HttpOnly
35
25
  Expires:
36
26
  - Thu, 01 Jan 1970 00:00:00 GMT
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Server:
30
+ - Apache-Coyote/1.1
31
+ Pragma:
32
+ - no-cache
33
+ Date:
34
+ - Fri, 23 May 2014 05:17:09 GMT
35
+ Content-Type:
36
+ - application/json
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\":\"PetshopApp\",\"name\":\"Petshop App\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopApp\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopApp\",\"parentProjectId\":\"_Root\"}]}"
39
39
  http_version:
40
- recorded_at: Fri, 23 May 2014 04:53:07 GMT
40
+ recorded_at: Fri, 23 May 2014 05:17:10 GMT
41
41
  - request:
42
42
  method: delete
43
43
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:_Root
@@ -53,31 +53,31 @@ http_interactions:
53
53
  code: 403
54
54
  message: Forbidden
55
55
  headers:
56
- Date:
57
- - Fri, 23 May 2014 04:53:06 GMT
58
- Server:
59
- - Apache-Coyote/1.1
60
56
  Cache-Control:
61
57
  - no-cache
62
58
  - no-store
63
- Pragma:
64
- - no-cache
65
- Transfer-Encoding:
66
- - chunked
67
- Content-Type:
68
- - text/plain
69
59
  Set-Cookie:
70
60
  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
71
- - TCSESSIONID=6ABB5ABF144B56612C0310127F42AB1A; Path=/; HttpOnly
61
+ - TCSESSIONID=CD67E53549BF14922D1EAFD5A08F3C54; Path=/; HttpOnly
72
62
  Expires:
73
63
  - Thu, 01 Jan 1970 00:00:00 GMT
64
+ Transfer-Encoding:
65
+ - chunked
66
+ Server:
67
+ - Apache-Coyote/1.1
68
+ Pragma:
69
+ - no-cache
70
+ Date:
71
+ - Fri, 23 May 2014 05:17:09 GMT
72
+ Content-Type:
73
+ - text/plain
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: Fri, 23 May 2014 04:53:07 GMT
80
+ recorded_at: Fri, 23 May 2014 05:17:10 GMT
81
81
  - request:
82
82
  method: delete
83
83
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:PetshopApp
@@ -93,24 +93,24 @@ http_interactions:
93
93
  code: 204
94
94
  message: No Content
95
95
  headers:
96
- Date:
97
- - Fri, 23 May 2014 04:53:06 GMT
98
- Server:
99
- - Apache-Coyote/1.1
100
96
  Cache-Control:
101
97
  - no-cache
102
98
  - no-store
103
- Pragma:
104
- - no-cache
105
99
  Set-Cookie:
106
100
  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
107
- - TCSESSIONID=55D42014417F88B97C430B82185E6FD7; Path=/; HttpOnly
101
+ - TCSESSIONID=C3EEAF1D48D31861608937B18D0195B2; Path=/; HttpOnly
108
102
  Expires:
109
103
  - Thu, 01 Jan 1970 00:00:00 GMT
104
+ Server:
105
+ - Apache-Coyote/1.1
106
+ Pragma:
107
+ - no-cache
108
+ Date:
109
+ - Fri, 23 May 2014 05:17:09 GMT
110
110
  body:
111
111
  string: ""
112
112
  http_version:
113
- recorded_at: Fri, 23 May 2014 04:53:07 GMT
113
+ recorded_at: Fri, 23 May 2014 05:17:10 GMT
114
114
  - request:
115
115
  method: post
116
116
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
@@ -126,28 +126,28 @@ http_interactions:
126
126
  code: 200
127
127
  message: OK
128
128
  headers:
129
- Date:
130
- - Fri, 23 May 2014 04:53:06 GMT
131
- Server:
132
- - Apache-Coyote/1.1
133
129
  Cache-Control:
134
130
  - no-cache
135
131
  - no-store
136
- Pragma:
137
- - no-cache
138
- Transfer-Encoding:
139
- - chunked
140
- Content-Type:
141
- - application/json
142
132
  Set-Cookie:
143
133
  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
144
- - TCSESSIONID=39181D1BBF886DE6F94C83DB44674AFB; Path=/; HttpOnly
134
+ - TCSESSIONID=942CDC373625B294E52C9893F0835F62; Path=/; HttpOnly
145
135
  Expires:
146
136
  - Thu, 01 Jan 1970 00:00:00 GMT
137
+ Transfer-Encoding:
138
+ - chunked
139
+ Server:
140
+ - Apache-Coyote/1.1
141
+ Pragma:
142
+ - no-cache
143
+ Date:
144
+ - Fri, 23 May 2014 05:17:09 GMT
145
+ Content-Type:
146
+ - application/json
147
147
  body:
148
148
  string: "{\"id\":\"PetshopApp\",\"name\":\"Petshop App\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopApp\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopApp\",\"parentProjectId\":\"_Root\"}"
149
149
  http_version:
150
- recorded_at: Fri, 23 May 2014 04:53:07 GMT
150
+ recorded_at: Fri, 23 May 2014 05:17:10 GMT
151
151
  - request:
152
152
  method: get
153
153
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/name:Petshop%20App
@@ -163,25 +163,25 @@ http_interactions:
163
163
  code: 200
164
164
  message: OK
165
165
  headers:
166
- Date:
167
- - Fri, 23 May 2014 04:53:06 GMT
168
- Server:
169
- - Apache-Coyote/1.1
170
166
  Cache-Control:
171
167
  - no-cache
172
168
  - no-store
173
- Pragma:
174
- - no-cache
175
- Transfer-Encoding:
176
- - chunked
177
- Content-Type:
178
- - application/json
179
169
  Set-Cookie:
180
170
  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
181
- - TCSESSIONID=A5F83F0ABEA8DB1ED14AA4845429AD75; Path=/; HttpOnly
171
+ - TCSESSIONID=EBC28B7FEA396F4748652DCDF458F6ED; Path=/; HttpOnly
182
172
  Expires:
183
173
  - Thu, 01 Jan 1970 00:00:00 GMT
174
+ Transfer-Encoding:
175
+ - chunked
176
+ Server:
177
+ - Apache-Coyote/1.1
178
+ Pragma:
179
+ - no-cache
180
+ Date:
181
+ - Fri, 23 May 2014 05:17:09 GMT
182
+ Content-Type:
183
+ - application/json
184
184
  body:
185
185
  string: "{\"id\":\"PetshopApp\",\"name\":\"Petshop App\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopApp\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopApp\",\"parentProjectId\":\"_Root\"}"
186
186
  http_version:
187
- recorded_at: Fri, 23 May 2014 04:53:07 GMT
187
+ recorded_at: Fri, 23 May 2014 05:17:10 GMT