teamcity_ruby 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/teamcity_ruby/agent_pool.rb +1 -1
- data/lib/teamcity_ruby/resource.rb +3 -1
- data/lib/teamcity_ruby/vcs_root.rb +10 -3
- data/lib/teamcity_ruby/version.rb +1 -1
- data/spec/cassettes/TeamcityRuby_AgentPool/creates_an_agent_pool.yml +99 -99
- 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 +142 -105
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_settings_definitions.yml +104 -104
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/fetches_a_specific_build_configuration_by_id.yml +82 -82
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/lists_all_build_configurations.yml +104 -104
- data/spec/cassettes/TeamcityRuby_Project/creates_a_project_copying_its_settings_from_a_source_project.yml +94 -94
- 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 +68 -68
- data/spec/cassettes/TeamcityRuby_Project/fetches_a_specific_project_by_id_locator.yml +68 -68
- data/spec/cassettes/TeamcityRuby_Project/fetches_a_specific_project_by_name_locator.yml +58 -58
- data/spec/cassettes/TeamcityRuby_Project/lists_all_projects_including_root_built_in_on_TeamCity_.yml +70 -70
- data/spec/cassettes/TeamcityRuby_VcsRoot/lists_all_vcs_roots.yml +118 -44
- data/spec/teamcity_ruby/agent_pool_spec.rb +1 -1
- data/spec/teamcity_ruby/vcs_root_spec.rb +1 -0
- metadata +3 -3
@@ -6,67 +6,67 @@ http_interactions:
|
|
6
6
|
body:
|
7
7
|
string: ""
|
8
8
|
headers:
|
9
|
-
Accept:
|
10
|
-
- application/json
|
11
9
|
Content-Type:
|
12
10
|
- application/json
|
11
|
+
Accept:
|
12
|
+
- application/json
|
13
13
|
response:
|
14
14
|
status:
|
15
15
|
code: 200
|
16
16
|
message: OK
|
17
17
|
headers:
|
18
|
-
Set-Cookie:
|
19
|
-
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
20
|
-
- TCSESSIONID=709EB130F736DF720B309F8414ED6475; Path=/; HttpOnly
|
21
|
-
Pragma:
|
22
|
-
- no-cache
|
23
18
|
Content-Type:
|
24
19
|
- application/json
|
25
|
-
Server:
|
26
|
-
- Apache-Coyote/1.1
|
27
|
-
Date:
|
28
|
-
- Fri, 23 May 2014 07:28:37 GMT
|
29
20
|
Expires:
|
30
21
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
22
|
+
Pragma:
|
23
|
+
- no-cache
|
24
|
+
Date:
|
25
|
+
- Fri, 23 May 2014 15:05:36 GMT
|
26
|
+
Set-Cookie:
|
27
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
28
|
+
- TCSESSIONID=F4088DCE4DAAF860CB66D2B16A597540; Path=/; HttpOnly
|
31
29
|
Transfer-Encoding:
|
32
30
|
- chunked
|
31
|
+
Server:
|
32
|
+
- Apache-Coyote/1.1
|
33
33
|
Cache-Control:
|
34
34
|
- no-cache
|
35
35
|
- no-store
|
36
36
|
body:
|
37
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\"}]}"
|
38
38
|
http_version:
|
39
|
-
recorded_at: Fri, 23 May 2014
|
39
|
+
recorded_at: Fri, 23 May 2014 15:05:37 GMT
|
40
40
|
- request:
|
41
41
|
method: delete
|
42
42
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:_Root
|
43
43
|
body:
|
44
44
|
string: ""
|
45
45
|
headers:
|
46
|
-
Accept:
|
47
|
-
- application/json
|
48
46
|
Content-Type:
|
49
47
|
- application/json
|
48
|
+
Accept:
|
49
|
+
- application/json
|
50
50
|
response:
|
51
51
|
status:
|
52
52
|
code: 403
|
53
53
|
message: Forbidden
|
54
54
|
headers:
|
55
|
-
Set-Cookie:
|
56
|
-
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
57
|
-
- TCSESSIONID=9ED18012B8534DDA0F3A747D1104E448; Path=/; HttpOnly
|
58
|
-
Pragma:
|
59
|
-
- no-cache
|
60
55
|
Content-Type:
|
61
56
|
- text/plain
|
62
|
-
Server:
|
63
|
-
- Apache-Coyote/1.1
|
64
|
-
Date:
|
65
|
-
- Fri, 23 May 2014 07:28:37 GMT
|
66
57
|
Expires:
|
67
58
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
59
|
+
Pragma:
|
60
|
+
- no-cache
|
61
|
+
Date:
|
62
|
+
- Fri, 23 May 2014 15:05:36 GMT
|
63
|
+
Set-Cookie:
|
64
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
65
|
+
- TCSESSIONID=25F5852BA4D5E82D1641D3F54FE82EE6; Path=/; HttpOnly
|
68
66
|
Transfer-Encoding:
|
69
67
|
- chunked
|
68
|
+
Server:
|
69
|
+
- Apache-Coyote/1.1
|
70
70
|
Cache-Control:
|
71
71
|
- no-cache
|
72
72
|
- no-store
|
@@ -76,145 +76,145 @@ http_interactions:
|
|
76
76
|
Error: jetbrains.buildServer.serverSide.auth.AccessDeniedException: Root project cannot be removed
|
77
77
|
Access denied. Check the user has enough permissions to perform the operation.
|
78
78
|
http_version:
|
79
|
-
recorded_at: Fri, 23 May 2014
|
79
|
+
recorded_at: Fri, 23 May 2014 15:05:37 GMT
|
80
80
|
- request:
|
81
81
|
method: delete
|
82
82
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:Project1
|
83
83
|
body:
|
84
84
|
string: ""
|
85
85
|
headers:
|
86
|
-
Accept:
|
87
|
-
- application/json
|
88
86
|
Content-Type:
|
89
87
|
- application/json
|
88
|
+
Accept:
|
89
|
+
- application/json
|
90
90
|
response:
|
91
91
|
status:
|
92
92
|
code: 204
|
93
93
|
message: No Content
|
94
94
|
headers:
|
95
|
-
|
96
|
-
-
|
97
|
-
- TCSESSIONID=0B6719260029B834EEEF9744EB6AB3C5; Path=/; HttpOnly
|
95
|
+
Expires:
|
96
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
98
97
|
Pragma:
|
99
98
|
- no-cache
|
99
|
+
Date:
|
100
|
+
- Fri, 23 May 2014 15:05:36 GMT
|
101
|
+
Set-Cookie:
|
102
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
103
|
+
- TCSESSIONID=AF31B1E6CD6B9B88D9A2A227F718C2C3; Path=/; HttpOnly
|
100
104
|
Server:
|
101
105
|
- Apache-Coyote/1.1
|
102
|
-
Date:
|
103
|
-
- Fri, 23 May 2014 07:28:37 GMT
|
104
|
-
Expires:
|
105
|
-
- Thu, 01 Jan 1970 00:00:00 GMT
|
106
106
|
Cache-Control:
|
107
107
|
- no-cache
|
108
108
|
- no-store
|
109
109
|
body:
|
110
110
|
string: ""
|
111
111
|
http_version:
|
112
|
-
recorded_at: Fri, 23 May 2014
|
112
|
+
recorded_at: Fri, 23 May 2014 15:05:37 GMT
|
113
113
|
- request:
|
114
114
|
method: delete
|
115
115
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:Project2
|
116
116
|
body:
|
117
117
|
string: ""
|
118
118
|
headers:
|
119
|
-
Accept:
|
120
|
-
- application/json
|
121
119
|
Content-Type:
|
122
120
|
- application/json
|
121
|
+
Accept:
|
122
|
+
- application/json
|
123
123
|
response:
|
124
124
|
status:
|
125
125
|
code: 204
|
126
126
|
message: No Content
|
127
127
|
headers:
|
128
|
-
|
129
|
-
-
|
130
|
-
- TCSESSIONID=8707FD1524CF24D706663A022B884231; Path=/; HttpOnly
|
128
|
+
Expires:
|
129
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
131
130
|
Pragma:
|
132
131
|
- no-cache
|
132
|
+
Date:
|
133
|
+
- Fri, 23 May 2014 15:05:36 GMT
|
134
|
+
Set-Cookie:
|
135
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
136
|
+
- TCSESSIONID=F758B62C52673A72CAFA3264269CC81E; Path=/; HttpOnly
|
133
137
|
Server:
|
134
138
|
- Apache-Coyote/1.1
|
135
|
-
Date:
|
136
|
-
- Fri, 23 May 2014 07:28:37 GMT
|
137
|
-
Expires:
|
138
|
-
- Thu, 01 Jan 1970 00:00:00 GMT
|
139
139
|
Cache-Control:
|
140
140
|
- no-cache
|
141
141
|
- no-store
|
142
142
|
body:
|
143
143
|
string: ""
|
144
144
|
http_version:
|
145
|
-
recorded_at: Fri, 23 May 2014
|
145
|
+
recorded_at: Fri, 23 May 2014 15:05:37 GMT
|
146
146
|
- request:
|
147
147
|
method: post
|
148
148
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
149
149
|
body:
|
150
150
|
string: "{\"name\":\"Petshop App\"}"
|
151
151
|
headers:
|
152
|
-
Accept:
|
153
|
-
- application/json
|
154
152
|
Content-Type:
|
155
153
|
- application/json
|
154
|
+
Accept:
|
155
|
+
- application/json
|
156
156
|
response:
|
157
157
|
status:
|
158
158
|
code: 200
|
159
159
|
message: OK
|
160
160
|
headers:
|
161
|
-
Set-Cookie:
|
162
|
-
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
163
|
-
- TCSESSIONID=0EB142A9BCD9638DF15EDEE6AF49D8C4; Path=/; HttpOnly
|
164
|
-
Pragma:
|
165
|
-
- no-cache
|
166
161
|
Content-Type:
|
167
162
|
- application/json
|
168
|
-
Server:
|
169
|
-
- Apache-Coyote/1.1
|
170
|
-
Date:
|
171
|
-
- Fri, 23 May 2014 07:28:37 GMT
|
172
163
|
Expires:
|
173
164
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
165
|
+
Pragma:
|
166
|
+
- no-cache
|
167
|
+
Date:
|
168
|
+
- Fri, 23 May 2014 15:05:36 GMT
|
169
|
+
Set-Cookie:
|
170
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
171
|
+
- TCSESSIONID=A2E4CE81EEA9005D63275374F120DF6E; Path=/; HttpOnly
|
174
172
|
Transfer-Encoding:
|
175
173
|
- chunked
|
174
|
+
Server:
|
175
|
+
- Apache-Coyote/1.1
|
176
176
|
Cache-Control:
|
177
177
|
- no-cache
|
178
178
|
- no-store
|
179
179
|
body:
|
180
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\"}"
|
181
181
|
http_version:
|
182
|
-
recorded_at: Fri, 23 May 2014
|
182
|
+
recorded_at: Fri, 23 May 2014 15:05:37 GMT
|
183
183
|
- request:
|
184
184
|
method: get
|
185
185
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:PetshopApp
|
186
186
|
body:
|
187
187
|
string: ""
|
188
188
|
headers:
|
189
|
-
Accept:
|
190
|
-
- application/json
|
191
189
|
Content-Type:
|
192
190
|
- application/json
|
191
|
+
Accept:
|
192
|
+
- application/json
|
193
193
|
response:
|
194
194
|
status:
|
195
195
|
code: 200
|
196
196
|
message: OK
|
197
197
|
headers:
|
198
|
-
Set-Cookie:
|
199
|
-
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
200
|
-
- TCSESSIONID=7BC2FDD55F5A03522F13C2645A9553C6; Path=/; HttpOnly
|
201
|
-
Pragma:
|
202
|
-
- no-cache
|
203
198
|
Content-Type:
|
204
199
|
- application/json
|
205
|
-
Server:
|
206
|
-
- Apache-Coyote/1.1
|
207
|
-
Date:
|
208
|
-
- Fri, 23 May 2014 07:28:37 GMT
|
209
200
|
Expires:
|
210
201
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
202
|
+
Pragma:
|
203
|
+
- no-cache
|
204
|
+
Date:
|
205
|
+
- Fri, 23 May 2014 15:05:36 GMT
|
206
|
+
Set-Cookie:
|
207
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
208
|
+
- TCSESSIONID=7D0942D473C6B0332A217567B92C7C26; Path=/; HttpOnly
|
211
209
|
Transfer-Encoding:
|
212
210
|
- chunked
|
211
|
+
Server:
|
212
|
+
- Apache-Coyote/1.1
|
213
213
|
Cache-Control:
|
214
214
|
- no-cache
|
215
215
|
- no-store
|
216
216
|
body:
|
217
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\"}"
|
218
218
|
http_version:
|
219
|
-
recorded_at: Fri, 23 May 2014
|
219
|
+
recorded_at: Fri, 23 May 2014 15:05:37 GMT
|
220
220
|
recorded_with: VCR 2.4.0
|
@@ -6,67 +6,67 @@ http_interactions:
|
|
6
6
|
body:
|
7
7
|
string: ""
|
8
8
|
headers:
|
9
|
-
Accept:
|
10
|
-
- application/json
|
11
9
|
Content-Type:
|
12
10
|
- application/json
|
11
|
+
Accept:
|
12
|
+
- application/json
|
13
13
|
response:
|
14
14
|
status:
|
15
15
|
code: 200
|
16
16
|
message: OK
|
17
17
|
headers:
|
18
|
-
Set-Cookie:
|
19
|
-
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
20
|
-
- TCSESSIONID=CD3414F7E9054AC51EF4A6AC1ED618D3; Path=/; HttpOnly
|
21
|
-
Pragma:
|
22
|
-
- no-cache
|
23
18
|
Content-Type:
|
24
19
|
- application/json
|
25
|
-
Server:
|
26
|
-
- Apache-Coyote/1.1
|
27
|
-
Date:
|
28
|
-
- Fri, 23 May 2014 07:28:37 GMT
|
29
20
|
Expires:
|
30
21
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
22
|
+
Pragma:
|
23
|
+
- no-cache
|
24
|
+
Date:
|
25
|
+
- Fri, 23 May 2014 15:05:36 GMT
|
26
|
+
Set-Cookie:
|
27
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
28
|
+
- TCSESSIONID=FA8F28B8DDAED8A5F44E82F15BE80CE6; Path=/; HttpOnly
|
31
29
|
Transfer-Encoding:
|
32
30
|
- chunked
|
31
|
+
Server:
|
32
|
+
- Apache-Coyote/1.1
|
33
33
|
Cache-Control:
|
34
34
|
- no-cache
|
35
35
|
- no-store
|
36
36
|
body:
|
37
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\"}]}"
|
38
38
|
http_version:
|
39
|
-
recorded_at: Fri, 23 May 2014
|
39
|
+
recorded_at: Fri, 23 May 2014 15:05:37 GMT
|
40
40
|
- request:
|
41
41
|
method: delete
|
42
42
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:_Root
|
43
43
|
body:
|
44
44
|
string: ""
|
45
45
|
headers:
|
46
|
-
Accept:
|
47
|
-
- application/json
|
48
46
|
Content-Type:
|
49
47
|
- application/json
|
48
|
+
Accept:
|
49
|
+
- application/json
|
50
50
|
response:
|
51
51
|
status:
|
52
52
|
code: 403
|
53
53
|
message: Forbidden
|
54
54
|
headers:
|
55
|
-
Set-Cookie:
|
56
|
-
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
57
|
-
- TCSESSIONID=EE303D97352EE4FF0517B922F84A47C0; Path=/; HttpOnly
|
58
|
-
Pragma:
|
59
|
-
- no-cache
|
60
55
|
Content-Type:
|
61
56
|
- text/plain
|
62
|
-
Server:
|
63
|
-
- Apache-Coyote/1.1
|
64
|
-
Date:
|
65
|
-
- Fri, 23 May 2014 07:28:37 GMT
|
66
57
|
Expires:
|
67
58
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
59
|
+
Pragma:
|
60
|
+
- no-cache
|
61
|
+
Date:
|
62
|
+
- Fri, 23 May 2014 15:05:36 GMT
|
63
|
+
Set-Cookie:
|
64
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
65
|
+
- TCSESSIONID=E0B78CB8E13D1AFFD4D7A94429EA410E; Path=/; HttpOnly
|
68
66
|
Transfer-Encoding:
|
69
67
|
- chunked
|
68
|
+
Server:
|
69
|
+
- Apache-Coyote/1.1
|
70
70
|
Cache-Control:
|
71
71
|
- no-cache
|
72
72
|
- no-store
|
@@ -76,112 +76,112 @@ http_interactions:
|
|
76
76
|
Error: jetbrains.buildServer.serverSide.auth.AccessDeniedException: Root project cannot be removed
|
77
77
|
Access denied. Check the user has enough permissions to perform the operation.
|
78
78
|
http_version:
|
79
|
-
recorded_at: Fri, 23 May 2014
|
79
|
+
recorded_at: Fri, 23 May 2014 15:05:37 GMT
|
80
80
|
- request:
|
81
81
|
method: delete
|
82
82
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:PetshopApp
|
83
83
|
body:
|
84
84
|
string: ""
|
85
85
|
headers:
|
86
|
-
Accept:
|
87
|
-
- application/json
|
88
86
|
Content-Type:
|
89
87
|
- application/json
|
88
|
+
Accept:
|
89
|
+
- application/json
|
90
90
|
response:
|
91
91
|
status:
|
92
92
|
code: 204
|
93
93
|
message: No Content
|
94
94
|
headers:
|
95
|
-
|
96
|
-
-
|
97
|
-
- TCSESSIONID=3AAE7699FCC72724C8F44AFAC478BB47; Path=/; HttpOnly
|
95
|
+
Expires:
|
96
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
98
97
|
Pragma:
|
99
98
|
- no-cache
|
99
|
+
Date:
|
100
|
+
- Fri, 23 May 2014 15:05:36 GMT
|
101
|
+
Set-Cookie:
|
102
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
103
|
+
- TCSESSIONID=E5487EA5EEC8BF6DAC8F6AED148B75F4; Path=/; HttpOnly
|
100
104
|
Server:
|
101
105
|
- Apache-Coyote/1.1
|
102
|
-
Date:
|
103
|
-
- Fri, 23 May 2014 07:28:37 GMT
|
104
|
-
Expires:
|
105
|
-
- Thu, 01 Jan 1970 00:00:00 GMT
|
106
106
|
Cache-Control:
|
107
107
|
- no-cache
|
108
108
|
- no-store
|
109
109
|
body:
|
110
110
|
string: ""
|
111
111
|
http_version:
|
112
|
-
recorded_at: Fri, 23 May 2014
|
112
|
+
recorded_at: Fri, 23 May 2014 15:05:37 GMT
|
113
113
|
- request:
|
114
114
|
method: post
|
115
115
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
116
116
|
body:
|
117
117
|
string: "{\"name\":\"Petshop App\"}"
|
118
118
|
headers:
|
119
|
-
Accept:
|
120
|
-
- application/json
|
121
119
|
Content-Type:
|
122
120
|
- application/json
|
121
|
+
Accept:
|
122
|
+
- application/json
|
123
123
|
response:
|
124
124
|
status:
|
125
125
|
code: 200
|
126
126
|
message: OK
|
127
127
|
headers:
|
128
|
-
Set-Cookie:
|
129
|
-
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
130
|
-
- TCSESSIONID=7430CB51C90B2EAFC97CFFEFEECA9EE7; Path=/; HttpOnly
|
131
|
-
Pragma:
|
132
|
-
- no-cache
|
133
128
|
Content-Type:
|
134
129
|
- application/json
|
135
|
-
Server:
|
136
|
-
- Apache-Coyote/1.1
|
137
|
-
Date:
|
138
|
-
- Fri, 23 May 2014 07:28:37 GMT
|
139
130
|
Expires:
|
140
131
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
132
|
+
Pragma:
|
133
|
+
- no-cache
|
134
|
+
Date:
|
135
|
+
- Fri, 23 May 2014 15:05:36 GMT
|
136
|
+
Set-Cookie:
|
137
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
138
|
+
- TCSESSIONID=A9573D2629DBBD6408C5470B75796801; Path=/; HttpOnly
|
141
139
|
Transfer-Encoding:
|
142
140
|
- chunked
|
141
|
+
Server:
|
142
|
+
- Apache-Coyote/1.1
|
143
143
|
Cache-Control:
|
144
144
|
- no-cache
|
145
145
|
- no-store
|
146
146
|
body:
|
147
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\"}"
|
148
148
|
http_version:
|
149
|
-
recorded_at: Fri, 23 May 2014
|
149
|
+
recorded_at: Fri, 23 May 2014 15:05:37 GMT
|
150
150
|
- request:
|
151
151
|
method: get
|
152
152
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/name:Petshop%20App
|
153
153
|
body:
|
154
154
|
string: ""
|
155
155
|
headers:
|
156
|
-
Accept:
|
157
|
-
- application/json
|
158
156
|
Content-Type:
|
159
157
|
- application/json
|
158
|
+
Accept:
|
159
|
+
- application/json
|
160
160
|
response:
|
161
161
|
status:
|
162
162
|
code: 200
|
163
163
|
message: OK
|
164
164
|
headers:
|
165
|
-
Set-Cookie:
|
166
|
-
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
167
|
-
- TCSESSIONID=6C363FB3A332647FBEC943DA7E76D211; Path=/; HttpOnly
|
168
|
-
Pragma:
|
169
|
-
- no-cache
|
170
165
|
Content-Type:
|
171
166
|
- application/json
|
172
|
-
Server:
|
173
|
-
- Apache-Coyote/1.1
|
174
|
-
Date:
|
175
|
-
- Fri, 23 May 2014 07:28:37 GMT
|
176
167
|
Expires:
|
177
168
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
169
|
+
Pragma:
|
170
|
+
- no-cache
|
171
|
+
Date:
|
172
|
+
- Fri, 23 May 2014 15:05:36 GMT
|
173
|
+
Set-Cookie:
|
174
|
+
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
175
|
+
- TCSESSIONID=714F51EBAAFAEBAAEE1D20281B8B43AF; Path=/; HttpOnly
|
178
176
|
Transfer-Encoding:
|
179
177
|
- chunked
|
178
|
+
Server:
|
179
|
+
- Apache-Coyote/1.1
|
180
180
|
Cache-Control:
|
181
181
|
- no-cache
|
182
182
|
- no-store
|
183
183
|
body:
|
184
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\"}"
|
185
185
|
http_version:
|
186
|
-
recorded_at: Fri, 23 May 2014
|
186
|
+
recorded_at: Fri, 23 May 2014 15:05:38 GMT
|
187
187
|
recorded_with: VCR 2.4.0
|