stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -40,3 +40,14 @@
|
||||
- When contracts/schemas change, update docs under `docs/modules/airgap/**` and link from sprint Decisions & Risks.
|
||||
- If a decision is needed, mark BLOCKED in the sprint and record the decision ask; continue with other unblocked work.
|
||||
|
||||
## Service Endpoints
|
||||
|
||||
### AirGap Controller (Slot 32)
|
||||
- Development: https://localhost:10320, http://localhost:10321
|
||||
- Local alias: https://airgap-controller.stella-ops.local, http://airgap-controller.stella-ops.local
|
||||
- Env var: STELLAOPS_AIRGAP_CONTROLLER_URL
|
||||
|
||||
### AirGap Time (Slot 33)
|
||||
- Development: https://localhost:10330, http://localhost:10331
|
||||
- Local alias: https://airgap-time.stella-ops.local, http://airgap-time.stella-ops.local
|
||||
- Env var: STELLAOPS_AIRGAP_TIME_URL
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
|
||||
using Microsoft.AspNetCore.Authentication;
|
||||
using StellaOps.Auth.ServerIntegration;
|
||||
using StellaOps.AirGap.Controller.Auth;
|
||||
using StellaOps.AirGap.Controller.DependencyInjection;
|
||||
using StellaOps.AirGap.Controller.Endpoints;
|
||||
@@ -15,8 +16,13 @@ builder.Services.AddSingleton<TimeProvider>(TimeProvider.System);
|
||||
|
||||
builder.Services.AddAirGapController(builder.Configuration);
|
||||
|
||||
var app = builder.Build();
|
||||
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
|
||||
|
||||
builder.TryAddStellaOpsLocalBinding("airgap-controller");
|
||||
var app = builder.Build();
|
||||
app.LogStellaOpsLocalHostname("airgap-controller");
|
||||
|
||||
app.UseStellaOpsCors();
|
||||
app.UseAuthentication();
|
||||
app.UseAuthorization();
|
||||
app.MapAirGapEndpoints();
|
||||
|
||||
@@ -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:62500;http://localhost:62503"
|
||||
"applicationUrl": "https://localhost:10320;http://localhost:10321"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
|
||||
using Microsoft.Extensions.DependencyInjection.Extensions;
|
||||
using Microsoft.Extensions.Options;
|
||||
using StellaOps.Auth.ServerIntegration;
|
||||
using StellaOps.AirGap.Time.Config;
|
||||
using StellaOps.AirGap.Time.Health;
|
||||
using StellaOps.AirGap.Time.Hooks;
|
||||
@@ -34,8 +35,13 @@ builder.Services.AddHealthChecks().AddCheck<TimeAnchorHealthCheck>("time_anchor"
|
||||
|
||||
builder.Services.AddControllers();
|
||||
|
||||
var app = builder.Build();
|
||||
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
|
||||
|
||||
builder.TryAddStellaOpsLocalBinding("airgap-time");
|
||||
var app = builder.Build();
|
||||
app.LogStellaOpsLocalHostname("airgap-time");
|
||||
|
||||
app.UseStellaOpsCors();
|
||||
app.MapControllers();
|
||||
app.MapHealthChecks("/healthz/ready");
|
||||
|
||||
|
||||
@@ -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:62505;http://localhost:62506"
|
||||
"applicationUrl": "https://localhost:10330;http://localhost:10331"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user