diff --git a/models/unittest/mock_http.go b/models/unittest/mock_http.go index afdc5bed2..e2c181408 100644 --- a/models/unittest/mock_http.go +++ b/models/unittest/mock_http.go @@ -34,7 +34,7 @@ func NewMockWebServer(t *testing.T, liveServerBaseURL, testDataDir string, liveM path := NormalizedFullPath(r.URL) log.Info("Mock HTTP Server: got request for path %s", r.URL.Path) // TODO check request method (support POST?) - fixturePath := fmt.Sprintf("%s/%s", testDataDir, strings.NewReplacer("/", "_", "?", "!").Replace(path)) + fixturePath := fmt.Sprintf("%s/%s_%s", testDataDir, r.Method, url.PathEscape(path)) if liveMode { liveURL := fmt.Sprintf("%s%s", liveServerBaseURL, path) @@ -51,6 +51,7 @@ func NewMockWebServer(t *testing.T, liveServerBaseURL, testDataDir string, liveM response, err := http.DefaultClient.Do(request) assert.NoError(t, err, "HTTP request to %s failed: %s", liveURL) + assert.Less(t, response.StatusCode, 400, "unexpected status code for %s", liveURL) fixture, err := os.Create(fixturePath) assert.NoError(t, err, "failed to open the fixture file %s for writing", fixturePath) diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_gitea%2Ftest_repo b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026 similarity index 93% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_gitea%2Ftest_repo rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026 index 490eebe79..81fb1f9e0 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_gitea%2Ftest_repo +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026 @@ -1,17 +1,17 @@ -X-Frame-Options: SAMEORIGIN -X-Gitlab-Meta: {"correlation_id":"d08798c744b97af051e81bc1f6fecabe","version":"1"} -Cf-Cache-Status: MISS -Vary: Origin, Accept-Encoding -X-Runtime: 0.282076 -Gitlab-Lb: haproxy-main-43-lb-gprd -Etag: W/"8db4917b3be5f4ca0d101a702179b75a" -Referrer-Policy: strict-origin-when-cross-origin -Set-Cookie: _cfuvid=q8qrvxAlkuGzqRsYQXzKrbLTHH6CWOF_x.icF64i9VQ-1709516921514-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None -Content-Security-Policy: default-src 'none' -Cache-Control: max-age=0, private, must-revalidate -X-Content-Type-Options: nosniff -Strict-Transport-Security: max-age=31536000 Gitlab-Sv: api-gke-us-east1-c Content-Type: application/json +Cache-Control: max-age=0, private, must-revalidate +Content-Security-Policy: default-src 'none' +Etag: W/"8db4917b3be5f4ca0d101a702179b75a" +X-Content-Type-Options: nosniff +X-Runtime: 0.150020 +Referrer-Policy: strict-origin-when-cross-origin +Set-Cookie: _cfuvid=2JDVzeRhKxkwd0xbLccErO2vFlf0KnUzsvPv1ZY4.H4-1710504205506-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +X-Gitlab-Meta: {"correlation_id":"fc467ca540c06233f6a25d0deae604d2","version":"1"} +Vary: Origin, Accept-Encoding +X-Frame-Options: SAMEORIGIN +Strict-Transport-Security: max-age=31536000 +Gitlab-Lb: haproxy-main-01-lb-gprd +Cf-Cache-Status: MISS {"id":15578026,"description":"Test repository for testing migration from gitlab to gitea","name":"test_repo","name_with_namespace":"gitea / test_repo","path":"test_repo","path_with_namespace":"gitea/test_repo","created_at":"2019-11-28T08:20:33.019Z","default_branch":"master","tag_list":["migration","test"],"topics":["migration","test"],"ssh_url_to_repo":"git@gitlab.com:gitea/test_repo.git","http_url_to_repo":"https://gitlab.com/gitea/test_repo.git","web_url":"https://gitlab.com/gitea/test_repo","readme_url":"https://gitlab.com/gitea/test_repo/-/blob/master/README.md","forks_count":1,"avatar_url":null,"star_count":0,"last_activity_at":"2020-04-19T19:46:04.527Z","namespace":{"id":3181312,"name":"gitea","path":"gitea","kind":"group","full_path":"gitea","parent_id":null,"avatar_url":"/uploads/-/system/group/avatar/3181312/gitea.png","web_url":"https://gitlab.com/groups/gitea"},"container_registry_image_prefix":"registry.gitlab.com/gitea/test_repo","_links":{"self":"https://gitlab.com/api/v4/projects/15578026","issues":"https://gitlab.com/api/v4/projects/15578026/issues","merge_requests":"https://gitlab.com/api/v4/projects/15578026/merge_requests","repo_branches":"https://gitlab.com/api/v4/projects/15578026/repository/branches","labels":"https://gitlab.com/api/v4/projects/15578026/labels","events":"https://gitlab.com/api/v4/projects/15578026/events","members":"https://gitlab.com/api/v4/projects/15578026/members","cluster_agents":"https://gitlab.com/api/v4/projects/15578026/cluster_agents"},"packages_enabled":true,"empty_repo":false,"archived":false,"visibility":"public","resolve_outdated_diff_discussions":false,"repository_object_format":"sha1","issues_enabled":true,"merge_requests_enabled":true,"wiki_enabled":true,"jobs_enabled":true,"snippets_enabled":true,"container_registry_enabled":true,"service_desk_enabled":true,"can_create_merge_request_in":true,"issues_access_level":"enabled","repository_access_level":"enabled","merge_requests_access_level":"enabled","forking_access_level":"enabled","wiki_access_level":"enabled","builds_access_level":"enabled","snippets_access_level":"enabled","pages_access_level":"enabled","analytics_access_level":"enabled","container_registry_access_level":"enabled","security_and_compliance_access_level":"private","releases_access_level":"enabled","environments_access_level":"enabled","feature_flags_access_level":"enabled","infrastructure_access_level":"enabled","monitor_access_level":"enabled","model_experiments_access_level":"enabled","model_registry_access_level":"enabled","emails_disabled":false,"emails_enabled":true,"shared_runners_enabled":true,"lfs_enabled":true,"creator_id":1241334,"import_status":"none","open_issues_count":0,"description_html":"\u003cp data-sourcepos=\"1:1-1:58\" dir=\"auto\"\u003eTest repository for testing migration from gitlab to gitea\u003c/p\u003e","updated_at":"2024-01-11T01:23:21.057Z","ci_config_path":null,"public_jobs":true,"shared_with_groups":[],"only_allow_merge_if_pipeline_succeeds":false,"allow_merge_on_skipped_pipeline":null,"request_access_enabled":true,"only_allow_merge_if_all_discussions_are_resolved":false,"remove_source_branch_after_merge":true,"printing_merge_request_link_enabled":true,"merge_method":"ff","squash_option":"default_off","enforce_auth_checks_on_uploads":true,"suggestion_commit_message":null,"merge_commit_template":null,"squash_commit_template":null,"issue_branch_template":null,"warn_about_potentially_unwanted_characters":true,"autoclose_referenced_issues":true,"external_authorization_classification_label":"","requirements_enabled":false,"requirements_access_level":"enabled","security_and_compliance_enabled":false,"compliance_frameworks":[],"permissions":{"project_access":null,"group_access":null}} \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_1_award_emoji!page=1&per_page=2 b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F1%2Faward_emoji%3Fpage=1&per_page=2 similarity index 84% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_1_award_emoji!page=1&per_page=2 rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F1%2Faward_emoji%3Fpage=1&per_page=2 index 7b37f59f5..cbdfdde52 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_1_award_emoji!page=1&per_page=2 +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F1%2Faward_emoji%3Fpage=1&per_page=2 @@ -1,24 +1,24 @@ -X-Total-Pages: 1 -Cf-Cache-Status: MISS -Set-Cookie: _cfuvid=UtNiLvpRoIS0606tZnebN.nDbGog2IEOTI0M6iH6tKE-1709516925325-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None -Content-Type: application/json -Link: ; rel="first", ; rel="last" -X-Gitlab-Meta: {"correlation_id":"7078187b1af666261210081509905846","version":"1"} -Strict-Transport-Security: max-age=31536000 Vary: Origin, Accept-Encoding -X-Total: 2 Gitlab-Sv: api-gke-us-east1-b -Content-Security-Policy: default-src 'none' -X-Content-Type-Options: nosniff -X-Page: 1 -X-Frame-Options: SAMEORIGIN -X-Prev-Page: -X-Runtime: 0.070454 -X-Next-Page: +X-Runtime: 0.203565 Referrer-Policy: strict-origin-when-cross-origin -Gitlab-Lb: haproxy-main-51-lb-gprd -X-Per-Page: 2 +X-Frame-Options: SAMEORIGIN +X-Next-Page: +X-Gitlab-Meta: {"correlation_id":"9ee8f715be2950b629eff875667dab37","version":"1"} +X-Total-Pages: 1 +Gitlab-Lb: haproxy-main-57-lb-gprd +Cf-Cache-Status: MISS +Content-Type: application/json Cache-Control: max-age=0, private, must-revalidate +X-Content-Type-Options: nosniff +Strict-Transport-Security: max-age=31536000 Etag: W/"69c922434ed11248c864d157eb8eabfc" +X-Per-Page: 2 +X-Prev-Page: +Set-Cookie: _cfuvid=lj07r.PfLt5YP9_Ms5dtsY_JOkTSmeFWB1sd2Z8SLuM-1710504207278-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +Content-Security-Policy: default-src 'none' +Link: ; rel="first", ; rel="last" +X-Page: 1 +X-Total: 2 [{"id":3009580,"name":"thumbsup","user":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"created_at":"2019-11-28T08:43:40.322Z","updated_at":"2019-11-28T08:43:40.322Z","awardable_id":27687675,"awardable_type":"Issue","url":null},{"id":3009585,"name":"open_mouth","user":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"created_at":"2019-11-28T08:44:01.902Z","updated_at":"2019-11-28T08:44:01.902Z","awardable_id":27687675,"awardable_type":"Issue","url":null}] \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_1_award_emoji!page=2&per_page=2 b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F1%2Faward_emoji%3Fpage=2&per_page=2 similarity index 74% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_1_award_emoji!page=2&per_page=2 rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F1%2Faward_emoji%3Fpage=2&per_page=2 index 7f64231eb..262bf891e 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_1_award_emoji!page=2&per_page=2 +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F1%2Faward_emoji%3Fpage=2&per_page=2 @@ -1,26 +1,26 @@ -Content-Length: 2 -Cache-Control: max-age=0, private, must-revalidate -Accept-Ranges: bytes -Strict-Transport-Security: max-age=31536000 -Gitlab-Lb: haproxy-main-57-lb-gprd -Gitlab-Sv: api-gke-us-east1-b -X-Prev-Page: -X-Runtime: 0.048686 -Cf-Cache-Status: MISS -Vary: Origin, Accept-Encoding -X-Per-Page: 2 -Referrer-Policy: strict-origin-when-cross-origin -X-Gitlab-Meta: {"correlation_id":"53764b779171a3a641999caf45eb5cda","version":"1"} -X-Page: 2 -X-Total: 2 -X-Total-Pages: 1 -Content-Type: application/json -X-Next-Page: -Set-Cookie: _cfuvid=.aWihkIt1YOKnLoix6oJ3avCXZ_942rAkWJpHXKtKXk-1709516926358-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None -Content-Security-Policy: default-src 'none' -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -Etag: W/"4f53cda18c2baa0c0354bb5f9a3ecbe5" Link: ; rel="first", ; rel="last" +X-Content-Type-Options: nosniff +X-Page: 2 +X-Per-Page: 2 +Gitlab-Sv: api-gke-us-east1-b +Content-Type: application/json +Etag: W/"4f53cda18c2baa0c0354bb5f9a3ecbe5" +X-Frame-Options: SAMEORIGIN +X-Gitlab-Meta: {"correlation_id":"05db2c172a3be5ea9e65494882e77167","version":"1"} +X-Next-Page: +Set-Cookie: _cfuvid=UDvTcjnLBRvcY_axm9MwnCJ0PmPtOKE9vnIQ4uoOUGE-1710504207498-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +X-Runtime: 0.061429 +X-Total-Pages: 1 +Strict-Transport-Security: max-age=31536000 +Gitlab-Lb: haproxy-main-51-lb-gprd +Accept-Ranges: bytes +Content-Length: 2 +Cf-Cache-Status: MISS +Cache-Control: max-age=0, private, must-revalidate +Content-Security-Policy: default-src 'none' +Vary: Origin, Accept-Encoding +X-Prev-Page: +X-Total: 2 +Referrer-Policy: strict-origin-when-cross-origin [] \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_2_award_emoji!page=1&per_page=2 b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F2%2Faward_emoji%3Fpage=1&per_page=2 similarity index 84% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_2_award_emoji!page=1&per_page=2 rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F2%2Faward_emoji%3Fpage=1&per_page=2 index db1573c43..52822db98 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_2_award_emoji!page=1&per_page=2 +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F2%2Faward_emoji%3Fpage=1&per_page=2 @@ -1,24 +1,24 @@ +X-Frame-Options: SAMEORIGIN +Referrer-Policy: strict-origin-when-cross-origin +Gitlab-Lb: haproxy-main-40-lb-gprd +Content-Type: application/json +Strict-Transport-Security: max-age=31536000 Vary: Origin, Accept-Encoding -Set-Cookie: _cfuvid=eR1OqXm9Zq42ps0oFIf0s4qBdC4lKtotvp9jBqOVcko-1709516927407-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None -Content-Security-Policy: default-src 'none' +X-Page: 1 +X-Runtime: 0.078016 +Link: ; rel="next", ; rel="first", ; rel="last" +X-Prev-Page: +X-Total: 6 +X-Total-Pages: 3 X-Content-Type-Options: nosniff X-Next-Page: 2 -X-Page: 1 -X-Prev-Page: -X-Total-Pages: 3 -Link: ; rel="next", ; rel="first", ; rel="last" -Referrer-Policy: strict-origin-when-cross-origin -X-Total: 6 +Gitlab-Sv: api-gke-us-east1-c Cache-Control: max-age=0, private, must-revalidate -X-Per-Page: 2 -Gitlab-Sv: api-gke-us-east1-d -X-Gitlab-Meta: {"correlation_id":"05328c4fe2465085c0b9a5a5a1103836","version":"1"} -X-Runtime: 0.075509 -Strict-Transport-Security: max-age=31536000 -Gitlab-Lb: haproxy-main-50-lb-gprd -Content-Type: application/json -Etag: W/"5fdbcbf64f34ba0e74ce9dd8d6e0efe3" -X-Frame-Options: SAMEORIGIN Cf-Cache-Status: MISS +Set-Cookie: _cfuvid=YByIjysnuUyVymulLPR72WWURJsjsdM2aiUwKWAGtZI-1710504207733-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +Content-Security-Policy: default-src 'none' +Etag: W/"5fdbcbf64f34ba0e74ce9dd8d6e0efe3" +X-Gitlab-Meta: {"correlation_id":"2c82a2ec8ad8bdd3c0d2adb0e208f69a","version":"1"} +X-Per-Page: 2 [{"id":3009627,"name":"thumbsup","user":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"created_at":"2019-11-28T08:46:42.657Z","updated_at":"2019-11-28T08:46:42.657Z","awardable_id":27687706,"awardable_type":"Issue","url":null},{"id":3009628,"name":"thumbsdown","user":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"created_at":"2019-11-28T08:46:43.471Z","updated_at":"2019-11-28T08:46:43.471Z","awardable_id":27687706,"awardable_type":"Issue","url":null}] \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_2_award_emoji!page=2&per_page=2 b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F2%2Faward_emoji%3Fpage=2&per_page=2 similarity index 85% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_2_award_emoji!page=2&per_page=2 rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F2%2Faward_emoji%3Fpage=2&per_page=2 index d52e358e9..2ebb34db8 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_2_award_emoji!page=2&per_page=2 +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F2%2Faward_emoji%3Fpage=2&per_page=2 @@ -1,24 +1,24 @@ -X-Content-Type-Options: nosniff -X-Runtime: 0.091658 -Set-Cookie: _cfuvid=aVGYOkTTE5ngoJripH93fZ9JhYhafbwSPqzjRZ7JCyk-1709516927910-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None -Referrer-Policy: strict-origin-when-cross-origin -X-Frame-Options: SAMEORIGIN -X-Gitlab-Meta: {"correlation_id":"b1d1356c71e3f52fc9bccd80a711467f","version":"1"} +X-Gitlab-Meta: {"correlation_id":"3f684de509b846cafc057f0e2982ad76","version":"1"} X-Prev-Page: 1 +X-Total-Pages: 3 +Gitlab-Lb: haproxy-main-24-lb-gprd +Gitlab-Sv: api-gke-us-east1-b +Vary: Origin, Accept-Encoding +Set-Cookie: _cfuvid=Bs.X45qZvylPDZxkoXQ0YQS72rXFkViMP2IaqBS6C0s-1710504207991-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +Etag: W/"d16c513b32212d9286fce6f53340c1cf" +X-Content-Type-Options: nosniff +Cache-Control: max-age=0, private, must-revalidate +X-Next-Page: 3 Strict-Transport-Security: max-age=31536000 -Gitlab-Sv: api-gke-us-east1-c +Referrer-Policy: strict-origin-when-cross-origin Content-Type: application/json Content-Security-Policy: default-src 'none' -Vary: Origin, Accept-Encoding +X-Frame-Options: SAMEORIGIN +X-Runtime: 0.098833 +Cf-Cache-Status: MISS +Link: ; rel="prev", ; rel="next", ; rel="first", ; rel="last" X-Page: 2 X-Per-Page: 2 -Cf-Cache-Status: MISS X-Total: 6 -Gitlab-Lb: haproxy-main-13-lb-gprd -Etag: W/"d16c513b32212d9286fce6f53340c1cf" -X-Next-Page: 3 -X-Total-Pages: 3 -Cache-Control: max-age=0, private, must-revalidate -Link: ; rel="prev", ; rel="next", ; rel="first", ; rel="last" [{"id":3009632,"name":"laughing","user":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"created_at":"2019-11-28T08:47:14.381Z","updated_at":"2019-11-28T08:47:14.381Z","awardable_id":27687706,"awardable_type":"Issue","url":null},{"id":3009634,"name":"tada","user":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"created_at":"2019-11-28T08:47:18.254Z","updated_at":"2019-11-28T08:47:18.254Z","awardable_id":27687706,"awardable_type":"Issue","url":null}] \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_2_award_emoji!page=3&per_page=2 b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F2%2Faward_emoji%3Fpage=3&per_page=2 similarity index 84% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_2_award_emoji!page=3&per_page=2 rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F2%2Faward_emoji%3Fpage=3&per_page=2 index e35aa62cd..23da417c0 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_2_award_emoji!page=3&per_page=2 +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F2%2Faward_emoji%3Fpage=3&per_page=2 @@ -1,24 +1,24 @@ -Gitlab-Lb: haproxy-main-13-lb-gprd -Set-Cookie: _cfuvid=t4_LSY2Wo_P8jPVZKgbX7DhNDlsiazGyv6awHkbP29M-1709516929175-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None -Cache-Control: max-age=0, private, must-revalidate -Vary: Origin, Accept-Encoding -Referrer-Policy: strict-origin-when-cross-origin -Cf-Cache-Status: MISS -X-Total: 6 X-Total-Pages: 3 -Etag: W/"165d37bf09a54bb31f4619cca8722cb4" -Link: ; rel="prev", ; rel="first", ; rel="last" -Gitlab-Sv: api-gke-us-east1-c -X-Runtime: 0.084688 -Strict-Transport-Security: max-age=31536000 -Content-Type: application/json -X-Content-Type-Options: nosniff -X-Prev-Page: 2 -X-Next-Page: -X-Page: 3 -X-Frame-Options: SAMEORIGIN -X-Gitlab-Meta: {"correlation_id":"3d4b896e9b25fba2880f8cf4179b4db3","version":"1"} Content-Security-Policy: default-src 'none' +Vary: Origin, Accept-Encoding +X-Page: 3 +Strict-Transport-Security: max-age=31536000 +Etag: W/"165d37bf09a54bb31f4619cca8722cb4" +X-Next-Page: +X-Frame-Options: SAMEORIGIN +X-Prev-Page: 2 +Cf-Cache-Status: MISS +Set-Cookie: _cfuvid=HHUVNinfPq8fL7PXFgbDm8yTm6pwWCXctd6JjWwfzY4-1710504208221-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +X-Runtime: 0.071448 +X-Total: 6 +Cache-Control: max-age=0, private, must-revalidate +X-Gitlab-Meta: {"correlation_id":"886dbf65fe0de14ba39622416ae0ca1b","version":"1"} +Referrer-Policy: strict-origin-when-cross-origin +Link: ; rel="prev", ; rel="first", ; rel="last" +X-Content-Type-Options: nosniff +Content-Type: application/json +Gitlab-Lb: haproxy-main-50-lb-gprd +Gitlab-Sv: api-gke-us-east1-d X-Per-Page: 2 [{"id":3009636,"name":"confused","user":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"created_at":"2019-11-28T08:47:27.248Z","updated_at":"2019-11-28T08:47:27.248Z","awardable_id":27687706,"awardable_type":"Issue","url":null},{"id":3009640,"name":"hearts","user":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"created_at":"2019-11-28T08:47:33.059Z","updated_at":"2019-11-28T08:47:33.059Z","awardable_id":27687706,"awardable_type":"Issue","url":null}] \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_2_award_emoji!page=4&per_page=2 b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F2%2Faward_emoji%3Fpage=4&per_page=2 similarity index 74% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_2_award_emoji!page=4&per_page=2 rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F2%2Faward_emoji%3Fpage=4&per_page=2 index 2c757e203..086cfcd3b 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_2_award_emoji!page=4&per_page=2 +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F2%2Faward_emoji%3Fpage=4&per_page=2 @@ -1,26 +1,26 @@ -Vary: Origin, Accept-Encoding -Content-Length: 2 -Etag: W/"4f53cda18c2baa0c0354bb5f9a3ecbe5" -X-Next-Page: -X-Page: 4 -Strict-Transport-Security: max-age=31536000 -Gitlab-Lb: haproxy-main-40-lb-gprd -Set-Cookie: _cfuvid=V6zFYEypjQbDjYSsP9fTmKa2nKJP5kvVJDoSbH7rU34-1709516930295-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None -Content-Type: application/json -X-Gitlab-Meta: {"correlation_id":"58338440ce0dd25dea95208140617efc","version":"1"} X-Total-Pages: 3 -Cf-Cache-Status: MISS -Cache-Control: max-age=0, private, must-revalidate +Gitlab-Lb: haproxy-main-52-lb-gprd +X-Next-Page: +Content-Security-Policy: default-src 'none' +Content-Type: application/json +Content-Length: 2 +X-Content-Type-Options: nosniff +X-Per-Page: 2 +X-Runtime: 0.083061 +Referrer-Policy: strict-origin-when-cross-origin +X-Gitlab-Meta: {"correlation_id":"561369f96102c1a6ab8acd558d16a4d0","version":"1"} +X-Prev-Page: +Vary: Origin, Accept-Encoding X-Frame-Options: SAMEORIGIN X-Total: 6 -X-Prev-Page: -Accept-Ranges: bytes -X-Content-Type-Options: nosniff -X-Runtime: 0.052295 -Referrer-Policy: strict-origin-when-cross-origin -Gitlab-Sv: api-gke-us-east1-c -Content-Security-Policy: default-src 'none' -X-Per-Page: 2 +Cache-Control: max-age=0, private, must-revalidate Link: ; rel="first", ; rel="last" +Gitlab-Sv: api-gke-us-east1-c +Accept-Ranges: bytes +Strict-Transport-Security: max-age=31536000 +Cf-Cache-Status: MISS +Set-Cookie: _cfuvid=GkrvFxTx5xbwrDM0Jz5hSAycmMJcwb02y6n04i5gv2s-1710504208464-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +Etag: W/"4f53cda18c2baa0c0354bb5f9a3ecbe5" +X-Page: 4 [] \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_2_discussions!page=1&per_page=100 b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F2%2Fdiscussions%3Fpage=1&per_page=100 similarity index 92% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_2_discussions!page=1&per_page=100 rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F2%2Fdiscussions%3Fpage=1&per_page=100 index 2dc290a40..6b62a8501 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_2_discussions!page=1&per_page=100 +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F2%2Fdiscussions%3Fpage=1&per_page=100 @@ -1,24 +1,24 @@ -X-Gitlab-Meta: {"correlation_id":"f7ea96beef459528c06bcf21a37f8950","version":"1"} -X-Per-Page: 100 -X-Runtime: 0.294630 -Cache-Control: max-age=0, private, must-revalidate -Gitlab-Sv: gke-cny-api -X-Frame-Options: SAMEORIGIN -X-Next-Page: -Etag: W/"bcc91e8a7b2eac98b4d96ae791e0649d" -X-Total: 4 -X-Page: 1 -Referrer-Policy: strict-origin-when-cross-origin -Gitlab-Lb: haproxy-main-32-lb-gprd Strict-Transport-Security: max-age=31536000 -Set-Cookie: _cfuvid=bVDOhVwoTt.rATMQeCGhPoIH4lvwoCZQqEHaWL0EOVY-1709516931074-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None -Link: ; rel="first", ; rel="last" -X-Content-Type-Options: nosniff -X-Prev-Page: +Gitlab-Lb: haproxy-main-32-lb-gprd Content-Type: application/json -Cf-Cache-Status: MISS -Content-Security-Policy: default-src 'none' -Vary: Origin, Accept-Encoding +Link: ; rel="first", ; rel="last" +Set-Cookie: _cfuvid=CZZEZqJQZ97MpqkqjenLKOUdtc5tMbwPjVBKat9VrFo-1710504208832-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +Cache-Control: max-age=0, private, must-revalidate +Referrer-Policy: strict-origin-when-cross-origin +Gitlab-Sv: gke-cny-api X-Total-Pages: 1 +X-Page: 1 +X-Per-Page: 100 +X-Total: 4 +X-Content-Type-Options: nosniff +X-Runtime: 0.215193 +X-Frame-Options: SAMEORIGIN +Vary: Origin, Accept-Encoding +X-Gitlab-Meta: {"correlation_id":"d84b389e2f5604d766104c7236dbfdf8","version":"1"} +X-Next-Page: +Content-Security-Policy: default-src 'none' +Etag: W/"bcc91e8a7b2eac98b4d96ae791e0649d" +X-Prev-Page: +Cf-Cache-Status: MISS [{"id":"617967369d98d8b73b6105a40318fe839f931a24","individual_note":true,"notes":[{"id":251637434,"type":null,"body":"This is a comment","attachment":null,"author":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"created_at":"2019-11-28T08:44:52.501Z","updated_at":"2019-11-28T08:44:52.501Z","system":false,"noteable_id":27687706,"noteable_type":"Issue","project_id":15578026,"resolvable":false,"confidential":false,"internal":false,"noteable_iid":2,"commands_changes":{}}]},{"id":"b92d74daee411a17d844041bcd3c267ade58f680","individual_note":true,"notes":[{"id":251637528,"type":null,"body":"changed milestone to %2","attachment":null,"author":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"created_at":"2019-11-28T08:45:02.329Z","updated_at":"2019-11-28T08:45:02.335Z","system":true,"noteable_id":27687706,"noteable_type":"Issue","project_id":15578026,"resolvable":false,"confidential":false,"internal":false,"noteable_iid":2,"commands_changes":{}}]},{"id":"6010f567d2b58758ef618070372c97891ac75349","individual_note":true,"notes":[{"id":251637892,"type":null,"body":"closed","attachment":null,"author":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"created_at":"2019-11-28T08:45:45.007Z","updated_at":"2019-11-28T08:45:45.010Z","system":true,"noteable_id":27687706,"noteable_type":"Issue","project_id":15578026,"resolvable":false,"confidential":false,"internal":false,"noteable_iid":2,"commands_changes":{}}]},{"id":"632d0cbfd6a1a08f38aaf9ef7715116f4b188ebb","individual_note":true,"notes":[{"id":251637999,"type":null,"body":"A second comment","attachment":null,"author":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"created_at":"2019-11-28T08:45:53.501Z","updated_at":"2019-11-28T08:45:53.501Z","system":false,"noteable_id":27687706,"noteable_type":"Issue","project_id":15578026,"resolvable":false,"confidential":false,"internal":false,"noteable_iid":2,"commands_changes":{}}]}] \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_2_resource_state_events!page=1&per_page=100 b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F2%2Fresource_state_events%3Fpage=1&per_page=100 similarity index 72% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_2_resource_state_events!page=1&per_page=100 rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F2%2Fresource_state_events%3Fpage=1&per_page=100 index a67d0c45b..33dce623c 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues_2_resource_state_events!page=1&per_page=100 +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%2F2%2Fresource_state_events%3Fpage=1&per_page=100 @@ -1,26 +1,26 @@ -Cf-Cache-Status: MISS -Etag: W/"4f53cda18c2baa0c0354bb5f9a3ecbe5" -X-Content-Type-Options: nosniff -Referrer-Policy: strict-origin-when-cross-origin -Gitlab-Lb: haproxy-main-52-lb-gprd -Content-Length: 2 -X-Prev-Page: -Set-Cookie: _cfuvid=W2TdoA.hvJeMOjx.ZmMBWpZVvCP6nNxmeM6PQsr8.Kw-1709516931498-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None -Link: ; rel="first", ; rel="last" -X-Frame-Options: SAMEORIGIN -Strict-Transport-Security: max-age=31536000 -Vary: Origin, Accept-Encoding -Content-Security-Policy: default-src 'none' -X-Gitlab-Meta: {"correlation_id":"527e08a612a163b94cd95046842d5e64","version":"1"} -X-Page: 1 +Cache-Control: max-age=0, private, must-revalidate +X-Gitlab-Meta: {"correlation_id":"9564d6f62bbab2cb1f60ca66015e3840","version":"1"} +X-Runtime: 0.091327 X-Per-Page: 100 X-Total: 0 -Content-Type: application/json -Accept-Ranges: bytes -Cache-Control: max-age=0, private, must-revalidate -X-Next-Page: X-Total-Pages: 1 -Gitlab-Sv: api-gke-us-east1-c -X-Runtime: 0.123529 +Gitlab-Sv: api-gke-us-east1-d +Cf-Cache-Status: MISS +X-Prev-Page: +Content-Length: 2 +Content-Security-Policy: default-src 'none' +X-Content-Type-Options: nosniff +X-Frame-Options: SAMEORIGIN +X-Next-Page: +Link: ; rel="first", ; rel="last" +Vary: Origin, Accept-Encoding +Set-Cookie: _cfuvid=JAECWgzRO1L40L3GhX4c7HSSpyYna2z1sybaZdKrJ18-1710504209104-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +Strict-Transport-Security: max-age=31536000 +Referrer-Policy: strict-origin-when-cross-origin +Gitlab-Lb: haproxy-main-11-lb-gprd +Content-Type: application/json +Etag: W/"4f53cda18c2baa0c0354bb5f9a3ecbe5" +X-Page: 1 +Accept-Ranges: bytes [] \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues!page=1&per_page=2&sort=asc&state=all b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%3Fpage=1&per_page=2&sort=asc&state=all similarity index 93% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues!page=1&per_page=2&sort=asc&state=all rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%3Fpage=1&per_page=2&sort=asc&state=all index 17139efa2..ff6128e8a 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_issues!page=1&per_page=2&sort=asc&state=all +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fissues%3Fpage=1&per_page=2&sort=asc&state=all @@ -1,24 +1,24 @@ +Content-Security-Policy: default-src 'none' +Etag: W/"4c0531a3595f741f229f5a105e013b95" +Link: ; rel="first", ; rel="last" +X-Next-Page: +Cf-Cache-Status: MISS +Strict-Transport-Security: max-age=31536000 X-Content-Type-Options: nosniff -X-Per-Page: 2 -X-Total-Pages: 1 -Content-Type: application/json -X-Prev-Page: X-Total: 2 +X-Total-Pages: 1 +Gitlab-Lb: haproxy-main-16-lb-gprd Cache-Control: max-age=0, private, must-revalidate Vary: Origin, Accept-Encoding -Referrer-Policy: strict-origin-when-cross-origin -Gitlab-Sv: api-gke-us-east1-d -X-Gitlab-Meta: {"correlation_id":"52846fcab419461a2c2f29f707dbd103","version":"1"} -X-Next-Page: -Strict-Transport-Security: max-age=31536000 -Cf-Cache-Status: MISS -Link: ; rel="first", ; rel="last" -Etag: W/"4c0531a3595f741f229f5a105e013b95" -X-Frame-Options: SAMEORIGIN +X-Runtime: 0.143514 +Gitlab-Sv: api-gke-us-east1-c +X-Gitlab-Meta: {"correlation_id":"6e8b9d619f3148fd839ba0c5f6747df9","version":"1"} X-Page: 1 -Content-Security-Policy: default-src 'none' -Set-Cookie: _cfuvid=0ScIwDvsVw_dRSgtT9czuTLY6R5TGzB2UIk9653BEf0-1709516924974-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None -Gitlab-Lb: haproxy-main-38-lb-gprd -X-Runtime: 0.187797 +Content-Type: application/json +X-Per-Page: 2 +Referrer-Policy: strict-origin-when-cross-origin +X-Frame-Options: SAMEORIGIN +X-Prev-Page: +Set-Cookie: _cfuvid=9pOTnEAVQzMgmNMabGvRXD3ad16MkUCZTAQQameWnO8-1710504206909-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None [{"id":27687675,"iid":1,"project_id":15578026,"title":"Please add an animated gif icon to the merge button","description":"I just want the merge button to hurt my eyes a little. :stuck_out_tongue_closed_eyes:","state":"closed","created_at":"2019-11-28T08:43:35.459Z","updated_at":"2019-11-28T08:46:23.304Z","closed_at":"2019-11-28T08:46:23.275Z","closed_by":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"labels":["bug","discussion"],"milestone":{"id":1082926,"iid":1,"project_id":15578026,"title":"1.0.0","description":"","state":"closed","created_at":"2019-11-28T08:42:30.301Z","updated_at":"2019-11-28T15:57:52.401Z","due_date":null,"start_date":null,"expired":false,"web_url":"https://gitlab.com/gitea/test_repo/-/milestones/1"},"assignees":[],"author":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"type":"ISSUE","assignee":null,"user_notes_count":0,"merge_requests_count":0,"upvotes":1,"downvotes":0,"due_date":null,"confidential":false,"discussion_locked":null,"issue_type":"issue","web_url":"https://gitlab.com/gitea/test_repo/-/issues/1","time_stats":{"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null},"task_completion_status":{"count":0,"completed_count":0},"blocking_issues_count":0,"has_tasks":true,"task_status":"0 of 0 checklist items completed","_links":{"self":"https://gitlab.com/api/v4/projects/15578026/issues/1","notes":"https://gitlab.com/api/v4/projects/15578026/issues/1/notes","award_emoji":"https://gitlab.com/api/v4/projects/15578026/issues/1/award_emoji","project":"https://gitlab.com/api/v4/projects/15578026","closed_as_duplicate_of":null},"references":{"short":"#1","relative":"#1","full":"gitea/test_repo#1"},"severity":"UNKNOWN","moved_to_id":null,"service_desk_reply_to":null},{"id":27687706,"iid":2,"project_id":15578026,"title":"Test issue","description":"This is test issue 2, do not touch!","state":"closed","created_at":"2019-11-28T08:44:46.277Z","updated_at":"2019-11-28T08:45:44.987Z","closed_at":"2019-11-28T08:45:44.959Z","closed_by":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"labels":["duplicate"],"milestone":{"id":1082927,"iid":2,"project_id":15578026,"title":"1.1.0","description":"","state":"active","created_at":"2019-11-28T08:42:44.575Z","updated_at":"2019-11-28T08:42:44.575Z","due_date":null,"start_date":null,"expired":false,"web_url":"https://gitlab.com/gitea/test_repo/-/milestones/2"},"assignees":[],"author":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"type":"ISSUE","assignee":null,"user_notes_count":2,"merge_requests_count":0,"upvotes":1,"downvotes":1,"due_date":null,"confidential":false,"discussion_locked":null,"issue_type":"issue","web_url":"https://gitlab.com/gitea/test_repo/-/issues/2","time_stats":{"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null},"task_completion_status":{"count":0,"completed_count":0},"blocking_issues_count":0,"has_tasks":true,"task_status":"0 of 0 checklist items completed","_links":{"self":"https://gitlab.com/api/v4/projects/15578026/issues/2","notes":"https://gitlab.com/api/v4/projects/15578026/issues/2/notes","award_emoji":"https://gitlab.com/api/v4/projects/15578026/issues/2/award_emoji","project":"https://gitlab.com/api/v4/projects/15578026","closed_as_duplicate_of":null},"references":{"short":"#2","relative":"#2","full":"gitea/test_repo#2"},"severity":"UNKNOWN","moved_to_id":null,"service_desk_reply_to":null}] \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_labels!page=1&per_page=100 b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Flabels%3Fpage=1&per_page=100 similarity index 87% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_labels!page=1&per_page=100 rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Flabels%3Fpage=1&per_page=100 index 03a46d057..95924923d 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_labels!page=1&per_page=100 +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Flabels%3Fpage=1&per_page=100 @@ -1,24 +1,24 @@ -X-Prev-Page: -Referrer-Policy: strict-origin-when-cross-origin -Content-Type: application/json X-Per-Page: 100 +X-Prev-Page: X-Total: 9 -X-Runtime: 0.114167 -X-Total-Pages: 1 -Set-Cookie: _cfuvid=UMIyFl_InnSbX4Uxs5X.6ssGMrTVlv5uJzGE_UhDR3w-1709516923392-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None -Cache-Control: max-age=0, private, must-revalidate -Link: ; rel="first", ; rel="last" +Content-Type: application/json +X-Next-Page: X-Content-Type-Options: nosniff -Gitlab-Sv: api-gke-us-east1-b +Gitlab-Lb: haproxy-main-56-lb-gprd +Cf-Cache-Status: MISS +Set-Cookie: _cfuvid=5K2rwnMRyftEWt3OXSN3FeV8T9nf3Cgb20WFj.p4hyw-1710504206334-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +Cache-Control: max-age=0, private, must-revalidate +X-Runtime: 0.424823 +Strict-Transport-Security: max-age=31536000 +Link: ; rel="first", ; rel="last" Content-Security-Policy: default-src 'none' Vary: Origin, Accept-Encoding -X-Next-Page: -X-Frame-Options: SAMEORIGIN -X-Gitlab-Meta: {"correlation_id":"3b4e48efc61f09520ea23b3bca5ea469","version":"1"} +X-Gitlab-Meta: {"correlation_id":"b02b63b76c2351a971670a8db9c57af9","version":"1"} X-Page: 1 -Cf-Cache-Status: MISS +X-Total-Pages: 1 Etag: W/"5a3fb9bc7b1018070943f4aa1353f8b6" -Strict-Transport-Security: max-age=31536000 -Gitlab-Lb: haproxy-main-30-lb-gprd +X-Frame-Options: SAMEORIGIN +Referrer-Policy: strict-origin-when-cross-origin +Gitlab-Sv: api-gke-us-east1-d [{"id":12959095,"name":"bug","description":null,"description_html":"","text_color":"#FFFFFF","color":"#d9534f","subscribed":false,"priority":null,"is_project_label":true},{"id":12959097,"name":"confirmed","description":null,"description_html":"","text_color":"#FFFFFF","color":"#d9534f","subscribed":false,"priority":null,"is_project_label":true},{"id":12959096,"name":"critical","description":null,"description_html":"","text_color":"#FFFFFF","color":"#d9534f","subscribed":false,"priority":null,"is_project_label":true},{"id":12959100,"name":"discussion","description":null,"description_html":"","text_color":"#FFFFFF","color":"#428bca","subscribed":false,"priority":null,"is_project_label":true},{"id":12959098,"name":"documentation","description":null,"description_html":"","text_color":"#1F1E24","color":"#f0ad4e","subscribed":false,"priority":null,"is_project_label":true},{"id":12959554,"name":"duplicate","description":null,"description_html":"","text_color":"#FFFFFF","color":"#7F8C8D","subscribed":false,"priority":null,"is_project_label":true},{"id":12959102,"name":"enhancement","description":null,"description_html":"","text_color":"#FFFFFF","color":"#5cb85c","subscribed":false,"priority":null,"is_project_label":true},{"id":12959101,"name":"suggestion","description":null,"description_html":"","text_color":"#FFFFFF","color":"#428bca","subscribed":false,"priority":null,"is_project_label":true},{"id":12959099,"name":"support","description":null,"description_html":"","text_color":"#1F1E24","color":"#f0ad4e","subscribed":false,"priority":null,"is_project_label":true}] \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests_1_approvals b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%2F1%2Fapprovals similarity index 82% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests_1_approvals rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%2F1%2Fapprovals index 7a3ab6b85..6a16667f8 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests_1_approvals +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%2F1%2Fapprovals @@ -1,17 +1,17 @@ +Gitlab-Sv: api-gke-us-east1-c +Set-Cookie: _cfuvid=zeoNBfBKfrdVGUvp0nfh4oigIhB1U14XXmzniKufB0A-1710504211497-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +X-Runtime: 0.137677 Cache-Control: max-age=0, private, must-revalidate -Content-Security-Policy: default-src 'none' -Strict-Transport-Security: max-age=31536000 -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -Set-Cookie: _cfuvid=z0y3rhqnpB208dDD5k02RKi_y6HV6.i7lc65_MGJIHM-1709516935718-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None -Content-Type: application/json Vary: Origin, Accept-Encoding -Gitlab-Sv: api-gke-us-east1-d -Referrer-Policy: strict-origin-when-cross-origin -Gitlab-Lb: haproxy-main-38-lb-gprd -Cf-Cache-Status: MISS +X-Frame-Options: SAMEORIGIN +X-Gitlab-Meta: {"correlation_id":"8585fe858d5623c4d3d1b77cfcdad845","version":"1"} +Content-Security-Policy: default-src 'none' Etag: W/"632b3d0f41fe1650d82b84feaa7b125d" -X-Gitlab-Meta: {"correlation_id":"68a6a29f5330b299ef95868936bd1b4b","version":"1"} -X-Runtime: 0.150028 +Strict-Transport-Security: max-age=31536000 +Cf-Cache-Status: MISS +Content-Type: application/json +X-Content-Type-Options: nosniff +Referrer-Policy: strict-origin-when-cross-origin +Gitlab-Lb: haproxy-main-55-lb-gprd {"id":43486906,"iid":1,"project_id":15578026,"title":"Update README.md","description":"add warning to readme","state":"merged","created_at":"2019-11-28T08:54:41.034Z","updated_at":"2019-11-28T16:02:08.377Z","merge_status":"can_be_merged","approved":true,"approvals_required":0,"approvals_left":0,"require_password_to_approve":false,"approved_by":[{"user":{"id":527793,"username":"axifive","name":"Alexey Terentyev","state":"active","locked":false,"avatar_url":"https://secure.gravatar.com/avatar/b5eee878c9129969b55d221a823fd15e55aad8dc15d521f4170e3c93728e02b6?s=80\u0026d=identicon","web_url":"https://gitlab.com/axifive"}},{"user":{"id":4102996,"username":"zeripath","name":"zeripath","state":"active","locked":false,"avatar_url":"https://secure.gravatar.com/avatar/3bad2cdad37aa0bbb3ad276ce8f77e32a1a9567a7083f0866d8df8ed0e92e5b5?s=80\u0026d=identicon","web_url":"https://gitlab.com/zeripath"}}],"suggested_approvers":[],"approvers":[],"approver_groups":[],"user_has_approved":false,"user_can_approve":false,"approval_rules_left":[],"has_approval_rules":true,"merge_request_approvers_available":false,"multiple_approval_rules_available":false,"invalid_approvers_rules":[]} \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests_2 b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%2F2 similarity index 89% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests_2 rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%2F2 index 73441c917..8848af8e4 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests_2 +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%2F2 @@ -1,17 +1,17 @@ -X-Content-Type-Options: nosniff -X-Gitlab-Meta: {"correlation_id":"d351bb99dc07c885c71d8f5299208320","version":"1"} -Gitlab-Lb: haproxy-main-56-lb-gprd -X-Frame-Options: SAMEORIGIN -Content-Type: application/json -Referrer-Policy: strict-origin-when-cross-origin -X-Runtime: 0.237643 -Strict-Transport-Security: max-age=31536000 -Gitlab-Sv: api-gke-us-east1-d Cache-Control: max-age=0, private, must-revalidate -Content-Security-Policy: default-src 'none' +X-Content-Type-Options: nosniff Etag: W/"914149155d75f8d8f7ed2e5351f0fadb" +Referrer-Policy: strict-origin-when-cross-origin +Content-Security-Policy: default-src 'none' Vary: Origin, Accept-Encoding +X-Runtime: 0.634688 Cf-Cache-Status: MISS -Set-Cookie: _cfuvid=yE9p3NWSIseWCeQl9amdJ0bfdfTyf7TIEOGJSzjcxTQ-1709516933254-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +Set-Cookie: _cfuvid=Z._ut3jKk_GobWpwV3pdT8AP8FDBG3hXVJphHhFBiBg-1710504210170-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +Content-Type: application/json +X-Gitlab-Meta: {"correlation_id":"c36a4f0267a05143404246325892000a","version":"1"} +Strict-Transport-Security: max-age=31536000 +Gitlab-Lb: haproxy-main-59-lb-gprd +Gitlab-Sv: api-gke-us-east1-d +X-Frame-Options: SAMEORIGIN {"id":43524600,"iid":2,"project_id":15578026,"title":"Test branch","description":"do not merge this PR","state":"opened","created_at":"2019-11-28T15:56:54.104Z","updated_at":"2020-04-19T19:24:21.108Z","merged_by":null,"merge_user":null,"merged_at":null,"closed_by":null,"closed_at":null,"target_branch":"master","source_branch":"feat/test","user_notes_count":0,"upvotes":1,"downvotes":0,"author":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"assignees":[],"assignee":null,"reviewers":[],"source_project_id":15578026,"target_project_id":15578026,"labels":["bug"],"draft":false,"work_in_progress":false,"milestone":{"id":1082926,"iid":1,"project_id":15578026,"title":"1.0.0","description":"","state":"closed","created_at":"2019-11-28T08:42:30.301Z","updated_at":"2019-11-28T15:57:52.401Z","due_date":null,"start_date":null,"expired":false,"web_url":"https://gitlab.com/gitea/test_repo/-/milestones/1"},"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","detailed_merge_status":"mergeable","sha":"9f733b96b98a4175276edf6a2e1231489c3bdd23","merge_commit_sha":null,"squash_commit_sha":null,"discussion_locked":null,"should_remove_source_branch":null,"force_remove_source_branch":true,"prepared_at":"2019-11-28T15:56:54.104Z","reference":"!2","references":{"short":"!2","relative":"!2","full":"gitea/test_repo!2"},"web_url":"https://gitlab.com/gitea/test_repo/-/merge_requests/2","time_stats":{"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null},"squash":true,"squash_on_merge":true,"task_completion_status":{"count":0,"completed_count":0},"has_conflicts":false,"blocking_discussions_resolved":true,"approvals_before_merge":null,"subscribed":false,"changes_count":"1","latest_build_started_at":null,"latest_build_finished_at":null,"first_deployed_to_production_at":null,"pipeline":null,"head_pipeline":null,"diff_refs":{"base_sha":"c59c9b451acca9d106cc19d61d87afe3fbbb8b83","head_sha":"9f733b96b98a4175276edf6a2e1231489c3bdd23","start_sha":"c59c9b451acca9d106cc19d61d87afe3fbbb8b83"},"merge_error":null,"first_contribution":false,"user":{"can_merge":false}} \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests_2_approvals b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%2F2%2Fapprovals similarity index 87% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests_2_approvals rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%2F2%2Fapprovals index e9e5f3ad0..be119c18b 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests_2_approvals +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%2F2%2Fapprovals @@ -1,17 +1,17 @@ -Gitlab-Sv: api-gke-us-east1-c +Set-Cookie: _cfuvid=sImrE_lz4VAFrw_o2FHA_8y6kxUoFm4G31.BEqR9M_E-1710504211811-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +X-Content-Type-Options: nosniff +X-Frame-Options: SAMEORIGIN +X-Gitlab-Meta: {"correlation_id":"cf4eeb7f9cb45f6d15ef0297231a3250","version":"1"} +X-Runtime: 0.163465 Content-Type: application/json Vary: Origin, Accept-Encoding -Gitlab-Lb: haproxy-main-49-lb-gprd -X-Gitlab-Meta: {"correlation_id":"ea044fc89155ed7f76093b9cc3a7d4ea","version":"1"} -X-Runtime: 0.144068 -Strict-Transport-Security: max-age=31536000 -Etag: W/"58109b687618e6b9e49ff812d5a911df" -X-Content-Type-Options: nosniff -Cache-Control: max-age=0, private, must-revalidate -X-Frame-Options: SAMEORIGIN -Set-Cookie: _cfuvid=bjDdu13341ZREKL1340bXPm8TFCQkeafZBecRxoqNv0-1709516936936-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None -Cf-Cache-Status: MISS -Content-Security-Policy: default-src 'none' +Gitlab-Lb: haproxy-main-17-lb-gprd +Gitlab-Sv: api-gke-us-east1-d Referrer-Policy: strict-origin-when-cross-origin +Cf-Cache-Status: MISS +Cache-Control: max-age=0, private, must-revalidate +Content-Security-Policy: default-src 'none' +Etag: W/"58109b687618e6b9e49ff812d5a911df" +Strict-Transport-Security: max-age=31536000 {"id":43524600,"iid":2,"project_id":15578026,"title":"Test branch","description":"do not merge this PR","state":"opened","created_at":"2019-11-28T15:56:54.104Z","updated_at":"2020-04-19T19:24:21.108Z","merge_status":"can_be_merged","approved":true,"approvals_required":0,"approvals_left":0,"require_password_to_approve":false,"approved_by":[{"user":{"id":4575606,"username":"real6543","name":"6543","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/4575606/avatar.png","web_url":"https://gitlab.com/real6543"}}],"suggested_approvers":[],"approvers":[],"approver_groups":[{"group":{"id":3181312,"web_url":"https://gitlab.com/groups/gitea","name":"gitea","path":"gitea","description":"Mirror of Gitea source code repositories","visibility":"public","share_with_group_lock":false,"require_two_factor_authentication":false,"two_factor_grace_period":48,"project_creation_level":"maintainer","auto_devops_enabled":null,"subgroup_creation_level":"owner","emails_disabled":false,"emails_enabled":true,"mentions_disabled":null,"lfs_enabled":true,"math_rendering_limits_enabled":true,"lock_math_rendering_limits_enabled":false,"default_branch_protection":2,"default_branch_protection_defaults":{"allowed_to_push":[{"access_level":30}],"allow_force_push":true,"allowed_to_merge":[{"access_level":30}]},"avatar_url":"https://gitlab.com/uploads/-/system/group/avatar/3181312/gitea.png","request_access_enabled":true,"full_name":"gitea","full_path":"gitea","created_at":"2018-07-04T16:32:10.176Z","parent_id":null,"organization_id":1,"shared_runners_setting":"enabled","ldap_cn":null,"ldap_access":null,"wiki_access_level":"enabled"}}],"user_has_approved":false,"user_can_approve":false,"approval_rules_left":[],"has_approval_rules":true,"merge_request_approvers_available":false,"multiple_approval_rules_available":false,"invalid_approvers_rules":[]} \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests_2_award_emoji!page=1&per_page=1 b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%2F2%2Faward_emoji%3Fpage=1&per_page=1 similarity index 82% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests_2_award_emoji!page=1&per_page=1 rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%2F2%2Faward_emoji%3Fpage=1&per_page=1 index 3d99cfbe2..eb72d3fc5 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests_2_award_emoji!page=1&per_page=1 +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%2F2%2Faward_emoji%3Fpage=1&per_page=1 @@ -1,24 +1,24 @@ -Set-Cookie: _cfuvid=2_c1M0pqgnG1D4bNm2QluJ9AGXZ7FyB14t_v4ittTjY-1709516933765-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None Etag: W/"798718b23a2ec66b16cce20cb7155116" -X-Runtime: 0.125829 -X-Total-Pages: 2 -Gitlab-Sv: api-gke-us-east1-b -Cf-Cache-Status: MISS -X-Prev-Page: -Cache-Control: max-age=0, private, must-revalidate +X-Gitlab-Meta: {"correlation_id":"64dce1b90fe8fbfda281a99e34d0905c","version":"1"} Link: ; rel="next", ; rel="first", ; rel="last" +X-Frame-Options: SAMEORIGIN +X-Runtime: 0.092139 Content-Type: application/json X-Content-Type-Options: nosniff -X-Gitlab-Meta: {"correlation_id":"9d8976ef2244076825f1e8a8bae3a090","version":"1"} -Vary: Origin, Accept-Encoding -Strict-Transport-Security: max-age=31536000 +X-Prev-Page: +Referrer-Policy: strict-origin-when-cross-origin +X-Per-Page: 1 X-Total: 2 -X-Frame-Options: SAMEORIGIN +Strict-Transport-Security: max-age=31536000 +Content-Security-Policy: default-src 'none' +Cache-Control: max-age=0, private, must-revalidate +Vary: Origin, Accept-Encoding +Gitlab-Lb: haproxy-main-30-lb-gprd +Cf-Cache-Status: MISS +Gitlab-Sv: api-gke-us-east1-b +Set-Cookie: _cfuvid=vG12ThddZrDMG_flNdCfEfuN3Vma3YHPWrU1MJOBFhY-1710504210427-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None X-Next-Page: 2 X-Page: 1 -X-Per-Page: 1 -Content-Security-Policy: default-src 'none' -Referrer-Policy: strict-origin-when-cross-origin -Gitlab-Lb: haproxy-main-45-lb-gprd +X-Total-Pages: 2 [{"id":5541414,"name":"thumbsup","user":{"id":4575606,"username":"real6543","name":"6543","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/4575606/avatar.png","web_url":"https://gitlab.com/real6543"},"created_at":"2020-09-02T23:42:34.310Z","updated_at":"2020-09-02T23:42:34.310Z","awardable_id":43524600,"awardable_type":"MergeRequest","url":null}] \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests_2_award_emoji!page=2&per_page=1 b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%2F2%2Faward_emoji%3Fpage=2&per_page=1 similarity index 81% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests_2_award_emoji!page=2&per_page=1 rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%2F2%2Faward_emoji%3Fpage=2&per_page=1 index 9981fc1c3..63f7d02a1 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests_2_award_emoji!page=2&per_page=1 +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%2F2%2Faward_emoji%3Fpage=2&per_page=1 @@ -1,24 +1,24 @@ -X-Content-Type-Options: nosniff -Gitlab-Lb: haproxy-main-32-lb-gprd +X-Next-Page: +Content-Type: application/json +Vary: Origin, Accept-Encoding +Cf-Cache-Status: MISS +Content-Security-Policy: default-src 'none' +X-Frame-Options: SAMEORIGIN +X-Page: 2 +Strict-Transport-Security: max-age=31536000 +Set-Cookie: _cfuvid=VgzG7aSZyu0lycKl6YVe9GTRYeLa0XUB5lv3pROs3tk-1710504210672-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +Referrer-Policy: strict-origin-when-cross-origin Cache-Control: max-age=0, private, must-revalidate Etag: W/"e6776aaa57e6a81bf8a2d8823272cc70" X-Prev-Page: 1 -X-Runtime: 0.066771 -Referrer-Policy: strict-origin-when-cross-origin -Content-Security-Policy: default-src 'none' -Vary: Origin, Accept-Encoding -X-Frame-Options: SAMEORIGIN -X-Next-Page: -X-Per-Page: 1 -Set-Cookie: _cfuvid=XlmPD5BVPxHofXNdPbazM3JF2i5DbLlQUVqNW9K6Y28-1709516934208-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None -X-Gitlab-Meta: {"correlation_id":"e51679dffc5216e7c77a018a26343380","version":"1"} +X-Runtime: 0.073747 +Link: ; rel="prev", ; rel="first", ; rel="last" +X-Gitlab-Meta: {"correlation_id":"50f2f6c2fa586f2699010189215c0531","version":"1"} X-Total: 2 X-Total-Pages: 2 -Content-Type: application/json -X-Page: 2 -Strict-Transport-Security: max-age=31536000 -Cf-Cache-Status: MISS -Link: ; rel="prev", ; rel="first", ; rel="last" -Gitlab-Sv: api-gke-us-east1-d +Gitlab-Lb: haproxy-main-60-lb-gprd +X-Content-Type-Options: nosniff +X-Per-Page: 1 +Gitlab-Sv: api-gke-us-east1-b [{"id":5541415,"name":"tada","user":{"id":4575606,"username":"real6543","name":"6543","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/4575606/avatar.png","web_url":"https://gitlab.com/real6543"},"created_at":"2020-09-02T23:42:59.060Z","updated_at":"2020-09-02T23:42:59.060Z","awardable_id":43524600,"awardable_type":"MergeRequest","url":null}] \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests_2_award_emoji!page=3&per_page=1 b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%2F2%2Faward_emoji%3Fpage=3&per_page=1 similarity index 72% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests_2_award_emoji!page=3&per_page=1 rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%2F2%2Faward_emoji%3Fpage=3&per_page=1 index 07ff6e5ba..9cce5e0bd 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests_2_award_emoji!page=3&per_page=1 +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%2F2%2Faward_emoji%3Fpage=3&per_page=1 @@ -1,26 +1,26 @@ -X-Content-Type-Options: nosniff -X-Prev-Page: -Accept-Ranges: bytes -Gitlab-Sv: api-gke-us-east1-d -X-Gitlab-Meta: {"correlation_id":"e19c4433df21888b10c912bab5311ecd","version":"1"} -X-Next-Page: -Strict-Transport-Security: max-age=31536000 -Gitlab-Lb: haproxy-main-26-lb-gprd -Etag: W/"4f53cda18c2baa0c0354bb5f9a3ecbe5" -Link: ; rel="first", ; rel="last" -X-Per-Page: 1 -Set-Cookie: _cfuvid=Lv9tmhZRx2Sa.lToTQ.C73MDyRvwOtmVmgEi4cbTrkQ-1709516935278-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None X-Total-Pages: 2 -Cf-Cache-Status: MISS -Content-Length: 2 -X-Page: 3 -X-Total: 2 -X-Frame-Options: SAMEORIGIN -Referrer-Policy: strict-origin-when-cross-origin -Content-Type: application/json Cache-Control: max-age=0, private, must-revalidate +Link: ; rel="first", ; rel="last" +X-Prev-Page: +Content-Type: application/json +Etag: W/"4f53cda18c2baa0c0354bb5f9a3ecbe5" +X-Per-Page: 1 +Cf-Cache-Status: MISS +Accept-Ranges: bytes +X-Content-Type-Options: nosniff +X-Runtime: 0.064101 +X-Total: 2 +Gitlab-Lb: haproxy-main-18-lb-gprd +Content-Length: 2 +Referrer-Policy: strict-origin-when-cross-origin +Set-Cookie: _cfuvid=I18ivb.i14P1hql2L0PDHGFAIFBr6CdHc5Xp3CQ7Z78-1710504211202-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None Vary: Origin, Accept-Encoding -X-Runtime: 0.056300 +X-Next-Page: +Gitlab-Sv: api-gke-us-east1-b +Strict-Transport-Security: max-age=31536000 Content-Security-Policy: default-src 'none' +X-Frame-Options: SAMEORIGIN +X-Gitlab-Meta: {"correlation_id":"6c902fe6782c24f23059e0ab39caf051","version":"1"} +X-Page: 3 [] \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests!page=1&per_page=1&view=simple b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%3Fpage=1&per_page=1&view=simple similarity index 83% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests!page=1&per_page=1&view=simple rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%3Fpage=1&per_page=1&view=simple index 6f8d70200..1beb5e698 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_merge_requests!page=1&per_page=1&view=simple +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmerge_requests%3Fpage=1&per_page=1&view=simple @@ -1,24 +1,24 @@ -Content-Security-Policy: default-src 'none' Etag: W/"14f72c1f555b0e6348d338190e9e4839" -Strict-Transport-Security: max-age=31536000 -Cf-Cache-Status: MISS -Set-Cookie: _cfuvid=V__PxQ60qzlepbd7My22SIsuTFfjEafoCsqahPDPjMg-1709516932676-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None -X-Frame-Options: SAMEORIGIN -X-Per-Page: 1 -X-Total: 2 -X-Total-Pages: 2 -Gitlab-Sv: api-gke-us-east1-d -Content-Type: application/json -X-Content-Type-Options: nosniff -X-Next-Page: 2 +X-Page: 1 Referrer-Policy: strict-origin-when-cross-origin -Vary: Origin, Accept-Encoding +Gitlab-Lb: haproxy-main-44-lb-gprd +Content-Type: application/json +Content-Security-Policy: default-src 'none' +Set-Cookie: _cfuvid=xtxwnC3sB7qZrUtCFdAaMiSOKDnQPiLD3iYq9hTj39I-1710504209365-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +X-Per-Page: 1 +X-Runtime: 0.102877 +X-Gitlab-Meta: {"correlation_id":"a779d4e8ffae8bdf01f20a6d0c545247","version":"1"} +Cf-Cache-Status: MISS +X-Frame-Options: SAMEORIGIN +X-Total-Pages: 2 Cache-Control: max-age=0, private, must-revalidate Link: ; rel="next", ; rel="first", ; rel="last" X-Prev-Page: -X-Gitlab-Meta: {"correlation_id":"7e815ab626b3ec958eb45b614106a759","version":"1"} -X-Page: 1 -X-Runtime: 0.130064 -Gitlab-Lb: haproxy-main-38-lb-gprd +X-Content-Type-Options: nosniff +X-Next-Page: 2 +Gitlab-Sv: api-gke-us-east1-d +Vary: Origin, Accept-Encoding +Strict-Transport-Security: max-age=31536000 +X-Total: 2 [{"id":43524600,"iid":2,"project_id":15578026,"title":"Test branch","description":"do not merge this PR","state":"opened","created_at":"2019-11-28T15:56:54.104Z","updated_at":"2020-04-19T19:24:21.108Z","web_url":"https://gitlab.com/gitea/test_repo/-/merge_requests/2"}] \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_milestones!page=1&per_page=100&state=all b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmilestones%3Fpage=1&per_page=100&state=all similarity index 78% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_milestones!page=1&per_page=100&state=all rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmilestones%3Fpage=1&per_page=100&state=all index 14a40dc50..6d7d48213 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_milestones!page=1&per_page=100&state=all +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Fmilestones%3Fpage=1&per_page=100&state=all @@ -1,24 +1,24 @@ -X-Total: 2 +X-Prev-Page: +Vary: Origin, Accept-Encoding +X-Gitlab-Meta: {"correlation_id":"2998cbf0e39d3b81710b1d1b82c03b80","version":"1"} Referrer-Policy: strict-origin-when-cross-origin -Gitlab-Sv: api-gke-us-east1-d -X-Content-Type-Options: nosniff -X-Frame-Options: SAMEORIGIN -X-Next-Page: -X-Total-Pages: 1 +Link: ; rel="first", ; rel="last" +X-Page: 1 +Etag: W/"c8e2d3a5f05ee29c58b665c86684f9f9" +Content-Security-Policy: default-src 'none' +X-Total: 2 Cf-Cache-Status: MISS Content-Type: application/json +X-Next-Page: +X-Frame-Options: SAMEORIGIN +X-Total-Pages: 1 +Gitlab-Lb: haproxy-main-24-lb-gprd +Set-Cookie: _cfuvid=UO1GaUJc3jsd8W85u2xy74QFY1Ez71cmGWi0WbQoYpU-1710504205756-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None Cache-Control: max-age=0, private, must-revalidate -Link: ; rel="first", ; rel="last" -Gitlab-Lb: haproxy-main-02-lb-gprd -Vary: Origin, Accept-Encoding -X-Per-Page: 100 -X-Runtime: 0.072314 +X-Content-Type-Options: nosniff Strict-Transport-Security: max-age=31536000 -Set-Cookie: _cfuvid=AAzb4a45dTRraCeBWB2eYtD0LUdZnyMdcLZpKLKFKQY-1709516922946-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None -X-Page: 1 -Content-Security-Policy: default-src 'none' -Etag: W/"c8e2d3a5f05ee29c58b665c86684f9f9" -X-Gitlab-Meta: {"correlation_id":"3786d93aa260a78e86bd229427022c67","version":"1"} -X-Prev-Page: +Gitlab-Sv: api-gke-us-east1-b +X-Per-Page: 100 +X-Runtime: 0.078614 [{"id":1082927,"iid":2,"project_id":15578026,"title":"1.1.0","description":"","state":"active","created_at":"2019-11-28T08:42:44.575Z","updated_at":"2019-11-28T08:42:44.575Z","due_date":null,"start_date":null,"expired":false,"web_url":"https://gitlab.com/gitea/test_repo/-/milestones/2"},{"id":1082926,"iid":1,"project_id":15578026,"title":"1.0.0","description":"","state":"closed","created_at":"2019-11-28T08:42:30.301Z","updated_at":"2019-11-28T15:57:52.401Z","due_date":null,"start_date":null,"expired":false,"web_url":"https://gitlab.com/gitea/test_repo/-/milestones/1"}] \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_releases!page=1&per_page=100 b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Freleases%3Fpage=1&per_page=100 similarity index 90% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_releases!page=1&per_page=100 rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Freleases%3Fpage=1&per_page=100 index 5e0f064cd..fc63173e9 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026_releases!page=1&per_page=100 +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2F15578026%2Freleases%3Fpage=1&per_page=100 @@ -1,24 +1,24 @@ -Gitlab-Lb: haproxy-main-38-lb-gprd -X-Gitlab-Meta: {"correlation_id":"fe487506ab79b2641f2798820a003e65","version":"1"} -X-Runtime: 0.126232 -X-Total-Pages: 1 -X-Prev-Page: -Cache-Control: max-age=0, private, must-revalidate -Link: ; rel="first", ; rel="last" -X-Page: 1 -X-Per-Page: 100 Content-Type: application/json -Vary: Origin, Accept-Encoding -X-Frame-Options: SAMEORIGIN -X-Next-Page: -Gitlab-Sv: api-gke-us-east1-d -X-Content-Type-Options: nosniff -Referrer-Policy: strict-origin-when-cross-origin -Cf-Cache-Status: MISS -Strict-Transport-Security: max-age=31536000 -Set-Cookie: _cfuvid=2dextQvrlcispQRNmodfvb.IH__P1bCF5jvS5aFrRjY-1709516924499-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None -Etag: W/"dccc7159dc4b46989d13128a7d6ee859" Content-Security-Policy: default-src 'none' +Link: ; rel="first", ; rel="last" +X-Prev-Page: +Gitlab-Sv: api-gke-us-east1-b +X-Content-Type-Options: nosniff +X-Runtime: 0.123532 +Vary: Origin, Accept-Encoding +X-Per-Page: 100 +Referrer-Policy: strict-origin-when-cross-origin +Set-Cookie: _cfuvid=Eoqdcle3awcN8Jyrig.dSmC4hTIPuXqZ5ruJIG9c56I-1710504206613-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None X-Total: 1 +Cf-Cache-Status: MISS +X-Next-Page: +Cache-Control: max-age=0, private, must-revalidate +X-Gitlab-Meta: {"correlation_id":"1c01187e563b0819c5ad553bc7525ce8","version":"1"} +Etag: W/"dccc7159dc4b46989d13128a7d6ee859" +X-Page: 1 +Gitlab-Lb: haproxy-main-30-lb-gprd +X-Frame-Options: SAMEORIGIN +X-Total-Pages: 1 +Strict-Transport-Security: max-age=31536000 [{"name":"First Release","tag_name":"v0.9.99","description":"A test release","created_at":"2019-11-28T09:09:48.840Z","released_at":"2019-11-28T09:09:48.836Z","upcoming_release":false,"author":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"commit":{"id":"0720a3ec57c1f843568298117b874319e7deee75","short_id":"0720a3ec","created_at":"2019-11-28T08:49:16.000+00:00","parent_ids":["93ea21ce45d35690c35e80961d239645139e872c"],"title":"Add new file","message":"Add new file","author_name":"Lauris BH","author_email":"lauris@nix.lv","authored_date":"2019-11-28T08:49:16.000+00:00","committer_name":"Lauris BH","committer_email":"lauris@nix.lv","committed_date":"2019-11-28T08:49:16.000+00:00","trailers":{},"extended_trailers":{},"web_url":"https://gitlab.com/gitea/test_repo/-/commit/0720a3ec57c1f843568298117b874319e7deee75"},"commit_path":"/gitea/test_repo/-/commit/0720a3ec57c1f843568298117b874319e7deee75","tag_path":"/gitea/test_repo/-/tags/v0.9.99","assets":{"count":4,"sources":[{"format":"zip","url":"https://gitlab.com/gitea/test_repo/-/archive/v0.9.99/test_repo-v0.9.99.zip"},{"format":"tar.gz","url":"https://gitlab.com/gitea/test_repo/-/archive/v0.9.99/test_repo-v0.9.99.tar.gz"},{"format":"tar.bz2","url":"https://gitlab.com/gitea/test_repo/-/archive/v0.9.99/test_repo-v0.9.99.tar.bz2"},{"format":"tar","url":"https://gitlab.com/gitea/test_repo/-/archive/v0.9.99/test_repo-v0.9.99.tar"}],"links":[]},"evidences":[{"sha":"89f1223473ee01f192a83d0cb89f4d1eac1de74f01ad","filepath":"https://gitlab.com/gitea/test_repo/-/releases/v0.9.99/evidences/52147.json","collected_at":"2019-11-28T09:09:48.888Z"}],"_links":{"closed_issues_url":"https://gitlab.com/gitea/test_repo/-/issues?release_tag=v0.9.99\u0026scope=all\u0026state=closed","closed_merge_requests_url":"https://gitlab.com/gitea/test_repo/-/merge_requests?release_tag=v0.9.99\u0026scope=all\u0026state=closed","merged_merge_requests_url":"https://gitlab.com/gitea/test_repo/-/merge_requests?release_tag=v0.9.99\u0026scope=all\u0026state=merged","opened_issues_url":"https://gitlab.com/gitea/test_repo/-/issues?release_tag=v0.9.99\u0026scope=all\u0026state=opened","opened_merge_requests_url":"https://gitlab.com/gitea/test_repo/-/merge_requests?release_tag=v0.9.99\u0026scope=all\u0026state=opened","self":"https://gitlab.com/gitea/test_repo/-/releases/v0.9.99"}}] \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026 b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2Fgitea%252Ftest_repo similarity index 93% rename from services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026 rename to services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2Fgitea%252Ftest_repo index e102c2ee1..96f1ea86b 100644 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_projects_15578026 +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fprojects%2Fgitea%252Ftest_repo @@ -1,17 +1,17 @@ -X-Frame-Options: SAMEORIGIN -Vary: Origin, Accept-Encoding -Strict-Transport-Security: max-age=31536000 -Cache-Control: max-age=0, private, must-revalidate -X-Content-Type-Options: nosniff -X-Gitlab-Meta: {"correlation_id":"fcbfb8d789b3f092196e301b01add051","version":"1"} -Gitlab-Sv: api-gke-us-east1-b -Cf-Cache-Status: MISS -Content-Security-Policy: default-src 'none' -Etag: W/"8db4917b3be5f4ca0d101a702179b75a" -X-Runtime: 0.230015 Referrer-Policy: strict-origin-when-cross-origin -Gitlab-Lb: haproxy-main-39-lb-gprd -Set-Cookie: _cfuvid=cvUyaJC1KTpP.SBvDCjaIYRgZYh4zbY7BihbhwIUzt4-1709516922501-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +Gitlab-Lb: haproxy-main-51-lb-gprd +Cf-Cache-Status: MISS +Etag: W/"8db4917b3be5f4ca0d101a702179b75a" +X-Content-Type-Options: nosniff +Strict-Transport-Security: max-age=31536000 +Gitlab-Sv: api-gke-us-east1-b Content-Type: application/json +Cache-Control: max-age=0, private, must-revalidate +X-Gitlab-Meta: {"correlation_id":"9b3859cf6d73ce5de261a56d286072a5","version":"1"} +X-Runtime: 0.119487 +Content-Security-Policy: default-src 'none' +Vary: Origin, Accept-Encoding +Set-Cookie: _cfuvid=Cmc.ycVkdwA_tBvmR2tOVLQ5B.khzzU39ZUxgf4RNlw-1710504204838-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +X-Frame-Options: SAMEORIGIN {"id":15578026,"description":"Test repository for testing migration from gitlab to gitea","name":"test_repo","name_with_namespace":"gitea / test_repo","path":"test_repo","path_with_namespace":"gitea/test_repo","created_at":"2019-11-28T08:20:33.019Z","default_branch":"master","tag_list":["migration","test"],"topics":["migration","test"],"ssh_url_to_repo":"git@gitlab.com:gitea/test_repo.git","http_url_to_repo":"https://gitlab.com/gitea/test_repo.git","web_url":"https://gitlab.com/gitea/test_repo","readme_url":"https://gitlab.com/gitea/test_repo/-/blob/master/README.md","forks_count":1,"avatar_url":null,"star_count":0,"last_activity_at":"2020-04-19T19:46:04.527Z","namespace":{"id":3181312,"name":"gitea","path":"gitea","kind":"group","full_path":"gitea","parent_id":null,"avatar_url":"/uploads/-/system/group/avatar/3181312/gitea.png","web_url":"https://gitlab.com/groups/gitea"},"container_registry_image_prefix":"registry.gitlab.com/gitea/test_repo","_links":{"self":"https://gitlab.com/api/v4/projects/15578026","issues":"https://gitlab.com/api/v4/projects/15578026/issues","merge_requests":"https://gitlab.com/api/v4/projects/15578026/merge_requests","repo_branches":"https://gitlab.com/api/v4/projects/15578026/repository/branches","labels":"https://gitlab.com/api/v4/projects/15578026/labels","events":"https://gitlab.com/api/v4/projects/15578026/events","members":"https://gitlab.com/api/v4/projects/15578026/members","cluster_agents":"https://gitlab.com/api/v4/projects/15578026/cluster_agents"},"packages_enabled":true,"empty_repo":false,"archived":false,"visibility":"public","resolve_outdated_diff_discussions":false,"repository_object_format":"sha1","issues_enabled":true,"merge_requests_enabled":true,"wiki_enabled":true,"jobs_enabled":true,"snippets_enabled":true,"container_registry_enabled":true,"service_desk_enabled":true,"can_create_merge_request_in":true,"issues_access_level":"enabled","repository_access_level":"enabled","merge_requests_access_level":"enabled","forking_access_level":"enabled","wiki_access_level":"enabled","builds_access_level":"enabled","snippets_access_level":"enabled","pages_access_level":"enabled","analytics_access_level":"enabled","container_registry_access_level":"enabled","security_and_compliance_access_level":"private","releases_access_level":"enabled","environments_access_level":"enabled","feature_flags_access_level":"enabled","infrastructure_access_level":"enabled","monitor_access_level":"enabled","model_experiments_access_level":"enabled","model_registry_access_level":"enabled","emails_disabled":false,"emails_enabled":true,"shared_runners_enabled":true,"lfs_enabled":true,"creator_id":1241334,"import_status":"none","open_issues_count":0,"description_html":"\u003cp data-sourcepos=\"1:1-1:58\" dir=\"auto\"\u003eTest repository for testing migration from gitlab to gitea\u003c/p\u003e","updated_at":"2024-01-11T01:23:21.057Z","ci_config_path":null,"public_jobs":true,"shared_with_groups":[],"only_allow_merge_if_pipeline_succeeds":false,"allow_merge_on_skipped_pipeline":null,"request_access_enabled":true,"only_allow_merge_if_all_discussions_are_resolved":false,"remove_source_branch_after_merge":true,"printing_merge_request_link_enabled":true,"merge_method":"ff","squash_option":"default_off","enforce_auth_checks_on_uploads":true,"suggestion_commit_message":null,"merge_commit_template":null,"squash_commit_template":null,"issue_branch_template":null,"warn_about_potentially_unwanted_characters":true,"autoclose_referenced_issues":true,"external_authorization_classification_label":"","requirements_enabled":false,"requirements_access_level":"enabled","security_and_compliance_enabled":false,"compliance_frameworks":[],"permissions":{"project_access":null,"group_access":null}} \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fversion b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fversion new file mode 100644 index 000000000..b8561d430 --- /dev/null +++ b/services/migrations/testdata/gitlab/full_download/GET_%2Fapi%2Fv4%2Fversion @@ -0,0 +1,17 @@ +Content-Type: application/json +Cache-Control: max-age=0, private, must-revalidate +Vary: Origin, Accept-Encoding +X-Frame-Options: SAMEORIGIN +Strict-Transport-Security: max-age=31536000 +X-Gitlab-Meta: {"correlation_id":"5e1b0f0c600e3127952b0bc933bfe0fd","version":"1"} +Referrer-Policy: strict-origin-when-cross-origin +Gitlab-Sv: api-gke-us-east1-b +Set-Cookie: _cfuvid=ve7lWeCgOflkqyU5mzcjS4rdE91f0uaUXBG.po.9VLs-1710504204253-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None +Etag: W/"a7e5ac2ae5500f226c1020b94327a605" +X-Runtime: 0.025760 +Content-Security-Policy: default-src 'none' +X-Content-Type-Options: nosniff +Gitlab-Lb: haproxy-main-39-lb-gprd +Cf-Cache-Status: MISS + +{"version":"16.10.0-pre","revision":"7da39369465","kas":{"enabled":true,"externalUrl":"wss://kas.gitlab.com","version":"v16.10.1"},"enterprise":true} \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/full_download/_api_v4_version b/services/migrations/testdata/gitlab/full_download/_api_v4_version deleted file mode 100644 index e61313f6b..000000000 --- a/services/migrations/testdata/gitlab/full_download/_api_v4_version +++ /dev/null @@ -1,17 +0,0 @@ -Etag: W/"796348ca31c2f886c4bf67753358302b" -X-Content-Type-Options: nosniff -Gitlab-Lb: haproxy-main-22-lb-gprd -Set-Cookie: _cfuvid=XONUYaYMv2vYBZLhOZoclracol_W8SXVwL7kwoXROjM-1709516920902-0.0.1.1-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None -X-Gitlab-Meta: {"correlation_id":"0defa7748a7bd70616af6bd0f338094c","version":"1"} -Strict-Transport-Security: max-age=31536000 -Gitlab-Sv: api-gke-us-east1-c -Cf-Cache-Status: MISS -Content-Type: application/json -Cache-Control: max-age=0, private, must-revalidate -Content-Security-Policy: default-src 'none' -X-Frame-Options: SAMEORIGIN -X-Runtime: 0.035674 -Vary: Origin, Accept-Encoding -Referrer-Policy: strict-origin-when-cross-origin - -{"version":"16.10.0-pre","revision":"432cc3c7389","kas":{"enabled":true,"externalUrl":"wss://kas.gitlab.com","version":"v16.10.0-rc1"},"enterprise":true} \ No newline at end of file diff --git a/services/migrations/testdata/gitlab/skipped_issue_number/_api_v4_projects_6590996 b/services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2F6590996 similarity index 100% rename from services/migrations/testdata/gitlab/skipped_issue_number/_api_v4_projects_6590996 rename to services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2F6590996 diff --git a/services/migrations/testdata/gitlab/skipped_issue_number/_api_v4_projects_6590996_issues_2_award_emoji!page=1&per_page=10 b/services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2F6590996%2Fissues%2F2%2Faward_emoji%3Fpage=1&per_page=10 similarity index 100% rename from services/migrations/testdata/gitlab/skipped_issue_number/_api_v4_projects_6590996_issues_2_award_emoji!page=1&per_page=10 rename to services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2F6590996%2Fissues%2F2%2Faward_emoji%3Fpage=1&per_page=10 diff --git a/services/migrations/testdata/gitlab/skipped_issue_number/_api_v4_projects_6590996_issues!page=1&per_page=10&sort=asc&state=all b/services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2F6590996%2Fissues%3Fpage=1&per_page=10&sort=asc&state=all similarity index 100% rename from services/migrations/testdata/gitlab/skipped_issue_number/_api_v4_projects_6590996_issues!page=1&per_page=10&sort=asc&state=all rename to services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2F6590996%2Fissues%3Fpage=1&per_page=10&sort=asc&state=all diff --git a/services/migrations/testdata/gitlab/skipped_issue_number/_api_v4_projects_6590996_merge_requests_1 b/services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2F6590996%2Fmerge_requests%2F1 similarity index 100% rename from services/migrations/testdata/gitlab/skipped_issue_number/_api_v4_projects_6590996_merge_requests_1 rename to services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2F6590996%2Fmerge_requests%2F1 diff --git a/services/migrations/testdata/gitlab/skipped_issue_number/_api_v4_projects_6590996_merge_requests_1_award_emoji!page=1&per_page=10 b/services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2F6590996%2Fmerge_requests%2F1%2Faward_emoji%3Fpage=1&per_page=10 similarity index 100% rename from services/migrations/testdata/gitlab/skipped_issue_number/_api_v4_projects_6590996_merge_requests_1_award_emoji!page=1&per_page=10 rename to services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2F6590996%2Fmerge_requests%2F1%2Faward_emoji%3Fpage=1&per_page=10 diff --git a/services/migrations/testdata/gitlab/skipped_issue_number/_api_v4_projects_6590996_merge_requests!page=1&per_page=10&view=simple b/services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2F6590996%2Fmerge_requests%3Fpage=1&per_page=10&view=simple similarity index 100% rename from services/migrations/testdata/gitlab/skipped_issue_number/_api_v4_projects_6590996_merge_requests!page=1&per_page=10&view=simple rename to services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2F6590996%2Fmerge_requests%3Fpage=1&per_page=10&view=simple diff --git a/services/migrations/testdata/gitlab/skipped_issue_number/_api_v4_projects_troyengel%2Farchbuild b/services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2Ftroyengel%252Farchbuild similarity index 100% rename from services/migrations/testdata/gitlab/skipped_issue_number/_api_v4_projects_troyengel%2Farchbuild rename to services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fprojects%2Ftroyengel%252Farchbuild diff --git a/services/migrations/testdata/gitlab/skipped_issue_number/_api_v4_version b/services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fversion similarity index 100% rename from services/migrations/testdata/gitlab/skipped_issue_number/_api_v4_version rename to services/migrations/testdata/gitlab/skipped_issue_number/GET_%2Fapi%2Fv4%2Fversion