teamcity_ruby 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- 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=6EACA4C702E2F412162E613022D40183; 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:09 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\":\"PetshopApp\",\"name\":\"Petshop App\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopApp\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopApp\",\"parentProjectId\":\"_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=9479C221CB96EB3C8C56C22FAD84A3FA; 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:09 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:PetshopApp
|
@@ -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=4A920328AA90F10D4D35BFCCBC292F45; 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:37 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: post
|
116
115
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
@@ -126,28 +125,28 @@ http_interactions:
|
|
126
125
|
code: 200
|
127
126
|
message: OK
|
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=F0381218AB1AAC8ED8CA81B5C6AC9E59; Path=/; HttpOnly
|
131
|
+
Pragma:
|
132
|
+
- no-cache
|
133
|
+
Content-Type:
|
134
|
+
- application/json
|
135
|
+
Server:
|
136
|
+
- Apache-Coyote/1.1
|
137
|
+
Date:
|
138
|
+
- Fri, 23 May 2014 07:28:37 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:09 GMT
|
145
|
-
Content-Type:
|
146
|
-
- application/json
|
145
|
+
- no-store
|
147
146
|
body:
|
148
147
|
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
148
|
http_version:
|
150
|
-
recorded_at: Fri, 23 May 2014
|
149
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
151
150
|
- request:
|
152
151
|
method: delete
|
153
152
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:PetshopApp
|
@@ -163,24 +162,24 @@ http_interactions:
|
|
163
162
|
code: 204
|
164
163
|
message: No Content
|
165
164
|
headers:
|
166
|
-
Cache-Control:
|
167
|
-
- no-cache
|
168
|
-
- no-store
|
169
165
|
Set-Cookie:
|
170
166
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
171
|
-
- TCSESSIONID=
|
172
|
-
Expires:
|
173
|
-
- Thu, 01 Jan 1970 00:00:00 GMT
|
174
|
-
Server:
|
175
|
-
- Apache-Coyote/1.1
|
167
|
+
- TCSESSIONID=07E70FAFD5FD976399DBA190927D9167; Path=/; HttpOnly
|
176
168
|
Pragma:
|
177
169
|
- no-cache
|
170
|
+
Server:
|
171
|
+
- Apache-Coyote/1.1
|
178
172
|
Date:
|
179
|
-
- Fri, 23 May 2014
|
173
|
+
- Fri, 23 May 2014 07:28:37 GMT
|
174
|
+
Expires:
|
175
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
176
|
+
Cache-Control:
|
177
|
+
- no-cache
|
178
|
+
- no-store
|
180
179
|
body:
|
181
180
|
string: ""
|
182
181
|
http_version:
|
183
|
-
recorded_at: Fri, 23 May 2014
|
182
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
184
183
|
- request:
|
185
184
|
method: get
|
186
185
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:PetshopApp
|
@@ -196,28 +195,29 @@ http_interactions:
|
|
196
195
|
code: 404
|
197
196
|
message: Not Found
|
198
197
|
headers:
|
199
|
-
Cache-Control:
|
200
|
-
- no-cache
|
201
|
-
- no-store
|
202
198
|
Set-Cookie:
|
203
199
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
204
|
-
- TCSESSIONID=
|
200
|
+
- TCSESSIONID=A029FC7FEA3A381E1818C6E07E62D8CF; Path=/; HttpOnly
|
201
|
+
Pragma:
|
202
|
+
- no-cache
|
203
|
+
Content-Type:
|
204
|
+
- text/plain
|
205
|
+
Server:
|
206
|
+
- Apache-Coyote/1.1
|
207
|
+
Date:
|
208
|
+
- Fri, 23 May 2014 07:28:37 GMT
|
205
209
|
Expires:
|
206
210
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
207
211
|
Transfer-Encoding:
|
208
212
|
- chunked
|
209
|
-
|
210
|
-
- Apache-Coyote/1.1
|
211
|
-
Pragma:
|
213
|
+
Cache-Control:
|
212
214
|
- no-cache
|
213
|
-
|
214
|
-
- Fri, 23 May 2014 05:17:09 GMT
|
215
|
-
Content-Type:
|
216
|
-
- text/plain
|
215
|
+
- no-store
|
217
216
|
body:
|
218
217
|
string: |-
|
219
218
|
Error has occurred during request processing (Not Found).
|
220
219
|
Error: jetbrains.buildServer.server.rest.errors.NotFoundException: No project found by locator 'id:PetshopApp'. Project cannot be found by external id 'PetshopApp'.
|
221
220
|
Could not find the entity requested. Check the reference is correct and the user has permissions to access the entity.
|
222
221
|
http_version:
|
223
|
-
recorded_at: Fri, 23 May 2014
|
222
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
223
|
+
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=709EB130F736DF720B309F8414ED6475; 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:09 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\":\"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
38
|
http_version:
|
40
|
-
recorded_at: Fri, 23 May 2014
|
39
|
+
recorded_at: Fri, 23 May 2014 07:28:37 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=9ED18012B8534DDA0F3A747D1104E448; 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:09 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:37 GMT
|
81
80
|
- request:
|
82
81
|
method: delete
|
83
82
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:Project1
|
@@ -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=0B6719260029B834EEEF9744EB6AB3C5; 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:37 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:Project2
|
@@ -126,24 +125,24 @@ http_interactions:
|
|
126
125
|
code: 204
|
127
126
|
message: No Content
|
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=
|
135
|
-
Expires:
|
136
|
-
- Thu, 01 Jan 1970 00:00:00 GMT
|
137
|
-
Server:
|
138
|
-
- Apache-Coyote/1.1
|
130
|
+
- TCSESSIONID=8707FD1524CF24D706663A022B884231; Path=/; HttpOnly
|
139
131
|
Pragma:
|
140
132
|
- no-cache
|
133
|
+
Server:
|
134
|
+
- Apache-Coyote/1.1
|
141
135
|
Date:
|
142
|
-
- Fri, 23 May 2014
|
136
|
+
- Fri, 23 May 2014 07:28:37 GMT
|
137
|
+
Expires:
|
138
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
139
|
+
Cache-Control:
|
140
|
+
- no-cache
|
141
|
+
- no-store
|
143
142
|
body:
|
144
143
|
string: ""
|
145
144
|
http_version:
|
146
|
-
recorded_at: Fri, 23 May 2014
|
145
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
147
146
|
- request:
|
148
147
|
method: post
|
149
148
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
@@ -159,28 +158,28 @@ http_interactions:
|
|
159
158
|
code: 200
|
160
159
|
message: OK
|
161
160
|
headers:
|
162
|
-
Cache-Control:
|
163
|
-
- no-cache
|
164
|
-
- no-store
|
165
161
|
Set-Cookie:
|
166
162
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
167
|
-
- TCSESSIONID=
|
163
|
+
- TCSESSIONID=0EB142A9BCD9638DF15EDEE6AF49D8C4; Path=/; HttpOnly
|
164
|
+
Pragma:
|
165
|
+
- no-cache
|
166
|
+
Content-Type:
|
167
|
+
- application/json
|
168
|
+
Server:
|
169
|
+
- Apache-Coyote/1.1
|
170
|
+
Date:
|
171
|
+
- Fri, 23 May 2014 07:28:37 GMT
|
168
172
|
Expires:
|
169
173
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
170
174
|
Transfer-Encoding:
|
171
175
|
- chunked
|
172
|
-
|
173
|
-
- Apache-Coyote/1.1
|
174
|
-
Pragma:
|
176
|
+
Cache-Control:
|
175
177
|
- no-cache
|
176
|
-
|
177
|
-
- Fri, 23 May 2014 05:17:09 GMT
|
178
|
-
Content-Type:
|
179
|
-
- application/json
|
178
|
+
- no-store
|
180
179
|
body:
|
181
180
|
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
181
|
http_version:
|
183
|
-
recorded_at: Fri, 23 May 2014
|
182
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
184
183
|
- request:
|
185
184
|
method: get
|
186
185
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:PetshopApp
|
@@ -196,25 +195,26 @@ http_interactions:
|
|
196
195
|
code: 200
|
197
196
|
message: OK
|
198
197
|
headers:
|
199
|
-
Cache-Control:
|
200
|
-
- no-cache
|
201
|
-
- no-store
|
202
198
|
Set-Cookie:
|
203
199
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
204
|
-
- TCSESSIONID=
|
200
|
+
- TCSESSIONID=7BC2FDD55F5A03522F13C2645A9553C6; Path=/; HttpOnly
|
201
|
+
Pragma:
|
202
|
+
- no-cache
|
203
|
+
Content-Type:
|
204
|
+
- application/json
|
205
|
+
Server:
|
206
|
+
- Apache-Coyote/1.1
|
207
|
+
Date:
|
208
|
+
- Fri, 23 May 2014 07:28:37 GMT
|
205
209
|
Expires:
|
206
210
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
207
211
|
Transfer-Encoding:
|
208
212
|
- chunked
|
209
|
-
|
210
|
-
- Apache-Coyote/1.1
|
211
|
-
Pragma:
|
213
|
+
Cache-Control:
|
212
214
|
- no-cache
|
213
|
-
|
214
|
-
- Fri, 23 May 2014 05:17:09 GMT
|
215
|
-
Content-Type:
|
216
|
-
- application/json
|
215
|
+
- no-store
|
217
216
|
body:
|
218
217
|
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
218
|
http_version:
|
220
|
-
recorded_at: Fri, 23 May 2014
|
219
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
220
|
+
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=CD3414F7E9054AC51EF4A6AC1ED618D3; 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:09 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\":\"PetshopApp\",\"name\":\"Petshop App\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopApp\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopApp\",\"parentProjectId\":\"_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=EE303D97352EE4FF0517B922F84A47C0; 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:09 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:PetshopApp
|
@@ -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=3AAE7699FCC72724C8F44AFAC478BB47; 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:37 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: post
|
116
115
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
@@ -126,28 +125,28 @@ http_interactions:
|
|
126
125
|
code: 200
|
127
126
|
message: OK
|
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=7430CB51C90B2EAFC97CFFEFEECA9EE7; Path=/; HttpOnly
|
131
|
+
Pragma:
|
132
|
+
- no-cache
|
133
|
+
Content-Type:
|
134
|
+
- application/json
|
135
|
+
Server:
|
136
|
+
- Apache-Coyote/1.1
|
137
|
+
Date:
|
138
|
+
- Fri, 23 May 2014 07:28:37 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:09 GMT
|
145
|
-
Content-Type:
|
146
|
-
- application/json
|
145
|
+
- no-store
|
147
146
|
body:
|
148
147
|
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
148
|
http_version:
|
150
|
-
recorded_at: Fri, 23 May 2014
|
149
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
151
150
|
- request:
|
152
151
|
method: get
|
153
152
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/name:Petshop%20App
|
@@ -163,25 +162,26 @@ http_interactions:
|
|
163
162
|
code: 200
|
164
163
|
message: OK
|
165
164
|
headers:
|
166
|
-
Cache-Control:
|
167
|
-
- no-cache
|
168
|
-
- no-store
|
169
165
|
Set-Cookie:
|
170
166
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
171
|
-
- TCSESSIONID=
|
167
|
+
- TCSESSIONID=6C363FB3A332647FBEC943DA7E76D211; Path=/; HttpOnly
|
168
|
+
Pragma:
|
169
|
+
- no-cache
|
170
|
+
Content-Type:
|
171
|
+
- application/json
|
172
|
+
Server:
|
173
|
+
- Apache-Coyote/1.1
|
174
|
+
Date:
|
175
|
+
- Fri, 23 May 2014 07:28:37 GMT
|
172
176
|
Expires:
|
173
177
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
174
178
|
Transfer-Encoding:
|
175
179
|
- chunked
|
176
|
-
|
177
|
-
- Apache-Coyote/1.1
|
178
|
-
Pragma:
|
180
|
+
Cache-Control:
|
179
181
|
- no-cache
|
180
|
-
|
181
|
-
- Fri, 23 May 2014 05:17:09 GMT
|
182
|
-
Content-Type:
|
183
|
-
- application/json
|
182
|
+
- no-store
|
184
183
|
body:
|
185
184
|
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
185
|
http_version:
|
187
|
-
recorded_at: Fri, 23 May 2014
|
186
|
+
recorded_at: Fri, 23 May 2014 07:28:38 GMT
|
187
|
+
recorded_with: VCR 2.4.0
|