fix : เปลี่ยนชื่อ Folder + Project เอาคำว่า Service ออก เพื่อให้สามารถ run บน macOS Sonoma ได้ (ไม่เปลี่ยนจะไม่สามารถ run ได้ เนื่องจาก macOS จะมองว่าเป็น application ของ mac)

This commit is contained in:
Suphonchai Phoonsawat 2024-07-05 17:20:14 +07:00
parent 9d90c98800
commit 59340500b7
42 changed files with 21614 additions and 3532 deletions

View file

@ -1,12 +0,0 @@
{
"version": 1,
"isRoot": true,
"tools": {
"csharpier": {
"version": "0.28.2",
"commands": [
"dotnet-csharpier"
]
}
}
}

View file

@ -1,13 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Rider ignored files
/contentModel.xml
/.idea.BMA.EHR.Solution.iml
/projectSettingsUpdater.xml
/modules.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View file

@ -1 +0,0 @@
BMA.EHR.Solution

Before

Width:  |  Height:  |  Size: 16 B

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="accountSettings">
<option name="activeRegion" value="us-east-1" />
<option name="recentlyUsedRegions">
<list>
<option value="us-east-1" />
</list>
</option>
</component>
</project>

View file

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
</project>

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="UserContentModel">
<attachedFolders />
<explicitIncludes />
<explicitExcludes />
</component>
</project>

View file

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,29 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class AddLastInsigniaNametoRequest : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "LastInsigniaName",
table: "InsigniaRequestProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "LastInsigniaName",
table: "InsigniaRequestProfiles");
}
}
}

View file

@ -6401,6 +6401,9 @@ namespace BMA.EHR.Infrastructure.Migrations
b.Property<bool>("IsApprove")
.HasColumnType("tinyint(1)");
b.Property<string>("LastInsigniaName")
.HasColumnType("longtext");
b.Property<string>("LastName")
.HasColumnType("longtext");

View file

@ -11,17 +11,17 @@ WORKDIR /src
COPY ["BMA.EHR.Domain/BMA.EHR.Domain.csproj", "BMA.EHR.Domain/"]
COPY ["BMA.EHR.Application/BMA.EHR.Application.csproj", "BMA.EHR.Application/"]
COPY ["BMA.EHR.Infrastructure/BMA.EHR.Infrastructure.csproj", "BMA.EHR.Infrastructure/"]
COPY ["BMA.EHR.Insignia.Service/BMA.EHR.Insignia.Service.csproj", "BMA.EHR.Insignia.Service/"]
COPY ["BMA.EHR.Insignia/BMA.EHR.Insignia.csproj", "BMA.EHR.Insignia/"]
RUN dotnet restore "BMA.EHR.Insignia.Service/BMA.EHR.Insignia.Service.csproj"
RUN dotnet restore "BMA.EHR.Insignia/BMA.EHR.Insignia.csproj"
COPY . .
WORKDIR "/src/BMA.EHR.Insignia.Service"
RUN dotnet build "BMA.EHR.Insignia.Service.csproj" -c Release -o /app/build
WORKDIR "/src/BMA.EHR.Insignia"
RUN dotnet build "BMA.EHR.Insignia.csproj" -c Release -o /app/build
FROM build AS publish
RUN dotnet publish "BMA.EHR.Insignia.Service.csproj" -c Release -o /app/publish /p:UseAppHost=false
RUN dotnet publish "BMA.EHR.Insignia.csproj" -c Release -o /app/publish /p:UseAppHost=false
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "BMA.EHR.Insignia.Service.dll"]
ENTRYPOINT ["dotnet", "BMA.EHR.Insignia.dll"]