Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[JENKINS-41464] Add missing test data
- Loading branch information
Showing
2 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
src/test/resources/api/__files/body-users-stephenc-JRfTU.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"login": "stephenc", | ||
"id": 209336, | ||
"avatar_url": "https://avatars.githubusercontent.com/u/209336?v=3", | ||
"gravatar_id": "", | ||
"url": "https://api.github.com/users/stephenc", | ||
"html_url": "https://github.com/stephenc", | ||
"followers_url": "https://api.github.com/users/stephenc/followers", | ||
"following_url": "https://api.github.com/users/stephenc/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/stephenc/gists{/gist_id}", | ||
"starred_url": "https://api.github.com/users/stephenc/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/stephenc/subscriptions", | ||
"organizations_url": "https://api.github.com/users/stephenc/orgs", | ||
"repos_url": "https://api.github.com/users/stephenc/repos", | ||
"events_url": "https://api.github.com/users/stephenc/events{/privacy}", | ||
"received_events_url": "https://api.github.com/users/stephenc/received_events", | ||
"type": "User", | ||
"site_admin": false, | ||
"name": "Stephen Connolly", | ||
"company": "CloudBees Inc.", | ||
"blog": "http://javaadventure.blogspot.com/", | ||
"location": "Dublin, Ireland", | ||
"email": null, | ||
"hireable": null, | ||
"bio": null, | ||
"public_repos": 139, | ||
"public_gists": 10, | ||
"followers": 73, | ||
"following": 13, | ||
"created_at": "2010-02-23T17:38:28Z", | ||
"updated_at": "2017-01-21T10:29:10Z" | ||
} |
34 changes: 34 additions & 0 deletions
34
src/test/resources/api/mappings/mapping-users-stephenc-JRfTU.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"request" : { | ||
"url" : "/users/stephenc", | ||
"method" : "GET" | ||
}, | ||
"response" : { | ||
"status" : 200, | ||
"bodyFileName" : "body-users-stephenc-JRfTU.json", | ||
"headers" : { | ||
"Server" : "GitHub.com", | ||
"Date" : "Tue, 06 Dec 2016 15:06:25 GMT", | ||
"Content-Type" : "application/json; charset=utf-8", | ||
"Transfer-Encoding" : "chunked", | ||
"Status" : "200 OK", | ||
"X-RateLimit-Limit" : "60", | ||
"X-RateLimit-Remaining" : "60", | ||
"X-RateLimit-Reset" : "1481039662", | ||
"Cache-Control" : "public, max-age=60, s-maxage=60", | ||
"Vary" : [ "Accept", "Accept-Encoding" ], | ||
"ETag" : "W/\"91482e12d1cde431b38e0238d74dfa7b\"", | ||
"Last-Modified" : "Sat, 27 Feb 2016 07:57:23 GMT", | ||
"X-GitHub-Media-Type" : "github.v3; format=json", | ||
"Access-Control-Expose-Headers" : "ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval", | ||
"Access-Control-Allow-Origin" : "*", | ||
"Content-Security-Policy" : "default-src 'none'", | ||
"Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", | ||
"X-Content-Type-Options" : "nosniff", | ||
"X-Frame-Options" : "deny", | ||
"X-XSS-Protection" : "1; mode=block", | ||
"X-Served-By" : "d256f86292c6dde5d09d15d926ec67a3", | ||
"X-GitHub-Request-Id" : "B2A7FE77:629C:AF96C1F:5846D3F0" | ||
} | ||
} | ||
} |