Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions playground/TestShop/TestShop.AppHost/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@
.AddDatabase("catalogdb");

var basketCache = builder.AddRedis("basketcache")
.WithDataVolume()
.WithRedisCommander(c =>
{
c.WithHostPort(33801);
});
.WithDataVolume();

#if !SKIP_DASHBOARD_REFERENCE
basketCache.WithRedisCommander(c =>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indent

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file has top-level statements, so zero indent. Or did you mean for the {..} block? Could you share the suggested indent in that case, and I can commit that?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can change in a follow up.

{
c.WithHostPort(33801);
});
#endif

var catalogService = builder.AddProject<Projects.CatalogService>("catalogservice")
.WithReference(catalogDb)
Expand Down
2 changes: 2 additions & 0 deletions tests/Aspire.Playground.Tests/AppHostTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ public static TheoryData<TestEndpoints> TestEndpoints()
{
IList<TestEndpoints> candidates =
[
new TestEndpoints("MilvusPlayground.AppHost",
resourceEndpoints: new() { { "apiservice", ["/alive", "/health", "/create", "/search"] } }),
new TestEndpoints("CosmosEndToEnd.AppHost",
resourceEndpoints: new() { { "api", ["/alive", "/health", "/", "/ef"] } },
waitForTexts: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<ProjectReference Include="$(PlaygroundSourceDir)SqlServerEndToEnd/SqlServerEndToEnd.AppHost/SqlServerEndToEnd.AppHost.csproj" />
<ProjectReference Include="$(PlaygroundSourceDir)TestShop/TestShop.AppHost/TestShop.AppHost.csproj" />
<ProjectReference Include="$(PlaygroundSourceDir)keycloak/Keycloak.AppHost/Keycloak.AppHost.csproj" />
<ProjectReference Include="$(PlaygroundSourceDir)milvus/MilvusPlayground.AppHost/MilvusPlayground.AppHost.csproj" />

<!-- Issue: https://github.com/dotnet/aspire/issues/5274 -->
<!--<ProjectReference Include="$(PlaygroundSourceDir)mongo/Mongo.AppHost/Mongo.AppHost.csproj" />-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ public static async Task<IDistributedApplicationTestingBuilder> CreateAsync(stri
{
logging.AddXunit(testOutput);
}
logging.SetMinimumLevel(LogLevel.Trace);
logging.AddFilter("Aspire", LogLevel.Trace);
logging.AddFilter(builder.Environment.ApplicationName, LogLevel.Trace);
logging.SetMinimumLevel(LogLevel.Debug);
logging.AddFilter("Aspire", LogLevel.Debug);
logging.AddFilter(builder.Environment.ApplicationName, LogLevel.Debug);
});

return builder;
Expand Down