Fix lifecycle test to not fail during release

This commit is contained in:
Liam Newman
2019-11-26 17:46:15 -08:00
parent 7e7ae79477
commit b3d79622e6
25 changed files with 221 additions and 221 deletions

View File

@@ -50,11 +50,11 @@ public class LifecycleTest extends AbstractGitHubWireMockTest {
}
private GHAsset uploadAsset(GHRelease release) throws IOException {
GHAsset asset = release.uploadAsset(new File("pom.xml"), "application/text");
GHAsset asset = release.uploadAsset(new File("LICENSE.txt"), "application/text");
assertNotNull(asset);
List<GHAsset> assets = release.getAssets();
assertEquals(1, assets.size());
assertEquals("pom.xml", assets.get(0).getName());
assertEquals("LICENSE.txt", assets.get(0).getName());
return asset;
}

View File

@@ -1,6 +1,6 @@
{
"id": 223286345,
"node_id": "MDEwOlJlcG9zaXRvcnkyMjMyODYzNDU=",
"id": 224320760,
"node_id": "MDEwOlJlcG9zaXRvcnkyMjQzMjA3NjA=",
"name": "temp-testCreateRepository",
"full_name": "github-api-test-org/temp-testCreateRepository",
"private": false,
@@ -64,9 +64,9 @@
"labels_url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/labels{/name}",
"releases_url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases{/id}",
"deployments_url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/deployments",
"created_at": "2019-11-21T23:50:49Z",
"updated_at": "2019-11-21T23:50:53Z",
"pushed_at": "2019-11-21T23:50:51Z",
"created_at": "2019-11-27T01:45:21Z",
"updated_at": "2019-11-27T01:45:25Z",
"pushed_at": "2019-11-27T01:45:23Z",
"git_url": "git://github.com/github-api-test-org/temp-testCreateRepository.git",
"ssh_url": "git@github.com:github-api-test-org/temp-testCreateRepository.git",
"clone_url": "https://github.com/github-api-test-org/temp-testCreateRepository.git",

View File

@@ -5,8 +5,8 @@
"comments_url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/issues/1/comments",
"events_url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/issues/1/events",
"html_url": "https://github.com/github-api-test-org/temp-testCreateRepository/issues/1",
"id": 526906115,
"node_id": "MDU6SXNzdWU1MjY5MDYxMTU=",
"id": 529065389,
"node_id": "MDU6SXNzdWU1MjkwNjUzODk=",
"number": 1,
"title": "Test Issue",
"user": {
@@ -31,8 +31,8 @@
},
"labels": [
{
"id": 1690995162,
"node_id": "MDU6TGFiZWwxNjkwOTk1MTYy",
"id": 1700362801,
"node_id": "MDU6TGFiZWwxNzAwMzYyODAx",
"url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/labels/bug",
"name": "bug",
"color": "d73a4a",
@@ -88,8 +88,8 @@
"url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/milestones/1",
"html_url": "https://github.com/github-api-test-org/temp-testCreateRepository/milestone/1",
"labels_url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/milestones/1/labels",
"id": 4868306,
"node_id": "MDk6TWlsZXN0b25lNDg2ODMwNg==",
"id": 4883069,
"node_id": "MDk6TWlsZXN0b25lNDg4MzA2OQ==",
"number": 1,
"title": "Initial Release",
"description": "first one",
@@ -116,14 +116,14 @@
"open_issues": 1,
"closed_issues": 0,
"state": "open",
"created_at": "2019-11-21T23:50:55Z",
"updated_at": "2019-11-21T23:50:56Z",
"created_at": "2019-11-27T01:45:27Z",
"updated_at": "2019-11-27T01:45:28Z",
"due_on": null,
"closed_at": null
},
"comments": 0,
"created_at": "2019-11-21T23:50:56Z",
"updated_at": "2019-11-21T23:50:57Z",
"created_at": "2019-11-27T01:45:27Z",
"updated_at": "2019-11-27T01:45:28Z",
"closed_at": null,
"author_association": "MEMBER",
"body": "issue body just for grins",

View File

@@ -2,8 +2,8 @@
"url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/milestones/1",
"html_url": "https://github.com/github-api-test-org/temp-testCreateRepository/milestone/1",
"labels_url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/milestones/1/labels",
"id": 4868306,
"node_id": "MDk6TWlsZXN0b25lNDg2ODMwNg==",
"id": 4883069,
"node_id": "MDk6TWlsZXN0b25lNDg4MzA2OQ==",
"number": 1,
"title": "Initial Release",
"description": "first one",
@@ -30,8 +30,8 @@
"open_issues": 0,
"closed_issues": 0,
"state": "open",
"created_at": "2019-11-21T23:50:55Z",
"updated_at": "2019-11-21T23:50:55Z",
"created_at": "2019-11-27T01:45:27Z",
"updated_at": "2019-11-27T01:45:27Z",
"due_on": null,
"closed_at": null
}

View File

@@ -1,10 +1,10 @@
{
"url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/21671831",
"assets_url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/21671831/assets",
"upload_url": "https://uploads.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/21671831/assets{?name,label}",
"url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/21786739",
"assets_url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/21786739/assets",
"upload_url": "https://uploads.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/21786739/assets{?name,label}",
"html_url": "https://github.com/github-api-test-org/temp-testCreateRepository/releases/tag/release_tag",
"id": 21671831,
"node_id": "MDc6UmVsZWFzZTIxNjcxODMx",
"id": 21786739,
"node_id": "MDc6UmVsZWFzZTIxNzg2NzM5",
"tag_name": "release_tag",
"target_commitish": "master",
"name": "Test Release",
@@ -30,8 +30,8 @@
"site_admin": false
},
"prerelease": false,
"created_at": "2019-11-21T23:50:50Z",
"published_at": "2019-11-21T23:50:58Z",
"created_at": "2019-11-27T01:45:22Z",
"published_at": "2019-11-27T01:45:29Z",
"assets": [],
"tarball_url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/tarball/release_tag",
"zipball_url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/zipball/release_tag",

View File

@@ -1,11 +1,11 @@
[
{
"url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/21671831",
"assets_url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/21671831/assets",
"upload_url": "https://uploads.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/21671831/assets{?name,label}",
"url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/21786739",
"assets_url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/21786739/assets",
"upload_url": "https://uploads.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/21786739/assets{?name,label}",
"html_url": "https://github.com/github-api-test-org/temp-testCreateRepository/releases/tag/release_tag",
"id": 21671831,
"node_id": "MDc6UmVsZWFzZTIxNjcxODMx",
"id": 21786739,
"node_id": "MDc6UmVsZWFzZTIxNzg2NzM5",
"tag_name": "release_tag",
"target_commitish": "master",
"name": "Test Release",
@@ -31,8 +31,8 @@
"site_admin": false
},
"prerelease": false,
"created_at": "2019-11-21T23:50:50Z",
"published_at": "2019-11-21T23:50:58Z",
"created_at": "2019-11-27T01:45:22Z",
"published_at": "2019-11-27T01:45:29Z",
"assets": [],
"tarball_url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/tarball/release_tag",
"zipball_url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/zipball/release_tag",

View File

@@ -1,9 +1,9 @@
[
{
"url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/assets/16322363",
"id": 16322363,
"node_id": "MDEyOlJlbGVhc2VBc3NldDE2MzIyMzYz",
"name": "pom.xml",
"url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/assets/16422841",
"id": 16422841,
"node_id": "MDEyOlJlbGVhc2VBc3NldDE2NDIyODQx",
"name": "LICENSE.txt",
"label": "",
"uploader": {
"login": "bitwiseman",
@@ -27,10 +27,10 @@
},
"content_type": "application/text",
"state": "uploaded",
"size": 19154,
"size": 1104,
"download_count": 0,
"created_at": "2019-11-21T23:50:58Z",
"updated_at": "2019-11-21T23:50:58Z",
"browser_download_url": "https://github.com/github-api-test-org/temp-testCreateRepository/releases/download/release_tag/pom.xml"
"created_at": "2019-11-27T01:45:30Z",
"updated_at": "2019-11-27T01:45:30Z",
"browser_download_url": "https://github.com/github-api-test-org/temp-testCreateRepository/releases/download/release_tag/LICENSE.txt"
}
]

View File

@@ -1,9 +1,9 @@
[
{
"url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/assets/16322363",
"id": 16322363,
"node_id": "MDEyOlJlbGVhc2VBc3NldDE2MzIyMzYz",
"name": "pom.xml",
"url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/assets/16422841",
"id": 16422841,
"node_id": "MDEyOlJlbGVhc2VBc3NldDE2NDIyODQx",
"name": "LICENSE.txt",
"label": "test label",
"uploader": {
"login": "bitwiseman",
@@ -27,10 +27,10 @@
},
"content_type": "application/text",
"state": "uploaded",
"size": 19154,
"size": 1104,
"download_count": 0,
"created_at": "2019-11-21T23:50:58Z",
"updated_at": "2019-11-21T23:50:59Z",
"browser_download_url": "https://github.com/github-api-test-org/temp-testCreateRepository/releases/download/release_tag/pom.xml"
"created_at": "2019-11-27T01:45:30Z",
"updated_at": "2019-11-27T01:45:30Z",
"browser_download_url": "https://github.com/github-api-test-org/temp-testCreateRepository/releases/download/release_tag/LICENSE.txt"
}
]

View File

@@ -1,8 +1,8 @@
{
"url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/assets/16322363",
"id": 16322363,
"node_id": "MDEyOlJlbGVhc2VBc3NldDE2MzIyMzYz",
"name": "pom.xml",
"url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/assets/16422841",
"id": 16422841,
"node_id": "MDEyOlJlbGVhc2VBc3NldDE2NDIyODQx",
"name": "LICENSE.txt",
"label": "test label",
"uploader": {
"login": "bitwiseman",
@@ -26,9 +26,9 @@
},
"content_type": "application/text",
"state": "uploaded",
"size": 19154,
"size": 1104,
"download_count": 0,
"created_at": "2019-11-21T23:50:58Z",
"updated_at": "2019-11-21T23:50:59Z",
"browser_download_url": "https://github.com/github-api-test-org/temp-testCreateRepository/releases/download/release_tag/pom.xml"
"created_at": "2019-11-27T01:45:30Z",
"updated_at": "2019-11-27T01:45:30Z",
"browser_download_url": "https://github.com/github-api-test-org/temp-testCreateRepository/releases/download/release_tag/LICENSE.txt"
}

View File

@@ -26,10 +26,10 @@
"bio": "https://twitter.com/bitwiseman",
"public_repos": 176,
"public_gists": 7,
"followers": 140,
"followers": 141,
"following": 9,
"created_at": "2012-07-11T20:38:33Z",
"updated_at": "2019-09-24T19:32:29Z",
"updated_at": "2019-11-26T22:02:50Z",
"private_gists": 7,
"total_private_repos": 10,
"owned_private_repos": 0,

View File

@@ -1,5 +1,5 @@
{
"id": "d9529c18-0c13-4a5e-bb48-73519a203cea",
"id": "7e3d0849-0e5e-4f69-a836-1dddb01af7e0",
"name": "repos_github-api-test-org_temp-testcreaterepository",
"request": {
"url": "/repos/github-api-test-org/temp-testCreateRepository",
@@ -7,22 +7,22 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_github-api-test-org_temp-testcreaterepository-d9529c18-0c13-4a5e-bb48-73519a203cea.json",
"bodyFileName": "repos_github-api-test-org_temp-testcreaterepository-7e3d0849-0e5e-4f69-a836-1dddb01af7e0.json",
"headers": {
"Date": "Thu, 21 Nov 2019 23:50:55 GMT",
"Date": "Wed, 27 Nov 2019 01:45:27 GMT",
"Content-Type": "application/json; charset=utf-8",
"Server": "GitHub.com",
"Status": "200 OK",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4943",
"X-RateLimit-Reset": "1574383121",
"X-RateLimit-Remaining": "4958",
"X-RateLimit-Reset": "1574822592",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding"
],
"ETag": "W/\"28969e7c25585c1ca6f9b2d52c38ebf0\"",
"Last-Modified": "Thu, 21 Nov 2019 23:50:53 GMT",
"ETag": "W/\"26a7f16664bd9308808198d8736328f3\"",
"Last-Modified": "Wed, 27 Nov 2019 01:45:25 GMT",
"X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion",
"X-Accepted-OAuth-Scopes": "repo",
"X-GitHub-Media-Type": "unknown, github.v3",
@@ -34,10 +34,10 @@
"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": "C262:5E20:385E86:41BD89:5DD722D8"
"X-GitHub-Request-Id": "D729:3497:963C68:B1F2CA:5DDDD530"
}
},
"uuid": "d9529c18-0c13-4a5e-bb48-73519a203cea",
"uuid": "7e3d0849-0e5e-4f69-a836-1dddb01af7e0",
"persistent": true,
"insertionIndex": 2
}

View File

@@ -1,5 +1,5 @@
{
"id": "3d4ef294-b04f-4864-945e-215c93eb0d77",
"id": "606626d3-4ec8-4550-ae51-635d1b33f18a",
"name": "repos_github-api-test-org_temp-testcreaterepository_issues",
"request": {
"url": "/repos/github-api-test-org/temp-testCreateRepository/issues",
@@ -14,21 +14,21 @@
},
"response": {
"status": 201,
"bodyFileName": "repos_github-api-test-org_temp-testcreaterepository_issues-3d4ef294-b04f-4864-945e-215c93eb0d77.json",
"bodyFileName": "repos_github-api-test-org_temp-testcreaterepository_issues-606626d3-4ec8-4550-ae51-635d1b33f18a.json",
"headers": {
"Date": "Thu, 21 Nov 2019 23:50:57 GMT",
"Date": "Wed, 27 Nov 2019 01:45:28 GMT",
"Content-Type": "application/json; charset=utf-8",
"Server": "GitHub.com",
"Status": "201 Created",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4940",
"X-RateLimit-Reset": "1574383121",
"X-RateLimit-Remaining": "4955",
"X-RateLimit-Reset": "1574822592",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding"
],
"ETag": "\"e8d4a2a6589237297117a1bd27aeffae\"",
"ETag": "\"fa9abaea430d18c8d1b0d2f82c0bd613\"",
"X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion",
"X-Accepted-OAuth-Scopes": "",
"Location": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/issues/1",
@@ -41,10 +41,10 @@
"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": "C262:5E20:385E8F:41BE00:5DD722DF"
"X-GitHub-Request-Id": "D729:3497:963CDA:B1F69F:5DDDD537"
}
},
"uuid": "3d4ef294-b04f-4864-945e-215c93eb0d77",
"uuid": "606626d3-4ec8-4550-ae51-635d1b33f18a",
"persistent": true,
"insertionIndex": 5
}

View File

@@ -1,5 +1,5 @@
{
"id": "f9ee1424-8c2a-44d5-a0e2-70bc605f0539",
"id": "c1bb6957-ff70-4683-b8fd-4b7988cddf30",
"name": "repos_github-api-test-org_temp-testcreaterepository_milestones",
"request": {
"url": "/repos/github-api-test-org/temp-testCreateRepository/milestones",
@@ -14,21 +14,21 @@
},
"response": {
"status": 201,
"bodyFileName": "repos_github-api-test-org_temp-testcreaterepository_milestones-f9ee1424-8c2a-44d5-a0e2-70bc605f0539.json",
"bodyFileName": "repos_github-api-test-org_temp-testcreaterepository_milestones-c1bb6957-ff70-4683-b8fd-4b7988cddf30.json",
"headers": {
"Date": "Thu, 21 Nov 2019 23:50:55 GMT",
"Date": "Wed, 27 Nov 2019 01:45:27 GMT",
"Content-Type": "application/json; charset=utf-8",
"Server": "GitHub.com",
"Status": "201 Created",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4941",
"X-RateLimit-Reset": "1574383121",
"X-RateLimit-Remaining": "4956",
"X-RateLimit-Reset": "1574822592",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding"
],
"ETag": "\"3eda4a76756caa68d628e0757e6b86f8\"",
"ETag": "\"66e9f2e4ba2293ac0ee410e8ab549de7\"",
"X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion",
"X-Accepted-OAuth-Scopes": "",
"Location": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/milestones/1",
@@ -41,10 +41,10 @@
"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": "C262:5E20:385E8D:41BDFE:5DD722DF"
"X-GitHub-Request-Id": "D729:3497:963CA7:B1F675:5DDDD537"
}
},
"uuid": "f9ee1424-8c2a-44d5-a0e2-70bc605f0539",
"uuid": "c1bb6957-ff70-4683-b8fd-4b7988cddf30",
"persistent": true,
"insertionIndex": 4
}

View File

@@ -1,5 +1,5 @@
{
"id": "618e30e4-9441-4b53-a3ee-e05d77cc8d82",
"id": "16498f3d-170c-4920-9e95-00361a9cbb22",
"name": "repos_github-api-test-org_temp-testcreaterepository_releases",
"request": {
"url": "/repos/github-api-test-org/temp-testCreateRepository/releases",
@@ -9,13 +9,13 @@
"status": 200,
"body": "[]",
"headers": {
"Date": "Thu, 21 Nov 2019 23:50:55 GMT",
"Date": "Wed, 27 Nov 2019 01:45:27 GMT",
"Content-Type": "application/json; charset=utf-8",
"Server": "GitHub.com",
"Status": "200 OK",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4942",
"X-RateLimit-Reset": "1574383121",
"X-RateLimit-Remaining": "4957",
"X-RateLimit-Reset": "1574822592",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
@@ -33,10 +33,10 @@
"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": "C262:5E20:385E8A:41BDFB:5DD722DF"
"X-GitHub-Request-Id": "D729:3497:963C96:B1F660:5DDDD537"
}
},
"uuid": "618e30e4-9441-4b53-a3ee-e05d77cc8d82",
"uuid": "16498f3d-170c-4920-9e95-00361a9cbb22",
"persistent": true,
"scenarioName": "scenario-1-repos-github-api-test-org-temp-testCreateRepository-releases",
"requiredScenarioState": "Started",

View File

@@ -1,5 +1,5 @@
{
"id": "7a54183e-5bb9-4c5f-80f5-7258dea53fa3",
"id": "dc00c291-6359-453c-b7d9-ffc7e2c99ddb",
"name": "repos_github-api-test-org_temp-testcreaterepository_releases",
"request": {
"url": "/repos/github-api-test-org/temp-testCreateRepository/releases",
@@ -14,24 +14,24 @@
},
"response": {
"status": 201,
"bodyFileName": "repos_github-api-test-org_temp-testcreaterepository_releases-7a54183e-5bb9-4c5f-80f5-7258dea53fa3.json",
"bodyFileName": "repos_github-api-test-org_temp-testcreaterepository_releases-dc00c291-6359-453c-b7d9-ffc7e2c99ddb.json",
"headers": {
"Date": "Thu, 21 Nov 2019 23:50:58 GMT",
"Date": "Wed, 27 Nov 2019 01:45:29 GMT",
"Content-Type": "application/json; charset=utf-8",
"Server": "GitHub.com",
"Status": "201 Created",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4939",
"X-RateLimit-Reset": "1574383121",
"X-RateLimit-Remaining": "4954",
"X-RateLimit-Reset": "1574822592",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding"
],
"ETag": "\"d4f5a618e6e1d40262721c31ab521562\"",
"ETag": "\"097682b0eaf95e24f2e37354b14a84b6\"",
"X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion",
"X-Accepted-OAuth-Scopes": "repo",
"Location": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/21671831",
"Location": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/21786739",
"X-GitHub-Media-Type": "unknown, github.v3",
"Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type",
"Access-Control-Allow-Origin": "*",
@@ -41,10 +41,10 @@
"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": "C262:5E20:385E98:41BE0D:5DD722E1"
"X-GitHub-Request-Id": "D729:3497:963D68:B1F730:5DDDD538"
}
},
"uuid": "7a54183e-5bb9-4c5f-80f5-7258dea53fa3",
"uuid": "dc00c291-6359-453c-b7d9-ffc7e2c99ddb",
"persistent": true,
"insertionIndex": 6
}

View File

@@ -1,5 +1,5 @@
{
"id": "e9a21863-e1fb-4651-9fa8-72207ad24948",
"id": "dc82f39e-dd3d-4d58-b635-761bb93f77c7",
"name": "repos_github-api-test-org_temp-testcreaterepository_releases",
"request": {
"url": "/repos/github-api-test-org/temp-testCreateRepository/releases",
@@ -7,21 +7,21 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_github-api-test-org_temp-testcreaterepository_releases-e9a21863-e1fb-4651-9fa8-72207ad24948.json",
"bodyFileName": "repos_github-api-test-org_temp-testcreaterepository_releases-dc82f39e-dd3d-4d58-b635-761bb93f77c7.json",
"headers": {
"Date": "Thu, 21 Nov 2019 23:50:58 GMT",
"Date": "Wed, 27 Nov 2019 01:45:29 GMT",
"Content-Type": "application/json; charset=utf-8",
"Server": "GitHub.com",
"Status": "200 OK",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4938",
"X-RateLimit-Reset": "1574383121",
"X-RateLimit-Remaining": "4953",
"X-RateLimit-Reset": "1574822592",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding"
],
"ETag": "W/\"092d8ce0970d3633c2d808fe290ce2be\"",
"ETag": "W/\"8ba99dc2aba2d236a6eed851e1821baa\"",
"X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion",
"X-Accepted-OAuth-Scopes": "repo",
"X-GitHub-Media-Type": "unknown, github.v3",
@@ -33,10 +33,10 @@
"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": "C262:5E20:385EA6:41BE1E:5DD722E2"
"X-GitHub-Request-Id": "D729:3497:963DE7:B1F7E8:5DDDD539"
}
},
"uuid": "e9a21863-e1fb-4651-9fa8-72207ad24948",
"uuid": "dc82f39e-dd3d-4d58-b635-761bb93f77c7",
"persistent": true,
"scenarioName": "scenario-1-repos-github-api-test-org-temp-testCreateRepository-releases",
"requiredScenarioState": "scenario-1-repos-github-api-test-org-temp-testCreateRepository-releases-2",

View File

@@ -1,27 +1,27 @@
{
"id": "4402281a-b2d4-4286-955a-d784ef9b8d20",
"name": "repos_github-api-test-org_temp-testcreaterepository_releases_21671831_assets",
"id": "ed473c58-ee06-4632-a9fd-99a3972024c5",
"name": "repos_github-api-test-org_temp-testcreaterepository_releases_21786739_assets",
"request": {
"url": "/repos/github-api-test-org/temp-testCreateRepository/releases/21671831/assets",
"url": "/repos/github-api-test-org/temp-testCreateRepository/releases/21786739/assets",
"method": "GET"
},
"response": {
"status": 200,
"bodyFileName": "repos_github-api-test-org_temp-testcreaterepository_releases_21671831_assets-4402281a-b2d4-4286-955a-d784ef9b8d20.json",
"bodyFileName": "repos_github-api-test-org_temp-testcreaterepository_releases_21786739_assets-ed473c58-ee06-4632-a9fd-99a3972024c5.json",
"headers": {
"Date": "Thu, 21 Nov 2019 23:50:59 GMT",
"Date": "Wed, 27 Nov 2019 01:45:30 GMT",
"Content-Type": "application/json; charset=utf-8",
"Server": "GitHub.com",
"Status": "200 OK",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4933",
"X-RateLimit-Reset": "1574383121",
"X-RateLimit-Remaining": "4948",
"X-RateLimit-Reset": "1574822730",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding"
],
"ETag": "W/\"6382598abe18141db196807787808fd1\"",
"ETag": "W/\"42d2858298a35fd3f7212f4db9d44606\"",
"X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion",
"X-Accepted-OAuth-Scopes": "repo",
"X-GitHub-Media-Type": "unknown, github.v3",
@@ -33,13 +33,13 @@
"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": "C262:5E20:385EB3:41BE38:5DD722E3"
"X-GitHub-Request-Id": "D729:3497:963E64:B1F87B:5DDDD53A"
}
},
"uuid": "4402281a-b2d4-4286-955a-d784ef9b8d20",
"uuid": "ed473c58-ee06-4632-a9fd-99a3972024c5",
"persistent": true,
"scenarioName": "scenario-2-repos-github-api-test-org-temp-testCreateRepository-releases-21671831-assets",
"requiredScenarioState": "scenario-2-repos-github-api-test-org-temp-testCreateRepository-releases-21671831-assets-2",
"newScenarioState": "scenario-2-repos-github-api-test-org-temp-testCreateRepository-releases-21671831-assets-3",
"scenarioName": "scenario-2-repos-github-api-test-org-temp-testCreateRepository-releases-21786739-assets",
"requiredScenarioState": "scenario-2-repos-github-api-test-org-temp-testCreateRepository-releases-21786739-assets-2",
"newScenarioState": "scenario-2-repos-github-api-test-org-temp-testCreateRepository-releases-21786739-assets-3",
"insertionIndex": 10
}

View File

@@ -1,21 +1,21 @@
{
"id": "86627e83-0d3a-4cc0-bc55-d549388fd7c7",
"name": "repos_github-api-test-org_temp-testcreaterepository_releases_21671831_assets",
"id": "383e6f78-e9cd-4bdb-ab09-4c762507b52c",
"name": "repos_github-api-test-org_temp-testcreaterepository_releases_21786739_assets",
"request": {
"url": "/repos/github-api-test-org/temp-testCreateRepository/releases/21671831/assets",
"url": "/repos/github-api-test-org/temp-testCreateRepository/releases/21786739/assets",
"method": "GET"
},
"response": {
"status": 200,
"body": "[]",
"headers": {
"Date": "Thu, 21 Nov 2019 23:51:00 GMT",
"Date": "Wed, 27 Nov 2019 01:45:31 GMT",
"Content-Type": "application/json; charset=utf-8",
"Server": "GitHub.com",
"Status": "200 OK",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4931",
"X-RateLimit-Reset": "1574383121",
"X-RateLimit-Remaining": "4946",
"X-RateLimit-Reset": "1574822730",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
@@ -33,12 +33,12 @@
"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": "C262:5E20:385EBD:41BE43:5DD722E4"
"X-GitHub-Request-Id": "D729:3497:963E98:B1F8BC:5DDDD53B"
}
},
"uuid": "86627e83-0d3a-4cc0-bc55-d549388fd7c7",
"uuid": "383e6f78-e9cd-4bdb-ab09-4c762507b52c",
"persistent": true,
"scenarioName": "scenario-2-repos-github-api-test-org-temp-testCreateRepository-releases-21671831-assets",
"requiredScenarioState": "scenario-2-repos-github-api-test-org-temp-testCreateRepository-releases-21671831-assets-3",
"scenarioName": "scenario-2-repos-github-api-test-org-temp-testCreateRepository-releases-21786739-assets",
"requiredScenarioState": "scenario-2-repos-github-api-test-org-temp-testCreateRepository-releases-21786739-assets-3",
"insertionIndex": 12
}

View File

@@ -1,27 +1,27 @@
{
"id": "d977eae5-c6e4-4af2-912a-2ec3fe074f41",
"name": "repos_github-api-test-org_temp-testcreaterepository_releases_21671831_assets",
"id": "42bb605f-8031-41c8-9749-2c23af78edee",
"name": "repos_github-api-test-org_temp-testcreaterepository_releases_21786739_assets",
"request": {
"url": "/repos/github-api-test-org/temp-testCreateRepository/releases/21671831/assets",
"url": "/repos/github-api-test-org/temp-testCreateRepository/releases/21786739/assets",
"method": "GET"
},
"response": {
"status": 200,
"bodyFileName": "repos_github-api-test-org_temp-testcreaterepository_releases_21671831_assets-d977eae5-c6e4-4af2-912a-2ec3fe074f41.json",
"bodyFileName": "repos_github-api-test-org_temp-testcreaterepository_releases_21786739_assets-42bb605f-8031-41c8-9749-2c23af78edee.json",
"headers": {
"Date": "Thu, 21 Nov 2019 23:50:59 GMT",
"Date": "Wed, 27 Nov 2019 01:45:30 GMT",
"Content-Type": "application/json; charset=utf-8",
"Server": "GitHub.com",
"Status": "200 OK",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4935",
"X-RateLimit-Reset": "1574383121",
"X-RateLimit-Remaining": "4950",
"X-RateLimit-Reset": "1574822730",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding"
],
"ETag": "W/\"f1e4a4908d5b08827e5aa71203bebe3f\"",
"ETag": "W/\"dd403348ea8675e7ee90b23ee54cbd2a\"",
"X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion",
"X-Accepted-OAuth-Scopes": "repo",
"X-GitHub-Media-Type": "unknown, github.v3",
@@ -33,13 +33,13 @@
"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": "C262:5E20:385EAC:41BE25:5DD722E2"
"X-GitHub-Request-Id": "D729:3497:963E2E:B1F801:5DDDD539"
}
},
"uuid": "d977eae5-c6e4-4af2-912a-2ec3fe074f41",
"uuid": "42bb605f-8031-41c8-9749-2c23af78edee",
"persistent": true,
"scenarioName": "scenario-2-repos-github-api-test-org-temp-testCreateRepository-releases-21671831-assets",
"scenarioName": "scenario-2-repos-github-api-test-org-temp-testCreateRepository-releases-21786739-assets",
"requiredScenarioState": "Started",
"newScenarioState": "scenario-2-repos-github-api-test-org-temp-testCreateRepository-releases-21671831-assets-2",
"newScenarioState": "scenario-2-repos-github-api-test-org-temp-testCreateRepository-releases-21786739-assets-2",
"insertionIndex": 8
}

View File

@@ -1,19 +1,19 @@
{
"id": "24fd5dbb-28c8-4ae6-98db-0feefa988c4c",
"name": "repos_github-api-test-org_temp-testcreaterepository_releases_assets_16322363",
"id": "8645733e-5fdb-4f17-8567-a67c64ec1b52",
"name": "repos_github-api-test-org_temp-testcreaterepository_releases_assets_16422841",
"request": {
"url": "/repos/github-api-test-org/temp-testCreateRepository/releases/assets/16322363",
"url": "/repos/github-api-test-org/temp-testCreateRepository/releases/assets/16422841",
"method": "DELETE"
},
"response": {
"status": 204,
"headers": {
"Date": "Thu, 21 Nov 2019 23:51:00 GMT",
"Date": "Wed, 27 Nov 2019 01:45:31 GMT",
"Server": "GitHub.com",
"Status": "204 No Content",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4932",
"X-RateLimit-Reset": "1574383121",
"X-RateLimit-Remaining": "4947",
"X-RateLimit-Reset": "1574822730",
"X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion",
"X-Accepted-OAuth-Scopes": "repo",
"X-GitHub-Media-Type": "unknown, github.v3",
@@ -26,10 +26,10 @@
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy": "default-src 'none'",
"Vary": "Accept-Encoding",
"X-GitHub-Request-Id": "C262:5E20:385EB9:41BE3E:5DD722E3"
"X-GitHub-Request-Id": "D729:3497:963E7D:B1F89D:5DDDD53A"
}
},
"uuid": "24fd5dbb-28c8-4ae6-98db-0feefa988c4c",
"uuid": "8645733e-5fdb-4f17-8567-a67c64ec1b52",
"persistent": true,
"insertionIndex": 11
}

View File

@@ -1,8 +1,8 @@
{
"id": "befe734a-7e49-410e-99b5-1958244232b3",
"name": "repos_github-api-test-org_temp-testcreaterepository_releases_assets_16322363",
"id": "7f61d00c-320b-417f-b155-39a8ff3c33ae",
"name": "repos_github-api-test-org_temp-testcreaterepository_releases_assets_16422841",
"request": {
"url": "/repos/github-api-test-org/temp-testCreateRepository/releases/assets/16322363",
"url": "/repos/github-api-test-org/temp-testCreateRepository/releases/assets/16422841",
"method": "PATCH",
"bodyPatterns": [
{
@@ -14,22 +14,22 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_github-api-test-org_temp-testcreaterepository_releases_assets_16322363-befe734a-7e49-410e-99b5-1958244232b3.json",
"bodyFileName": "repos_github-api-test-org_temp-testcreaterepository_releases_assets_16422841-7f61d00c-320b-417f-b155-39a8ff3c33ae.json",
"headers": {
"Date": "Thu, 21 Nov 2019 23:50:59 GMT",
"Date": "Wed, 27 Nov 2019 01:45:30 GMT",
"Content-Type": "application/json; charset=utf-8",
"Server": "GitHub.com",
"Status": "200 OK",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4934",
"X-RateLimit-Reset": "1574383121",
"X-RateLimit-Remaining": "4949",
"X-RateLimit-Reset": "1574822730",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding"
],
"ETag": "W/\"a61293fdaa0f05ec9e33137a01dd2574\"",
"Last-Modified": "Thu, 21 Nov 2019 23:50:59 GMT",
"ETag": "W/\"8729ae6ac53a5f39f6482a17fa071cf2\"",
"Last-Modified": "Wed, 27 Nov 2019 01:45:30 GMT",
"X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion",
"X-Accepted-OAuth-Scopes": "repo",
"X-GitHub-Media-Type": "unknown, github.v3",
@@ -41,10 +41,10 @@
"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": "C262:5E20:385EB0:41BE35:5DD722E3"
"X-GitHub-Request-Id": "D729:3497:963E41:B1F853:5DDDD53A"
}
},
"uuid": "befe734a-7e49-410e-99b5-1958244232b3",
"uuid": "7f61d00c-320b-417f-b155-39a8ff3c33ae",
"persistent": true,
"insertionIndex": 9
}

View File

@@ -1,5 +1,5 @@
{
"id": "1d236ca5-8204-44d4-bef5-0641768ada5b",
"id": "864ebeb8-bf07-40c2-a910-3a3e54f81865",
"name": "user",
"request": {
"url": "/user",
@@ -7,22 +7,22 @@
},
"response": {
"status": 200,
"bodyFileName": "user-1d236ca5-8204-44d4-bef5-0641768ada5b.json",
"bodyFileName": "user-864ebeb8-bf07-40c2-a910-3a3e54f81865.json",
"headers": {
"Date": "Thu, 21 Nov 2019 23:50:48 GMT",
"Date": "Wed, 27 Nov 2019 01:45:20 GMT",
"Content-Type": "application/json; charset=utf-8",
"Server": "GitHub.com",
"Status": "200 OK",
"X-RateLimit-Limit": "5000",
"X-RateLimit-Remaining": "4948",
"X-RateLimit-Reset": "1574383121",
"X-RateLimit-Remaining": "4963",
"X-RateLimit-Reset": "1574822592",
"Cache-Control": "private, max-age=60, s-maxage=60",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding"
],
"ETag": "W/\"8221019f5cfbf2e9ef116719093ee3c5\"",
"Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT",
"ETag": "W/\"072b29f799172fd1523e04ec9f30fc24\"",
"Last-Modified": "Tue, 26 Nov 2019 22:02:50 GMT",
"X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion",
"X-Accepted-OAuth-Scopes": "",
"X-GitHub-Media-Type": "unknown, github.v3",
@@ -34,10 +34,10 @@
"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": "C262:5E20:385E29:41BD81:5DD722D8"
"X-GitHub-Request-Id": "D729:3497:963963:B1F2A7:5DDDD530"
}
},
"uuid": "1d236ca5-8204-44d4-bef5-0641768ada5b",
"uuid": "864ebeb8-bf07-40c2-a910-3a3e54f81865",
"persistent": true,
"insertionIndex": 1
}

View File

@@ -1,8 +1,8 @@
{
"url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/assets/16322363",
"id": 16322363,
"node_id": "MDEyOlJlbGVhc2VBc3NldDE2MzIyMzYz",
"name": "pom.xml",
"url": "https://api.github.com/repos/github-api-test-org/temp-testCreateRepository/releases/assets/16422841",
"id": 16422841,
"node_id": "MDEyOlJlbGVhc2VBc3NldDE2NDIyODQx",
"name": "LICENSE.txt",
"label": "",
"uploader": {
"login": "bitwiseman",
@@ -26,9 +26,9 @@
},
"content_type": "application/text",
"state": "uploaded",
"size": 19154,
"size": 1104,
"download_count": 0,
"created_at": "2019-11-21T23:50:58Z",
"updated_at": "2019-11-21T23:50:58Z",
"browser_download_url": "https://github.com/github-api-test-org/temp-testCreateRepository/releases/download/release_tag/pom.xml"
"created_at": "2019-11-27T01:45:30Z",
"updated_at": "2019-11-27T01:45:30Z",
"browser_download_url": "https://github.com/github-api-test-org/temp-testCreateRepository/releases/download/release_tag/LICENSE.txt"
}

View File

@@ -0,0 +1,41 @@
{
"id": "3069f0eb-aba0-4cc2-9bad-8aaa4e27e676",
"name": "repos_github-api-test-org_temp-testcreaterepository_releases_21786739_assets",
"request": {
"url": "/repos/github-api-test-org/temp-testCreateRepository/releases/21786739/assets?name=LICENSE.txt",
"method": "POST",
"bodyPatterns": [
{
"equalTo": " Copyright (c) 2011- Kohsuke Kawaguchi and other contributors\n\n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this software and associated documentation\n files (the \"Software\"), to deal in the Software without\n restriction, including without limitation the rights to use,\n copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the\n Software is furnished to do so, subject to the following\n conditions:\n\n The above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n OTHER DEALINGS IN THE SOFTWARE.\n",
"caseInsensitive": false
}
]
},
"response": {
"status": 201,
"bodyFileName": "repos_github-api-test-org_temp-testcreaterepository_releases_21786739_assets-3069f0eb-aba0-4cc2-9bad-8aaa4e27e676.json",
"headers": {
"Date": "Wed, 27 Nov 2019 01:45:30 GMT",
"Content-Type": "application/json; charset=utf-8",
"Cache-Control": "no-cache",
"Content-Security-Policy": "default-src 'none'",
"Etag": "W/\"037b49f1c38e9e0af7ed5a2978c5989d\"",
"Last-Modified": "Wed, 27 Nov 2019 01:45:30 GMT",
"Strict-Transport-Security": "max-age=31557600",
"Vary": [
"Accept, Authorization, Cookie, X-GitHub-OTP",
"Accept-Encoding"
],
"X-Accepted-Oauth-Scopes": "repo",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "deny",
"X-Github-Media-Type": "unknown, github.v3",
"X-Oauth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion",
"X-Xss-Protection": "1; mode=block",
"X-GitHub-Request-Id": "D72F:3D33:27CEE:309FD:5DDDD53A"
}
},
"uuid": "3069f0eb-aba0-4cc2-9bad-8aaa4e27e676",
"persistent": true,
"insertionIndex": 1
}