Skip to content

Commit

Permalink
feat: remove api legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneD committed Jun 7, 2024
1 parent 3f2afb8 commit 0292b26
Show file tree
Hide file tree
Showing 38 changed files with 1 addition and 1,974 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,21 +70,6 @@ jobs:
dotnet-version: ${{ vars.VBR_DOTNET_VERSION_8 }}
secrets: inherit

build-api-legacy:
name: Build Api Legacy
uses: Informatievlaanderen/build-pipeline/.github/workflows/build-image.yml@main
needs: [ set-release-version ]
if: ${{ (github.repository_owner == 'Informatievlaanderen') && (needs.set-release-version.outputs.version != 'none') }}
with:
registry: ${{ vars.VBR_DEVOPS_DOCKER_REGISTRY }}/parcel-registry
image-file: pr-api-legacy-image.tar
image-name: api-legacy
test-project: ParcelRegistry.Tests
build-project: ParcelRegistry.Api.Legacy
semver: ${{ needs.set-release-version.outputs.version }}
dotnet-version: ${{ vars.VBR_DOTNET_VERSION_8 }}
secrets: inherit

build-api-oslo:
name: Build Api Oslo
uses: Informatievlaanderen/build-pipeline/.github/workflows/build-image.yml@main
Expand Down Expand Up @@ -262,19 +247,6 @@ jobs:
dotnet-version: ${{ vars.VBR_DOTNET_VERSION_8 }}
secrets: inherit

pack-api-legacy:
name: Pack Api Legacy
uses: Informatievlaanderen/build-pipeline/.github/workflows/pack.yml@main
needs: [ set-release-version ]
if: ${{ (github.repository_owner == 'Informatievlaanderen') && (needs.set-release-version.outputs.version != 'none') }}
with:
pack-file: Be.Vlaanderen.Basisregisters.ParcelRegistry.Api.Legacy
test-project: ParcelRegistry.Tests
build-project: ParcelRegistry.Api.Legacy
semver: ${{ needs.set-release-version.outputs.version }}
dotnet-version: ${{ vars.VBR_DOTNET_VERSION_8 }}
secrets: inherit

pack-api-oslo:
name: Pack Api Oslo
uses: Informatievlaanderen/build-pipeline/.github/workflows/pack.yml@main
Expand Down Expand Up @@ -321,11 +293,9 @@ jobs:
needs: [ set-release-version,
#pack-api-backoffice,
pack-api-backoffice-abstractions,
pack-api-legacy,
pack-api-oslo,
pack-api-extract,
build-api-backoffice,
build-api-legacy,
build-api-oslo,
build-api-extract,
build-projector,
Expand Down Expand Up @@ -406,13 +376,6 @@ jobs:
name: nuget-Be.Vlaanderen.Basisregisters.ParcelRegistry.Api.BackOffice.Abstractions-${{ needs.set-release-version.outputs.version }}
path: dist/nuget/

- name: Download NuGet Api Legacy
uses: actions/download-artifact@v4
continue-on-error: false
with:
name: nuget-Be.Vlaanderen.Basisregisters.ParcelRegistry.Api.Legacy-${{ needs.set-release-version.outputs.version }}
path: dist/nuget/

- name: Download NuGet Api Oslo
uses: actions/download-artifact@v4
continue-on-error: false
Expand Down Expand Up @@ -560,12 +523,6 @@ jobs:
name: nuget-Be.Vlaanderen.Basisregisters.ParcelRegistry.Api.BackOffice.Abstractions-${{ needs.release.outputs.version }}
path: ~/

- name: Download NuGet package api-legacy
uses: actions/download-artifact@v4
with:
name: nuget-Be.Vlaanderen.Basisregisters.ParcelRegistry.Api.Legacy-${{ needs.release.outputs.version }}
path: ~/

- name: Download NuGet package api-oslo
uses: actions/download-artifact@v4
with:
Expand All @@ -583,7 +540,6 @@ jobs:
# dotnet nuget push ~/Be.Vlaanderen.Basisregisters.ParcelRegistry.Api.BackOffice.$SEMVER.nupkg --source nuget.org --api-key $NUGET_API_KEY
run: |
dotnet nuget push ~/Be.Vlaanderen.Basisregisters.ParcelRegistry.Api.BackOffice.Abstractions.$SEMVER.nupkg --source nuget.org --api-key $NUGET_API_KEY
dotnet nuget push ~/Be.Vlaanderen.Basisregisters.ParcelRegistry.Api.Legacy.$SEMVER.nupkg --source nuget.org --api-key $NUGET_API_KEY
dotnet nuget push ~/Be.Vlaanderen.Basisregisters.ParcelRegistry.Api.Oslo.$SEMVER.nupkg --source nuget.org --api-key $NUGET_API_KEY
dotnet nuget push ~/Be.Vlaanderen.Basisregisters.ParcelRegistry.Api.Extract.$SEMVER.nupkg --source nuget.org --api-key $NUGET_API_KEY
env:
Expand Down Expand Up @@ -661,7 +617,6 @@ jobs:
matrix:
image: [
'api-backoffice',
'api-legacy',
'api-oslo',
'api-extract',
'projector',
Expand Down
7 changes: 0 additions & 7 deletions ParcelRegistry.sln
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{A1CB15D5-7
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ParcelRegistry", "src\ParcelRegistry\ParcelRegistry.csproj", "{8FE01FF7-515C-448A-A549-EE56080BE1BA}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ParcelRegistry.Api.Legacy", "src\ParcelRegistry.Api.Legacy\ParcelRegistry.Api.Legacy.csproj", "{2343237C-031B-4896-9958-57519E455DE1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ParcelRegistry.Infrastructure", "src\ParcelRegistry.Infrastructure\ParcelRegistry.Infrastructure.csproj", "{1F7349F4-ACAB-4DAC-8476-71736E65FE41}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ParcelRegistry.Projections.Legacy", "src\ParcelRegistry.Projections.Legacy\ParcelRegistry.Projections.Legacy.csproj", "{713526B9-1FE5-409E-8754-11B8B50E3BC1}"
Expand Down Expand Up @@ -85,10 +83,6 @@ Global
{8FE01FF7-515C-448A-A549-EE56080BE1BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8FE01FF7-515C-448A-A549-EE56080BE1BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8FE01FF7-515C-448A-A549-EE56080BE1BA}.Release|Any CPU.Build.0 = Release|Any CPU
{2343237C-031B-4896-9958-57519E455DE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2343237C-031B-4896-9958-57519E455DE1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2343237C-031B-4896-9958-57519E455DE1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2343237C-031B-4896-9958-57519E455DE1}.Release|Any CPU.Build.0 = Release|Any CPU
{1F7349F4-ACAB-4DAC-8476-71736E65FE41}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1F7349F4-ACAB-4DAC-8476-71736E65FE41}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1F7349F4-ACAB-4DAC-8476-71736E65FE41}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down Expand Up @@ -183,7 +177,6 @@ Global
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{8FE01FF7-515C-448A-A549-EE56080BE1BA} = {B483712F-241C-411F-8CC7-D46B3530DF65}
{2343237C-031B-4896-9958-57519E455DE1} = {B483712F-241C-411F-8CC7-D46B3530DF65}
{1F7349F4-ACAB-4DAC-8476-71736E65FE41} = {B483712F-241C-411F-8CC7-D46B3530DF65}
{713526B9-1FE5-409E-8754-11B8B50E3BC1} = {B483712F-241C-411F-8CC7-D46B3530DF65}
{951C912B-E9B2-4941-BE18-C5125FC0D9E6} = {DF5FFD7D-3020-4F80-87EF-BE2D2CACD27E}
Expand Down
25 changes: 0 additions & 25 deletions src/ParcelRegistry.Api.Legacy/Convertors/ParcelStatus.cs

This file was deleted.

30 changes: 0 additions & 30 deletions src/ParcelRegistry.Api.Legacy/Dockerfile

This file was deleted.

This file was deleted.

This file was deleted.

20 changes: 0 additions & 20 deletions src/ParcelRegistry.Api.Legacy/Infrastructure/EmptyController.cs

This file was deleted.

40 changes: 0 additions & 40 deletions src/ParcelRegistry.Api.Legacy/Infrastructure/Modules/ApiModule.cs

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

30 changes: 0 additions & 30 deletions src/ParcelRegistry.Api.Legacy/Infrastructure/Program.cs

This file was deleted.

Loading

0 comments on commit 0292b26

Please sign in to comment.