diff --git a/.github/hooks/commit-msg b/.github/hooks/commit-msg index e7f4ec1..d98f23b 100644 --- a/.github/hooks/commit-msg +++ b/.github/hooks/commit-msg @@ -31,7 +31,7 @@ if ! head -1 "$1" | grep -qE "^(feat|fix|ci|chore|docs|test|style|refactor|chk|m echo "For more information check https://www.conventionalcommits.org/en/v1.0.0/ for more details" >&2 exit 1 fi -if ! head -1 "$1" | grep -qE "^.{1,50}$"; then +if ! head -1 "$1" | grep -qE "^.{1,100}$"; then echo "Aborting commit. Your commit message is too long." >&2 exit 1 fi \ No newline at end of file diff --git a/src/services/DevStore.Carrinho.API/Properties/launchSettings.json b/src/services/DevStore.Carrinho.API/Properties/launchSettings.json index 10fc3d1..379ce8b 100644 --- a/src/services/DevStore.Carrinho.API/Properties/launchSettings.json +++ b/src/services/DevStore.Carrinho.API/Properties/launchSettings.json @@ -17,13 +17,6 @@ "ASPNETCORE_ENVIRONMENT": "Development" }, "applicationUrl": "https://localhost:55201;http://localhost:55202" - }, - "Docker (1)": { - "commandName": "Docker", - "launchBrowser": true, - "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/swagger", - "publishAllPorts": true, - "useSSL": true } } } \ No newline at end of file diff --git a/src/services/DevStore.Catalog.API/Dockerfile b/src/services/DevStore.Catalog.API/Dockerfile index 7391738..580e083 100644 --- a/src/services/DevStore.Catalog.API/Dockerfile +++ b/src/services/DevStore.Catalog.API/Dockerfile @@ -7,20 +7,20 @@ EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build WORKDIR /src -COPY ["./services/DevStore.Catalogo.API/DevStore.Catalogo.API.csproj", "services/DevStore.Catalogo.API/"] +COPY ["./services/DevStore.Catalog.API/DevStore.Catalogo.API.csproj", "services/DevStore.Catalogo.API/"] COPY ["./building blocks/DevStore.Core/DevStore.Core.csproj", "building blocks/DevStore.WebAPI.Core/"] COPY ["./building blocks/DevStore.WebAPI.Core/DevStore.WebAPI.Core.csproj", "building blocks/DevStore.WebAPI.Core/"] COPY ["./building blocks/DevStore.MessageBus/DevStore.MessageBus.csproj", "building blocks/DevStore.MessageBus/"] -RUN dotnet restore "services/DevStore.Catalogo.API/DevStore.Catalogo.API.csproj" +RUN dotnet restore "services/DevStore.Catalog.API/DevStore.Catalogo.API.csproj" COPY . . -WORKDIR "services/DevStore.Catalogo.API" -RUN dotnet build "DevStore.Catalogo.API.csproj" -c Release -o /app/build +WORKDIR "services/DevStore.Catalog.API" +RUN dotnet build "DevStore.Catalog.API.csproj" -c Release -o /app/build FROM build AS publish -RUN dotnet publish "DevStore.Catalogo.API.csproj" -c Release -o /app/publish +RUN dotnet publish "DevStore.Catalog.API.csproj" -c Release -o /app/publish FROM base AS final WORKDIR /app COPY --from=publish /app/publish . -ENTRYPOINT ["dotnet", "DevStore.Catalogo.API.dll"] +ENTRYPOINT ["dotnet", "DevStore.Catalog.API.dll"] diff --git a/src/web/DevStore.WebApp.MVC/Models/PedidoTransacaoViewModel.cs b/src/web/DevStore.WebApp.MVC/Models/PedidoTransacaoViewModel.cs index 7d5f184..34ef1f6 100644 Binary files a/src/web/DevStore.WebApp.MVC/Models/PedidoTransacaoViewModel.cs and b/src/web/DevStore.WebApp.MVC/Models/PedidoTransacaoViewModel.cs differ diff --git a/src/web/DevStore.WebApp.MVC/Models/ProdutoViewModel.cs b/src/web/DevStore.WebApp.MVC/Models/ProdutoViewModel.cs index eb98e4c..fa66f4e 100644 Binary files a/src/web/DevStore.WebApp.MVC/Models/ProdutoViewModel.cs and b/src/web/DevStore.WebApp.MVC/Models/ProdutoViewModel.cs differ diff --git a/src/web/DevStore.WebApp.MVC/Services/CatalogoService.cs b/src/web/DevStore.WebApp.MVC/Services/CatalogoService.cs index d1563ed..5bf805a 100644 Binary files a/src/web/DevStore.WebApp.MVC/Services/CatalogoService.cs and b/src/web/DevStore.WebApp.MVC/Services/CatalogoService.cs differ diff --git a/src/web/DevStore.WebApp.MVC/Views/Carrinho/Index.cshtml b/src/web/DevStore.WebApp.MVC/Views/Carrinho/Index.cshtml index 988e1b5..b4d1c2d 100644 Binary files a/src/web/DevStore.WebApp.MVC/Views/Carrinho/Index.cshtml and b/src/web/DevStore.WebApp.MVC/Views/Carrinho/Index.cshtml differ diff --git a/src/web/DevStore.WebApp.MVC/Views/Catalogo/Index.cshtml b/src/web/DevStore.WebApp.MVC/Views/Catalogo/Index.cshtml index 6cee389..bbf2682 100644 Binary files a/src/web/DevStore.WebApp.MVC/Views/Catalogo/Index.cshtml and b/src/web/DevStore.WebApp.MVC/Views/Catalogo/Index.cshtml differ diff --git a/src/web/DevStore.WebApp.MVC/Views/Catalogo/ProdutoDetalhe.cshtml b/src/web/DevStore.WebApp.MVC/Views/Catalogo/ProdutoDetalhe.cshtml index 38d46bc..251d581 100644 Binary files a/src/web/DevStore.WebApp.MVC/Views/Catalogo/ProdutoDetalhe.cshtml and b/src/web/DevStore.WebApp.MVC/Views/Catalogo/ProdutoDetalhe.cshtml differ