Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c21bd57

Browse filesBrowse files
add wiremock snapshots
1 parent b78c37a commit c21bd57
Copy full SHA for c21bd57
Expand file treeCollapse file tree

20 files changed

+1516
-0
lines changed
Open diff view settings
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"login": "hub4j-test-org",
3+
"id": 7544739,
4+
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
5+
"url": "https://api.github.com/orgs/hub4j-test-org",
6+
"repos_url": "https://api.github.com/orgs/hub4j-test-org/repos",
7+
"events_url": "https://api.github.com/orgs/hub4j-test-org/events",
8+
"hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks",
9+
"issues_url": "https://api.github.com/orgs/hub4j-test-org/issues",
10+
"members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}",
11+
"public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}",
12+
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
13+
"description": "Hub4j Test Org Description (this could be null or blank too)",
14+
"name": "Hub4j Test Org Name (this could be null or blank too)",
15+
"company": null,
16+
"blog": "https://hub4j.url.io/could/be/null",
17+
"location": "Hub4j Test Org Location (this could be null or blank too)",
18+
"email": "hub4jtestorgemail@could.be.null.com",
19+
"twitter_username": null,
20+
"is_verified": false,
21+
"has_organization_projects": true,
22+
"has_repository_projects": true,
23+
"public_repos": 13,
24+
"public_gists": 0,
25+
"followers": 0,
26+
"following": 0,
27+
"html_url": "https://github.com/hub4j-test-org",
28+
"created_at": "2014-05-10T19:39:11Z",
29+
"updated_at": "2020-06-04T05:56:10Z",
30+
"type": "Organization",
31+
"total_private_repos": 1,
32+
"owned_private_repos": 1,
33+
"private_gists": 0,
34+
"disk_usage": 152,
35+
"collaborators": 0,
36+
"billing_email": "kk@kohsuke.org",
37+
"default_repository_permission": "none",
38+
"members_can_create_repositories": false,
39+
"two_factor_requirement_enabled": false,
40+
"members_can_create_pages": true,
41+
"plan": {
42+
"name": "free",
43+
"space": 976562499,
44+
"private_repos": 10000,
45+
"filled_seats": 18,
46+
"seats": 3
47+
}
48+
}
Collapse file

‎src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSignedCommitUnknownSignatureType/__files/repos_hub4j-test-org_github-api-2.json‎

Copy file name to clipboardExpand all lines: src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSignedCommitUnknownSignatureType/__files/repos_hub4j-test-org_github-api-2.json
+332Lines changed: 332 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"sha": "4c84ff0c2e63c338a783d151d34884443269c2b7",
3+
"node_id": "MDY6Q29tbWl0MjA2ODg4MjAxOjRjODRmZjBjMmU2M2MzMzhhNzgzZDE1MWQzNDg4NDQ0MzI2OWMyYjc=",
4+
"commit": {
5+
"author": {
6+
"name": "Tadas Giniotis",
7+
"email": "61763026+tginiotis-at-work@users.noreply.github.com",
8+
"date": "2020-09-30T22:23:51Z"
9+
},
10+
"committer": {
11+
"name": "Tadas Giniotis",
12+
"email": "61763026+tginiotis-at-work@users.noreply.github.com",
13+
"date": "2020-09-30T22:23:51Z"
14+
},
15+
"message": "test signing",
16+
"tree": {
17+
"sha": "496d6428b9cf92981dc9495211e6e1120fb6f2ba",
18+
"url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees/496d6428b9cf92981dc9495211e6e1120fb6f2ba"
19+
},
20+
"url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits/4c84ff0c2e63c338a783d151d34884443269c2b7",
21+
"comment_count": 0,
22+
"verification": {
23+
"verified": false,
24+
"reason": "unknown_signature_type",
25+
"signature": "unknown",
26+
"payload": "tree 496d6428b9cf92981dc9495211e6e1120fb6f2ba\nauthor Tadas Giniotis <61763026+tginiotis-at-work@users.noreply.github.com> 1601504631 +0300\ncommitter Tadas Giniotis <61763026+tginiotis-at-work@users.noreply.github.com> 1601504631 +0300\n\ntest signing"
27+
}
28+
},
29+
"url": "https://api.github.com/repos/hub4j-test-org/github-api/commits/4c84ff0c2e63c338a783d151d34884443269c2b7",
30+
"html_url": "https://github.com/hub4j-test-org/github-api/commit/4c84ff0c2e63c338a783d151d34884443269c2b7",
31+
"comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits/4c84ff0c2e63c338a783d151d34884443269c2b7/comments",
32+
"author": {
33+
"login": "tginiotis-at-work",
34+
"id": 61763026,
35+
"node_id": "MDQ6VXNlcjYxNzYzMDI2",
36+
"avatar_url": "https://avatars3.githubusercontent.com/u/61763026?v=4",
37+
"gravatar_id": "",
38+
"url": "https://api.github.com/users/tginiotis-at-work",
39+
"html_url": "https://github.com/tginiotis-at-work",
40+
"followers_url": "https://api.github.com/users/tginiotis-at-work/followers",
41+
"following_url": "https://api.github.com/users/tginiotis-at-work/following{/other_user}",
42+
"gists_url": "https://api.github.com/users/tginiotis-at-work/gists{/gist_id}",
43+
"starred_url": "https://api.github.com/users/tginiotis-at-work/starred{/owner}{/repo}",
44+
"subscriptions_url": "https://api.github.com/users/tginiotis-at-work/subscriptions",
45+
"organizations_url": "https://api.github.com/users/tginiotis-at-work/orgs",
46+
"repos_url": "https://api.github.com/users/tginiotis-at-work/repos",
47+
"events_url": "https://api.github.com/users/tginiotis-at-work/events{/privacy}",
48+
"received_events_url": "https://api.github.com/users/tginiotis-at-work/received_events",
49+
"type": "User",
50+
"site_admin": false
51+
},
52+
"committer": {
53+
"login": "tginiotis-at-work",
54+
"id": 61763026,
55+
"node_id": "MDQ6VXNlcjYxNzYzMDI2",
56+
"avatar_url": "https://avatars3.githubusercontent.com/u/61763026?v=4",
57+
"gravatar_id": "",
58+
"url": "https://api.github.com/users/tginiotis-at-work",
59+
"html_url": "https://github.com/tginiotis-at-work",
60+
"followers_url": "https://api.github.com/users/tginiotis-at-work/followers",
61+
"following_url": "https://api.github.com/users/tginiotis-at-work/following{/other_user}",
62+
"gists_url": "https://api.github.com/users/tginiotis-at-work/gists{/gist_id}",
63+
"starred_url": "https://api.github.com/users/tginiotis-at-work/starred{/owner}{/repo}",
64+
"subscriptions_url": "https://api.github.com/users/tginiotis-at-work/subscriptions",
65+
"organizations_url": "https://api.github.com/users/tginiotis-at-work/orgs",
66+
"repos_url": "https://api.github.com/users/tginiotis-at-work/repos",
67+
"events_url": "https://api.github.com/users/tginiotis-at-work/events{/privacy}",
68+
"received_events_url": "https://api.github.com/users/tginiotis-at-work/received_events",
69+
"type": "User",
70+
"site_admin": false
71+
},
72+
"parents": [],
73+
"stats": {
74+
"total": 0,
75+
"additions": 0,
76+
"deletions": 0
77+
},
78+
"files": [
79+
{
80+
"sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
81+
"filename": "a",
82+
"status": "added",
83+
"additions": 0,
84+
"deletions": 0,
85+
"changes": 0,
86+
"blob_url": "https://github.com/hub4j-test-org/github-api/blob/4c84ff0c2e63c338a783d151d34884443269c2b7/a",
87+
"raw_url": "https://github.com/hub4j-test-org/github-api/raw/4c84ff0c2e63c338a783d151d34884443269c2b7/a",
88+
"contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/a?ref=4c84ff0c2e63c338a783d151d34884443269c2b7"
89+
}
90+
]
91+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"sha": "4c84ff0c2e63c338a783d151d34884443269c2b7",
3+
"node_id": "MDY6Q29tbWl0MjA2ODg4MjAxOjRjODRmZjBjMmU2M2MzMzhhNzgzZDE1MWQzNDg4NDQ0MzI2OWMyYjc=",
4+
"url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits/4c84ff0c2e63c338a783d151d34884443269c2b7",
5+
"html_url": "https://github.com/hub4j-test-org/github-api/commit/4c84ff0c2e63c338a783d151d34884443269c2b7",
6+
"author": {
7+
"name": "Tadas Giniotis",
8+
"email": "61763026+tginiotis-at-work@users.noreply.github.com",
9+
"date": "2020-09-30T22:23:51Z"
10+
},
11+
"committer": {
12+
"name": "Tadas Giniotis",
13+
"email": "61763026+tginiotis-at-work@users.noreply.github.com",
14+
"date": "2020-09-30T22:23:51Z"
15+
},
16+
"tree": {
17+
"sha": "496d6428b9cf92981dc9495211e6e1120fb6f2ba",
18+
"url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees/496d6428b9cf92981dc9495211e6e1120fb6f2ba"
19+
},
20+
"message": "test signing",
21+
"parents": [],
22+
"verification": {
23+
"verified": false,
24+
"reason": "unknown_signature_type",
25+
"signature": "unknown",
26+
"payload": "tree 496d6428b9cf92981dc9495211e6e1120fb6f2ba\nauthor Tadas Giniotis <61763026+tginiotis-at-work@users.noreply.github.com> 1601504631 +0300\ncommitter Tadas Giniotis <61763026+tginiotis-at-work@users.noreply.github.com> 1601504631 +0300\n\ntest signing"
27+
}
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"sha": "496d6428b9cf92981dc9495211e6e1120fb6f2ba",
3+
"url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees/496d6428b9cf92981dc9495211e6e1120fb6f2ba",
4+
"tree": [
5+
{
6+
"path": "a",
7+
"mode": "100644",
8+
"type": "blob",
9+
"sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
10+
"size": 0,
11+
"url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391"
12+
}
13+
],
14+
"truncated": false
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"id": "a350645c-1938-4c8d-b164-fa9e0c67801f",
3+
"name": "orgs_hub4j-test-org",
4+
"request": {
5+
"url": "/orgs/hub4j-test-org",
6+
"method": "GET",
7+
"headers": {
8+
"Accept": {
9+
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
10+
}
11+
}
12+
},
13+
"response": {
14+
"status": 200,
15+
"bodyFileName": "orgs_hub4j-test-org-1.json",
16+
"headers": {
17+
"Date": "Wed, 30 Sep 2020 22:23:49 GMT",
18+
"Content-Type": "application/json; charset=utf-8",
19+
"Server": "GitHub.com",
20+
"Status": "200 OK",
21+
"Cache-Control": "private, max-age=60, s-maxage=60",
22+
"Vary": [
23+
"Accept, Authorization, Cookie, X-GitHub-OTP",
24+
"Accept-Encoding, Accept, X-Requested-With",
25+
"Accept-Encoding"
26+
],
27+
"ETag": "W/\"5c55d16bf1d59fa9c42072f73eac7e9484cb6b90e83ce9fecee1423b52bf612f\"",
28+
"Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT",
29+
"X-GitHub-Media-Type": "unknown, github.v3",
30+
"X-RateLimit-Limit": "5000",
31+
"X-RateLimit-Remaining": "4941",
32+
"X-RateLimit-Reset": "1601504639",
33+
"X-RateLimit-Used": "59",
34+
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
35+
"X-Frame-Options": "deny",
36+
"X-Content-Type-Options": "nosniff",
37+
"X-XSS-Protection": "1; mode=block",
38+
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
39+
"Content-Security-Policy": "default-src 'none'",
40+
"X-GitHub-Request-Id": "EDA2:11A07:1BDDC5BB:212F8CC2:5F750575"
41+
}
42+
},
43+
"uuid": "a350645c-1938-4c8d-b164-fa9e0c67801f",
44+
"persistent": true,
45+
"insertionIndex": 1
46+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"id": "3fb900d8-a015-469c-99f9-4f8a8464a3a1",
3+
"name": "repos_hub4j-test-org_github-api",
4+
"request": {
5+
"url": "/repos/hub4j-test-org/github-api",
6+
"method": "GET",
7+
"headers": {
8+
"Accept": {
9+
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
10+
}
11+
}
12+
},
13+
"response": {
14+
"status": 200,
15+
"bodyFileName": "repos_hub4j-test-org_github-api-2.json",
16+
"headers": {
17+
"Date": "Wed, 30 Sep 2020 22:23:50 GMT",
18+
"Content-Type": "application/json; charset=utf-8",
19+
"Server": "GitHub.com",
20+
"Status": "200 OK",
21+
"Cache-Control": "private, max-age=60, s-maxage=60",
22+
"Vary": [
23+
"Accept, Authorization, Cookie, X-GitHub-OTP",
24+
"Accept-Encoding, Accept, X-Requested-With",
25+
"Accept-Encoding"
26+
],
27+
"ETag": "W/\"c8ad35a8cd7fe9644ddeb7b67d913887a2344f1572826dfde27f697035eba391\"",
28+
"Last-Modified": "Wed, 10 Jun 2020 23:27:59 GMT",
29+
"X-GitHub-Media-Type": "unknown, github.v3",
30+
"X-RateLimit-Limit": "5000",
31+
"X-RateLimit-Remaining": "4940",
32+
"X-RateLimit-Reset": "1601504639",
33+
"X-RateLimit-Used": "60",
34+
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
35+
"X-Frame-Options": "deny",
36+
"X-Content-Type-Options": "nosniff",
37+
"X-XSS-Protection": "1; mode=block",
38+
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
39+
"Content-Security-Policy": "default-src 'none'",
40+
"X-GitHub-Request-Id": "EDA2:11A07:1BDDC698:212F8D26:5F750575"
41+
}
42+
},
43+
"uuid": "3fb900d8-a015-469c-99f9-4f8a8464a3a1",
44+
"persistent": true,
45+
"insertionIndex": 2
46+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"id": "38d3fd11-8cda-4aba-9106-2cb73c39c611",
3+
"name": "repos_hub4j-test-org_github-api_commits_4c84ff0c2e63c338a783d151d34884443269c2b7",
4+
"request": {
5+
"url": "/repos/hub4j-test-org/github-api/commits/4c84ff0c2e63c338a783d151d34884443269c2b7",
6+
"method": "GET",
7+
"headers": {
8+
"Accept": {
9+
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
10+
}
11+
}
12+
},
13+
"response": {
14+
"status": 200,
15+
"bodyFileName": "repos_hub4j-test-org_github-api_commits_4c84ff0c2e63c338a783d151d34884443269c2b7-5.json",
16+
"headers": {
17+
"Date": "Wed, 30 Sep 2020 22:23:51 GMT",
18+
"Content-Type": "application/json; charset=utf-8",
19+
"Server": "GitHub.com",
20+
"Status": "200 OK",
21+
"Cache-Control": "private, max-age=60, s-maxage=60",
22+
"Vary": [
23+
"Accept, Authorization, Cookie, X-GitHub-OTP",
24+
"Accept-Encoding, Accept, X-Requested-With",
25+
"Accept-Encoding"
26+
],
27+
"ETag": "W/\"e21dd140e0ddf1541936f44be456851f267d4ae1834dbf080d4bd7378cefbc57\"",
28+
"Last-Modified": "Wed, 30 Sep 2020 22:23:51 GMT",
29+
"X-GitHub-Media-Type": "unknown, github.v3",
30+
"X-RateLimit-Limit": "5000",
31+
"X-RateLimit-Remaining": "4937",
32+
"X-RateLimit-Reset": "1601504639",
33+
"X-RateLimit-Used": "63",
34+
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
35+
"X-Frame-Options": "deny",
36+
"X-Content-Type-Options": "nosniff",
37+
"X-XSS-Protection": "1; mode=block",
38+
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
39+
"Content-Security-Policy": "default-src 'none'",
40+
"X-GitHub-Request-Id": "EDA2:11A07:1BDDC8A6:212F902E:5F750577"
41+
}
42+
},
43+
"uuid": "38d3fd11-8cda-4aba-9106-2cb73c39c611",
44+
"persistent": true,
45+
"insertionIndex": 5
46+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"id": "e67d9457-6a15-48c0-9129-e4756a1f0270",
3+
"name": "repos_hub4j-test-org_github-api_git_commits",
4+
"request": {
5+
"url": "/repos/hub4j-test-org/github-api/git/commits",
6+
"method": "POST",
7+
"headers": {
8+
"Accept": {
9+
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
10+
}
11+
},
12+
"bodyPatterns": [
13+
{
14+
"equalToJson": "{\"signature\":\"unknown\",\"tree\":\"496d6428b9cf92981dc9495211e6e1120fb6f2ba\",\"message\":\"test signing\",\"parents\":[]}",
15+
"ignoreArrayOrder": true,
16+
"ignoreExtraElements": false
17+
}
18+
]
19+
},
20+
"response": {
21+
"status": 201,
22+
"bodyFileName": "repos_hub4j-test-org_github-api_git_commits-4.json",
23+
"headers": {
24+
"Date": "Wed, 30 Sep 2020 22:23:51 GMT",
25+
"Content-Type": "application/json; charset=utf-8",
26+
"Server": "GitHub.com",
27+
"Status": "201 Created",
28+
"Cache-Control": "private, max-age=60, s-maxage=60",
29+
"Vary": [
30+
"Accept, Authorization, Cookie, X-GitHub-OTP",
31+
"Accept-Encoding, Accept, X-Requested-With",
32+
"Accept-Encoding"
33+
],
34+
"ETag": "\"a1619b0b838e3c06d760033e46addc8465219d564e8fe93bc13f03bc3bfd739d\"",
35+
"Location": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits/4c84ff0c2e63c338a783d151d34884443269c2b7",
36+
"X-GitHub-Media-Type": "unknown, github.v3",
37+
"X-RateLimit-Limit": "5000",
38+
"X-RateLimit-Remaining": "4938",
39+
"X-RateLimit-Reset": "1601504639",
40+
"X-RateLimit-Used": "62",
41+
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
42+
"X-Frame-Options": "deny",
43+
"X-Content-Type-Options": "nosniff",
44+
"X-XSS-Protection": "1; mode=block",
45+
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
46+
"Content-Security-Policy": "default-src 'none'",
47+
"X-GitHub-Request-Id": "EDA2:11A07:1BDDC7EE:212F8F3C:5F750577"
48+
}
49+
},
50+
"uuid": "e67d9457-6a15-48c0-9129-e4756a1f0270",
51+
"persistent": true,
52+
"insertionIndex": 4
53+
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.