Skip to content

Commit b8ba2d4

Browse files
committed
refactor(tests): rename BusiGrpcService to BusiIntegrationService
1 parent c72e128 commit b8ba2d4

File tree

10 files changed

+11
-10
lines changed

10 files changed

+11
-10
lines changed

.github/workflows/build_and_it.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
curl "127.0.0.1:36789/api/dtmsvr/newGid"
5757
- name: Setup Busi Service
5858
run: |
59-
cd tests/BusiGrpcService
59+
cd tests/BusiIntegrationService
6060
nohup dotnet run > /home/runner/work/client-csharp/client-csharp/logs/app.log 2>&1 &
6161
- name: Run Integration Tests (Dtmgrpc)
6262
env:

DtmClient.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{AFCF4E29-660
2525
EndProject
2626
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{ED5B84F1-876F-4617-A4F4-5C160319310C}"
2727
EndProject
28-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BusiGrpcService", "tests\BusiGrpcService\BusiGrpcService.csproj", "{FFF41358-6974-4E87-840D-C61E1B6BEDC3}"
28+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BusiIntegrationService", "tests\BusiIntegrationService\BusiIntegrationService.csproj", "{FFF41358-6974-4E87-840D-C61E1B6BEDC3}"
2929
EndProject
3030
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dtmgrpc.IntegrationTests", "tests\Dtmgrpc.IntegrationTests\Dtmgrpc.IntegrationTests.csproj", "{AFDB3DCD-55CE-402F-A1B0-FCD4737FE314}"
3131
EndProject

tests/BusiGrpcService/BusiGrpcService.csproj renamed to tests/BusiIntegrationService/BusiIntegrationService.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<!--<Nullable>enable</Nullable>-->
66
<ImplicitUsings>enable</ImplicitUsings>
7+
<RootNamespace>BusiIntegrationService</RootNamespace>
78
</PropertyGroup>
89

910
<ItemGroup>

tests/BusiGrpcService/Controllers/BusiApiController.cs renamed to tests/BusiIntegrationService/Controllers/BusiApiController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using System.Text.Json;
2-
using BusiGrpcService.Dtos;
2+
using BusiIntegrationService.Dtos;
33
using Microsoft.AspNetCore.Mvc;
44

5-
namespace BusiGrpcService.Controllers
5+
namespace BusiIntegrationService.Controllers
66
{
77
[ApiController]
88
[Route("http/busi.Busi")]

tests/BusiGrpcService/Dtos/BusiRequest.cs renamed to tests/BusiIntegrationService/Dtos/BusiRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Text.Json.Serialization;
22

3-
namespace BusiGrpcService.Dtos
3+
namespace BusiIntegrationService.Dtos
44
{
55
public class BusiRequest
66
{
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using BusiGrpcService;
2-
using BusiGrpcService.Services;
1+
using BusiIntegrationService;
2+
using BusiIntegrationService.Services;
33
using Dtmcli;
44
using Dtmgrpc;
55
using Microsoft.AspNetCore.Server.Kestrel.Core;

tests/BusiGrpcService/Properties/launchSettings.json renamed to tests/BusiIntegrationService/Properties/launchSettings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{
1+
{
22
"profiles": {
3-
"BusiGrpcService": {
3+
"BusiIntegrationService": {
44
"commandName": "Project",
55
"dotnetRunMessages": true,
66
"launchBrowser": false,

tests/BusiGrpcService/Services/BusiApiService.cs renamed to tests/BusiIntegrationService/Services/BusiApiService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
using DtmCommon;
99
using DtmSERedisBarrier;
1010

11-
namespace BusiGrpcService.Services
11+
namespace BusiIntegrationService.Services
1212
{
1313
public class BusiApiService : Busi.BusiBase
1414
{

tests/BusiGrpcService/appsettings.Development.json renamed to tests/BusiIntegrationService/appsettings.Development.json

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)