From 415c8a4a909b8eddcfeb8f6f5138876a7114d4bb Mon Sep 17 00:00:00 2001 From: Bruno Brito Date: Tue, 7 Sep 2021 23:39:50 -0300 Subject: [PATCH] fix: migration --- .../Properties/launchSettings.json | 2 +- .../appsettings.Development.json | 12 ++++++------ ...esigner.cs => 20210908021922_Initial.Designer.cs} | 6 +++--- ...26024206_Initial.cs => 20210908021922_Initial.cs} | 0 .../Migrations/BillingContextModelSnapshot.cs | 4 ++-- .../Properties/launchSettings.json | 2 +- .../appsettings.Development.json | 4 ++-- .../Properties/launchSettings.json | 2 +- .../appsettings.Development.json | 4 ++-- .../Properties/launchSettings.json | 2 +- .../appsettings.Development.json | 4 ++-- .../Properties/launchSettings.json | 2 +- .../appsettings.Development.json | 2 +- .../Properties/launchSettings.json | 2 +- .../DevStore.Orders.API/appsettings.Development.json | 4 ++-- .../Properties/launchSettings.json | 2 +- .../appsettings.Development.json | 4 ++-- .../Properties/launchSettings.json | 2 +- .../DevStore.WebApp.MVC/appsettings.Development.json | 8 ++++---- 19 files changed, 34 insertions(+), 34 deletions(-) rename src/services/DevStore.Billing.API/Migrations/{20210826024206_Initial.Designer.cs => 20210908021922_Initial.Designer.cs} (95%) rename src/services/DevStore.Billing.API/Migrations/{20210826024206_Initial.cs => 20210908021922_Initial.cs} (100%) diff --git a/src/api-gateways/DevStore.Bff.Checkout/Properties/launchSettings.json b/src/api-gateways/DevStore.Bff.Checkout/Properties/launchSettings.json index e58c5ac..730af51 100644 --- a/src/api-gateways/DevStore.Bff.Checkout/Properties/launchSettings.json +++ b/src/api-gateways/DevStore.Bff.Checkout/Properties/launchSettings.json @@ -16,7 +16,7 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }, - "applicationUrl": "https://localhost:55501;http://localhost:55502" + "applicationUrl": "https://localhost:5451;http://localhost:5450" } } } \ No newline at end of file diff --git a/src/api-gateways/DevStore.Bff.Checkout/appsettings.Development.json b/src/api-gateways/DevStore.Bff.Checkout/appsettings.Development.json index d0c223b..79960ef 100644 --- a/src/api-gateways/DevStore.Bff.Checkout/appsettings.Development.json +++ b/src/api-gateways/DevStore.Bff.Checkout/appsettings.Development.json @@ -7,16 +7,16 @@ } }, "AllowedHosts": "*", - "ShoppingCartUrl": "https://localhost:55201", - "CatalogUrl": "https://localhost:55301", - "ClientUrl": "https://localhost:55401", - "PaymentUrl": "https://localhost:55601", - "OrderUrl": "https://localhost:55701", + "ShoppingCartUrl": "https://localhost:5411", + "CatalogUrl": "https://localhost:5431", + "ClientUrl": "https://localhost:5441", + "PaymentUrl": "https://localhost:5461", + "OrderUrl": "https://localhost:5471", "MessageQueueConnection": { "MessageBus": "host=localhost:5672;publisherConfirms=true;timeout=1000" }, "AppSettings": { - "AuthenticationJwksUrl": "https://localhost:55101/jwks" + "AuthenticationJwksUrl": "https://localhost:5421/jwks" } } \ No newline at end of file diff --git a/src/services/DevStore.Billing.API/Migrations/20210826024206_Initial.Designer.cs b/src/services/DevStore.Billing.API/Migrations/20210908021922_Initial.Designer.cs similarity index 95% rename from src/services/DevStore.Billing.API/Migrations/20210826024206_Initial.Designer.cs rename to src/services/DevStore.Billing.API/Migrations/20210908021922_Initial.Designer.cs index 22a3c74..1d34152 100644 --- a/src/services/DevStore.Billing.API/Migrations/20210826024206_Initial.Designer.cs +++ b/src/services/DevStore.Billing.API/Migrations/20210908021922_Initial.Designer.cs @@ -10,7 +10,7 @@ namespace DevStore.Billing.API.Migrations { [DbContext(typeof(BillingContext))] - [Migration("20210826024206_Initial")] + [Migration("20210908021922_Initial")] partial class Initial { protected override void BuildTargetModel(ModelBuilder modelBuilder) @@ -84,7 +84,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) modelBuilder.Entity("DevStore.Billing.API.Models.Transaction", b => { b.HasOne("DevStore.Billing.API.Models.Payment", "Payment") - .WithMany("Transacoes") + .WithMany("Transactions") .HasForeignKey("PaymentId") .IsRequired(); @@ -93,7 +93,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) modelBuilder.Entity("DevStore.Billing.API.Models.Payment", b => { - b.Navigation("Transacoes"); + b.Navigation("Transactions"); }); #pragma warning restore 612, 618 } diff --git a/src/services/DevStore.Billing.API/Migrations/20210826024206_Initial.cs b/src/services/DevStore.Billing.API/Migrations/20210908021922_Initial.cs similarity index 100% rename from src/services/DevStore.Billing.API/Migrations/20210826024206_Initial.cs rename to src/services/DevStore.Billing.API/Migrations/20210908021922_Initial.cs diff --git a/src/services/DevStore.Billing.API/Migrations/BillingContextModelSnapshot.cs b/src/services/DevStore.Billing.API/Migrations/BillingContextModelSnapshot.cs index 7f38240..8695f45 100644 --- a/src/services/DevStore.Billing.API/Migrations/BillingContextModelSnapshot.cs +++ b/src/services/DevStore.Billing.API/Migrations/BillingContextModelSnapshot.cs @@ -82,7 +82,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) modelBuilder.Entity("DevStore.Billing.API.Models.Transaction", b => { b.HasOne("DevStore.Billing.API.Models.Payment", "Payment") - .WithMany("Transacoes") + .WithMany("Transactions") .HasForeignKey("PaymentId") .IsRequired(); @@ -91,7 +91,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) modelBuilder.Entity("DevStore.Billing.API.Models.Payment", b => { - b.Navigation("Transacoes"); + b.Navigation("Transactions"); }); #pragma warning restore 612, 618 } diff --git a/src/services/DevStore.Billing.API/Properties/launchSettings.json b/src/services/DevStore.Billing.API/Properties/launchSettings.json index 041a0c8..2a0626c 100644 --- a/src/services/DevStore.Billing.API/Properties/launchSettings.json +++ b/src/services/DevStore.Billing.API/Properties/launchSettings.json @@ -16,7 +16,7 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }, - "applicationUrl": "https://localhost:55601;http://localhost:55602" + "applicationUrl": "https://localhost:5461;http://localhost:5460" } } } \ No newline at end of file diff --git a/src/services/DevStore.Billing.API/appsettings.Development.json b/src/services/DevStore.Billing.API/appsettings.Development.json index bdff94e..bd36796 100644 --- a/src/services/DevStore.Billing.API/appsettings.Development.json +++ b/src/services/DevStore.Billing.API/appsettings.Development.json @@ -8,13 +8,13 @@ }, "ConnectionStrings": { //"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=Billing;Trusted_Connection=True;MultipleActiveResultSets=true" - "DefaultConnection": "Server=.\\SQLEXPRESS;Initial Catalog=DSBilling;Persist Security Info=False;User ID=sa;Password=@Password1;MultipleActiveResultSets=False;Connection Timeout=30;" + "DefaultConnection": "Server=.;Initial Catalog=DSBilling;Persist Security Info=False;User ID=sa;Password=@Password1;MultipleActiveResultSets=False;Connection Timeout=30;" }, "MessageQueueConnection": { "MessageBus": "host=localhost:5672;publisherConfirms=true;timeout=10" }, "AppSettings": { - "AuthenticationJwksUrl": "https://localhost:55101/jwks" + "AuthenticationJwksUrl": "https://localhost:5421/jwks" }, "BillingConfig": { "DefaultApiKey": "ak_ewr4dsWehiwAT", diff --git a/src/services/DevStore.Catalog.API/Properties/launchSettings.json b/src/services/DevStore.Catalog.API/Properties/launchSettings.json index d566a9c..29262fe 100644 --- a/src/services/DevStore.Catalog.API/Properties/launchSettings.json +++ b/src/services/DevStore.Catalog.API/Properties/launchSettings.json @@ -16,7 +16,7 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }, - "applicationUrl": "https://localhost:55301;http://localhost:55302" + "applicationUrl": "https://localhost:5431;http://localhost:5430" } } } \ No newline at end of file diff --git a/src/services/DevStore.Catalog.API/appsettings.Development.json b/src/services/DevStore.Catalog.API/appsettings.Development.json index 70e1010..ac9fa62 100644 --- a/src/services/DevStore.Catalog.API/appsettings.Development.json +++ b/src/services/DevStore.Catalog.API/appsettings.Development.json @@ -8,12 +8,12 @@ }, "ConnectionStrings": { //"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=Catalog;Trusted_Connection=True;MultipleActiveResultSets=true" - "DefaultConnection": "Server=.\\SQLEXPRESS;Initial Catalog=DSCatalog;Persist Security Info=False;User ID=sa;Password=@Password1;MultipleActiveResultSets=False;Connection Timeout=30;" + "DefaultConnection": "Server=.;Initial Catalog=DSCatalog;Persist Security Info=False;User ID=sa;Password=@Password1;MultipleActiveResultSets=False;Connection Timeout=30;" }, "MessageQueueConnection": { "MessageBus": "host=localhost:5672;publisherConfirms=true;timeout=10" }, "AppSettings": { - "AuthenticationJwksUrl": "https://localhost:55101/jwks" + "AuthenticationJwksUrl": "https://localhost:5421/jwks" } } diff --git a/src/services/DevStore.Clients.API/Properties/launchSettings.json b/src/services/DevStore.Clients.API/Properties/launchSettings.json index a356a9c..644a61e 100644 --- a/src/services/DevStore.Clients.API/Properties/launchSettings.json +++ b/src/services/DevStore.Clients.API/Properties/launchSettings.json @@ -16,7 +16,7 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }, - "applicationUrl": "https://localhost:55401;http://localhost:55402" + "applicationUrl": "https://localhost:5441;http://localhost:5440" } } } \ No newline at end of file diff --git a/src/services/DevStore.Clients.API/appsettings.Development.json b/src/services/DevStore.Clients.API/appsettings.Development.json index d5617df..73790eb 100644 --- a/src/services/DevStore.Clients.API/appsettings.Development.json +++ b/src/services/DevStore.Clients.API/appsettings.Development.json @@ -8,12 +8,12 @@ }, "ConnectionStrings": { //"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=Clientes;Trusted_Connection=True;MultipleActiveResultSets=true" - "DefaultConnection": "Server=.\\SQLEXPRESS;Initial Catalog=DSClients;Persist Security Info=False;User ID=sa;Password=@Password1;MultipleActiveResultSets=False;Connection Timeout=30;" + "DefaultConnection": "Server=.;Initial Catalog=DSClients;Persist Security Info=False;User ID=sa;Password=@Password1;MultipleActiveResultSets=False;Connection Timeout=30;" }, "MessageQueueConnection": { "MessageBus": "host=localhost:5672;publisherConfirms=true;timeout=10" }, "AppSettings": { - "AuthenticationJwksUrl": "https://localhost:55101/jwks" + "AuthenticationJwksUrl": "https://localhost:5421/jwks" } } diff --git a/src/services/DevStore.Identity.API/Properties/launchSettings.json b/src/services/DevStore.Identity.API/Properties/launchSettings.json index 344c68a..2660543 100644 --- a/src/services/DevStore.Identity.API/Properties/launchSettings.json +++ b/src/services/DevStore.Identity.API/Properties/launchSettings.json @@ -16,7 +16,7 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }, - "applicationUrl": "https://localhost:55101;http://localhost:55102" + "applicationUrl": "https://localhost:5421;http://localhost:5420" } } } \ No newline at end of file diff --git a/src/services/DevStore.Identity.API/appsettings.Development.json b/src/services/DevStore.Identity.API/appsettings.Development.json index fa61d70..b5c0b15 100644 --- a/src/services/DevStore.Identity.API/appsettings.Development.json +++ b/src/services/DevStore.Identity.API/appsettings.Development.json @@ -8,7 +8,7 @@ }, "ConnectionStrings": { //"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=Users;Trusted_Connection=True;MultipleActiveResultSets=true" - "DefaultConnection": "Server=.\\SQLEXPRESS;Initial Catalog=DSUsers;Persist Security Info=False;User ID=sa;Password=@Password1;MultipleActiveResultSets=False;Connection Timeout=30;" + "DefaultConnection": "Server=.;Initial Catalog=DSUsers;Persist Security Info=False;User ID=sa;Password=@Password1;MultipleActiveResultSets=False;Connection Timeout=30;" }, "MessageQueueConnection": { "MessageBus": "host=localhost:5672;publisherConfirms=true;timeout=10" diff --git a/src/services/DevStore.Orders.API/Properties/launchSettings.json b/src/services/DevStore.Orders.API/Properties/launchSettings.json index 544196c..e3d4da7 100644 --- a/src/services/DevStore.Orders.API/Properties/launchSettings.json +++ b/src/services/DevStore.Orders.API/Properties/launchSettings.json @@ -16,7 +16,7 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }, - "applicationUrl": "https://localhost:55701;http://localhost:55702" + "applicationUrl": "https://localhost:5471;http://localhost:5470" } } } \ No newline at end of file diff --git a/src/services/DevStore.Orders.API/appsettings.Development.json b/src/services/DevStore.Orders.API/appsettings.Development.json index 00bba38..ceea21a 100644 --- a/src/services/DevStore.Orders.API/appsettings.Development.json +++ b/src/services/DevStore.Orders.API/appsettings.Development.json @@ -9,12 +9,12 @@ "AllowedHosts": "*", "ConnectionStrings": { //"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=Orders;Trusted_Connection=True;MultipleActiveResultSets=true" - "DefaultConnection": "Server=.\\SQLEXPRESS;Initial Catalog=DSOrders;Persist Security Info=False;User ID=sa;Password=@Password1;MultipleActiveResultSets=False;Connection Timeout=30;" + "DefaultConnection": "Server=.;Initial Catalog=DSOrders;Persist Security Info=False;User ID=sa;Password=@Password1;MultipleActiveResultSets=False;Connection Timeout=30;" }, "MessageQueueConnection": { "MessageBus": "host=localhost:5672;publisherConfirms=true;timeout=10" }, "AppSettings": { - "AuthenticationJwksUrl": "https://localhost:55101/jwks" + "AuthenticationJwksUrl": "https://localhost:5421/jwks" } } diff --git a/src/services/DevStore.ShoppingCart.API/Properties/launchSettings.json b/src/services/DevStore.ShoppingCart.API/Properties/launchSettings.json index 379ce8b..e0df308 100644 --- a/src/services/DevStore.ShoppingCart.API/Properties/launchSettings.json +++ b/src/services/DevStore.ShoppingCart.API/Properties/launchSettings.json @@ -16,7 +16,7 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }, - "applicationUrl": "https://localhost:55201;http://localhost:55202" + "applicationUrl": "https://localhost:5411;http://localhost:5410" } } } \ No newline at end of file diff --git a/src/services/DevStore.ShoppingCart.API/appsettings.Development.json b/src/services/DevStore.ShoppingCart.API/appsettings.Development.json index 85b145d..9b4f7f6 100644 --- a/src/services/DevStore.ShoppingCart.API/appsettings.Development.json +++ b/src/services/DevStore.ShoppingCart.API/appsettings.Development.json @@ -8,12 +8,12 @@ }, "ConnectionStrings": { //"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=ShoppingCart;Trusted_Connection=True;MultipleActiveResultSets=true" - "DefaultConnection": "Server=.\\SQLEXPRESS;Initial Catalog=DSShoppingCart;Persist Security Info=False;User ID=sa;Password=@Password1;MultipleActiveResultSets=False;Connection Timeout=30;" + "DefaultConnection": "Server=.;Initial Catalog=DSShoppingCart;Persist Security Info=False;User ID=sa;Password=@Password1;MultipleActiveResultSets=False;Connection Timeout=30;" }, "MessageQueueConnection": { "MessageBus": "host=localhost:5672;publisherConfirms=true;timeout=10" }, "AppSettings": { - "AuthenticationJwksUrl": "https://localhost:55101/jwks" + "AuthenticationJwksUrl": "https://localhost:5421/jwks" } } diff --git a/src/web/DevStore.WebApp.MVC/Properties/launchSettings.json b/src/web/DevStore.WebApp.MVC/Properties/launchSettings.json index a927b6d..1c4db90 100644 --- a/src/web/DevStore.WebApp.MVC/Properties/launchSettings.json +++ b/src/web/DevStore.WebApp.MVC/Properties/launchSettings.json @@ -16,7 +16,7 @@ "ASPNETCORE_ENVIRONMENT": "Development", "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" }, - "applicationUrl": "https://localhost:55001;http://localhost:55000" + "applicationUrl": "https://localhost:5401;http://localhost:5400" } } } \ No newline at end of file diff --git a/src/web/DevStore.WebApp.MVC/appsettings.Development.json b/src/web/DevStore.WebApp.MVC/appsettings.Development.json index 1434885..b23209d 100644 --- a/src/web/DevStore.WebApp.MVC/appsettings.Development.json +++ b/src/web/DevStore.WebApp.MVC/appsettings.Development.json @@ -1,8 +1,8 @@ { - "AuthUrl": "https://localhost:55101", - "CatalogUrl": "https://localhost:55301", - "ClientUrl": "https://localhost:55401", - "CheckoutBffUrl": "https://localhost:55501", + "AuthUrl": "https://localhost:5421", + "CatalogUrl": "https://localhost:5431", + "ClientUrl": "https://localhost:5441", + "CheckoutBffUrl": "https://localhost:5451", "Logging": { "LogLevel": {