teamcity_ruby 0.0.3 → 0.0.4
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/vcs_root.rb +10 -4
- data/lib/teamcity_ruby/version.rb +1 -1
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_a_build_step_added_to_it.yml +103 -103
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_a_build_trigger_added_to_it.yml +93 -93
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/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 +104 -104
- 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 +50 -50
- data/spec/teamcity_ruby/vcs_root_spec.rb +21 -0
- 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:07 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= | 
| 24 | 
            +
                  - TCSESSIONID=36BEDB2B9B2E86D821D584A8C58E9D0C; 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:10 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\":\"PetshopGroup\",\"name\":\"Petshop Group\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopGroup\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopGroup\",\"parentProjectId\":\"_Root\"},{\"id\":\"PetshopGroup_SampleProject\",\"name\":\"Sample Project\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopGroup_SampleProject\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopGroup_SampleProject\",\"parentProjectId\":\"PetshopGroup\"}]}"
         | 
| 39 39 | 
             
                http_version: 
         | 
| 40 | 
            -
              recorded_at: Fri, 23 May 2014  | 
| 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:07 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= | 
| 61 | 
            +
                  - TCSESSIONID=8ECA0818614FC1F12BA4B31BE66E47A1; 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:10 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  | 
| 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:PetshopGroup
         | 
| @@ -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:07 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= | 
| 101 | 
            +
                  - TCSESSIONID=26FD59683FB013F9C742FDB87E5CF631; 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:10 GMT
         | 
| 110 110 | 
             
                body: 
         | 
| 111 111 | 
             
                  string: ""
         | 
| 112 112 | 
             
                http_version: 
         | 
| 113 | 
            -
              recorded_at: Fri, 23 May 2014  | 
| 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:PetshopGroup_SampleProject
         | 
| @@ -126,31 +126,31 @@ http_interactions: | |
| 126 126 | 
             
                  code: 404
         | 
| 127 127 | 
             
                  message: Not Found
         | 
| 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 | 
            -
                  - text/plain
         | 
| 142 132 | 
             
                  Set-Cookie: 
         | 
| 143 133 | 
             
                  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
         | 
| 144 | 
            -
                  - TCSESSIONID= | 
| 134 | 
            +
                  - TCSESSIONID=5EFC293372CE383DB80C9C5776EAD4B5; 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:10 GMT
         | 
| 145 | 
            +
                  Content-Type: 
         | 
| 146 | 
            +
                  - text/plain
         | 
| 147 147 | 
             
                body: 
         | 
| 148 148 | 
             
                  string: |-
         | 
| 149 149 | 
             
                    Error has occurred during request processing (Not Found).
         | 
| 150 150 | 
             
                    Error: jetbrains.buildServer.server.rest.errors.NotFoundException: No project found by locator 'id:PetshopGroup_SampleProject'. Project cannot be found by external id 'PetshopGroup_SampleProject'.
         | 
| 151 151 | 
             
                    Could not find the entity requested. Check the reference is correct and the user has permissions to access the entity.
         | 
| 152 152 | 
             
                http_version: 
         | 
| 153 | 
            -
              recorded_at: Fri, 23 May 2014  | 
| 153 | 
            +
              recorded_at: Fri, 23 May 2014 05:17:10 GMT
         | 
| 154 154 | 
             
            - request: 
         | 
| 155 155 | 
             
                method: post
         | 
| 156 156 | 
             
                uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
         | 
| @@ -166,28 +166,28 @@ http_interactions: | |
| 166 166 | 
             
                  code: 200
         | 
| 167 167 | 
             
                  message: OK
         | 
| 168 168 | 
             
                headers: 
         | 
| 169 | 
            -
                  Date: 
         | 
| 170 | 
            -
                  - Fri, 23 May 2014 04:53:07 GMT
         | 
| 171 | 
            -
                  Server: 
         | 
| 172 | 
            -
                  - Apache-Coyote/1.1
         | 
| 173 169 | 
             
                  Cache-Control: 
         | 
| 174 170 | 
             
                  - no-cache
         | 
| 175 171 | 
             
                  - no-store
         | 
| 176 | 
            -
                  Pragma: 
         | 
| 177 | 
            -
                  - no-cache
         | 
| 178 | 
            -
                  Transfer-Encoding: 
         | 
| 179 | 
            -
                  - chunked
         | 
| 180 | 
            -
                  Content-Type: 
         | 
| 181 | 
            -
                  - application/json
         | 
| 182 172 | 
             
                  Set-Cookie: 
         | 
| 183 173 | 
             
                  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
         | 
| 184 | 
            -
                  - TCSESSIONID= | 
| 174 | 
            +
                  - TCSESSIONID=6F58260302D1E3B9E73B1B3B54E15D83; Path=/; HttpOnly
         | 
| 185 175 | 
             
                  Expires: 
         | 
| 186 176 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 177 | 
            +
                  Transfer-Encoding: 
         | 
| 178 | 
            +
                  - chunked
         | 
| 179 | 
            +
                  Server: 
         | 
| 180 | 
            +
                  - Apache-Coyote/1.1
         | 
| 181 | 
            +
                  Pragma: 
         | 
| 182 | 
            +
                  - no-cache
         | 
| 183 | 
            +
                  Date: 
         | 
| 184 | 
            +
                  - Fri, 23 May 2014 05:17:10 GMT
         | 
| 185 | 
            +
                  Content-Type: 
         | 
| 186 | 
            +
                  - application/json
         | 
| 187 187 | 
             
                body: 
         | 
| 188 188 | 
             
                  string: "{\"id\":\"BaseProject\",\"name\":\"Base Project\",\"href\":\"/httpAuth/app/rest/projects/id:BaseProject\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=BaseProject\",\"parentProjectId\":\"_Root\"}"
         | 
| 189 189 | 
             
                http_version: 
         | 
| 190 | 
            -
              recorded_at: Fri, 23 May 2014  | 
| 190 | 
            +
              recorded_at: Fri, 23 May 2014 05:17:10 GMT
         | 
| 191 191 | 
             
            - request: 
         | 
| 192 192 | 
             
                method: put
         | 
| 193 193 | 
             
                uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:BaseProject/description
         | 
| @@ -203,33 +203,33 @@ http_interactions: | |
| 203 203 | 
             
                  code: 200
         | 
| 204 204 | 
             
                  message: OK
         | 
| 205 205 | 
             
                headers: 
         | 
| 206 | 
            -
                  Date: 
         | 
| 207 | 
            -
                  - Fri, 23 May 2014 04:53:07 GMT
         | 
| 208 | 
            -
                  Server: 
         | 
| 209 | 
            -
                  - Apache-Coyote/1.1
         | 
| 210 206 | 
             
                  Cache-Control: 
         | 
| 211 207 | 
             
                  - no-cache
         | 
| 212 208 | 
             
                  - no-store
         | 
| 213 | 
            -
                  Pragma: 
         | 
| 214 | 
            -
                  - no-cache
         | 
| 215 | 
            -
                  Transfer-Encoding: 
         | 
| 216 | 
            -
                  - chunked
         | 
| 217 | 
            -
                  Content-Type: 
         | 
| 218 | 
            -
                  - text/plain
         | 
| 219 209 | 
             
                  Set-Cookie: 
         | 
| 220 210 | 
             
                  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
         | 
| 221 | 
            -
                  - TCSESSIONID= | 
| 211 | 
            +
                  - TCSESSIONID=E7F67D567B8FD6DDF4C07BFCEF1646BD; Path=/; HttpOnly
         | 
| 222 212 | 
             
                  Expires: 
         | 
| 223 213 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 214 | 
            +
                  Transfer-Encoding: 
         | 
| 215 | 
            +
                  - chunked
         | 
| 216 | 
            +
                  Server: 
         | 
| 217 | 
            +
                  - Apache-Coyote/1.1
         | 
| 218 | 
            +
                  Pragma: 
         | 
| 219 | 
            +
                  - no-cache
         | 
| 220 | 
            +
                  Date: 
         | 
| 221 | 
            +
                  - Fri, 23 May 2014 05:17:10 GMT
         | 
| 222 | 
            +
                  Content-Type: 
         | 
| 223 | 
            +
                  - text/plain
         | 
| 224 224 | 
             
                body: 
         | 
| 225 225 | 
             
                  string: Base Project Description
         | 
| 226 226 | 
             
                http_version: 
         | 
| 227 | 
            -
              recorded_at: Fri, 23 May 2014  | 
| 227 | 
            +
              recorded_at: Fri, 23 May 2014 05:17:10 GMT
         | 
| 228 228 | 
             
            - request: 
         | 
| 229 229 | 
             
                method: post
         | 
| 230 230 | 
             
                uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
         | 
| 231 231 | 
             
                body: 
         | 
| 232 | 
            -
                  string: "{\" | 
| 232 | 
            +
                  string: "{\"copyAllAssociatedSettings\":\"true\",\"name\":\"Project Copy\",\"sourceProject\":{\"id\":\"BaseProject\"}}"
         | 
| 233 233 | 
             
                headers: 
         | 
| 234 234 | 
             
                  Accept: 
         | 
| 235 235 | 
             
                  - application/json
         | 
| @@ -240,28 +240,28 @@ http_interactions: | |
| 240 240 | 
             
                  code: 200
         | 
| 241 241 | 
             
                  message: OK
         | 
| 242 242 | 
             
                headers: 
         | 
| 243 | 
            -
                  Date: 
         | 
| 244 | 
            -
                  - Fri, 23 May 2014 04:53:07 GMT
         | 
| 245 | 
            -
                  Server: 
         | 
| 246 | 
            -
                  - Apache-Coyote/1.1
         | 
| 247 243 | 
             
                  Cache-Control: 
         | 
| 248 244 | 
             
                  - no-cache
         | 
| 249 245 | 
             
                  - no-store
         | 
| 250 | 
            -
                  Pragma: 
         | 
| 251 | 
            -
                  - no-cache
         | 
| 252 | 
            -
                  Transfer-Encoding: 
         | 
| 253 | 
            -
                  - chunked
         | 
| 254 | 
            -
                  Content-Type: 
         | 
| 255 | 
            -
                  - application/json
         | 
| 256 246 | 
             
                  Set-Cookie: 
         | 
| 257 247 | 
             
                  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
         | 
| 258 | 
            -
                  - TCSESSIONID= | 
| 248 | 
            +
                  - TCSESSIONID=B02AC3C07990EB889107C1052C2B25E2; Path=/; HttpOnly
         | 
| 259 249 | 
             
                  Expires: 
         | 
| 260 250 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 251 | 
            +
                  Transfer-Encoding: 
         | 
| 252 | 
            +
                  - chunked
         | 
| 253 | 
            +
                  Server: 
         | 
| 254 | 
            +
                  - Apache-Coyote/1.1
         | 
| 255 | 
            +
                  Pragma: 
         | 
| 256 | 
            +
                  - no-cache
         | 
| 257 | 
            +
                  Date: 
         | 
| 258 | 
            +
                  - Fri, 23 May 2014 05:17:10 GMT
         | 
| 259 | 
            +
                  Content-Type: 
         | 
| 260 | 
            +
                  - application/json
         | 
| 261 261 | 
             
                body: 
         | 
| 262 262 | 
             
                  string: "{\"id\":\"ProjectCopy_2\",\"name\":\"Project Copy\",\"href\":\"/httpAuth/app/rest/projects/id:ProjectCopy_2\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=ProjectCopy_2\",\"parentProjectId\":\"_Root\"}"
         | 
| 263 263 | 
             
                http_version: 
         | 
| 264 | 
            -
              recorded_at: Fri, 23 May 2014  | 
| 264 | 
            +
              recorded_at: Fri, 23 May 2014 05:17:10 GMT
         | 
| 265 265 | 
             
            - request: 
         | 
| 266 266 | 
             
                method: get
         | 
| 267 267 | 
             
                uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:ProjectCopy_2/description
         | 
| @@ -277,25 +277,25 @@ http_interactions: | |
| 277 277 | 
             
                  code: 200
         | 
| 278 278 | 
             
                  message: OK
         | 
| 279 279 | 
             
                headers: 
         | 
| 280 | 
            -
                  Date: 
         | 
| 281 | 
            -
                  - Fri, 23 May 2014 04:53:07 GMT
         | 
| 282 | 
            -
                  Server: 
         | 
| 283 | 
            -
                  - Apache-Coyote/1.1
         | 
| 284 280 | 
             
                  Cache-Control: 
         | 
| 285 281 | 
             
                  - no-cache
         | 
| 286 282 | 
             
                  - no-store
         | 
| 287 | 
            -
                  Pragma: 
         | 
| 288 | 
            -
                  - no-cache
         | 
| 289 | 
            -
                  Transfer-Encoding: 
         | 
| 290 | 
            -
                  - chunked
         | 
| 291 | 
            -
                  Content-Type: 
         | 
| 292 | 
            -
                  - text/plain
         | 
| 293 283 | 
             
                  Set-Cookie: 
         | 
| 294 284 | 
             
                  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
         | 
| 295 | 
            -
                  - TCSESSIONID= | 
| 285 | 
            +
                  - TCSESSIONID=1717D93C220E3D95FD3E3C8A574C5D4A; Path=/; HttpOnly
         | 
| 296 286 | 
             
                  Expires: 
         | 
| 297 287 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 288 | 
            +
                  Transfer-Encoding: 
         | 
| 289 | 
            +
                  - chunked
         | 
| 290 | 
            +
                  Server: 
         | 
| 291 | 
            +
                  - Apache-Coyote/1.1
         | 
| 292 | 
            +
                  Pragma: 
         | 
| 293 | 
            +
                  - no-cache
         | 
| 294 | 
            +
                  Date: 
         | 
| 295 | 
            +
                  - Fri, 23 May 2014 05:17:10 GMT
         | 
| 296 | 
            +
                  Content-Type: 
         | 
| 297 | 
            +
                  - text/plain
         | 
| 298 298 | 
             
                body: 
         | 
| 299 299 | 
             
                  string: Base Project Description
         | 
| 300 300 | 
             
                http_version: 
         | 
| 301 | 
            -
              recorded_at: Fri, 23 May 2014  | 
| 301 | 
            +
              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:07 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= | 
| 24 | 
            +
                  - TCSESSIONID=E56FD7DB9F776B2F45DD4D46C2DB9B56; 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:10 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\"}]}"
         | 
| 39 39 | 
             
                http_version: 
         | 
| 40 | 
            -
              recorded_at: Fri, 23 May 2014  | 
| 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:07 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= | 
| 61 | 
            +
                  - TCSESSIONID=7AD1C098C224315E9223D0A17E91E2C7; 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:10 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  | 
| 80 | 
            +
              recorded_at: Fri, 23 May 2014 05:17:10 GMT
         | 
| 81 81 | 
             
            - request: 
         | 
| 82 82 | 
             
                method: post
         | 
| 83 83 | 
             
                uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
         | 
| @@ -93,28 +93,28 @@ http_interactions: | |
| 93 93 | 
             
                  code: 200
         | 
| 94 94 | 
             
                  message: OK
         | 
| 95 95 | 
             
                headers: 
         | 
| 96 | 
            -
                  Date: 
         | 
| 97 | 
            -
                  - Fri, 23 May 2014 04:53:07 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 | 
            -
                  Transfer-Encoding: 
         | 
| 106 | 
            -
                  - chunked
         | 
| 107 | 
            -
                  Content-Type: 
         | 
| 108 | 
            -
                  - application/json
         | 
| 109 99 | 
             
                  Set-Cookie: 
         | 
| 110 100 | 
             
                  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
         | 
| 111 | 
            -
                  - TCSESSIONID= | 
| 101 | 
            +
                  - TCSESSIONID=8333C3DA6C1F9DCB13DFB7589A7C38F5; Path=/; HttpOnly
         | 
| 112 102 | 
             
                  Expires: 
         | 
| 113 103 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 104 | 
            +
                  Transfer-Encoding: 
         | 
| 105 | 
            +
                  - chunked
         | 
| 106 | 
            +
                  Server: 
         | 
| 107 | 
            +
                  - Apache-Coyote/1.1
         | 
| 108 | 
            +
                  Pragma: 
         | 
| 109 | 
            +
                  - no-cache
         | 
| 110 | 
            +
                  Date: 
         | 
| 111 | 
            +
                  - Fri, 23 May 2014 05:17:10 GMT
         | 
| 112 | 
            +
                  Content-Type: 
         | 
| 113 | 
            +
                  - application/json
         | 
| 114 114 | 
             
                body: 
         | 
| 115 115 | 
             
                  string: "{\"id\":\"PetshopGroup\",\"name\":\"Petshop Group\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopGroup\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopGroup\",\"parentProjectId\":\"_Root\"}"
         | 
| 116 116 | 
             
                http_version: 
         | 
| 117 | 
            -
              recorded_at: Fri, 23 May 2014  | 
| 117 | 
            +
              recorded_at: Fri, 23 May 2014 05:17:10 GMT
         | 
| 118 118 | 
             
            - request: 
         | 
| 119 119 | 
             
                method: post
         | 
| 120 120 | 
             
                uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
         | 
| @@ -130,25 +130,25 @@ http_interactions: | |
| 130 130 | 
             
                  code: 200
         | 
| 131 131 | 
             
                  message: OK
         | 
| 132 132 | 
             
                headers: 
         | 
| 133 | 
            -
                  Date: 
         | 
| 134 | 
            -
                  - Fri, 23 May 2014 04:53:07 GMT
         | 
| 135 | 
            -
                  Server: 
         | 
| 136 | 
            -
                  - Apache-Coyote/1.1
         | 
| 137 133 | 
             
                  Cache-Control: 
         | 
| 138 134 | 
             
                  - no-cache
         | 
| 139 135 | 
             
                  - no-store
         | 
| 140 | 
            -
                  Pragma: 
         | 
| 141 | 
            -
                  - no-cache
         | 
| 142 | 
            -
                  Transfer-Encoding: 
         | 
| 143 | 
            -
                  - chunked
         | 
| 144 | 
            -
                  Content-Type: 
         | 
| 145 | 
            -
                  - application/json
         | 
| 146 136 | 
             
                  Set-Cookie: 
         | 
| 147 137 | 
             
                  - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
         | 
| 148 | 
            -
                  - TCSESSIONID= | 
| 138 | 
            +
                  - TCSESSIONID=2B7FACA2A6A5C5CAA461A390B5E723D1; Path=/; HttpOnly
         | 
| 149 139 | 
             
                  Expires: 
         | 
| 150 140 | 
             
                  - Thu, 01 Jan 1970 00:00:00 GMT
         | 
| 141 | 
            +
                  Transfer-Encoding: 
         | 
| 142 | 
            +
                  - chunked
         | 
| 143 | 
            +
                  Server: 
         | 
| 144 | 
            +
                  - Apache-Coyote/1.1
         | 
| 145 | 
            +
                  Pragma: 
         | 
| 146 | 
            +
                  - no-cache
         | 
| 147 | 
            +
                  Date: 
         | 
| 148 | 
            +
                  - Fri, 23 May 2014 05:17:10 GMT
         | 
| 149 | 
            +
                  Content-Type: 
         | 
| 150 | 
            +
                  - application/json
         | 
| 151 151 | 
             
                body: 
         | 
| 152 152 | 
             
                  string: "{\"id\":\"PetshopGroup_SampleProject\",\"name\":\"Sample Project\",\"href\":\"/httpAuth/app/rest/projects/id:PetshopGroup_SampleProject\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=PetshopGroup_SampleProject\",\"parentProjectId\":\"PetshopGroup\"}"
         | 
| 153 153 | 
             
                http_version: 
         | 
| 154 | 
            -
              recorded_at: Fri, 23 May 2014  | 
| 154 | 
            +
              recorded_at: Fri, 23 May 2014 05:17:10 GMT
         |