stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -182,3 +182,7 @@ dotnet run --project src/Router/examples/Examples.OrderService/
|
||||
- `/docs/modules/router/guides/GETTING_STARTED.md` - Tutorial
|
||||
- `/docs/modules/router/examples/` - Example documentation
|
||||
|
||||
## Service Endpoints
|
||||
- Development: https://localhost:10000, http://localhost:10001
|
||||
- Local alias: https://router.stella-ops.local, http://router.stella-ops.local
|
||||
- Env var: STELLAOPS_ROUTER_URL
|
||||
|
||||
@@ -136,9 +136,14 @@ builder.Services.TryAddStellaRouter(
|
||||
version: typeof(Program).Assembly.GetName().Version?.ToString() ?? "1.0.0",
|
||||
routerOptions: routerOptions);
|
||||
|
||||
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
|
||||
|
||||
builder.TryAddStellaOpsLocalBinding("router");
|
||||
var app = builder.Build();
|
||||
app.LogStellaOpsLocalHostname("router");
|
||||
|
||||
app.UseMiddleware<CorrelationIdMiddleware>();
|
||||
app.UseStellaOpsCors();
|
||||
app.UseAuthentication();
|
||||
app.UseMiddleware<SenderConstraintMiddleware>();
|
||||
// IdentityHeaderPolicyMiddleware replaces TenantMiddleware and ClaimsPropagationMiddleware
|
||||
|
||||
@@ -4,9 +4,11 @@
|
||||
"commandName": "Project",
|
||||
"launchBrowser": true,
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||
"STELLAOPS_WEBSERVICES_CORS": "true",
|
||||
"STELLAOPS_WEBSERVICES_CORS_ORIGIN": "https://stella-ops.local,https://stella-ops.local:10000,https://localhost:10000"
|
||||
},
|
||||
"applicationUrl": "https://localhost:62515;http://localhost:62516"
|
||||
"applicationUrl": "https://localhost:10000;http://localhost:10001"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
},
|
||||
"applicationUrl": "https://localhost:58839;http://localhost:58840"
|
||||
"applicationUrl": "https://localhost:10900;http://localhost:10901"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,7 @@
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
},
|
||||
"applicationUrl": "https://localhost:64342;http://localhost:64343"
|
||||
"applicationUrl": "https://localhost:10910;http://localhost:10911"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user