stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -64,3 +64,8 @@ Before working on this module, read:
|
||||
- Replay is read-only (dry-run mode)
|
||||
- Verify mode compares replayed state to stored state
|
||||
- Replay operations are idempotent
|
||||
|
||||
## Service Endpoints
|
||||
- Development: https://localhost:10240, http://localhost:10241
|
||||
- Local alias: https://timeline.stella-ops.local, http://timeline.stella-ops.local
|
||||
- Env var: STELLAOPS_TIMELINE_URL
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
using StellaOps.Auth.ServerIntegration;
|
||||
using StellaOps.Eventing;
|
||||
using StellaOps.Timeline.Core;
|
||||
using StellaOps.Timeline.WebService.Endpoints;
|
||||
@@ -22,7 +23,11 @@ builder.Services.AddSwaggerGen(options =>
|
||||
builder.Services.AddHealthChecks()
|
||||
.AddCheck<TimelineHealthCheck>("timeline");
|
||||
|
||||
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
|
||||
|
||||
builder.TryAddStellaOpsLocalBinding("timeline");
|
||||
var app = builder.Build();
|
||||
app.LogStellaOpsLocalHostname("timeline");
|
||||
|
||||
// Configure the HTTP request pipeline
|
||||
if (app.Environment.IsDevelopment())
|
||||
@@ -31,6 +36,7 @@ if (app.Environment.IsDevelopment())
|
||||
app.UseSwaggerUI();
|
||||
}
|
||||
|
||||
app.UseStellaOpsCors();
|
||||
app.UseHttpsRedirection();
|
||||
|
||||
// Map endpoints
|
||||
|
||||
@@ -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:64475;http://localhost:64479"
|
||||
"applicationUrl": "https://localhost:10240;http://localhost:10241"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user