From 0aedcbd7e84a7d498376a042c25c3a88c11984f7 Mon Sep 17 00:00:00 2001 From: Giorgi Date: Thu, 7 Dec 2023 00:14:58 +0400 Subject: [PATCH] Move server assets to dotnet project --- integration-test/assets/artifact.json | 10 +++++ integration-test/assets/artifacts.json | 22 +++++++++++ integration-test/assets/associate-dsyms.json | 17 +++++++++ integration-test/assets/debug-info-files.json | 15 ++++++++ integration-test/assets/deploy.json | 8 ++++ integration-test/assets/release.json | 38 +++++++++++++++++++ integration-test/assets/repos.json | 13 +++++++ 7 files changed, 123 insertions(+) create mode 100644 integration-test/assets/artifact.json create mode 100644 integration-test/assets/artifacts.json create mode 100644 integration-test/assets/associate-dsyms.json create mode 100644 integration-test/assets/debug-info-files.json create mode 100644 integration-test/assets/deploy.json create mode 100644 integration-test/assets/release.json create mode 100644 integration-test/assets/repos.json diff --git a/integration-test/assets/artifact.json b/integration-test/assets/artifact.json new file mode 100644 index 0000000000..95dbbd7776 --- /dev/null +++ b/integration-test/assets/artifact.json @@ -0,0 +1,10 @@ +{ + "id": "fixture-id", + "sha1": "fixture-sha1", + "name": "fixture-name", + "size": 1, + "dist": null, + "headers": { + "fixture-header-key": "fixture-header-value" + } +} \ No newline at end of file diff --git a/integration-test/assets/artifacts.json b/integration-test/assets/artifacts.json new file mode 100644 index 0000000000..a7d52378d1 --- /dev/null +++ b/integration-test/assets/artifacts.json @@ -0,0 +1,22 @@ +[ + { + "id": "6796495645", + "name": "~/dist/bundle.min.js", + "dist": "foo", + "headers": { + "Sourcemap": "dist/bundle.min.js.map" + }, + "size": 497, + "sha1": "2fb719956748ab7ec5ae9bcb47606733f5589b72", + "dateCreated": "2022-05-12T11:08:01.520199Z" + }, + { + "id": "6796495646", + "name": "~/dist/bundle.min.js.map", + "dist": "foo", + "headers": {}, + "size": 1522, + "sha1": "f818059cbf617a8fae9b4e46d08f6c0246bb1624", + "dateCreated": "2022-05-12T11:08:01.496220Z" + } +] \ No newline at end of file diff --git a/integration-test/assets/associate-dsyms.json b/integration-test/assets/associate-dsyms.json new file mode 100644 index 0000000000..e6c412f4b0 --- /dev/null +++ b/integration-test/assets/associate-dsyms.json @@ -0,0 +1,17 @@ +{ + "associatedDsymFiles": [ + { + "uuid": null, + "debugId": null, + "objectName": "fixture-objectName", + "cpuName": "fixture-cpuName", + "sha1": "fixture-sha1", + "data": { + "type": null, + "features": [ + "fixture-feature" + ] + } + } + ] +} \ No newline at end of file diff --git a/integration-test/assets/debug-info-files.json b/integration-test/assets/debug-info-files.json new file mode 100644 index 0000000000..e84b4214b3 --- /dev/null +++ b/integration-test/assets/debug-info-files.json @@ -0,0 +1,15 @@ +[ + { + "uuid": null, + "debugId": null, + "objectName": "fixture-objectName", + "cpuName": "fixture-cpuName", + "sha1": "fixture-sha1", + "data": { + "type": null, + "features": [ + "fixture-feature" + ] + } + } +] \ No newline at end of file diff --git a/integration-test/assets/deploy.json b/integration-test/assets/deploy.json new file mode 100644 index 0000000000..95e55b2407 --- /dev/null +++ b/integration-test/assets/deploy.json @@ -0,0 +1,8 @@ +{ + "id": "1", + "environment": "production", + "dateStarted": null, + "dateFinished": "2022-01-01T12:00:00.000000Z", + "name": "fixture-deploy", + "url": null +} \ No newline at end of file diff --git a/integration-test/assets/release.json b/integration-test/assets/release.json new file mode 100644 index 0000000000..af0323c096 --- /dev/null +++ b/integration-test/assets/release.json @@ -0,0 +1,38 @@ +{ + "dateReleased": "2022-01-01T12:00:00.000000Z", + "newGroups": 0, + "commitCount": 0, + "url": null, + "data": {}, + "lastDeploy": null, + "deployCount": 0, + "dateCreated": "2022-01-01T12:00:00.000000Z", + "lastEvent": null, + "version": "1.1.0", + "firstEvent": null, + "lastCommit": null, + "shortVersion": "1.1.0", + "authors": [], + "owner": null, + "versionInfo": { + "buildHash": null, + "version": { + "raw": "1.1.0" + }, + "description": "1.1.0", + "package": null + }, + "ref": null, + "projects": [ + { + "name": "Sentry Test App", + "platform": "ruby", + "slug": "sentry-test-app", + "platforms": [ + "ruby" + ], + "newGroups": 0, + "id": 1234567 + } + ] +} \ No newline at end of file diff --git a/integration-test/assets/repos.json b/integration-test/assets/repos.json new file mode 100644 index 0000000000..42b2750957 --- /dev/null +++ b/integration-test/assets/repos.json @@ -0,0 +1,13 @@ +[ + { + "id": "1", + "name": "sentry/repo", + "url": null, + "provider": { + "id": "1", + "name": "fixture-name" + }, + "status": "fixture-status", + "dateCreated": "2022-01-01T12:00:00.000000Z" + } +] \ No newline at end of file