diff --git a/src/Codebreaker.AppHost/Codebreaker.AppHost.csproj b/src/Codebreaker.AppHost/Codebreaker.AppHost.csproj
index 5322eff..6d35c3d 100644
--- a/src/Codebreaker.AppHost/Codebreaker.AppHost.csproj
+++ b/src/Codebreaker.AppHost/Codebreaker.AppHost.csproj
@@ -10,8 +10,9 @@
-
-
+
+
+
diff --git a/src/Codebreaker.AppHost/Program.cs b/src/Codebreaker.AppHost/Program.cs
index 035c407..82d3465 100644
--- a/src/Codebreaker.AppHost/Program.cs
+++ b/src/Codebreaker.AppHost/Program.cs
@@ -17,13 +17,13 @@
// the name needs to be reduced until this fix: https://github.com/Azure/azure-dev/issues/3496
// don't use cb-cosmos, because of deploy failing with the '-' in the name
-//var cosmos = builder.AddAzureCosmosDB("cbcosmos")
-// .AddDatabase("codebreaker");
+var cosmos = builder.AddAzureCosmosDB("cbcosmos")
+ .AddDatabase("codebreaker");
var gameAPIs = builder.AddProject("gameapis")
// .WithReference(sqlServer)
- // .WithReference(cosmos)
- // .WithReference(appConfig)
+ .WithReference(cosmos)
+// .WithReference(appConfig)
.WithEnvironment("DataStore", dataStore);
builder.AddProject("bot")
diff --git a/src/Codebreaker.AppHost/appsettings.json b/src/Codebreaker.AppHost/appsettings.json
index ec99f25..ae5863e 100644
--- a/src/Codebreaker.AppHost/appsettings.json
+++ b/src/Codebreaker.AppHost/appsettings.json
@@ -6,5 +6,5 @@
"Aspire.Hosting.Dcp": "Warning"
}
},
- "DataStore": "InMemory"
+ "DataStore": "Cosmos"
}
diff --git a/src/Codebreaker.CosmosCreate/Codebreaker.CosmosCreate.csproj b/src/Codebreaker.CosmosCreate/Codebreaker.CosmosCreate.csproj
index ad7af0c..8dfbc60 100644
--- a/src/Codebreaker.CosmosCreate/Codebreaker.CosmosCreate.csproj
+++ b/src/Codebreaker.CosmosCreate/Codebreaker.CosmosCreate.csproj
@@ -8,7 +8,7 @@
-
+
all
diff --git a/src/Codebreaker.GameAPIs/Codebreaker.GameAPIs.csproj b/src/Codebreaker.GameAPIs/Codebreaker.GameAPIs.csproj
index 00ff416..092a323 100644
--- a/src/Codebreaker.GameAPIs/Codebreaker.GameAPIs.csproj
+++ b/src/Codebreaker.GameAPIs/Codebreaker.GameAPIs.csproj
@@ -13,8 +13,8 @@
-
-
+
+
diff --git a/src/Codebreaker.ServiceDefaults/Codebreaker.ServiceDefaults.csproj b/src/Codebreaker.ServiceDefaults/Codebreaker.ServiceDefaults.csproj
index 8c1ca7e..bb7ea4a 100644
--- a/src/Codebreaker.ServiceDefaults/Codebreaker.ServiceDefaults.csproj
+++ b/src/Codebreaker.ServiceDefaults/Codebreaker.ServiceDefaults.csproj
@@ -12,7 +12,7 @@
-
+
diff --git a/src/Codebreaker.ServiceDefaults/Extensions.cs b/src/Codebreaker.ServiceDefaults/Extensions.cs
index c5a09a1..bedefcd 100644
--- a/src/Codebreaker.ServiceDefaults/Extensions.cs
+++ b/src/Codebreaker.ServiceDefaults/Extensions.cs
@@ -25,7 +25,7 @@ public static IHostApplicationBuilder AddServiceDefaults(this IHostApplicationBu
http.AddStandardResilienceHandler();
// Turn on service discovery by default
- http.UseServiceDiscovery();
+ http.AddServiceDiscovery();
});
return builder;
diff --git a/src/Codebreaker.SqlServerMigration/Codebreaker.SqlServerMigration.csproj b/src/Codebreaker.SqlServerMigration/Codebreaker.SqlServerMigration.csproj
index 858c0c9..8479940 100644
--- a/src/Codebreaker.SqlServerMigration/Codebreaker.SqlServerMigration.csproj
+++ b/src/Codebreaker.SqlServerMigration/Codebreaker.SqlServerMigration.csproj
@@ -19,7 +19,7 @@
-
+