bb5ca85a88
CI / checks (pull_request) Successful in 26m49s
API Gateway v2 is a separate AWS API from REST APIs, so HTTP and WebSocket APIs made with the SDK, SAM, CDK or Terraform never showed up. The API Gateway page now lists all three kinds with a Type column, creates each from the same form, and opens HTTP and WebSocket APIs in their own panel: - Quick create: an HTTP API with a Lambda gets a catch-all route on an auto-deployed $default stage, plus the Lambda permission. - Routes to Lambda (payload 2.0) or HTTP backends; deleting a route removes the integration and Lambda permission only it used. - Stages with or without automatic deployment, and deploy on demand. - JWT authorizers filled in from a Cognito pool's OpenID Connect discovery document and an app client, or from any issuer; protect routes with them. - CORS configuration. - A tester that sends a real request to a stage, and for WebSocket APIs one that connects, sends a message and collects the replies. Capabilities are advertised under a new httpApiActions group, covered by the cloudProxy guard test. Verified end to end against TheCloud's runtime.
66 lines
2.6 KiB
JSON
66 lines
2.6 KiB
JSON
{
|
|
"name": "@floci/api",
|
|
"description": "Floci UI backend — translates the console's REST/JSON requests into cloud SDK calls against Floci runtimes.",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "bun run --watch src/index.ts",
|
|
"start": "bun run src/index.ts",
|
|
"type-check": "tsc --noEmit",
|
|
"test": "FLOCI_UI_ADMIN_USER=admin FLOCI_UI_ADMIN_PASSWORD_HASH='$argon2id$v=19$m=65536,t=2,p=1$I5n/tqYyZO0S+4z++KcAlpAJVu442Ivi7KxPl2CXoO4$mRSyN9R5ACFosgnfnd6S5ePoKrz2XBfVf4DTfG7T6LQ' FLOCI_UI_SESSION_SECRET=01234567890123456789012345678901 FLOCI_UI_SECURE_COOKIES=false bun test"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-api-gateway": "^3.1076.0",
|
|
"@aws-sdk/client-apigatewayv2": "^3.1076.0",
|
|
"@aws-sdk/client-appconfig": "^3.1076.0",
|
|
"@aws-sdk/client-cloudformation": "^3.1111.0",
|
|
"@aws-sdk/client-cloudfront": "^3.1146.0",
|
|
"@aws-sdk/client-cloudwatch": "^3.1076.0",
|
|
"@aws-sdk/client-cloudwatch-logs": "^3.1096.0",
|
|
"@aws-sdk/client-codebuild": "^3.1076.0",
|
|
"@aws-sdk/client-codedeploy": "^3.1144.0",
|
|
"@aws-sdk/client-codepipeline": "^3.1076.0",
|
|
"@aws-sdk/client-cognito-identity-provider": "^3.1146.0",
|
|
"@aws-sdk/client-dynamodb": "^3.1088.0",
|
|
"@aws-sdk/client-ec2": "^3.1076.0",
|
|
"@aws-sdk/client-ecr": "^3.1076.0",
|
|
"@aws-sdk/client-ecs": "^3.1076.0",
|
|
"@aws-sdk/client-eks": "^3.1076.0",
|
|
"@aws-sdk/client-elastic-load-balancing-v2": "^3.1096.0",
|
|
"@aws-sdk/client-elasticache": "^3.1146.0",
|
|
"@aws-sdk/client-eventbridge": "^3.1076.0",
|
|
"@aws-sdk/client-iam": "^3.1076.0",
|
|
"@aws-sdk/client-kafka": "^3.1146.0",
|
|
"@aws-sdk/client-kafkaconnect": "^3.1146.0",
|
|
"@aws-sdk/client-kinesis": "^3.1076.0",
|
|
"@aws-sdk/client-kms": "^3.1096.0",
|
|
"@aws-sdk/client-lambda": "^3.1076.0",
|
|
"@aws-sdk/client-lightsail": "^3.1076.0",
|
|
"@aws-sdk/client-rds": "^3.1076.0",
|
|
"@aws-sdk/client-rds-data": "^3.1076.0",
|
|
"@aws-sdk/client-route-53": "^3.1146.0",
|
|
"@aws-sdk/client-s3": "^3.1076.0",
|
|
"@aws-sdk/client-secrets-manager": "^3.1076.0",
|
|
"@aws-sdk/client-sesv2": "^3.1076.0",
|
|
"@aws-sdk/client-sfn": "^3.1096.0",
|
|
"@aws-sdk/client-sns": "^3.1140.0",
|
|
"@aws-sdk/client-sqs": "^3.1076.0",
|
|
"@aws-sdk/client-ssm": "^3.1096.0",
|
|
"@aws-sdk/util-dynamodb": "^3.996.7",
|
|
"dotenv": "^17.4.2",
|
|
"hono": "^4.12.27",
|
|
"jose": "^6.2.12",
|
|
"kafkajs": "^2.2.4",
|
|
"mssql": "^12.7.0",
|
|
"pg": "^8.22.0",
|
|
"redis": "^6.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "^1.3.2",
|
|
"@types/mssql": "^12.3.0",
|
|
"@types/node": "^26.1.2",
|
|
"@types/pg": "^8.20.0",
|
|
"typescript": "^6.0.3"
|
|
}
|
|
}
|