@ericminassian/platform-core 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +1847 -212
- package/dist/api.js +694 -1
- package/dist/api.js.map +1 -1
- package/dist/auth.d.ts +19 -0
- package/dist/auth.js +32 -0
- package/dist/auth.js.map +1 -1
- package/dist/base64url.d.ts +3 -0
- package/dist/base64url.js +15 -0
- package/dist/base64url.js.map +1 -0
- package/dist/bindings.d.ts +69 -13
- package/dist/bindings.js +1 -1
- package/dist/bindings.js.map +1 -1
- package/dist/cloudfront-function.d.ts +5 -1
- package/dist/cloudfront-function.js +70 -2
- package/dist/cloudfront-function.js.map +1 -1
- package/dist/compute.d.ts +52 -0
- package/dist/compute.js +65 -0
- package/dist/compute.js.map +1 -0
- package/dist/config.d.ts +21 -1
- package/dist/config.js +16 -0
- package/dist/config.js.map +1 -1
- package/dist/constants.d.ts +67 -1
- package/dist/constants.js +56 -1
- package/dist/constants.js.map +1 -1
- package/dist/email.d.ts +84 -0
- package/dist/email.js +111 -0
- package/dist/email.js.map +1 -0
- package/dist/fingerprint.d.ts +9 -0
- package/dist/fingerprint.js +19 -0
- package/dist/fingerprint.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/jobs.d.ts +111 -0
- package/dist/jobs.js +214 -0
- package/dist/jobs.js.map +1 -0
- package/dist/manifest.d.ts +357 -112
- package/dist/manifest.js +270 -72
- package/dist/manifest.js.map +1 -1
- package/dist/naming.d.ts +93 -6
- package/dist/naming.js +98 -6
- package/dist/naming.js.map +1 -1
- package/dist/platform-api.d.ts +7792 -0
- package/dist/platform-api.js +455 -0
- package/dist/platform-api.js.map +1 -0
- package/dist/realtime.d.ts +139 -0
- package/dist/realtime.js +201 -0
- package/dist/realtime.js.map +1 -0
- package/dist/router/decide.d.ts +7 -1
- package/dist/router/decide.js +42 -5
- package/dist/router.d.ts +35 -13
- package/dist/router.js +36 -0
- package/dist/router.js.map +1 -1
- package/dist/runtime-config.d.ts +57 -0
- package/dist/runtime-config.js +12 -0
- package/dist/runtime-config.js.map +1 -1
- package/dist/storage.d.ts +55 -0
- package/dist/storage.js +112 -0
- package/dist/storage.js.map +1 -0
- package/dist/telemetry.d.ts +350 -83
- package/dist/telemetry.js +188 -15
- package/dist/telemetry.js.map +1 -1
- package/dist/web-compute.d.ts +191 -0
- package/dist/web-compute.js +257 -0
- package/dist/web-compute.js.map +1 -0
- package/package.json +28 -8
- package/src/api.ts +864 -238
- package/src/auth.ts +37 -0
- package/src/base64url.ts +13 -0
- package/src/bindings.ts +74 -7
- package/src/cloudfront-function.ts +70 -2
- package/src/compute.ts +86 -0
- package/src/config.ts +34 -2
- package/src/constants.ts +76 -1
- package/src/email.ts +168 -0
- package/src/fingerprint.ts +20 -0
- package/src/index.ts +6 -0
- package/src/jobs.ts +281 -0
- package/src/manifest.ts +542 -114
- package/src/naming.ts +103 -8
- package/src/platform-api.ts +630 -0
- package/src/realtime.ts +298 -0
- package/src/router/decide.d.ts +7 -1
- package/src/router/decide.js +42 -5
- package/src/router.ts +33 -13
- package/src/runtime-config.ts +70 -0
- package/src/storage.ts +120 -0
- package/src/telemetry.ts +198 -93
- package/src/web-compute.ts +342 -0
package/dist/naming.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PROD_STAGE } from './constants.js';
|
|
2
|
-
import { fingerprint } from './
|
|
2
|
+
import { fingerprint } from './fingerprint.js';
|
|
3
|
+
import { PUBLIC_STORAGE_ROOT } from './storage.js';
|
|
3
4
|
/**
|
|
4
5
|
* App names: 3-30 chars, lowercase letters/digits/single hyphens, starting with
|
|
5
6
|
* a letter. `--` is reserved as the app/stage separator in hostnames and
|
|
@@ -84,25 +85,84 @@ export function parseStageHost(host, domain) {
|
|
|
84
85
|
export const names = {
|
|
85
86
|
base: (app, stage) => `${app}--${stage}`,
|
|
86
87
|
table: (app, stage) => `${app}--${stage}`,
|
|
88
|
+
/** The server's Lambda Web Function (instance mode). */
|
|
87
89
|
webFunction: (app, stage) => `${app}--${stage}`,
|
|
88
|
-
|
|
90
|
+
/**
|
|
91
|
+
* The server's Lambda function in request mode. Not a worker function,
|
|
92
|
+
* though it shares their `<app>--<stage>--` prefix: a handler's own
|
|
93
|
+
* function is `…--worker--…`, or a cut of that ending in `-<hash>`.
|
|
94
|
+
*/
|
|
95
|
+
requestFunction: (app, stage) => `${app}--${stage}--web`,
|
|
96
|
+
/**
|
|
97
|
+
* The Web Function's two endpoints, and the request-mode function's two
|
|
98
|
+
* aliases (each with a function URL), each pinned to one revision or
|
|
99
|
+
* version. Neither name means "current": a deploy uses whichever the live
|
|
100
|
+
* route doesn't (`live` predates the second one).
|
|
101
|
+
*/
|
|
102
|
+
webEndpoints: () => ['live', 'live-b'],
|
|
89
103
|
workerFunction: (app, stage) => `${app}--${stage}--worker`,
|
|
104
|
+
/**
|
|
105
|
+
* The function a queue, event or cron handler with its own memory or timeout
|
|
106
|
+
* runs in, from the worker's bundle. Function names are ≤ 64 chars of
|
|
107
|
+
* A-Z, a-z, 0-9, `-` and `_`: long names are hashed, and an event type's
|
|
108
|
+
* `.` becomes `_` (which no event type contains). `:` has no such stand-in,
|
|
109
|
+
* so a type with one always carries a hash of the type.
|
|
110
|
+
*/
|
|
111
|
+
handlerFunction: (app, stage, kind, name) => {
|
|
112
|
+
const full = `${app}--${stage}--worker--${kind}-${name}`;
|
|
113
|
+
const safe = full.replaceAll('.', '_').replaceAll(':', '_');
|
|
114
|
+
return name.includes(':') ? `${safe.slice(0, 55)}-${fingerprint([full])}` : fit(safe, 64);
|
|
115
|
+
},
|
|
90
116
|
/** IAM role name; created under {@link IAM_APP_PATH}. */
|
|
91
117
|
role: (app, stage) => `${app}--${stage}`,
|
|
92
|
-
|
|
93
|
-
|
|
118
|
+
/**
|
|
119
|
+
* The stage's dead-letter queue (SQS, never polled): every job that failed
|
|
120
|
+
* its last attempt. Queue keys can't contain `--` and the old dead-letter
|
|
121
|
+
* queues end in `--dlq`, so this can't be a pre-0.4.0 queue's name.
|
|
122
|
+
*/
|
|
123
|
+
deadLetters: (app, stage) => `${app}--${stage}--jobs--dead`,
|
|
124
|
+
/** The SQS queue `plat dev` points the stage's event rules at, to run events in the local worker. */
|
|
125
|
+
devEventTap: (app, stage) => `${app}--${stage}--plat-dev-events`,
|
|
126
|
+
/** A queue's SQS queue and its dead-letter queue, before queues were pushed (0.4.0). */
|
|
127
|
+
legacyQueue: (app, stage, key) => `${app}--${stage}--${key}`,
|
|
128
|
+
legacyDeadLetterQueue: (app, stage, key) => `${app}--${stage}--${key}--dlq`,
|
|
94
129
|
eventBus: (app, stage) => `${app}--${stage}`,
|
|
95
130
|
/** EventBridge rule names are ≤ 64 chars; long event types are hashed. */
|
|
96
131
|
eventRule: (app, stage, eventType) => fit(`${app}--${stage}--${eventType.replace(/[^A-Za-z0-9._-]/g, '_')}`, 64),
|
|
97
132
|
scheduleGroup: (app, stage) => `${app}--${stage}`,
|
|
98
133
|
schedule: (cronKey) => cronKey,
|
|
134
|
+
/**
|
|
135
|
+
* A long-running service's ECS service and task definition family (ECS
|
|
136
|
+
* names are their own namespace, so `worker` can't clash with the Lambda).
|
|
137
|
+
*/
|
|
138
|
+
service: (app, stage, key) => `${app}--${stage}--${key}`,
|
|
139
|
+
serviceLogGroup: (app, stage, key) => `/platform/apps/${app}/${stage}/services/${key}`,
|
|
140
|
+
/** Tag of a service's image for one deployment in the container repository (≤ 103 of ECR's 128 chars). */
|
|
141
|
+
serviceImageTag: (app, stage, key, deploymentId) => `${app}--${stage}--${key}--${deploymentId}`,
|
|
142
|
+
/**
|
|
143
|
+
* One-shot schedule, in the stage's schedule group, that stops a preview's
|
|
144
|
+
* service. Cron keys can't contain `--`, so it never clashes with a cron.
|
|
145
|
+
*/
|
|
146
|
+
serviceStopSchedule: (key) => `${key}--stop`,
|
|
99
147
|
userPoolClient: (app, stage) => `${app}--${stage}`,
|
|
148
|
+
/** SES tenant and its configuration set (≤ 64 chars each; the base is ≤ 52). */
|
|
149
|
+
emailTenant: (app, stage) => `${app}--${stage}`,
|
|
150
|
+
/** AppSync Events channel namespace; names are ≤ 50 chars, so long ones are hashed. */
|
|
151
|
+
realtimeNamespace: (app, stage) => fit(`${app}--${stage}`, 50),
|
|
152
|
+
/**
|
|
153
|
+
* A stage's log groups. Lambda also writes a Web Function's environments to
|
|
154
|
+
* `<web group>.local`, so the engine creates that one too.
|
|
155
|
+
*/
|
|
100
156
|
logGroup: (app, stage, component) => `/platform/apps/${app}/${stage}/${component}`,
|
|
101
157
|
logGroupPrefix: (app, stage) => stage ? `/platform/apps/${app}/${stage}/` : `/platform/apps/${app}/`,
|
|
102
158
|
secretsPath: (app, stage) => `/platform/apps/${app}/${stage}/secrets/`,
|
|
103
159
|
sharedSecretsPath: (app) => `/platform/apps/${app}/_shared/secrets/`,
|
|
104
|
-
/**
|
|
105
|
-
|
|
160
|
+
/** SSM SecureString holding the stage key (see `Bindings.stageKey`); outside the secrets path. */
|
|
161
|
+
stageKeyParameter: (app, stage) => `/platform/apps/${app}/${stage}/stage-key`,
|
|
162
|
+
/** A private store's prefix in the shared storage bucket: `<app>/<stage>/<store>/`. */
|
|
163
|
+
storagePrefix: (app, stage, store) => store ? `${app}/${stage}/${store}/` : `${app}/${stage}/`,
|
|
164
|
+
/** A public store's prefix in the shared storage bucket: `_public/<app>/<stage>/<store>/` (see `storage.ts`). */
|
|
165
|
+
publicStoragePrefix: (app, stage, store) => `${PUBLIC_STORAGE_ROOT}${names.storagePrefix(app, stage, store)}`,
|
|
106
166
|
/** Prefix inside the shared sites bucket for one deployment's static files. */
|
|
107
167
|
sitePrefix: (app, stage, deploymentId) => `${app}/${stage}/${deploymentId}`,
|
|
108
168
|
artifactKey: (app, stage, deploymentId, file) => `${app}/${stage}/${deploymentId}/${file}`,
|
|
@@ -120,9 +180,41 @@ export const platformNames = {
|
|
|
120
180
|
routerFunction: 'platform-router',
|
|
121
181
|
userPool: 'platform-users',
|
|
122
182
|
boundaryPolicy: 'platform-app-boundary',
|
|
183
|
+
/** The AppSync Event API every stage's channel namespace lives in. */
|
|
184
|
+
realtimeApi: 'platform-realtime',
|
|
185
|
+
/** Its Lambda authorizer (signed-in subscribe tokens). */
|
|
186
|
+
realtimeAuthorizer: 'platform-realtime-authorizer',
|
|
187
|
+
/** ECS cluster every stage's containers run in (long-running services). */
|
|
188
|
+
containerCluster: 'platform',
|
|
189
|
+
/** VPC and security group containers run in: public subnets, no NAT, egress only. */
|
|
190
|
+
containerNetwork: 'platform-containers',
|
|
191
|
+
/** ECR repository of every container image the platform builds; tags name app, stage and deployment. */
|
|
192
|
+
containerRepository: 'platform-containers',
|
|
193
|
+
/** Role ECS uses to pull images and ship container logs (the app's code runs as its stage role). */
|
|
194
|
+
containerExecutionRole: 'platform-container-execution',
|
|
195
|
+
/** Role EventBridge Scheduler uses to scale containers (a preview's stop schedule). */
|
|
196
|
+
containerSchedulerRole: 'platform-container-scheduler',
|
|
197
|
+
/** Description of the API's subscribe-only key for `public` stages (how the control plane finds it). */
|
|
198
|
+
realtimePublicKey: 'platform-public-subscribe',
|
|
199
|
+
/** The control plane's own app name (services/control-plane/plat.config.ts), stage prod. */
|
|
200
|
+
controlPlaneApp: 'platform',
|
|
123
201
|
controlPlaneRole: 'platform-control-plane',
|
|
124
202
|
ciRole: 'platform-ci',
|
|
125
203
|
alertsTopic: 'platform-alerts',
|
|
204
|
+
/**
|
|
205
|
+
* The edge floor's AWS WAF web ACL, which the control plane creates and attaches to the router
|
|
206
|
+
* while the floor is on; also its CloudWatch metric name. Not `platform-edge`, the always-on web
|
|
207
|
+
* ACL the foundation stack used to own: the stack deletes that one only after updating the
|
|
208
|
+
* distribution, so the two names can't collide while it goes.
|
|
209
|
+
*/
|
|
210
|
+
edgeWebAcl: 'platform-edge-floor',
|
|
211
|
+
/** Its rate-based rule, and that rule's metric name. */
|
|
212
|
+
edgeFloorRule: 'requests-per-client',
|
|
213
|
+
/**
|
|
214
|
+
* The CloudWatch alarm on the router's requests per minute (`limits.edgeFloorAt`) that turns the
|
|
215
|
+
* floor on, and the EventBridge rule that tells the control plane when it goes off.
|
|
216
|
+
*/
|
|
217
|
+
edgeFloorAlarm: 'platform-edge-floor',
|
|
126
218
|
runtimeConfigParameter: '/platform/config/runtime',
|
|
127
219
|
sessionKeyParameter: '/platform/config/session-key',
|
|
128
220
|
githubAppParameterPrefix: '/platform/config/github-app/',
|
package/dist/naming.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"naming.js","sourceRoot":"","sources":["../src/naming.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"naming.js","sourceRoot":"","sources":["../src/naming.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,0CAA0C,CAAC;AAE3E,kFAAkF;AAClF,MAAM,CAAC,MAAM,kBAAkB,GAAG,0CAA0C,CAAC;AAE7E,+EAA+E;AAC/E,MAAM,CAAC,MAAM,oBAAoB,GAAG,6CAA6C,CAAC;AAElF,wEAAwE;AACxE,MAAM,CAAC,MAAM,kBAAkB,GAAG,iCAAiC,CAAC;AAEpE,8CAA8C;AAC9C,MAAM,CAAC,MAAM,gBAAgB,GAAG,wBAAwB,CAAC;AAEzD,2DAA2D;AAC3D,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,UAAU;IACV,MAAM;IACN,OAAO;IACP,MAAM;IACN,KAAK;IACL,KAAK;IACL,MAAM;IACN,OAAO;IACP,SAAS;IACT,QAAQ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