Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -9,15 +9,29 @@ const productionEnv = {
|
||||
WEB_APP_HOST: "app.example.com",
|
||||
ADMIN_APP_HOST: "admin.example.com",
|
||||
API_HOST: "api.example.com",
|
||||
PORTAL_APP_HOST: "portal.example.com",
|
||||
WEB_RUNTIME_SURFACE: "core",
|
||||
APP_REVISION: "0123456789abcdef0123456789abcdef01234567",
|
||||
// Production secret-strength hardening (packages/config/src/web.ts) requires
|
||||
// >= 32 chars and SESSION_SECRET != CRYPTO_SECRET in production. These are
|
||||
// length-valid, distinct test placeholders so the URL helpers can load config.
|
||||
SESSION_SECRET: "session-secret-value-0123456789abcdef",
|
||||
AUDIT_CHAIN_SECRET: "audit-chain-secret-value-0123456789abcdef",
|
||||
CRYPTO_SECRET: "crypto-secret-value-fedcba9876543210",
|
||||
ADMIN_CONNECTION_MASTER_KEY:
|
||||
"admin-connection-key-value-0123456789abcdef",
|
||||
API_ACCESS_TOKEN: "api-access-token-value-0123456789abcdef",
|
||||
JWT_SECRET: "jwt-secret-value-0123456789abcdef0123",
|
||||
MCP_RESOURCE_URL: "https://mcp.example.com",
|
||||
MCP_AUTHORIZATION_SERVER_URL: "https://app.example.com",
|
||||
WEB_PUSH_VAPID_PUBLIC_KEY: "web-push-public-key-prod",
|
||||
STORAGE_ENDPOINT: "https://storage.example.test",
|
||||
STORAGE_REGION: "eu-central-1",
|
||||
STORAGE_BUCKET: "private-exports",
|
||||
STORAGE_ACCESS_KEY_ID: "storage-access-key",
|
||||
STORAGE_SECRET_ACCESS_KEY: "storage-secret-key",
|
||||
GDPR_EXPORT_SSE_C_KEY_BASE64: "BwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwc=",
|
||||
REDIS_URL: "rediss://core-redis.example.test:6380/2",
|
||||
};
|
||||
|
||||
const testEnv = {
|
||||
@@ -69,7 +83,9 @@ describe("url.server", () => {
|
||||
test("uses webhook override from injected env", () => {
|
||||
const request = new Request("https://app.example.com/dashboard");
|
||||
|
||||
expect(getWebhooksUrl(request, { env: { ...productionEnv, WEBHOOKS_URL: "https://hooks.example.com/webhooks" } })).toBe("https://hooks.example.com/webhooks");
|
||||
expect(getWebhooksUrl(request, { env: { ...productionEnv, WEBHOOKS_URL: "https://hooks.example.com/webhooks" } })).toBe(
|
||||
"https://hooks.example.com/webhooks"
|
||||
);
|
||||
});
|
||||
|
||||
test("generates absolute versioned API URLs from routing config", () => {
|
||||
|
||||
Reference in new issue
Block a user