--- http_interactions: - request: method: get uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots body: string: "" headers: Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:38 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=884CB65D85CBEE3D511869E0EFF23391; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "{\"count\":0,\"vcs-root\":[]}" http_version: recorded_at: Fri, 23 May 2014 15:05:38 GMT - request: method: post uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots body: string: "{\"projectLocator\":\"id:_Root\",\"name\":\"VCS Root 1\",\"properties\":{\"property\":[{\"value\":\"git@example.com/repo.git\",\"name\":\"url\"}]},\"vcsName\":\"jetbrains.git\"}" headers: Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:38 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=CFCB58C7343E2FFE73B4D052A0095D14; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "{\"id\":\"Root_VcsRoot1\",\"name\":\"VCS Root 1\",\"vcsName\":\"jetbrains.git\",\"status\":\"NOT_MONITORED\",\"lastChecked\":\"20140523T040300+0000\",\"href\":\"/httpAuth/app/rest/vcs-roots/id:Root_VcsRoot1\",\"project\":{\"id\":\"_Root\",\"name\":\"\",\"href\":\"/httpAuth/app/rest/projects/id:_Root\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=_Root\"},\"properties\":{\"property\":[{\"name\":\"url\",\"value\":\"git@example.com/repo.git\"}]},\"vcsRootInstances\":{\"href\":\"/httpAuth/app/rest/vcs-root-instances?locator=vcsRoot:(id:Root_VcsRoot1)\"}}" http_version: recorded_at: Fri, 23 May 2014 15:05:38 GMT - request: method: get uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots/id:Root_VcsRoot1 body: string: "" headers: Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:38 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=9CB6AFC98267396EC5E00E51AD6492B2; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "{\"id\":\"Root_VcsRoot1\",\"name\":\"VCS Root 1\",\"vcsName\":\"jetbrains.git\",\"status\":\"NOT_MONITORED\",\"lastChecked\":\"20140523T040300+0000\",\"href\":\"/httpAuth/app/rest/vcs-roots/id:Root_VcsRoot1\",\"project\":{\"id\":\"_Root\",\"name\":\"\",\"href\":\"/httpAuth/app/rest/projects/id:_Root\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=_Root\"},\"properties\":{\"property\":[{\"name\":\"url\",\"value\":\"git@example.com/repo.git\"}]},\"vcsRootInstances\":{\"href\":\"/httpAuth/app/rest/vcs-root-instances?locator=vcsRoot:(id:Root_VcsRoot1)\"}}" http_version: recorded_at: Fri, 23 May 2014 15:05:38 GMT - request: method: post uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots body: string: "{\"projectLocator\":\"id:_Root\",\"name\":\"VCS Root 2\",\"properties\":{\"property\":[{\"value\":\"git@example.com/repo.git\",\"name\":\"url\"}]},\"vcsName\":\"jetbrains.git\"}" headers: Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:38 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=22CA22B10739C92EB975701B013A2A9F; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "{\"id\":\"Root_VcsRoot2\",\"name\":\"VCS Root 2\",\"vcsName\":\"jetbrains.git\",\"status\":\"NOT_MONITORED\",\"lastChecked\":\"20140523T040300+0000\",\"href\":\"/httpAuth/app/rest/vcs-roots/id:Root_VcsRoot2\",\"project\":{\"id\":\"_Root\",\"name\":\"\",\"href\":\"/httpAuth/app/rest/projects/id:_Root\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=_Root\"},\"properties\":{\"property\":[{\"name\":\"url\",\"value\":\"git@example.com/repo.git\"}]},\"vcsRootInstances\":{\"href\":\"/httpAuth/app/rest/vcs-root-instances?locator=vcsRoot:(id:Root_VcsRoot2)\"}}" http_version: recorded_at: Fri, 23 May 2014 15:05:38 GMT - request: method: get uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots/id:Root_VcsRoot2 body: string: "" headers: Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:38 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=E0E0FB6E5E5EC72A49BEEB5D018D1EDA; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "{\"id\":\"Root_VcsRoot2\",\"name\":\"VCS Root 2\",\"vcsName\":\"jetbrains.git\",\"status\":\"NOT_MONITORED\",\"lastChecked\":\"20140523T040300+0000\",\"href\":\"/httpAuth/app/rest/vcs-roots/id:Root_VcsRoot2\",\"project\":{\"id\":\"_Root\",\"name\":\"\",\"href\":\"/httpAuth/app/rest/projects/id:_Root\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=_Root\"},\"properties\":{\"property\":[{\"name\":\"url\",\"value\":\"git@example.com/repo.git\"}]},\"vcsRootInstances\":{\"href\":\"/httpAuth/app/rest/vcs-root-instances?locator=vcsRoot:(id:Root_VcsRoot2)\"}}" http_version: recorded_at: Fri, 23 May 2014 15:05:38 GMT - request: method: get uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots body: string: "" headers: Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:38 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=B641C942A310E23DA0AEDA01C9F02D11; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "{\"count\":2,\"vcs-root\":[{\"id\":\"Root_VcsRoot1\",\"name\":\"VCS Root 1\",\"href\":\"/httpAuth/app/rest/vcs-roots/id:Root_VcsRoot1\"},{\"id\":\"Root_VcsRoot2\",\"name\":\"VCS Root 2\",\"href\":\"/httpAuth/app/rest/vcs-roots/id:Root_VcsRoot2\"}]}" http_version: recorded_at: Fri, 23 May 2014 15:05:38 GMT recorded_with: VCR 2.4.0