refactor: reorganize project structure into yarpgateway folder

- Move YarpGateway and all source files to src/yarpgateway/
- Keep Fengling.Gateway.Plugin.Abstractions at src/ level
- Fix duplicate project reference in YarpGateway.slnx
- Update solution paths and test project references
- Add ProjectReference from YarpGateway to abstractions
This commit is contained in:
movingsam 2026-03-01 17:47:48 +08:00
parent 4839366227
commit da4f03502a
42 changed files with 9 additions and 7 deletions

View File

@ -4,10 +4,8 @@
<File Path="Dockerfile" />
</Folder>
<Folder Name="/src/">
<Project Path="src/YarpGateway.csproj" />
<Project Path="src/yarpgateway/YarpGateway.csproj" />
<Project Path="src/Fengling.Gateway.Plugin.Abstractions/Fengling.Gateway.Plugin.Abstractions.csproj" />
</Folder>
<Project Path="src/YarpGateway.csproj" />
</Folder>
<Folder Name="/tests/">
<Project Path="tests/YarpGateway.Tests/YarpGateway.Tests.csproj" />

View File

@ -16,7 +16,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Yarp.ReverseProxy" />
<PackageReference Include="Yarp.ReverseProxy" Version="2.1.0" />
</ItemGroup>
</Project>

View File

@ -21,11 +21,15 @@
<PackageReference Include="Yarp.ReverseProxy" />
</ItemGroup>
<ItemGroup>
<ItemGroup>
<PackageReference Include="Fengling.ServiceDiscovery.Core" />
<PackageReference Include="Fengling.ServiceDiscovery.Kubernetes" />
<PackageReference Include="Fengling.ServiceDiscovery.Static" />
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Fengling.Gateway.Plugin.Abstractions\Fengling.Gateway.Plugin.Abstractions.csproj" />
</ItemGroup>
<ItemGroup>
<Content Include="..\..\.dockerignore">

View File

@ -21,7 +21,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../../src/YarpGateway.csproj" />
<ProjectReference Include="../../src/yarpgateway/YarpGateway.csproj" />
</ItemGroup>
</Project>