teamcity_ruby 0.0.2 → 0.0.3
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/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:06 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=483FF27D8B5E38EB872E06353E767C28; 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\":\"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:
|
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:06 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=5D5A0414896BE6E9DFDFCA86A45A3618; 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:PetshopApp
|
@@ -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:06 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=6D350A49FFA354514F85EA21EFA8DD29; 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: post
|
116
116
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
@@ -127,27 +127,27 @@ http_interactions:
|
|
127
127
|
message: OK
|
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
|
-
- application/json
|
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
|
+
- application/json
|
142
|
+
Set-Cookie:
|
143
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
144
|
+
- TCSESSIONID=DBF58CC09A7BA6DC00E039B2E400175B; 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: "{\"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:
|
150
|
+
recorded_at: Fri, 23 May 2014 04:53:07 GMT
|
151
151
|
- request:
|
152
152
|
method: delete
|
153
153
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:PetshopApp
|
@@ -164,23 +164,23 @@ http_interactions:
|
|
164
164
|
message: No Content
|
165
165
|
headers:
|
166
166
|
Date:
|
167
|
-
-
|
167
|
+
- Fri, 23 May 2014 04:53:07 GMT
|
168
168
|
Server:
|
169
169
|
- Apache-Coyote/1.1
|
170
|
-
|
171
|
-
-
|
172
|
-
-
|
170
|
+
Cache-Control:
|
171
|
+
- no-cache
|
172
|
+
- no-store
|
173
173
|
Pragma:
|
174
174
|
- no-cache
|
175
|
+
Set-Cookie:
|
176
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
177
|
+
- TCSESSIONID=9703AF8F952E21B924D05A9A4283B285; Path=/; HttpOnly
|
175
178
|
Expires:
|
176
179
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
177
|
-
Cache-Control:
|
178
|
-
- no-cache
|
179
|
-
- no-store
|
180
180
|
body:
|
181
181
|
string: ""
|
182
182
|
http_version:
|
183
|
-
recorded_at:
|
183
|
+
recorded_at: Fri, 23 May 2014 04:53:07 GMT
|
184
184
|
- request:
|
185
185
|
method: get
|
186
186
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:PetshopApp
|
@@ -197,27 +197,27 @@ http_interactions:
|
|
197
197
|
message: Not Found
|
198
198
|
headers:
|
199
199
|
Date:
|
200
|
-
-
|
201
|
-
Transfer-Encoding:
|
202
|
-
- chunked
|
200
|
+
- Fri, 23 May 2014 04:53:07 GMT
|
203
201
|
Server:
|
204
202
|
- Apache-Coyote/1.1
|
205
|
-
|
206
|
-
-
|
207
|
-
-
|
208
|
-
Content-Type:
|
209
|
-
- text/plain
|
203
|
+
Cache-Control:
|
204
|
+
- no-cache
|
205
|
+
- no-store
|
210
206
|
Pragma:
|
211
207
|
- no-cache
|
208
|
+
Transfer-Encoding:
|
209
|
+
- chunked
|
210
|
+
Content-Type:
|
211
|
+
- text/plain
|
212
|
+
Set-Cookie:
|
213
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
214
|
+
- TCSESSIONID=62CCBA7B12A27F36489CD13D135D3842; Path=/; HttpOnly
|
212
215
|
Expires:
|
213
216
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
214
|
-
Cache-Control:
|
215
|
-
- no-cache
|
216
|
-
- no-store
|
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:
|
223
|
+
recorded_at: Fri, 23 May 2014 04:53:07 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:06 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=542CA78D7C7BD13CCCB810A53F21194B; 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\":\"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:
|
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:06 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=6D720B584305249972D7D3D8900F128F; 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:Project1
|
@@ -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:06 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=BB10A2FDB58FA0A31B02C7FC6A68B79D; 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:Project2
|
@@ -127,23 +127,23 @@ http_interactions:
|
|
127
127
|
message: No Content
|
128
128
|
headers:
|
129
129
|
Date:
|
130
|
-
-
|
130
|
+
- Fri, 23 May 2014 04:53:06 GMT
|
131
131
|
Server:
|
132
132
|
- Apache-Coyote/1.1
|
133
|
-
|
134
|
-
-
|
135
|
-
-
|
133
|
+
Cache-Control:
|
134
|
+
- no-cache
|
135
|
+
- no-store
|
136
136
|
Pragma:
|
137
137
|
- no-cache
|
138
|
+
Set-Cookie:
|
139
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
140
|
+
- TCSESSIONID=E3F8F8E5E2D7C25F4B3F8C1FB62BEAAC; Path=/; HttpOnly
|
138
141
|
Expires:
|
139
142
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
140
|
-
Cache-Control:
|
141
|
-
- no-cache
|
142
|
-
- no-store
|
143
143
|
body:
|
144
144
|
string: ""
|
145
145
|
http_version:
|
146
|
-
recorded_at:
|
146
|
+
recorded_at: Fri, 23 May 2014 04:53:07 GMT
|
147
147
|
- request:
|
148
148
|
method: post
|
149
149
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
@@ -160,27 +160,27 @@ http_interactions:
|
|
160
160
|
message: OK
|
161
161
|
headers:
|
162
162
|
Date:
|
163
|
-
-
|
164
|
-
Transfer-Encoding:
|
165
|
-
- chunked
|
163
|
+
- Fri, 23 May 2014 04:53:06 GMT
|
166
164
|
Server:
|
167
165
|
- Apache-Coyote/1.1
|
168
|
-
|
169
|
-
-
|
170
|
-
-
|
171
|
-
Content-Type:
|
172
|
-
- application/json
|
166
|
+
Cache-Control:
|
167
|
+
- no-cache
|
168
|
+
- no-store
|
173
169
|
Pragma:
|
174
170
|
- no-cache
|
171
|
+
Transfer-Encoding:
|
172
|
+
- chunked
|
173
|
+
Content-Type:
|
174
|
+
- application/json
|
175
|
+
Set-Cookie:
|
176
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
177
|
+
- TCSESSIONID=D3C2EC0DE4E57952D5F11FCC3B4017C8; Path=/; HttpOnly
|
175
178
|
Expires:
|
176
179
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
177
|
-
Cache-Control:
|
178
|
-
- no-cache
|
179
|
-
- no-store
|
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:
|
183
|
+
recorded_at: Fri, 23 May 2014 04:53:07 GMT
|
184
184
|
- request:
|
185
185
|
method: get
|
186
186
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:PetshopApp
|
@@ -197,24 +197,24 @@ http_interactions:
|
|
197
197
|
message: OK
|
198
198
|
headers:
|
199
199
|
Date:
|
200
|
-
-
|
201
|
-
Transfer-Encoding:
|
202
|
-
- chunked
|
200
|
+
- Fri, 23 May 2014 04:53:06 GMT
|
203
201
|
Server:
|
204
202
|
- Apache-Coyote/1.1
|
205
|
-
|
206
|
-
-
|
207
|
-
-
|
208
|
-
Content-Type:
|
209
|
-
- application/json
|
203
|
+
Cache-Control:
|
204
|
+
- no-cache
|
205
|
+
- no-store
|
210
206
|
Pragma:
|
211
207
|
- no-cache
|
208
|
+
Transfer-Encoding:
|
209
|
+
- chunked
|
210
|
+
Content-Type:
|
211
|
+
- application/json
|
212
|
+
Set-Cookie:
|
213
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
214
|
+
- TCSESSIONID=56261B6D66694761A122B519050C1BEC; Path=/; HttpOnly
|
212
215
|
Expires:
|
213
216
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
214
|
-
Cache-Control:
|
215
|
-
- no-cache
|
216
|
-
- no-store
|
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:
|
220
|
+
recorded_at: Fri, 23 May 2014 04:53:07 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:06 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=61EA2737F76B4EA0E9D410F3A026353B; 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\":\"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:
|
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:06 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=6ABB5ABF144B56612C0310127F42AB1A; 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:PetshopApp
|
@@ -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:06 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=55D42014417F88B97C430B82185E6FD7; 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: post
|
116
116
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
@@ -127,27 +127,27 @@ http_interactions:
|
|
127
127
|
message: OK
|
128
128
|
headers:
|
129
129
|
Date:
|
130
|
-
-
|
131
|
-
Transfer-Encoding:
|
132
|
-
- chunked
|
130
|
+
- Fri, 23 May 2014 04:53:06 GMT
|
133
131
|
Server:
|
134
132
|
- Apache-Coyote/1.1
|
135
|
-
|
136
|
-
-
|
137
|
-
-
|
138
|
-
Content-Type:
|
139
|
-
- application/json
|
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
|
+
- application/json
|
142
|
+
Set-Cookie:
|
143
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
144
|
+
- TCSESSIONID=39181D1BBF886DE6F94C83DB44674AFB; 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: "{\"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:
|
150
|
+
recorded_at: Fri, 23 May 2014 04:53:07 GMT
|
151
151
|
- request:
|
152
152
|
method: get
|
153
153
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/name:Petshop%20App
|
@@ -164,24 +164,24 @@ http_interactions:
|
|
164
164
|
message: OK
|
165
165
|
headers:
|
166
166
|
Date:
|
167
|
-
-
|
168
|
-
Transfer-Encoding:
|
169
|
-
- chunked
|
167
|
+
- Fri, 23 May 2014 04:53:06 GMT
|
170
168
|
Server:
|
171
169
|
- Apache-Coyote/1.1
|
172
|
-
|
173
|
-
-
|
174
|
-
-
|
175
|
-
Content-Type:
|
176
|
-
- application/json
|
170
|
+
Cache-Control:
|
171
|
+
- no-cache
|
172
|
+
- no-store
|
177
173
|
Pragma:
|
178
174
|
- no-cache
|
175
|
+
Transfer-Encoding:
|
176
|
+
- chunked
|
177
|
+
Content-Type:
|
178
|
+
- application/json
|
179
|
+
Set-Cookie:
|
180
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
181
|
+
- TCSESSIONID=A5F83F0ABEA8DB1ED14AA4845429AD75; Path=/; HttpOnly
|
179
182
|
Expires:
|
180
183
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
181
|
-
Cache-Control:
|
182
|
-
- no-cache
|
183
|
-
- no-store
|
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:
|
187
|
+
recorded_at: Fri, 23 May 2014 04:53:07 GMT
|