Skip to content

Commit

Permalink
Files moved / names changes / csprojs updated / sln updated
Browse files Browse the repository at this point in the history
  • Loading branch information
eiximenis committed Feb 28, 2018
1 parent 152fcc8 commit de37559
Show file tree
Hide file tree
Showing 66 changed files with 245 additions and 216 deletions.
52 changes: 26 additions & 26 deletions docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,23 +219,23 @@ services:
- "15672:15672"
- "5672:5672"

# mobileshoppingapigw:
# environment:
# - ASPNETCORE_ENVIRONMENT=Development
# - IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
# ports:
# - "5200:80"
# volumes:
# - ./src/Apigw/configs/mobileshoppingapigw:/app/configuration
#
# mobilemarketingapigw:
# environment:
# - ASPNETCORE_ENVIRONMENT=Development
# - IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
# ports:
# - "5201:80"
# volumes:
# - ./src/Apigw/configs/mobilemarketingapigw:/app/configuration
mobileshoppingapigw:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
ports:
- "5200:80"
volumes:
- ./src/ApiGateways/Mobile.Bff.Shopping/apigw:/app/configuration
mobilemarketingapigw:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
ports:
- "5201:80"
volumes:
- ./src/ApiGateways/Mobile.Bff.Marketing/apigw:/app/configuration

webshoppingapigw:
environment:
Expand All @@ -244,16 +244,16 @@ services:
ports:
- "5202:80"
volumes:
- ./src/Apigw/configs/webshoppingapigw:/app/configuration
- ./src/ApiGateways/Web.Bff.Shopping/apigw:/app/configuration

# webmarketingapigw:
# environment:
# - ASPNETCORE_ENVIRONMENT=Development
# - IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
# ports:
# - "5203:80"
# volumes:
# - ./src/Apigw/configs/webmarketingapigw:/app/configuration
webmarketingapigw:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
ports:
- "5203:80"
volumes:
- ./src/ApiGateways/Web.Bff.Marketing/apigw:/app/configuration

mobileshoppingagg:
environment:
Expand Down
40 changes: 20 additions & 20 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,39 +108,39 @@ services:
rabbitmq:
image: rabbitmq:3-management-alpine

# mobileshoppingapigw:
# image: eshop/ocelotapigw-ms
# build:
# context: .
# dockerfile: src/Apigw/OcelotApiGw/Dockerfile
#
# mobilemarketingapigw:
# image: eshop/ocelotapigw-mm
# build:
# context: .
# dockerfile: src/Apigw/OcelotApiGw/Dockerfile2
#
mobileshoppingapigw:
image: eshop/ocelotapigw-ms
build:
context: .
dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
mobilemarketingapigw:
image: eshop/ocelotapigw-mm
build:
context: .
dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile2
webshoppingapigw:
image: eshop/ocelotapigw-ws
build:
context: .
dockerfile: src/Apigw/OcelotApiGw/Dockerfile3
dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile3

# webmarketingapigw:
# image: eshop/ocelotapigw-wm
# build:
# context: .
# dockerfile: src/Apigw/OcelotApiGw/Dockerfile4
webmarketingapigw:
image: eshop/ocelotapigw-wm
build:
context: .
dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile

mobileshoppingagg:
image: eshop/mobileshoppingagg
build:
context: .
dockerfile: src/Aggregators/Mobile.Shopping.HttpAggregator/Dockerfile
dockerfile: src/ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile

webshoppingagg:
image: eshop/webshoppingagg
build:
context: .
dockerfile: src/Aggregators/Web.Shopping.HttpAggregator/Dockerfile
dockerfile: src/ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile

332 changes: 178 additions & 154 deletions eShopOnContainers-ServicesAndWebApps.sln

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
FROM microsoft/aspnetcore:2.0 AS base
WORKDIR /app
ENV ESHOP_API_GW Mobile_Bff_Shopping_ApiGw
EXPOSE 80

FROM microsoft/aspnetcore-build:2.0 AS build
WORKDIR /src
COPY src/Apigw/OcelotApiGw/OcelotApiGw.csproj src/Apigw/OcelotApiGw/
RUN dotnet restore src/Apigw/OcelotApiGw/
COPY src/ApiGateways/ApiGw-Base/OcelotApiGw.csproj src/ApiGateways/ApiGw-Base/
RUN dotnet restore src/ApiGateways/ApiGw-Base/
COPY . .
WORKDIR /src/src/Apigw/OcelotApiGw
WORKDIR /src/src/ApiGateways/ApiGw-Base/
RUN dotnet build -c Release -o /app

FROM build AS publish
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
FROM microsoft/aspnetcore:2.0 AS base
WORKDIR /app
ENV ESHOP_API_GW Mobile_Bff_Marketing_ApiGw
EXPOSE 80

FROM microsoft/aspnetcore-build:2.0 AS build
WORKDIR /src
COPY src/Apigw/OcelotApiGw/OcelotApiGw.csproj src/Apigw/OcelotApiGw/
RUN dotnet restore src/Apigw/OcelotApiGw/
COPY src/ApiGateways/ApiGw-Base/OcelotApiGw.csproj src/ApiGateways/ApiGw-Base/
RUN dotnet restore src/ApiGateways/ApiGw-Base/
COPY . .
WORKDIR /src/src/Apigw/OcelotApiGw
WORKDIR /src/src/ApiGateways/ApiGw-Base/
RUN dotnet build -c Release -o /app

FROM build AS publish
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
FROM microsoft/aspnetcore:2.0 AS base
WORKDIR /app
ENV ESHOP_API_GW Web_Bff_Shopping_ApiGw
EXPOSE 80

FROM microsoft/aspnetcore-build:2.0 AS build
WORKDIR /src
COPY src/Apigw/OcelotApiGw/OcelotApiGw.csproj src/Apigw/OcelotApiGw/
RUN dotnet restore src/Apigw/OcelotApiGw/
COPY src/ApiGateways/ApiGw-Base/OcelotApiGw.csproj src/ApiGateways/ApiGw-Base/
RUN dotnet restore src/ApiGateways/ApiGw-Base/
COPY . .
WORKDIR /src/src/Apigw/OcelotApiGw
WORKDIR /src/src/ApiGateways/ApiGw-Base/
RUN dotnet build -c Release -o /app

FROM build AS publish
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
FROM microsoft/aspnetcore:2.0 AS base
WORKDIR /app
ENV ESHOP_API_GW Web_Bff_Marketing_ApiGw
EXPOSE 80

FROM microsoft/aspnetcore-build:2.0 AS build
WORKDIR /src
COPY src/Apigw/OcelotApiGw/OcelotApiGw.csproj src/Apigw/OcelotApiGw/
RUN dotnet restore src/Apigw/OcelotApiGw/
COPY src/ApiGateways/ApiGw-Base/OcelotApiGw.csproj src/ApiGateways/ApiGw-Base/
RUN dotnet restore src/ApiGateways/ApiGw-Base/
COPY . .
WORKDIR /src/src/Apigw/OcelotApiGw
WORKDIR /src/src/ApiGateways/ApiGw-Base/
RUN dotnet build -c Release -o /app

FROM build AS publish
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM microsoft/aspnetcore-build:2.0 AS build
WORKDIR /src
COPY . .
RUN dotnet restore -nowarn:msb3202,nu1503
WORKDIR /src/src/Aggregators/Mobile.Shopping.HttpAggregator
WORKDIR /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator
RUN dotnet build --no-restore -c Release -o /app

FROM build AS publish
Expand All @@ -16,3 +16,4 @@ FROM base AS final
WORKDIR /app
COPY --from=publish /app .
ENTRYPOINT ["dotnet", "Mobile.Shopping.HttpAggregator.dll"]

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\BuildingBlocks\Resilience\Resilience.Http\Resilience.Http.csproj" />
<ProjectReference Include="..\..\..\BuildingBlocks\Resilience\Resilience.Http\Resilience.Http.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM microsoft/aspnetcore-build:2.0 AS build
WORKDIR /src
COPY . .
RUN dotnet restore -nowarn:msb3202,nu1503
WORKDIR /src/src/Aggregators/Web.Shopping.HttpAggregator
WORKDIR /src/src/ApiGateways/Web.Bff.Shopping/aggregator
RUN dotnet build --no-restore -c Release -o /app

FROM build AS publish
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\BuildingBlocks\Resilience\Resilience.Http\Resilience.Http.csproj" />
<ProjectReference Include="..\..\..\BuildingBlocks\Resilience\Resilience.Http\Resilience.Http.csproj" />
</ItemGroup>

</Project>

0 comments on commit de37559

Please sign in to comment.