Skip to content

Commit

Permalink
Remove GraphQL
Browse files Browse the repository at this point in the history
  • Loading branch information
phongnguyend committed Jan 13, 2025
1 parent 10113aa commit 5fa869e
Show file tree
Hide file tree
Showing 31 changed files with 4 additions and 685 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/.net-build-monolith.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ jobs:

- name: Publish ClassifiedAds.Background
run: dotnet publish ClassifiedAds.Background/*.csproj --configuration Release

- name: Publish ClassifiedAds.GraphQL
run: dotnet publish ClassifiedAds.GraphQL/*.csproj --configuration Release


- name: Publish ClassifiedAds.Migrator
run: dotnet publish ClassifiedAds.Migrator/*.csproj --configuration Release

Expand All @@ -54,12 +51,6 @@ jobs:
with:
name: ClassifiedAds.Background
path: src/Monolith/ClassifiedAds.Background/bin/Release/net8.0/publish

- name: Upload ClassifiedAds.GraphQL
uses: actions/upload-artifact@v4
with:
name: ClassifiedAds.GraphQL
path: src/Monolith/ClassifiedAds.GraphQL/bin/Release/net8.0/publish

- name: Upload ClassifiedAds.Migrator
uses: actions/upload-artifact@v4
Expand All @@ -72,7 +63,7 @@ jobs:
with:
name: ClassifiedAds.WebAPI
path: src/Monolith/ClassifiedAds.WebAPI/bin/Release/net8.0/publish

- name: Upload ClassifiedAds.WebMVC
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/docker-build-monolith.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,13 @@ jobs:
docker tag classifiedads.background $REPO_NAME/classifiedads.background:$VERSION
docker tag classifiedads.migrator $REPO_NAME/classifiedads.migrator:$VERSION
docker tag classifiedads.webapi $REPO_NAME/classifiedads.webapi:$VERSION
docker tag classifiedads.graphql $REPO_NAME/classifiedads.graphql:$VERSION
docker tag classifiedads.blazor $REPO_NAME/classifiedads.blazor:$VERSION
docker tag classifiedads.identityserver $REPO_NAME/classifiedads.identityserver:$VERSION
docker tag classifiedads.webmvc $REPO_NAME/classifiedads.webmvc:$VERSION
docker push $REPO_NAME/classifiedads.background:$VERSION
docker push $REPO_NAME/classifiedads.migrator:$VERSION
docker push $REPO_NAME/classifiedads.webapi:$VERSION
docker push $REPO_NAME/classifiedads.graphql:$VERSION
docker push $REPO_NAME/classifiedads.blazor:$VERSION
docker push $REPO_NAME/classifiedads.identityserver:$VERSION
docker push $REPO_NAME/classifiedads.webmvc:$VERSION
4 changes: 0 additions & 4 deletions src/Monolith/.helm/monolith/charts/graphql/Chart.yaml

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.
30 changes: 0 additions & 30 deletions src/Monolith/.k8s/graphql.deployment.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions src/Monolith/.k8s/graphql.service.yaml

This file was deleted.

23 changes: 1 addition & 22 deletions src/Monolith/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,6 @@
"DOTNET_ENVIRONMENT": "Development"
},
},
{
"name": "ClassifiedAds.GraphQL",
"type": "coreclr",
"request": "launch",
//"preLaunchTask": "build",
"program": "${workspaceFolder}/ClassifiedAds.GraphQL/bin/Debug/net6.0/ClassifiedAds.GraphQL.dll",
"args": [],
"cwd": "${workspaceFolder}/ClassifiedAds.GraphQL",
"stopAtEntry": false,
"serverReadyAction": {
"action": "openExternally",
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_URLS": "https://localhost:44392/"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
}
},
{
"name": "ClassifiedAds.Migrator",
"type": "coreclr",
Expand Down Expand Up @@ -174,7 +153,7 @@
"compounds": [
{
"name": "ClassifiedAds.Monolith",
"configurations": ["ClassifiedAds.Background", "ClassifiedAds.GraphQL", "ClassifiedAds.Migrator", "ClassifiedAds.WebAPI","ClassifiedAds.BlazorServerSide","ClassifiedAds.BlazorWebAssembly","ClassifiedAds.IdentityServer","ClassifiedAds.WebMVC"]
"configurations": ["ClassifiedAds.Background", "ClassifiedAds.Migrator", "ClassifiedAds.WebAPI","ClassifiedAds.BlazorServerSide","ClassifiedAds.BlazorWebAssembly","ClassifiedAds.IdentityServer","ClassifiedAds.WebMVC"]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
<ProjectReference Include="..\ClassifiedAds.Background\ClassifiedAds.Background.csproj" />
<ProjectReference Include="..\ClassifiedAds.BlazorServerSide\ClassifiedAds.BlazorServerSide.csproj" />
<ProjectReference Include="..\ClassifiedAds.BlazorWebAssembly\ClassifiedAds.BlazorWebAssembly.csproj" />
<ProjectReference Include="..\ClassifiedAds.GraphQL\ClassifiedAds.GraphQL.csproj" />
<ProjectReference Include="..\ClassifiedAds.Migrator\ClassifiedAds.Migrator.csproj" />
<ProjectReference Include="..\ClassifiedAds.WebAPI\ClassifiedAds.WebAPI.csproj" />
<ProjectReference Include="..\ClassifiedAds.WebMVC\ClassifiedAds.WebMVC.csproj" />
Expand Down
1 change: 0 additions & 1 deletion src/Monolith/ClassifiedAds.AspireAppHost/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

var migrator = builder.AddProject<Projects.ClassifiedAds_Migrator>("ClassifiedAds-Migrator");
var background = builder.AddProject<Projects.ClassifiedAds_Background>("ClassifiedAds-Background");
var graphQL = builder.AddProject<Projects.ClassifiedAds_GraphQL>("ClassifiedAds-GraphQL").WithHttpsHealthCheck("/healthz");
var webApi = builder.AddProject<Projects.ClassifiedAds_WebAPI>("ClassifiedAds-WebAPI").WithHttpsHealthCheck("/healthz");
var webMvc = builder.AddProject<Projects.ClassifiedAds_WebMVC>("ClassifiedAds-WebMVC").WithHttpsHealthCheck("/healthz");
var blazorServerSide = builder.AddProject<Projects.ClassifiedAds_BlazorServerSide>("ClassifiedAds-BlazorServerSide").WithHttpsHealthCheck("/healthz");
Expand Down
20 changes: 0 additions & 20 deletions src/Monolith/ClassifiedAds.GraphQL/ClassifiedAds.GraphQL.csproj

This file was deleted.

52 changes: 0 additions & 52 deletions src/Monolith/ClassifiedAds.GraphQL/ClassifiedAdsMutation.cs

This file was deleted.

37 changes: 0 additions & 37 deletions src/Monolith/ClassifiedAds.GraphQL/ClassifiedAdsQuery.cs

This file was deleted.

26 changes: 0 additions & 26 deletions src/Monolith/ClassifiedAds.GraphQL/Dockerfile

This file was deleted.

Loading

0 comments on commit 5fa869e

Please sign in to comment.