Skip to content

Commit

Permalink
add wiremock snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
tginiotis-at-work committed Sep 30, 2020
1 parent fdda773 commit e0413a5
Show file tree
Hide file tree
Showing 28 changed files with 1,800 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"login": "hub4j-test-org",
"id": 7544739,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
"url": "https://api.github.com/orgs/hub4j-test-org",
"repos_url": "https://api.github.com/orgs/hub4j-test-org/repos",
"events_url": "https://api.github.com/orgs/hub4j-test-org/events",
"hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks",
"issues_url": "https://api.github.com/orgs/hub4j-test-org/issues",
"members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}",
"public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}",
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
"description": "Hub4j Test Org Description (this could be null or blank too)",
"name": "Hub4j Test Org Name (this could be null or blank too)",
"company": null,
"blog": "https://hub4j.url.io/could/be/null",
"location": "Hub4j Test Org Location (this could be null or blank too)",
"email": "hub4jtestorgemail@could.be.null.com",
"twitter_username": null,
"is_verified": false,
"has_organization_projects": true,
"has_repository_projects": true,
"public_repos": 13,
"public_gists": 0,
"followers": 0,
"following": 0,
"html_url": "https://github.com/hub4j-test-org",
"created_at": "2014-05-10T19:39:11Z",
"updated_at": "2020-06-04T05:56:10Z",
"type": "Organization",
"total_private_repos": 1,
"owned_private_repos": 1,
"private_gists": 0,
"disk_usage": 152,
"collaborators": 0,
"billing_email": "kk@kohsuke.org",
"default_repository_permission": "none",
"members_can_create_repositories": false,
"two_factor_requirement_enabled": false,
"members_can_create_pages": true,
"plan": {
"name": "free",
"space": 976562499,
"private_repos": 10000,
"filled_seats": 18,
"seats": 3
}
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"sha": "2f0fa610934ce6403b80845c29683ff71dab2256",
"node_id": "MDY6Q29tbWl0MjA2ODg4MjAxOjJmMGZhNjEwOTM0Y2U2NDAzYjgwODQ1YzI5NjgzZmY3MWRhYjIyNTY=",
"commit": {
"author": {
"name": "test",
"email": "test@domain.tld",
"date": "2020-09-30T20:21:41Z"
},
"committer": {
"name": "test",
"email": "test@domain.tld",
"date": "2020-09-30T20:21:41Z"
},
"message": "test signing",
"tree": {
"sha": "496d6428b9cf92981dc9495211e6e1120fb6f2ba",
"url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees/496d6428b9cf92981dc9495211e6e1120fb6f2ba"
},
"url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits/2f0fa610934ce6403b80845c29683ff71dab2256",
"comment_count": 0,
"verification": {
"verified": false,
"reason": "no_user",
"signature": "-----BEGIN PGP SIGNATURE-----\\ninvalid\\n-----END PGP SIGNATURE-----",
"payload": "tree 496d6428b9cf92981dc9495211e6e1120fb6f2ba\nauthor test <test@domain.tld> 1601497301 +0000\ncommitter test <test@domain.tld> 1601497301 +0000\n\ntest signing"
}
},
"url": "https://api.github.com/repos/hub4j-test-org/github-api/commits/2f0fa610934ce6403b80845c29683ff71dab2256",
"html_url": "https://github.com/hub4j-test-org/github-api/commit/2f0fa610934ce6403b80845c29683ff71dab2256",
"comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits/2f0fa610934ce6403b80845c29683ff71dab2256/comments",
"author": null,
"committer": null,
"parents": [],
"stats": {
"total": 0,
"additions": 0,
"deletions": 0
},
"files": [
{
"sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
"filename": "a",
"status": "added",
"additions": 0,
"deletions": 0,
"changes": 0,
"blob_url": "https://github.com/hub4j-test-org/github-api/blob/2f0fa610934ce6403b80845c29683ff71dab2256/a",
"raw_url": "https://github.com/hub4j-test-org/github-api/raw/2f0fa610934ce6403b80845c29683ff71dab2256/a",
"contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/a?ref=2f0fa610934ce6403b80845c29683ff71dab2256"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"sha": "562a0f7765afe24ea5481e98b968572b6a00640c",
"node_id": "MDY6Q29tbWl0MjA2ODg4MjAxOjU2MmEwZjc3NjVhZmUyNGVhNTQ4MWU5OGI5Njg1NzJiNmEwMDY0MGM=",
"commit": {
"author": {
"name": "test",
"email": "test@domain.tld",
"date": "2020-09-30T20:21:36Z"
},
"committer": {
"name": "test",
"email": "test@domain.tld",
"date": "2020-09-30T20:21:36Z"
},
"message": "test signing",
"tree": {
"sha": "496d6428b9cf92981dc9495211e6e1120fb6f2ba",
"url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees/496d6428b9cf92981dc9495211e6e1120fb6f2ba"
},
"url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits/562a0f7765afe24ea5481e98b968572b6a00640c",
"comment_count": 0,
"verification": {
"verified": false,
"reason": "no_user",
"signature": "-----BEGIN PGP SIGNATURE-----\\ninvalid\\n-----END PGP SIGNATURE-----",
"payload": "tree 496d6428b9cf92981dc9495211e6e1120fb6f2ba\nauthor test <test@domain.tld> 1601497296 +0000\ncommitter test <test@domain.tld> 1601497296 +0000\n\ntest signing"
}
},
"url": "https://api.github.com/repos/hub4j-test-org/github-api/commits/562a0f7765afe24ea5481e98b968572b6a00640c",
"html_url": "https://github.com/hub4j-test-org/github-api/commit/562a0f7765afe24ea5481e98b968572b6a00640c",
"comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits/562a0f7765afe24ea5481e98b968572b6a00640c/comments",
"author": null,
"committer": null,
"parents": [],
"stats": {
"total": 0,
"additions": 0,
"deletions": 0
},
"files": [
{
"sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
"filename": "a",
"status": "added",
"additions": 0,
"deletions": 0,
"changes": 0,
"blob_url": "https://github.com/hub4j-test-org/github-api/blob/562a0f7765afe24ea5481e98b968572b6a00640c/a",
"raw_url": "https://github.com/hub4j-test-org/github-api/raw/562a0f7765afe24ea5481e98b968572b6a00640c/a",
"contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/a?ref=562a0f7765afe24ea5481e98b968572b6a00640c"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"sha": "562a0f7765afe24ea5481e98b968572b6a00640c",
"node_id": "MDY6Q29tbWl0MjA2ODg4MjAxOjU2MmEwZjc3NjVhZmUyNGVhNTQ4MWU5OGI5Njg1NzJiNmEwMDY0MGM=",
"url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits/562a0f7765afe24ea5481e98b968572b6a00640c",
"html_url": "https://github.com/hub4j-test-org/github-api/commit/562a0f7765afe24ea5481e98b968572b6a00640c",
"author": {
"name": "test",
"email": "test@domain.tld",
"date": "2020-09-30T20:21:36Z"
},
"committer": {
"name": "test",
"email": "test@domain.tld",
"date": "2020-09-30T20:21:36Z"
},
"tree": {
"sha": "496d6428b9cf92981dc9495211e6e1120fb6f2ba",
"url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees/496d6428b9cf92981dc9495211e6e1120fb6f2ba"
},
"message": "test signing",
"parents": [],
"verification": {
"verified": false,
"reason": "no_user",
"signature": "-----BEGIN PGP SIGNATURE-----\\ninvalid\\n-----END PGP SIGNATURE-----",
"payload": "tree 496d6428b9cf92981dc9495211e6e1120fb6f2ba\nauthor test <test@domain.tld> 1601497296 +0000\ncommitter test <test@domain.tld> 1601497296 +0000\n\ntest signing"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"sha": "2f0fa610934ce6403b80845c29683ff71dab2256",
"node_id": "MDY6Q29tbWl0MjA2ODg4MjAxOjJmMGZhNjEwOTM0Y2U2NDAzYjgwODQ1YzI5NjgzZmY3MWRhYjIyNTY=",
"url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits/2f0fa610934ce6403b80845c29683ff71dab2256",
"html_url": "https://github.com/hub4j-test-org/github-api/commit/2f0fa610934ce6403b80845c29683ff71dab2256",
"author": {
"name": "test",
"email": "test@domain.tld",
"date": "2020-09-30T20:21:41Z"
},
"committer": {
"name": "test",
"email": "test@domain.tld",
"date": "2020-09-30T20:21:41Z"
},
"tree": {
"sha": "496d6428b9cf92981dc9495211e6e1120fb6f2ba",
"url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees/496d6428b9cf92981dc9495211e6e1120fb6f2ba"
},
"message": "test signing",
"parents": [],
"verification": {
"verified": false,
"reason": "no_user",
"signature": "-----BEGIN PGP SIGNATURE-----\\ninvalid\\n-----END PGP SIGNATURE-----",
"payload": "tree 496d6428b9cf92981dc9495211e6e1120fb6f2ba\nauthor test <test@domain.tld> 1601497301 +0000\ncommitter test <test@domain.tld> 1601497301 +0000\n\ntest signing"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"sha": "496d6428b9cf92981dc9495211e6e1120fb6f2ba",
"url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees/496d6428b9cf92981dc9495211e6e1120fb6f2ba",
"tree": [
{
"path": "a",
"mode": "100644",
"type": "blob",
"sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
"size": 0,
"url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391"
}
],
"truncated": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"id": "52f601c4-5e7e-489e-ad89-d0005b4ff8e8",
"name": "orgs_hub4j-test-org",
"request": {
"url": "/orgs/hub4j-test-org",
"method": "GET",
"headers": {
"Accept": {
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
}
}
},
"response": {
"status": 200,
"bodyFileName": "orgs_hub4j-test-org-1.json",
"headers": {
"Date": "Wed, 30 Sep 2020 20:21:35 GMT",
"Content-Type": "application/json; charset=utf-8",
"Server": "GitHub.com",
"Status": "200 OK",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With",
"Accept-Encoding"
],
"ETag": "W/\"5c55d16bf1d59fa9c42072f73eac7e9484cb6b90e83ce9fecee1423b52bf612f\"",
"Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT",
"X-GitHub-Media-Type": "unknown, github.v3",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4950",
"X-RateLimit-Reset": "1601499340",
"X-RateLimit-Used": "50",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
"X-Content-Type-Options": "nosniff",
"X-XSS-Protection": "1; mode=block",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
"X-GitHub-Request-Id": "E37C:F313:1A3A96E7:1F3AAF76:5F74E8CF"
}
},
"uuid": "52f601c4-5e7e-489e-ad89-d0005b4ff8e8",
"persistent": true,
"insertionIndex": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"id": "334f5d75-7332-44c2-99bc-8b0e9d5e19e7",
"name": "repos_hub4j-test-org_github-api",
"request": {
"url": "/repos/hub4j-test-org/github-api",
"method": "GET",
"headers": {
"Accept": {
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
}
}
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api-2.json",
"headers": {
"Date": "Wed, 30 Sep 2020 20:21:35 GMT",
"Content-Type": "application/json; charset=utf-8",
"Server": "GitHub.com",
"Status": "200 OK",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With",
"Accept-Encoding"
],
"ETag": "W/\"5e032d02c9ade9bb9cfedf50f0a5b14e75c6175508babb98c2bab18d99309d1e\"",
"Last-Modified": "Wed, 10 Jun 2020 23:27:59 GMT",
"X-GitHub-Media-Type": "unknown, github.v3",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4949",
"X-RateLimit-Reset": "1601499340",
"X-RateLimit-Used": "51",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
"X-Content-Type-Options": "nosniff",
"X-XSS-Protection": "1; mode=block",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
"X-GitHub-Request-Id": "E37C:F313:1A3A9768:1F3AAFD6:5F74E8CF"
}
},
"uuid": "334f5d75-7332-44c2-99bc-8b0e9d5e19e7",
"persistent": true,
"insertionIndex": 2
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"id": "86eeb275-6c5a-4133-8ff4-24102f45cb34",
"name": "repos_hub4j-test-org_github-api_commits_2f0fa610934ce6403b80845c29683ff71dab2256",
"request": {
"url": "/repos/hub4j-test-org/github-api/commits/2f0fa610934ce6403b80845c29683ff71dab2256",
"method": "GET",
"headers": {
"Accept": {
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
}
}
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api_commits_2f0fa610934ce6403b80845c29683ff71dab2256-7.json",
"headers": {
"Date": "Wed, 30 Sep 2020 20:21:43 GMT",
"Content-Type": "application/json; charset=utf-8",
"Server": "GitHub.com",
"Status": "200 OK",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding, Accept, X-Requested-With",
"Accept-Encoding"
],
"ETag": "W/\"d70d75f32a3949f5d373d12ebd99e6f507298bb4b9501f4cc220e5485064677e\"",
"Last-Modified": "Wed, 30 Sep 2020 20:21:41 GMT",
"X-GitHub-Media-Type": "unknown, github.v3",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4942",
"X-RateLimit-Reset": "1601499340",
"X-RateLimit-Used": "58",
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
"X-Frame-Options": "deny",
"X-Content-Type-Options": "nosniff",
"X-XSS-Protection": "1; mode=block",
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
"X-GitHub-Request-Id": "E396:FC01:6D8D5D7:80E1F74:5F74E8D6"
}
},
"uuid": "86eeb275-6c5a-4133-8ff4-24102f45cb34",
"persistent": true,
"insertionIndex": 7
}
Loading

0 comments on commit e0413a5

Please sign in to comment.