stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -22,3 +22,8 @@
|
||||
|
||||
## Sprint Discipline
|
||||
- Link contract changes in sprint Decisions & Risks.
|
||||
|
||||
## Service Endpoints
|
||||
- Development: https://localhost:10370, http://localhost:10371
|
||||
- Local alias: https://issuerdirectory.stella-ops.local, http://issuerdirectory.stella-ops.local
|
||||
- Env var: STELLAOPS_ISSUERDIRECTORY_URL
|
||||
|
||||
@@ -100,6 +100,8 @@ builder.Services.AddOpenTelemetry()
|
||||
.AddRuntimeInstrumentation())
|
||||
.WithTracing(tracing => tracing.AddAspNetCoreInstrumentation().AddHttpClientInstrumentation());
|
||||
|
||||
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
|
||||
|
||||
// Stella Router integration
|
||||
var routerOptions = builder.Configuration.GetSection("IssuerDirectory:Router").Get<StellaRouterOptionsBase>();
|
||||
builder.Services.TryAddStellaRouter(
|
||||
@@ -107,9 +109,12 @@ builder.Services.TryAddStellaRouter(
|
||||
version: typeof(Program).Assembly.GetName().Version?.ToString() ?? "1.0.0",
|
||||
routerOptions: routerOptions);
|
||||
|
||||
builder.TryAddStellaOpsLocalBinding("issuerdirectory");
|
||||
var app = builder.Build();
|
||||
app.LogStellaOpsLocalHostname("issuerdirectory");
|
||||
|
||||
app.UseSerilogRequestLogging();
|
||||
app.UseStellaOpsCors();
|
||||
app.UseAuthentication();
|
||||
app.UseAuthorization();
|
||||
app.TryUseStellaRouter(routerOptions);
|
||||
|
||||
@@ -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:62527;http://localhost:62528"
|
||||
"applicationUrl": "https://localhost:10370;http://localhost:10371"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user