Skip to content

Commit 1c203fa

Browse files
authored
Adding Schema property to manifest. (dotnet#3871)
1 parent 8e01add commit 1c203fa

File tree

32 files changed

+224
-74
lines changed

32 files changed

+224
-74
lines changed

playground/AWS/AWS.AppHost/aspire-manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://json.schemastore.org/aspire-8.0.json",
23
"resources": {
34
"AspireSampleDevResources": {
45
"type": "aws.cloudformation.template.v0",

playground/AspireEventHub/EventHubs.AppHost/Properties/launchSettings.json

-12
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,6 @@
4040
"DOTNET_ENVIRONMENT": "Development",
4141
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:16175"
4242
}
43-
},
44-
"generate-manifest": {
45-
"commandName": "Project",
46-
"launchBrowser": true,
47-
"dotnetRunMessages": true,
48-
"commandLineArgs": "--publisher manifest --output-path aspire-manifest.json",
49-
"applicationUrl": "http://localhost:15270",
50-
"environmentVariables": {
51-
"ASPNETCORE_ENVIRONMENT": "Development",
52-
"DOTNET_ENVIRONMENT": "Development",
53-
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:16201"
54-
}
5543
}
5644
}
5745
}

playground/AspireEventHub/EventHubs.AppHost/aspire-manifest.json

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://json.schemastore.org/aspire-8.0.json",
23
"resources": {
34
"ehstorage": {
45
"type": "azure.bicep.v0",
@@ -27,6 +28,7 @@
2728
"env": {
2829
"OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EXCEPTION_LOG_ATTRIBUTES": "true",
2930
"OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EVENT_LOG_ATTRIBUTES": "true",
31+
"OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY": "in_memory",
3032
"ConnectionStrings__eventhubns": "{eventhubns.connectionString}",
3133
"ConnectionStrings__checkpoints": "{checkpoints.connectionString}"
3234
}
@@ -37,6 +39,7 @@
3739
"env": {
3840
"OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EXCEPTION_LOG_ATTRIBUTES": "true",
3941
"OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EVENT_LOG_ATTRIBUTES": "true",
42+
"OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY": "in_memory",
4043
"ASPNETCORE_FORWARDEDHEADERS_ENABLED": "true",
4144
"ConnectionStrings__eventhubns": "{eventhubns.connectionString}"
4245
},

playground/AzureSearchEndToEnd/AzureSearch.AppHost/aspire-manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://json.schemastore.org/aspire-8.0.json",
23
"resources": {
34
"search": {
45
"type": "azure.bicep.v0",

playground/AzureStorageEndToEnd/AzureStorageEndToEnd.AppHost/aspire-manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://json.schemastore.org/aspire-8.0.json",
23
"resources": {
34
"storage": {
45
"type": "azure.bicep.v0",

playground/CosmosEndToEnd/CosmosEndToEnd.AppHost/aspire-manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://json.schemastore.org/aspire-8.0.json",
23
"resources": {
34
"cosmos": {
45
"type": "azure.bicep.v0",

playground/CustomResources/CustomResources.AppHost/aspire-manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://json.schemastore.org/aspire-8.0.json",
23
"resources": {
34
"p0": {
45
"type": "parameter.v0",

playground/DatabaseMigration/DatabaseMigration.AppHost/aspire-manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://json.schemastore.org/aspire-8.0.json",
23
"resources": {
34
"sql1": {
45
"type": "container.v0",

playground/OpenAIEndToEnd/OpenAIEndToEnd.AppHost/aspire-manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://json.schemastore.org/aspire-8.0.json",
23
"resources": {
34
"openai": {
45
"type": "azure.bicep.v0",

playground/ParameterEndToEnd/ParameterEndToEnd.AppHost/aspire-manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://json.schemastore.org/aspire-8.0.json",
23
"resources": {
34
"sql": {
45
"type": "parameter.v0",

playground/PostgresEndToEnd/PostgresEndToEnd.AppHost/aspire-manifest.json

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
2+
"$schema": "https://json.schemastore.org/aspire-8.0.json",
23
"resources": {
34
"pg1": {
45
"type": "container.v0",
56
"connectionString": "Host={pg1.bindings.tcp.host};Port={pg1.bindings.tcp.port};Username=postgres;Password={pg1-password.value}",
6-
"image": "postgres:16.2",
7+
"image": "docker.io/library/postgres:16.2",
78
"env": {
89
"POSTGRES_HOST_AUTH_METHOD": "scram-sha-256",
910
"POSTGRES_INITDB_ARGS": "--auth-host=scram-sha-256 --auth-local=scram-sha-256",
@@ -26,7 +27,7 @@
2627
"pg2": {
2728
"type": "container.v0",
2829
"connectionString": "Host={pg2.bindings.tcp.host};Port={pg2.bindings.tcp.port};Username=postgres;Password={pg2-password.value}",
29-
"image": "postgres:16.2",
30+
"image": "docker.io/library/postgres:16.2",
3031
"env": {
3132
"POSTGRES_HOST_AUTH_METHOD": "scram-sha-256",
3233
"POSTGRES_INITDB_ARGS": "--auth-host=scram-sha-256 --auth-local=scram-sha-256",
@@ -49,7 +50,7 @@
4950
"pg3": {
5051
"type": "container.v0",
5152
"connectionString": "Host={pg3.bindings.tcp.host};Port={pg3.bindings.tcp.port};Username=postgres;Password={pg3-password.value}",
52-
"image": "postgres:16.2",
53+
"image": "docker.io/library/postgres:16.2",
5354
"env": {
5455
"POSTGRES_HOST_AUTH_METHOD": "scram-sha-256",
5556
"POSTGRES_INITDB_ARGS": "--auth-host=scram-sha-256 --auth-local=scram-sha-256",
@@ -76,7 +77,7 @@
7677
"pg4": {
7778
"type": "container.v0",
7879
"connectionString": "Host={pg4.bindings.tcp.host};Port={pg4.bindings.tcp.port};Username=postgres;Password={pg4-password.value}",
79-
"image": "postgres:16.2",
80+
"image": "docker.io/library/postgres:16.2",
8081
"env": {
8182
"POSTGRES_HOST_AUTH_METHOD": "scram-sha-256",
8283
"POSTGRES_INITDB_ARGS": "--auth-host=scram-sha-256 --auth-local=scram-sha-256",
@@ -99,7 +100,7 @@
99100
"pg5": {
100101
"type": "container.v0",
101102
"connectionString": "Host={pg5.bindings.tcp.host};Port={pg5.bindings.tcp.port};Username=postgres;Password={pg5-password.value}",
102-
"image": "postgres:16.2",
103+
"image": "docker.io/library/postgres:16.2",
103104
"env": {
104105
"POSTGRES_HOST_AUTH_METHOD": "scram-sha-256",
105106
"POSTGRES_INITDB_ARGS": "--auth-host=scram-sha-256 --auth-local=scram-sha-256",
@@ -122,7 +123,7 @@
122123
"pg6": {
123124
"type": "container.v0",
124125
"connectionString": "Host={pg6.bindings.tcp.host};Port={pg6.bindings.tcp.port};Username=postgres;Password={pg6-password.value}",
125-
"image": "postgres:16.2",
126+
"image": "docker.io/library/postgres:16.2",
126127
"env": {
127128
"POSTGRES_HOST_AUTH_METHOD": "scram-sha-256",
128129
"POSTGRES_INITDB_ARGS": "--auth-host=scram-sha-256 --auth-local=scram-sha-256",

playground/ProxylessEndToEnd/ProxylessEndToEnd.AppHost/aspire-manifest.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
2+
"$schema": "https://json.schemastore.org/aspire-8.0.json",
23
"resources": {
34
"redis": {
45
"type": "container.v0",
56
"connectionString": "{redis.bindings.tcp.host}:{redis.bindings.tcp.port}",
6-
"image": "redis:7.2.4",
7+
"image": "docker.io/library/redis:7.2.4",
78
"bindings": {
89
"tcp": {
910
"scheme": "tcp",

playground/Qdrant/Qdrant.AppHost/Properties/launchSettings.json

+12
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,18 @@
2727
"DOTNET_ASPIRE_SHOW_DASHBOARD_RESOURCES": "true",
2828
"ASPIRE_ALLOW_UNSECURED_TRANSPORT": "true"
2929
}
30+
},
31+
"generate-manifest": {
32+
"commandName": "Project",
33+
"launchBrowser": true,
34+
"dotnetRunMessages": true,
35+
"commandLineArgs": "--publisher manifest --output-path aspire-manifest.json",
36+
"applicationUrl": "http://localhost:15207",
37+
"environmentVariables": {
38+
"ASPNETCORE_ENVIRONMENT": "Development",
39+
"DOTNET_ENVIRONMENT": "Development",
40+
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:16022"
41+
}
3042
}
3143
}
3244
}

playground/Qdrant/Qdrant.AppHost/aspire-manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://json.schemastore.org/aspire-8.0.json",
23
"resources": {
34
"qdrant": {
45
"type": "container.v0",

playground/SqlServerEndToEnd/SqlServerEndToEnd.AppHost/aspire-manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://json.schemastore.org/aspire-8.0.json",
23
"resources": {
34
"sql1": {
45
"type": "azure.bicep.v0",

0 commit comments

Comments
 (0)