stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -27,3 +27,8 @@
|
||||
- Unit tests for manifest validation and hash determinism.
|
||||
- Integration tests for WebService endpoints and token flows.
|
||||
- Replay tests verifying identical inputs yield identical outputs.
|
||||
|
||||
## Service Endpoints
|
||||
- Development: https://localhost:10410, http://localhost:10411
|
||||
- Local alias: https://replay.stella-ops.local, http://replay.stella-ops.local
|
||||
- Env var: STELLAOPS_REPLAY_URL
|
||||
|
||||
@@ -95,7 +95,11 @@ builder.Services.AddAuthorization(options =>
|
||||
});
|
||||
});
|
||||
|
||||
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
|
||||
|
||||
builder.TryAddStellaOpsLocalBinding("replay");
|
||||
var app = builder.Build();
|
||||
app.LogStellaOpsLocalHostname("replay");
|
||||
|
||||
app.UseSerilogRequestLogging();
|
||||
app.UseExceptionHandler(exceptionApp =>
|
||||
@@ -116,6 +120,7 @@ app.UseExceptionHandler(exceptionApp =>
|
||||
});
|
||||
});
|
||||
|
||||
app.UseStellaOpsCors();
|
||||
app.UseAuthentication();
|
||||
app.UseAuthorization();
|
||||
|
||||
@@ -473,9 +478,9 @@ public class ReplayServiceOptions
|
||||
|
||||
public class AuthorityConfig
|
||||
{
|
||||
public string Issuer { get; set; } = "https://auth.stellaops.local";
|
||||
public string Issuer { get; set; } = "https://authority.stella-ops.local";
|
||||
public bool RequireHttpsMetadata { get; set; } = true;
|
||||
public string MetadataAddress { get; set; } = "https://auth.stellaops.local/.well-known/openid-configuration";
|
||||
public List<string> Audiences { get; set; } = new() { "stellaops-api" };
|
||||
public string MetadataAddress { get; set; } = "https://authority.stella-ops.local/.well-known/openid-configuration";
|
||||
public List<string> Audiences { get; set; } = new() { "stella-ops-api" };
|
||||
public List<string> RequiredScopes { get; set; } = new() { "vuln.operate" };
|
||||
}
|
||||
|
||||
@@ -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:62536;http://localhost:62538"
|
||||
"applicationUrl": "https://localhost:10410;http://localhost:10411"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user