mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-18 01:42:10 +08:00
Merge pull request #320 from meysamhadeli/chore/update-architecture-root-names
chore/update architecture root names
This commit is contained in:
commit
28651fe9b1
8
.gitattributes
vendored
8
.gitattributes
vendored
@ -18,7 +18,7 @@
|
||||
#
|
||||
# Merging from the command prompt will add diff markers to the files if there
|
||||
# are conflicts (Merging from VS is not affected by the settings below, in VS
|
||||
# the diff markers are never inserted). Diff markers may cause the following
|
||||
# the diff markers are never inserted). Diff markers may cause the following
|
||||
# file extensions to fail to load in VS. An alternative would be to treat
|
||||
# these files as binary and thus will always conflict and require user
|
||||
# intervention with every merge. To do so, just uncomment the entries below
|
||||
@ -47,9 +47,9 @@
|
||||
|
||||
###############################################################################
|
||||
# diff behavior for common document formats
|
||||
#
|
||||
#
|
||||
# Convert binary document formats to text before diffing them. This feature
|
||||
# is only available from the command line. Turn it on by uncommenting the
|
||||
# is only available from the command line. Turn it on by uncommenting the
|
||||
# entries below.
|
||||
###############################################################################
|
||||
#*.doc diff=astextplain
|
||||
@ -61,4 +61,4 @@
|
||||
#*.pdf diff=astextplain
|
||||
#*.PDF diff=astextplain
|
||||
#*.rtf diff=astextplain
|
||||
#*.RTF diff=astextplain
|
||||
#*.RTF diff=astextplain
|
||||
|
||||
@ -7,23 +7,23 @@ COPY ./Directory.Build.props ./
|
||||
|
||||
# Setup working directory for the project
|
||||
COPY ./BuildingBlocks/BuildingBlocks.csproj ./BuildingBlocks/
|
||||
COPY ./3-Microservices-Architecture-Style/src/ApiGateway/src/ApiGateway.csproj ./3-Microservices-Architecture-Style/src/ApiGateway/src/
|
||||
COPY ./3-microservices-architecture-style/src/ApiGateway/src/ApiGateway.csproj ./3-microservices-architecture-style/src/ApiGateway/src/
|
||||
|
||||
|
||||
# Restore nuget packages
|
||||
RUN dotnet restore ./3-Microservices-Architecture-Style/src/ApiGateway/src/ApiGateway.csproj
|
||||
RUN dotnet restore ./3-microservices-architecture-style/src/ApiGateway/src/ApiGateway.csproj
|
||||
|
||||
# Copy project files
|
||||
COPY ./BuildingBlocks ./BuildingBlocks/
|
||||
COPY ./3-Microservices-Architecture-Style/src/ApiGateway/src ./3-Microservices-Architecture-Style/src/ApiGateway/src/
|
||||
COPY ./3-microservices-architecture-style/src/ApiGateway/src ./3-microservices-architecture-style/src/ApiGateway/src/
|
||||
|
||||
# Build project with Release configuration
|
||||
# and no restore, as we did it already
|
||||
|
||||
RUN ls
|
||||
RUN dotnet build -c Release --no-restore ./3-Microservices-Architecture-Style/src/ApiGateway/src/ApiGateway.csproj
|
||||
RUN dotnet build -c Release --no-restore ./3-microservices-architecture-style/src/ApiGateway/src/ApiGateway.csproj
|
||||
|
||||
WORKDIR /3-Microservices-Architecture-Style/src/ApiGateway/src
|
||||
WORKDIR /3-microservices-architecture-style/src/ApiGateway/src
|
||||
|
||||
# Publish project to output folder
|
||||
# and no build, as we did it already
|
||||
@ -33,7 +33,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
||||
|
||||
# Setup working directory for the project
|
||||
WORKDIR /
|
||||
COPY --from=builder /3-Microservices-Architecture-Style/src/ApiGateway/src/out .
|
||||
COPY --from=builder /3-microservices-architecture-style/src/ApiGateway/src/out .
|
||||
|
||||
ENV ASPNETCORE_URLS https://*:443, http://*:80
|
||||
ENV ASPNETCORE_ENVIRONMENT docker
|
||||
@ -7,25 +7,25 @@ COPY ./Directory.Build.props ./
|
||||
|
||||
# Setup working directory for the project
|
||||
COPY ./BuildingBlocks/BuildingBlocks.csproj ./BuildingBlocks/
|
||||
COPY ./3-Microservices-Architecture-Style/src/ApiGateway/src/ApiGateway.csproj ./3-Microservices-Architecture-Style/src/ApiGateway/src/
|
||||
COPY ./3-microservices-architecture-style/src/ApiGateway/src/ApiGateway.csproj ./3-microservices-architecture-style/src/ApiGateway/src/
|
||||
|
||||
|
||||
# Restore nuget packages
|
||||
RUN --mount=type=cache,id=gateway_nuget,target=/root/.nuget/packages \
|
||||
dotnet restore ./3-Microservices-Architecture-Style/src/ApiGateway/src/ApiGateway.csproj
|
||||
dotnet restore ./3-microservices-architecture-style/src/ApiGateway/src/ApiGateway.csproj
|
||||
|
||||
# Copy project files
|
||||
COPY ./BuildingBlocks ./BuildingBlocks/
|
||||
COPY ./3-Microservices-Architecture-Style/src/ApiGateway/src ./3-Microservices-Architecture-Style/src/ApiGateway/src/
|
||||
COPY ./3-microservices-architecture-style/src/ApiGateway/src ./3-microservices-architecture-style/src/ApiGateway/src/
|
||||
|
||||
# Build project with Release configuration
|
||||
# and no restore, as we did it already
|
||||
|
||||
RUN ls
|
||||
RUN --mount=type=cache,id=gateway_nuget,target=/root/.nuget/packages \
|
||||
dotnet build -c Release --no-restore ./3-Microservices-Architecture-Style/src/ApiGateway/src/ApiGateway.csproj
|
||||
dotnet build -c Release --no-restore ./3-microservices-architecture-style/src/ApiGateway/src/ApiGateway.csproj
|
||||
|
||||
WORKDIR /3-Microservices-Architecture-Style/src/ApiGateway/src
|
||||
WORKDIR /3-microservices-architecture-style/src/ApiGateway/src
|
||||
|
||||
# Publish project to output folder
|
||||
# and no build, as we did it already
|
||||
@ -36,7 +36,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
||||
|
||||
# Setup working directory for the project
|
||||
WORKDIR /
|
||||
COPY --from=builder /3-Microservices-Architecture-Style/src/ApiGateway/src/out .
|
||||
COPY --from=builder /3-microservices-architecture-style/src/ApiGateway/src/out .
|
||||
|
||||
ENV ASPNETCORE_URLS https://*:443, http://*:80
|
||||
ENV ASPNETCORE_ENVIRONMENT docker
|
||||
@ -7,25 +7,25 @@ COPY ./Directory.Build.props ./
|
||||
|
||||
# Setup working directory for the project
|
||||
COPY ./BuildingBlocks/BuildingBlocks.csproj ./BuildingBlocks/
|
||||
COPY ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking/Booking.csproj ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking/
|
||||
COPY ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/
|
||||
COPY ./3-microservices-architecture-style/src/Services/Booking/src/Booking/Booking.csproj ./3-microservices-architecture-style/src/Services/Booking/src/Booking/
|
||||
COPY ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/
|
||||
|
||||
|
||||
# Restore nuget packages
|
||||
RUN dotnet restore ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj
|
||||
RUN dotnet restore ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj
|
||||
|
||||
# Copy project files
|
||||
COPY ./BuildingBlocks ./BuildingBlocks/
|
||||
COPY ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking/ ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking/
|
||||
COPY ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/ ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/
|
||||
COPY ./3-microservices-architecture-style/src/Services/Booking/src/Booking/ ./3-microservices-architecture-style/src/Services/Booking/src/Booking/
|
||||
COPY ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/ ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/
|
||||
|
||||
# Build project with Release configuration
|
||||
# and no restore, as we did it already
|
||||
|
||||
RUN ls
|
||||
RUN dotnet build -c Release --no-restore ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj
|
||||
RUN dotnet build -c Release --no-restore ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj
|
||||
|
||||
WORKDIR /3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api
|
||||
WORKDIR /3-microservices-architecture-style/src/Services/Booking/src/Booking.Api
|
||||
|
||||
# Publish project to output folder
|
||||
# and no build, as we did it already
|
||||
@ -35,7 +35,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
||||
|
||||
# Setup working directory for the project
|
||||
WORKDIR /
|
||||
COPY --from=builder /3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/out .
|
||||
COPY --from=builder /3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/out .
|
||||
|
||||
ENV ASPNETCORE_URLS https://*:443, http://*:80
|
||||
ENV ASPNETCORE_ENVIRONMENT docker
|
||||
@ -7,27 +7,27 @@ COPY ./Directory.Build.props ./
|
||||
|
||||
# Setup working directory for the project
|
||||
COPY ./BuildingBlocks/BuildingBlocks.csproj ./BuildingBlocks/
|
||||
COPY ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking/Booking.csproj ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking/
|
||||
COPY ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/
|
||||
COPY ./3-microservices-architecture-style/src/Services/Booking/src/Booking/Booking.csproj ./3-microservices-architecture-style/src/Services/Booking/src/Booking/
|
||||
COPY ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/
|
||||
|
||||
|
||||
# Restore nuget packages
|
||||
RUN --mount=type=cache,id=booking_nuget,target=/root/.nuget/packages \
|
||||
dotnet restore ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj
|
||||
dotnet restore ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj
|
||||
|
||||
# Copy project files
|
||||
COPY ./BuildingBlocks ./BuildingBlocks/
|
||||
COPY ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking/ ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking/
|
||||
COPY ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/ ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/
|
||||
COPY ./3-microservices-architecture-style/src/Services/Booking/src/Booking/ ./3-microservices-architecture-style/src/Services/Booking/src/Booking/
|
||||
COPY ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/ ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/
|
||||
|
||||
# Build project with Release configuration
|
||||
# and no restore, as we did it already
|
||||
|
||||
RUN ls
|
||||
RUN --mount=type=cache,id=booking_nuget,target=/root/.nuget/packages\
|
||||
dotnet build -c Release --no-restore ./3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj
|
||||
dotnet build -c Release --no-restore ./3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/Booking.Api.csproj
|
||||
|
||||
WORKDIR /3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api
|
||||
WORKDIR /3-microservices-architecture-style/src/Services/Booking/src/Booking.Api
|
||||
|
||||
# Publish project to output folder
|
||||
# and no build, as we did it already
|
||||
@ -38,7 +38,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
||||
|
||||
# Setup working directory for the project
|
||||
WORKDIR /
|
||||
COPY --from=builder /3-Microservices-Architecture-Style/src/Services/Booking/src/Booking.Api/out .
|
||||
COPY --from=builder /3-microservices-architecture-style/src/Services/Booking/src/Booking.Api/out .
|
||||
|
||||
ENV ASPNETCORE_URLS https://*:443, http://*:80
|
||||
ENV ASPNETCORE_ENVIRONMENT docker
|
||||
@ -7,25 +7,25 @@ COPY ./Directory.Build.props ./
|
||||
|
||||
# Setup working directory for the project
|
||||
COPY ./BuildingBlocks/BuildingBlocks.csproj ./BuildingBlocks/
|
||||
COPY ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight/Flight.csproj ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight/
|
||||
COPY ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/
|
||||
COPY ./3-microservices-architecture-style/src/Services/Flight/src/Flight/Flight.csproj ./3-microservices-architecture-style/src/Services/Flight/src/Flight/
|
||||
COPY ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/
|
||||
|
||||
|
||||
# Restore nuget packages
|
||||
RUN dotnet restore ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj
|
||||
RUN dotnet restore ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj
|
||||
|
||||
# Copy project files
|
||||
COPY ./BuildingBlocks ./BuildingBlocks/
|
||||
COPY ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight/ ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight/
|
||||
COPY ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/ ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/
|
||||
COPY ./3-microservices-architecture-style/src/Services/Flight/src/Flight/ ./3-microservices-architecture-style/src/Services/Flight/src/Flight/
|
||||
COPY ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/ ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/
|
||||
|
||||
# Build project with Release configuration
|
||||
# and no restore, as we did it already
|
||||
|
||||
RUN ls
|
||||
RUN dotnet build -c Release --no-restore ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj
|
||||
RUN dotnet build -c Release --no-restore ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj
|
||||
|
||||
WORKDIR /3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api
|
||||
WORKDIR /3-microservices-architecture-style/src/Services/Flight/src/Flight.Api
|
||||
|
||||
# Publish project to output folder
|
||||
# and no build, as we did it already
|
||||
@ -35,7 +35,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
||||
|
||||
# Setup working directory for the project
|
||||
WORKDIR /
|
||||
COPY --from=builder /3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/out .
|
||||
COPY --from=builder /3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/out .
|
||||
|
||||
|
||||
ENV ASPNETCORE_URLS https://*:443, http://*:80
|
||||
@ -7,27 +7,27 @@ COPY ./Directory.Build.props ./
|
||||
|
||||
# Setup working directory for the project
|
||||
COPY ./BuildingBlocks/BuildingBlocks.csproj ./BuildingBlocks/
|
||||
COPY ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight/Flight.csproj ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight/
|
||||
COPY ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/
|
||||
COPY ./3-microservices-architecture-style/src/Services/Flight/src/Flight/Flight.csproj ./3-microservices-architecture-style/src/Services/Flight/src/Flight/
|
||||
COPY ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/
|
||||
|
||||
|
||||
# Restore nuget packages
|
||||
RUN --mount=type=cache,id=flight_nuget,target=/root/.nuget/packages \
|
||||
dotnet restore ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj
|
||||
dotnet restore ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj
|
||||
|
||||
# Copy project files
|
||||
COPY ./BuildingBlocks ./BuildingBlocks/
|
||||
COPY ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight/ ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight/
|
||||
COPY .3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/ ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/
|
||||
COPY ./3-microservices-architecture-style/src/Services/Flight/src/Flight/ ./3-microservices-architecture-style/src/Services/Flight/src/Flight/
|
||||
COPY .3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/ ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/
|
||||
|
||||
# Build project with Release configuration
|
||||
# and no restore, as we did it already
|
||||
|
||||
RUN ls
|
||||
RUN --mount=type=cache,id=flight_nuget,target=/root/.nuget/packages \
|
||||
dotnet build -c Release --no-restore ./3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj
|
||||
dotnet build -c Release --no-restore ./3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/Flight.Api.csproj
|
||||
|
||||
WORKDIR /3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api
|
||||
WORKDIR /3-microservices-architecture-style/src/Services/Flight/src/Flight.Api
|
||||
|
||||
# Publish project to output folder
|
||||
# and no build, as we did it already
|
||||
@ -38,7 +38,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
||||
|
||||
# Setup working directory for the project
|
||||
WORKDIR /
|
||||
COPY --from=builder /3-Microservices-Architecture-Style/src/Services/Flight/src/Flight.Api/out .
|
||||
COPY --from=builder /3-microservices-architecture-style/src/Services/Flight/src/Flight.Api/out .
|
||||
|
||||
|
||||
ENV ASPNETCORE_URLS https://*:443, http://*:80
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user