@futdevpro/nts-dynamo 1.15.155 → 1.15.157
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/README.md +10 -10
- package/__documentations/2026-08-22-bfr-ctm-018-content-free-endpoint-errors.md +54 -0
- package/__documentations/2026-08-22-bfr-ctm-020-content-free-request-telemetry.md +65 -0
- package/__documentations/2026-08-22-content-free-process-error-boundary.md +21 -1
- package/build/_models/control-models/endpoint-params.control-model.d.ts +6 -0
- package/build/_models/control-models/endpoint-params.control-model.d.ts.map +1 -1
- package/build/_models/control-models/endpoint-params.control-model.js +71 -146
- package/build/_models/control-models/endpoint-params.control-model.js.map +1 -1
- package/build/_models/interfaces/request-telemetry-settings.interface.d.ts +10 -0
- package/build/_models/interfaces/request-telemetry-settings.interface.d.ts.map +1 -0
- package/build/_models/interfaces/request-telemetry-settings.interface.js +3 -0
- package/build/_models/interfaces/request-telemetry-settings.interface.js.map +1 -0
- package/build/_models/interfaces/request-telemetry-snapshot.interface.d.ts +29 -0
- package/build/_models/interfaces/request-telemetry-snapshot.interface.d.ts.map +1 -0
- package/build/_models/interfaces/request-telemetry-snapshot.interface.js +3 -0
- package/build/_models/interfaces/request-telemetry-snapshot.interface.js.map +1 -0
- package/build/_modules/server/safe-diagnostic/safe-diagnostic-stage.type-enum.d.ts +1 -0
- package/build/_modules/server/safe-diagnostic/safe-diagnostic-stage.type-enum.d.ts.map +1 -1
- package/build/_modules/server/safe-diagnostic/safe-diagnostic-stage.type-enum.js +1 -0
- package/build/_modules/server/safe-diagnostic/safe-diagnostic-stage.type-enum.js.map +1 -1
- package/build/_services/core/request-telemetry.control-service.d.ts +51 -0
- package/build/_services/core/request-telemetry.control-service.d.ts.map +1 -0
- package/build/_services/core/request-telemetry.control-service.js +286 -0
- package/build/_services/core/request-telemetry.control-service.js.map +1 -0
- package/build/_services/route/routing-module.service.d.ts.map +1 -1
- package/build/_services/route/routing-module.service.js +13 -10
- package/build/_services/route/routing-module.service.js.map +1 -1
- package/build/_services/server/app.server.d.ts +5 -0
- package/build/_services/server/app.server.d.ts.map +1 -1
- package/build/_services/server/app.server.js +13 -0
- package/build/_services/server/app.server.js.map +1 -1
- package/build/index.d.ts +3 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js +3 -0
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/src/_models/control-models/endpoint-params.control-model.spec.ts +87 -2
- package/src/_models/control-models/endpoint-params.control-model.ts +93 -182
- package/src/_models/interfaces/request-telemetry-settings.interface.ts +9 -0
- package/src/_models/interfaces/request-telemetry-snapshot.interface.ts +30 -0
- package/src/_modules/server/safe-diagnostic/safe-diagnostic-stage.type-enum.ts +1 -0
- package/src/_services/core/request-telemetry.control-service.spec.ts +217 -0
- package/src/_services/core/request-telemetry.control-service.ts +381 -0
- package/src/_services/route/routing-module.service.ts +27 -18
- package/src/_services/server/app.server.ts +29 -9
- package/src/_services/shared.static-service.spec.ts +57 -57
- package/src/_services/shared.static-service.ts +48 -48
- package/src/index.ts +5 -2
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ Dynamo-NTS simplifies complex system definitions by abstracting common backend i
|
|
|
28
28
|
- **Axios Usage**: HTTP client requests to external APIs are standardized through `DyNTS_ApiService` with `DyNTS_ApiCall_Params` configuration (simplifies Axios request setup, error handling, and response management)
|
|
29
29
|
- **Discord.js / Slack / Teams Bot Development**: Platform-agnostic bot framework through `DyNTS_Bot_MessagingProvider_ServiceBase` and bot modules (simplifies Discord.js, Slack, and Teams bot development with unified interfaces)
|
|
30
30
|
- **OpenAI / AI Provider Integration**: AI/LLM operations including chat, embeddings, and vector search are abstracted through `DyNTS_AI_Provider_ServiceBase` and provider implementations (simplifies OpenAI SDK usage and enables multi-provider architecture)
|
|
31
|
-
- **Location Tracking**: Optional, local-only IP geolocation through `geoip-lite`; addresses are not sent to an external service or written to logs by Dynamo-NTS
|
|
31
|
+
- **Location Tracking**: Optional, local-only IP geolocation through `geoip-lite`; addresses are not sent to an external service or written to logs by Dynamo-NTS
|
|
32
32
|
|
|
33
33
|
This parameterization approach eliminates boilerplate code and provides a consistent, type-safe interface for all backend operations. Instead of learning multiple library APIs and their configuration patterns, developers work with unified Dynamo-NTS parameter objects that handle the underlying complexity.
|
|
34
34
|
|
|
@@ -98,13 +98,13 @@ These dependencies are only required when using specific modules:
|
|
|
98
98
|
|
|
99
99
|
- **Socket Module**: `socket.io` - Real-time communication (simplified through Dynamo-NTS socket services)
|
|
100
100
|
- **Email Service**: `nodemailer` - Email sending (simplified through Dynamo-NTS email services)
|
|
101
|
-
- **Usage Module**: `geoip-lite` and `@types/geoip-lite` - optional, local-only IP geolocation. The provider is loaded only when a lookup is requested. Without it, lookup methods return `null` and the rest of Dynamo-NTS remains usable. The supported secure `geoip-lite` line requires Node.js 24 or newer.
|
|
102
|
-
- **Bot Module (Discord)**: `discord.js` - Discord bot development (simplified through Dynamo-NTS bot module)
|
|
103
|
-
- **AI Module (OpenAI)**: `openai` - OpenAI API integration (simplified through Dynamo-NTS AI module)
|
|
104
|
-
|
|
105
|
-
The GeoIP lookup itself does not transmit or log an address. Calling the Usage module can persist the
|
|
106
|
-
request address and derived location in the consumer's own data store. Consumers enabling that capability
|
|
107
|
-
must define the applicable lawful basis, user-facing transparency, access controls, retention and deletion.
|
|
101
|
+
- **Usage Module**: `geoip-lite` and `@types/geoip-lite` - optional, local-only IP geolocation. The provider is loaded only when a lookup is requested. Without it, lookup methods return `null` and the rest of Dynamo-NTS remains usable. The supported secure `geoip-lite` line requires Node.js 24 or newer.
|
|
102
|
+
- **Bot Module (Discord)**: `discord.js` - Discord bot development (simplified through Dynamo-NTS bot module)
|
|
103
|
+
- **AI Module (OpenAI)**: `openai` - OpenAI API integration (simplified through Dynamo-NTS AI module)
|
|
104
|
+
|
|
105
|
+
The GeoIP lookup itself does not transmit or log an address. Calling the Usage module can persist the
|
|
106
|
+
request address and derived location in the consumer's own data store. Consumers enabling that capability
|
|
107
|
+
must define the applicable lawful basis, user-facing transparency, access controls, retention and deletion.
|
|
108
108
|
|
|
109
109
|
Install module-specific dependencies as needed:
|
|
110
110
|
|
|
@@ -115,8 +115,8 @@ pnpm add socket.io
|
|
|
115
115
|
# For Email service
|
|
116
116
|
pnpm add nodemailer
|
|
117
117
|
|
|
118
|
-
# For Usage module
|
|
119
|
-
pnpm add geoip-lite@^2.0.3 @types/geoip-lite@^1.4.4
|
|
118
|
+
# For Usage module
|
|
119
|
+
pnpm add geoip-lite@^2.0.3 @types/geoip-lite@^1.4.4
|
|
120
120
|
|
|
121
121
|
# For Bot module (Discord)
|
|
122
122
|
pnpm add discord.js
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# BFR-CTM-018 — content-free endpoint error boundary
|
|
2
|
+
|
|
3
|
+
**Date:** 2026-08-22
|
|
4
|
+
**Status:** implemented and package-verified; consumer adoption is recorded by the requesting project
|
|
5
|
+
**Target:** `@futdevpro/nts-dynamo`
|
|
6
|
+
**Contract:** `dynts-safe-diagnostic/1`
|
|
7
|
+
|
|
8
|
+
## Measured defect
|
|
9
|
+
|
|
10
|
+
The shared `DyNTS_Endpoint_Params` error path constructed framework logs from route identity, path parameter
|
|
11
|
+
values, raw `Error.message`, stack location and a request snapshot. The snapshot included URL, query, request
|
|
12
|
+
metadata, header keys, IP address and an authorization-header shape. A plain error and a consumer global-handler
|
|
13
|
+
rejection were also passed directly to Dynamo loggers. The primary raw log was unconditional, so disabling
|
|
14
|
+
application API-error logging did not close the disclosure path.
|
|
15
|
+
|
|
16
|
+
The same execution function declared a second local `issuer` variable inside the request callback. It shadowed
|
|
17
|
+
the issuer captured by the error path, so a failing endpoint forwarded `undefined` rather than the resolved
|
|
18
|
+
account identity to the consumer global handler.
|
|
19
|
+
|
|
20
|
+
## Implemented Bedrock response
|
|
21
|
+
|
|
22
|
+
- Added the closed `endpoint` safe-diagnostic stage.
|
|
23
|
+
- Projected constructor, issuer-resolution, task/pre-process, consumer-handler, secondary-handler and circulation
|
|
24
|
+
failures through `DyNTS_SafeDiagnostic_ControlService`.
|
|
25
|
+
- Removed framework-owned raw message, stack, route, request and response-preview logging from endpoint failures.
|
|
26
|
+
- Removed mutation of caller errors with `endpointInfo` and `requestDebug` snapshots.
|
|
27
|
+
- Wrapped plain failures with a static internal message and the immutable safe diagnostic while retaining the
|
|
28
|
+
existing public endpoint error-code shape and validated HTTP status behavior.
|
|
29
|
+
- Sanitized and bounded developer-owned system and endpoint identifiers used in the compatibility error code.
|
|
30
|
+
- Preserved raw failure/request access only for the explicitly installed application global handler; a rejection
|
|
31
|
+
from that handler is itself projected before logging.
|
|
32
|
+
- Removed the issuer shadow so the resolved account identity reaches the application-owned error persistence
|
|
33
|
+
boundary.
|
|
34
|
+
|
|
35
|
+
Normal successful-request logging is outside this change. Its existing request-param, body and response fields
|
|
36
|
+
remain explicit caller-controlled options. This BFR makes the error path content-free regardless of those options
|
|
37
|
+
or detailed logging mode.
|
|
38
|
+
|
|
39
|
+
## Verification evidence
|
|
40
|
+
|
|
41
|
+
- TypeScript production build: passed.
|
|
42
|
+
- Focused BFR canary regression: 1/1 passed.
|
|
43
|
+
- Full Jasmine package regression: 1750 specs, 0 failures, 146 explicit pending specs.
|
|
44
|
+
- Package ESLint: 0 errors; the repository retains its pre-existing warning baseline.
|
|
45
|
+
- Canary matrix: raw error message, secondary handler stack/token, workbook/sheet value, URL, query, header,
|
|
46
|
+
authorization value and path parameter are absent from every captured Dynamo logger call and from the client
|
|
47
|
+
response. The 503 status, safe diagnostic and resolved issuer are asserted.
|
|
48
|
+
- Import validator baseline: 80 findings in 74 pre-existing files; the modified endpoint and safe-diagnostic files
|
|
49
|
+
introduce no import finding.
|
|
50
|
+
- Naming validator baseline: 100 findings in 67 pre-existing files. The endpoint class carries its existing public
|
|
51
|
+
naming findings; this compatible security fix does not rename that public API.
|
|
52
|
+
|
|
53
|
+
The validator baselines are reported as measured debt, not as green evidence. No unrelated mass rename or import
|
|
54
|
+
rewrite is bundled into this security BFR.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# BFR-CTM-020 — content-free request correlation and telemetry
|
|
2
|
+
|
|
3
|
+
**Date:** 2026-08-22
|
|
4
|
+
**Status:** implemented and package-verified; consumer adoption is recorded by the requesting project
|
|
5
|
+
**Target:** `@futdevpro/nts-dynamo`
|
|
6
|
+
**Contract:** `dynts-request-telemetry/1`
|
|
7
|
+
|
|
8
|
+
## Measured platform gap
|
|
9
|
+
|
|
10
|
+
`DyNTS_App` previously exposed only an application middleware hook after API routing. A consumer could not install
|
|
11
|
+
one correlation and request-metric boundary before load shedding and every open and secure route without
|
|
12
|
+
duplicating Bedrock server setup or depending on Express internals. This prevented a direct Dynamo implementation
|
|
13
|
+
of content-free, route-aware operational telemetry.
|
|
14
|
+
|
|
15
|
+
## Implemented Bedrock capability
|
|
16
|
+
|
|
17
|
+
- `DyNTS_App.getRequestTelemetrySettings()` opts the application into one immutable process-wide configuration.
|
|
18
|
+
- Both Express applications mount the telemetry middleware after CORS and the application-version header, but
|
|
19
|
+
before load shedding and API routes.
|
|
20
|
+
- Every request receives a server-generated UUID in `X-Correlation-Id`. Incoming correlation values are never
|
|
21
|
+
trusted or reused, and the response header is exposed through the existing CORS-header composition utility.
|
|
22
|
+
- `DyNTS_RoutingModule` labels a request only from its declared full route template before endpoint execution.
|
|
23
|
+
- `DyNTS_RequestTelemetry_ControlService.snapshot()` returns a synchronous copy of bounded, event-driven counters:
|
|
24
|
+
started, completed, aborted and in-flight requests; status classes; duration buckets; and per method/declared-route
|
|
25
|
+
counts, aborts, server errors, total duration and maximum duration.
|
|
26
|
+
- Response `finish` and `close` listeners settle exactly once and remove each other. Header, listener or completion
|
|
27
|
+
observation failures are contained and cannot change the application response path.
|
|
28
|
+
- Configuration is validated and idempotent. Conflicting configuration, invalid cardinality and invalid duration
|
|
29
|
+
buckets fail with stable content-free codes during application setup.
|
|
30
|
+
|
|
31
|
+
## Privacy and boundedness contract
|
|
32
|
+
|
|
33
|
+
The telemetry implementation never reads or retains concrete URL, query, request or response body, request header
|
|
34
|
+
values, IP address, user agent, account identity, workbook data, error content or stack information. Correlation IDs
|
|
35
|
+
are generated opaque identifiers and are not accepted from callers.
|
|
36
|
+
|
|
37
|
+
Route labels accept only the closed declared-template character set and a 160-character maximum. Invalid labels and
|
|
38
|
+
identities beyond the configured cardinality cap aggregate into `__other__`; requests that do not reach a Dynamo
|
|
39
|
+
route aggregate into `__unmatched__`. Methods use a fixed allowlist, duration buckets are strictly increasing and
|
|
40
|
+
bounded, and every numeric accumulator saturates at `Number.MAX_SAFE_INTEGER`. No timer, poller, background worker,
|
|
41
|
+
network exporter or persistence layer is started by this capability.
|
|
42
|
+
|
|
43
|
+
## Consumer adoption contract
|
|
44
|
+
|
|
45
|
+
A consumer enables the capability directly in its `DyNTS_App` subclass and reads the singleton snapshot directly
|
|
46
|
+
for its authenticated operator surface or synchronous diagnostic evidence. An application error boundary may call
|
|
47
|
+
`getCorrelationId(req)` while the request is active and persist that opaque identifier beside its own content-free
|
|
48
|
+
error record. Alert evaluation, retention and external export remain explicit consumer policies; Bedrock supplies
|
|
49
|
+
the safe measurement primitive and does not invent those policies.
|
|
50
|
+
|
|
51
|
+
## Verification evidence
|
|
52
|
+
|
|
53
|
+
- TypeScript build: passed.
|
|
54
|
+
- Focused BFR regression: 8/8 specs passed.
|
|
55
|
+
- Final full Jasmine regression: 1758 specs, 0 failures, 146 explicit pending specs.
|
|
56
|
+
- New telemetry source and specs: zero ESLint errors and zero warnings.
|
|
57
|
+
- Package ESLint baseline: zero errors and 17,600 pre-existing warnings in 376 files. The new telemetry files are
|
|
58
|
+
warning-free; the modified routing and app hosts retain their existing warning baseline.
|
|
59
|
+
- Import validator baseline: 80 findings in 74 pre-existing files; none is in a new telemetry file or caused by the
|
|
60
|
+
added imports.
|
|
61
|
+
- Naming validator baseline: 100 findings in 67 pre-existing files; none is in a new telemetry file.
|
|
62
|
+
- Canary coverage: generated correlation, caller-value rejection, CORS exposure, finish/close exactly-once behavior,
|
|
63
|
+
aborted requests, 5xx aggregation, declared-route identity, invalid-route redaction, cardinality overflow, disabled
|
|
64
|
+
no-op behavior, per-template method preservation, immutable configuration, invalid bounds, header setup containment
|
|
65
|
+
and late completion containment.
|
|
@@ -58,6 +58,25 @@ The default `DyNTS_GlobalService` handler also projects a raw failure before log
|
|
|
58
58
|
handler remains a consumer boundary; failures forwarded by `DyNTS_App` reach it as a content-free `DyFM_Error`.
|
|
59
59
|
If that handler throws or rejects, Dynamo-NTS projects the secondary failure rather than recursively logging it.
|
|
60
60
|
|
|
61
|
+
## Endpoint error integration
|
|
62
|
+
|
|
63
|
+
`DyNTS_Endpoint_Params` applies the same projection at every framework-owned endpoint failure boundary. The
|
|
64
|
+
primary task or pre-process failure, issuer-resolution failure, consumer global-handler rejection, secondary
|
|
65
|
+
error-handler failure and circulation-resolution failure are classified with stable uppercase codes and the
|
|
66
|
+
closed `endpoint` stage. Detailed logging mode does not bypass this projection.
|
|
67
|
+
|
|
68
|
+
The endpoint boundary does not append route values, path parameters, URL, query, request body, headers, auth
|
|
69
|
+
header shape, error message, stack or nested error content to logs or `additionalContent`. A plain native failure
|
|
70
|
+
is converted to a client-safe `DyFM_Error` with a static internal message, the established
|
|
71
|
+
`<SYSTEM>|DyNTS-EPP-<endpointName>` public code shape and the projected diagnostic. Developer-owned system and
|
|
72
|
+
endpoint code parts are bounded and reduced to the established identifier alphabet. Conventional numeric HTTP
|
|
73
|
+
status fields remain supported without inspecting message or stack.
|
|
74
|
+
|
|
75
|
+
The raw failure and request remain available to the explicitly installed consumer global handler because that
|
|
76
|
+
handler is the application-owned persistence boundary. If it rejects, the rejection is projected before any
|
|
77
|
+
framework log. The resolved issuer is now carried through the error path rather than being shadowed by a local
|
|
78
|
+
variable, so account-level attribution remains intact.
|
|
79
|
+
|
|
61
80
|
## Security and privacy properties
|
|
62
81
|
|
|
63
82
|
- The output is an exact allowlist rather than a denylist-based redaction attempt.
|
|
@@ -80,8 +99,9 @@ If that handler throws or rejects, Dynamo-NTS projects the secondary failure rat
|
|
|
80
99
|
| Bootstrap runtime test | Rejected construction is projected before logging/forwarding and terminates with exit code 1. |
|
|
81
100
|
| Default-handler runtime test | Raw input is projected before default global logging. |
|
|
82
101
|
| App-params test | A malformed credential-bearing MongoDB URI triggers a warning without exposing the URI. |
|
|
102
|
+
| Endpoint runtime test | Error, handler, token, workbook, URL, query, header and path canaries are absent from every endpoint log and client response. |
|
|
83
103
|
| Static source scan | No Dynamo-NTS App log call receives raw error, stack, promise, construct-error collection or DB URI. |
|
|
84
|
-
| Full package regression | Build
|
|
104
|
+
| Full package regression | Build and complete Jasmine suite remain green; validator findings are measured and reported, never hidden. |
|
|
85
105
|
|
|
86
106
|
## Consumer adoption requirement
|
|
87
107
|
|
|
@@ -115,6 +115,12 @@ export declare class DyNTS_Endpoint_Params<T_Result = unknown, I_Inputs extends
|
|
|
115
115
|
*/
|
|
116
116
|
private error;
|
|
117
117
|
private multiLevelError;
|
|
118
|
+
/** Resolves conventional HTTP status fields without inspecting raw error content. */
|
|
119
|
+
private static resolveErrorStatus;
|
|
120
|
+
/** Preserves the public error-code shape while excluding arbitrary endpoint-name characters. */
|
|
121
|
+
private getClientErrorCode;
|
|
122
|
+
/** Bounds developer-owned identifiers to the established error-code alphabet. */
|
|
123
|
+
private static sanitizeCodePart;
|
|
118
124
|
private getPathParamsLogContent;
|
|
119
125
|
}
|
|
120
126
|
//# sourceMappingURL=endpoint-params.control-model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint-params.control-model.d.ts","sourceRoot":"","sources":["../../../src/_models/control-models/endpoint-params.control-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,
|
|
1
|
+
{"version":3,"file":"endpoint-params.control-model.d.ts","sourceRoot":"","sources":["../../../src/_models/control-models/endpoint-params.control-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,Q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G,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;QAE1E;;WAEG;QACH,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB;;WAEG;QACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAC5B;;WAEG;QACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;QAC7B;;WAEG;QACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;QAC7B;;WAEG;QACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;KAClC;IAuDH;;;OAGG;YACW,MAAM;IA0BpB;;;OAGG;IACH,gBAAgB,IAAI,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,KAAK,OAAO,CAAC,IAAI,CAAC;IA4FlE;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,WAAW;IAkB1B;;;;OAIG;YACW,KAAK;IAgInB,OAAO,CAAC,eAAe;IAuDvB,qFAAqF;IACrF,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAiBjC,gGAAgG;IAChG,OAAO,CAAC,kBAAkB;IAU1B,iFAAiF;IACjF,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAU/B,OAAO,CAAC,uBAAuB;CAShC"}
|
|
@@ -4,6 +4,8 @@ exports.DyNTS_Endpoint_Params = void 0;
|
|
|
4
4
|
const fsm_dynamo_1 = require("@futdevpro/fsm-dynamo");
|
|
5
5
|
const global_settings_const_1 = require("../../_collections/global-settings.const");
|
|
6
6
|
const client_safe_error_util_1 = require("../../_collections/client-safe-error.util");
|
|
7
|
+
const safe_diagnostic_control_service_1 = require("../../_modules/server/safe-diagnostic/safe-diagnostic.control-service");
|
|
8
|
+
const safe_diagnostic_stage_type_enum_1 = require("../../_modules/server/safe-diagnostic/safe-diagnostic-stage.type-enum");
|
|
7
9
|
const global_service_1 = require("../../_services/core/global.service");
|
|
8
10
|
const request_hunter_service_1 = require("../../_services/core/request-hunter.service");
|
|
9
11
|
/**
|
|
@@ -86,10 +88,11 @@ class DyNTS_Endpoint_Params extends fsm_dynamo_1.DyFM_Endpoint_SettingsBase {
|
|
|
86
88
|
this.stackLocation = (0, fsm_dynamo_1.DyFM_getConstructionStackLocation)();
|
|
87
89
|
}
|
|
88
90
|
catch (error) {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
safe_diagnostic_control_service_1.DyNTS_SafeDiagnostic_ControlService.report({
|
|
92
|
+
code: 'DYNTS|ENDPOINT|CONSTRUCTION_FAILURE',
|
|
93
|
+
stage: safe_diagnostic_stage_type_enum_1.DyNTS_SafeDiagnosticStage_Type.endpoint,
|
|
94
|
+
error: error,
|
|
95
|
+
});
|
|
93
96
|
throw error;
|
|
94
97
|
}
|
|
95
98
|
}
|
|
@@ -132,12 +135,15 @@ class DyNTS_Endpoint_Params extends fsm_dynamo_1.DyFM_Endpoint_SettingsBase {
|
|
|
132
135
|
// jegyzes. Reszletes indoklas: `DyNTS_RequestHunter`.
|
|
133
136
|
const hunterId = request_hunter_service_1.DyNTS_RequestHunter.getInstance().begin(this.name);
|
|
134
137
|
try {
|
|
135
|
-
let issuer;
|
|
136
138
|
try {
|
|
137
139
|
issuer = global_service_1.DyNTS_GlobalService?.getAuthService()?.getIssuerFromRequest(req);
|
|
138
140
|
}
|
|
139
141
|
catch (error) {
|
|
140
|
-
|
|
142
|
+
safe_diagnostic_control_service_1.DyNTS_SafeDiagnostic_ControlService.report({
|
|
143
|
+
code: 'DYNTS|ENDPOINT|ISSUER_RESOLUTION_FAILURE',
|
|
144
|
+
stage: safe_diagnostic_stage_type_enum_1.DyNTS_SafeDiagnosticStage_Type.endpoint,
|
|
145
|
+
error: error,
|
|
146
|
+
});
|
|
141
147
|
issuer = 'unknown-issuer';
|
|
142
148
|
}
|
|
143
149
|
if (this.logRequest) {
|
|
@@ -190,7 +196,7 @@ class DyNTS_Endpoint_Params extends fsm_dynamo_1.DyFM_Endpoint_SettingsBase {
|
|
|
190
196
|
}
|
|
191
197
|
}
|
|
192
198
|
catch (error) {
|
|
193
|
-
this.error(req, res, error, issuer);
|
|
199
|
+
await this.error(req, res, error, issuer);
|
|
194
200
|
}
|
|
195
201
|
finally {
|
|
196
202
|
request_hunter_service_1.DyNTS_RequestHunter.getInstance().end(hunterId);
|
|
@@ -227,81 +233,23 @@ class DyNTS_Endpoint_Params extends fsm_dynamo_1.DyFM_Endpoint_SettingsBase {
|
|
|
227
233
|
*/
|
|
228
234
|
async error(req, res, error, issuer, autoSecondTry) {
|
|
229
235
|
try {
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
fsm_dynamo_1.DyFM_Log.testError(msg);
|
|
238
|
-
if (global_settings_const_1.DyNTS_global_settings.log_settings.highDetailedLogs ||
|
|
239
|
-
!(error instanceof fsm_dynamo_1.DyFM_Error)) {
|
|
240
|
-
fsm_dynamo_1.DyFM_Log.H_error(`Endpoint "${this.endpoint}" caught an error. (${this.name})`, '\n ERROR:', error);
|
|
241
|
-
}
|
|
242
|
-
else if (global_settings_const_1.DyNTS_global_settings.log_settings.api_errors) {
|
|
243
|
-
error.logSimple(`Endpoint "${this.endpoint}" caught an error. (${this.name})`);
|
|
244
|
-
}
|
|
245
|
-
if (error?.flag?.includes('DYNAMO')) {
|
|
246
|
-
if (!error.additionalContent) {
|
|
247
|
-
error.additionalContent = {};
|
|
248
|
-
}
|
|
249
|
-
error.additionalContent.endpointInfo = msg;
|
|
250
|
-
}
|
|
251
|
-
// FR-071 (2026-06-06) — rich debug-descriptive request-context.
|
|
252
|
-
// Per memory [[feedback_rich_error_handling]] minden errornak debug-level
|
|
253
|
-
// descriptive-nek kell lennie + persisted to errors table. Az endpoint-
|
|
254
|
-
// params catch-blokkjaban minden errorhoz csatoljuk a request snapshot-ot
|
|
255
|
-
// (URL, method, headers KULCSAI ertek nelkul, query, params, origin,
|
|
256
|
-
// user-agent), igy a TEST environment-en a kliens-oldali fejleszto a
|
|
257
|
-
// response-bol latja MI hianyzott a request-bol, NEM csak az error-code-ot.
|
|
258
|
-
// Header-VALUEK nem szivarognak ki — csak a kulcs-listat es az auth-header
|
|
259
|
-
// alakjat (length + first 7 chars hogy lassek "Bearer "-rel kezd-e).
|
|
236
|
+
const status = DyNTS_Endpoint_Params.resolveErrorStatus(error);
|
|
237
|
+
const diagnostic = safe_diagnostic_control_service_1.DyNTS_SafeDiagnostic_ControlService.report({
|
|
238
|
+
code: 'DYNTS|ENDPOINT|FAILURE',
|
|
239
|
+
stage: safe_diagnostic_stage_type_enum_1.DyNTS_SafeDiagnosticStage_Type.endpoint,
|
|
240
|
+
error: error,
|
|
241
|
+
status: status,
|
|
242
|
+
});
|
|
260
243
|
try {
|
|
261
|
-
|
|
262
|
-
const authHeader = req?.headers?.['authorization'];
|
|
263
|
-
const authHeaderShape = typeof authHeader === 'string'
|
|
264
|
-
? `present (len=${authHeader.length}, startsWith="${authHeader.substring(0, 7)}")`
|
|
265
|
-
: 'MISSING';
|
|
266
|
-
const requestSnapshot = {
|
|
267
|
-
url: req?.originalUrl ?? req?.url,
|
|
268
|
-
method: req?.method,
|
|
269
|
-
origin: req?.headers?.origin ?? null,
|
|
270
|
-
referer: req?.headers?.referer ?? null,
|
|
271
|
-
userAgent: req?.headers?.['user-agent'] ?? null,
|
|
272
|
-
hostHeader: req?.headers?.host ?? null,
|
|
273
|
-
headerKeyCount: headerKeys.length,
|
|
274
|
-
headerKeys: headerKeys.sort(),
|
|
275
|
-
hasAuthorizationKey: headerKeys.includes('authorization'),
|
|
276
|
-
authHeaderShape: authHeaderShape,
|
|
277
|
-
hasSecretKeyKey: headerKeys.includes('secret-key'),
|
|
278
|
-
hasAdminKeyKey: headerKeys.includes('x-admin-key'),
|
|
279
|
-
hasContentTypeKey: headerKeys.includes('content-type'),
|
|
280
|
-
params: req?.params,
|
|
281
|
-
query: req?.query,
|
|
282
|
-
remoteAddress: req?.ip ?? null,
|
|
283
|
-
};
|
|
284
|
-
if (error instanceof fsm_dynamo_1.DyFM_Error) {
|
|
285
|
-
if (!error.additionalContent) {
|
|
286
|
-
error.additionalContent = {};
|
|
287
|
-
}
|
|
288
|
-
error.additionalContent.requestDebug = requestSnapshot;
|
|
289
|
-
}
|
|
290
|
-
// Plusz: 1-soros debug log a server-side log-buffer-ben.
|
|
291
|
-
fsm_dynamo_1.DyFM_Log.warn(`[FR-071 req-debug] ${req?.method ?? '?'} ${req?.originalUrl ?? req?.url ?? '?'} ` +
|
|
292
|
-
`(endpoint=${this.name}, origin=${req?.headers?.origin ?? 'none'}, ` +
|
|
293
|
-
`auth=${headerKeys.includes('authorization') ? 'yes' : 'NO'}, ` +
|
|
294
|
-
`secretKey=${headerKeys.includes('secret-key') ? 'yes' : 'no'}, ` +
|
|
295
|
-
`adminKey=${headerKeys.includes('x-admin-key') ? 'yes' : 'no'}, ` +
|
|
296
|
-
`errorCode=${error?._errorCode ?? '(raw)'})`);
|
|
244
|
+
await global_service_1.DyNTS_GlobalService.globalErrorHandler?.(error, req, res, issuer);
|
|
297
245
|
}
|
|
298
|
-
catch
|
|
299
|
-
|
|
246
|
+
catch (handlerError) {
|
|
247
|
+
safe_diagnostic_control_service_1.DyNTS_SafeDiagnostic_ControlService.report({
|
|
248
|
+
code: 'DYNTS|ENDPOINT|GLOBAL_HANDLER_FAILURE',
|
|
249
|
+
stage: safe_diagnostic_stage_type_enum_1.DyNTS_SafeDiagnosticStage_Type.endpoint,
|
|
250
|
+
error: handlerError,
|
|
251
|
+
});
|
|
300
252
|
}
|
|
301
|
-
await global_service_1.DyNTS_GlobalService.globalErrorHandler?.(error, req, res, issuer).catch((err) => {
|
|
302
|
-
fsm_dynamo_1.DyFM_Log.warn('DyNTS_GlobalService.globalErrorHandler failed to handle error: ', err);
|
|
303
|
-
fsm_dynamo_1.DyFM_Log.warn('It will proceed as normal.');
|
|
304
|
-
});
|
|
305
253
|
// FR-067 (2026-06-06): non-DyFM_Error wrap.
|
|
306
254
|
// Korabban a plain Error / axios HTTP error nyersen ment kifele
|
|
307
255
|
// -> kliens "[object Object]"-et latott, nem volt _errorCode, nem volt
|
|
@@ -313,22 +261,12 @@ class DyNTS_Endpoint_Params extends fsm_dynamo_1.DyFM_Endpoint_SettingsBase {
|
|
|
313
261
|
// betesszuk a DyFM_Error `___status` mezojebe, igy a kovetkezo blokk
|
|
314
262
|
// mar konzekvensen olvasni tudja.
|
|
315
263
|
if (!(error instanceof fsm_dynamo_1.DyFM_Error)) {
|
|
316
|
-
const errAny = error;
|
|
317
|
-
const downstreamRaw = errAny?.statusCode ?? errAny?.status;
|
|
318
|
-
const downstreamStatus = typeof downstreamRaw === 'number'
|
|
319
|
-
? downstreamRaw
|
|
320
|
-
: (typeof downstreamRaw === 'string' && downstreamRaw !== '' && !isNaN(Number(downstreamRaw)))
|
|
321
|
-
? Number(downstreamRaw)
|
|
322
|
-
: undefined;
|
|
323
|
-
const wrapStatus = (downstreamStatus !== undefined &&
|
|
324
|
-
downstreamStatus >= 100 &&
|
|
325
|
-
downstreamStatus <= 599) ? downstreamStatus : 500;
|
|
326
264
|
error = new fsm_dynamo_1.DyFM_Error({
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
errorCode: `${global_settings_const_1.DyNTS_global_settings.systemShortCodeName}|DyNTS-EPP-${this.name ?? 'UNKNOWN'}`,
|
|
265
|
+
message: 'Unhandled endpoint failure.',
|
|
266
|
+
errorCode: this.getClientErrorCode(),
|
|
330
267
|
userMessage: 'An internal error occurred.\nPlease contact the responsible development team.',
|
|
331
|
-
|
|
268
|
+
additionalContent: { diagnostic: diagnostic },
|
|
269
|
+
status: status,
|
|
332
270
|
});
|
|
333
271
|
}
|
|
334
272
|
if (error instanceof fsm_dynamo_1.DyFM_Error) {
|
|
@@ -374,21 +312,7 @@ class DyNTS_Endpoint_Params extends fsm_dynamo_1.DyFM_Endpoint_SettingsBase {
|
|
|
374
312
|
// `___status`-en kívül a `statusCode` (Express convention) es `status`
|
|
375
313
|
// (axios / general HTTP) mezőket is. Igy a downstream HTTP-hivasok
|
|
376
314
|
// (pl. axios-bol jovo error) helyes HTTP-status-szal továbbítódnak.
|
|
377
|
-
|
|
378
|
-
const resolvedStatusRaw = error?.___status
|
|
379
|
-
?? errorAny?.statusCode
|
|
380
|
-
?? errorAny?.status;
|
|
381
|
-
const resolvedStatus = typeof resolvedStatusRaw === 'number'
|
|
382
|
-
? resolvedStatusRaw
|
|
383
|
-
: (typeof resolvedStatusRaw === 'string' && !isNaN(Number(resolvedStatusRaw)))
|
|
384
|
-
? Number(resolvedStatusRaw)
|
|
385
|
-
: null;
|
|
386
|
-
if (resolvedStatus !== null && resolvedStatus >= 100 && resolvedStatus <= 599) {
|
|
387
|
-
res.status(resolvedStatus);
|
|
388
|
-
}
|
|
389
|
-
else {
|
|
390
|
-
res.status(500);
|
|
391
|
-
}
|
|
315
|
+
res.status(DyNTS_Endpoint_Params.resolveErrorStatus(error));
|
|
392
316
|
// Kliens-safe strip ENV-FÜGGETLENÜL (BFR-FDPAUTHSERVICE-002): a korábbi prod-only blokk a
|
|
393
317
|
// test/dev környezetben TELJES DyFM-leaket hagyott (__localStack + ___systemVersion + issuer).
|
|
394
318
|
// A szabályok (mindig-strip / prod-only additionalContent / kliens-mezők megtartása) SSOT-ja
|
|
@@ -397,12 +321,8 @@ class DyNTS_Endpoint_Params extends fsm_dynamo_1.DyFM_Endpoint_SettingsBase {
|
|
|
397
321
|
const clientSafeError = client_safe_error_util_1.DyNTS_ClientSafeError_Util.toClientSafe(error);
|
|
398
322
|
res.send(clientSafeError);
|
|
399
323
|
if (this.logRequest) {
|
|
400
|
-
fsm_dynamo_1.DyFM_Log.error(
|
|
401
|
-
if (this.logResponseContent) {
|
|
402
|
-
fsm_dynamo_1.DyFM_Log.error(` error response: ${DyNTS_Endpoint_Params.previewBody(clientSafeError)}`);
|
|
403
|
-
}
|
|
324
|
+
fsm_dynamo_1.DyFM_Log.error('[DyNTS endpoint error response sent]', diagnostic);
|
|
404
325
|
}
|
|
405
|
-
fsm_dynamo_1.DyFM_Log.error('');
|
|
406
326
|
}
|
|
407
327
|
catch (errorLvl2) {
|
|
408
328
|
this.multiLevelError(errorLvl2, {
|
|
@@ -415,32 +335,11 @@ class DyNTS_Endpoint_Params extends fsm_dynamo_1.DyFM_Endpoint_SettingsBase {
|
|
|
415
335
|
}
|
|
416
336
|
}
|
|
417
337
|
multiLevelError(errorLvl2, errorInputs) {
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
`\nthisEndpointStackLocation: ${this.stackLocation}`;
|
|
424
|
-
if (errorLvl2 instanceof fsm_dynamo_1.DyFM_Error) {
|
|
425
|
-
errorLvl2.logSimple(msg);
|
|
426
|
-
}
|
|
427
|
-
else {
|
|
428
|
-
fsm_dynamo_1.DyFM_Log.H_error(msg, '\nERROR:', errorLvl2, '\n');
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
else {
|
|
432
|
-
const msg = `\n\nDYNAMO MULTILEVEL ERROR:DyNTS_Endpoint_Params: error: ` +
|
|
433
|
-
`(${this.name}, ${this.endpoint})` +
|
|
434
|
-
`\nthisEndpointStackLocation: ${this.stackLocation}` +
|
|
435
|
-
`\n(DYNAMO MULTILEVEL ERROR means, that the ERROR HANDLING is ALSO FAILED, ` +
|
|
436
|
-
`and the error message was not sent.)`;
|
|
437
|
-
if (errorLvl2 instanceof fsm_dynamo_1.DyFM_Error) {
|
|
438
|
-
errorLvl2.logSimple(msg);
|
|
439
|
-
}
|
|
440
|
-
else {
|
|
441
|
-
fsm_dynamo_1.DyFM_Log.H_error(msg, '\nERROR:', errorLvl2, '\n');
|
|
442
|
-
}
|
|
443
|
-
}
|
|
338
|
+
safe_diagnostic_control_service_1.DyNTS_SafeDiagnostic_ControlService.report({
|
|
339
|
+
code: 'DYNTS|ENDPOINT|ERROR_HANDLER_FAILURE',
|
|
340
|
+
stage: safe_diagnostic_stage_type_enum_1.DyNTS_SafeDiagnosticStage_Type.endpoint,
|
|
341
|
+
error: errorLvl2,
|
|
342
|
+
});
|
|
444
343
|
try {
|
|
445
344
|
JSON.stringify(errorInputs.error);
|
|
446
345
|
}
|
|
@@ -451,8 +350,11 @@ class DyNTS_Endpoint_Params extends fsm_dynamo_1.DyFM_Endpoint_SettingsBase {
|
|
|
451
350
|
resolvedError = fsm_dynamo_1.DyFM_Object.resolveCirculation(errorInputs.error);
|
|
452
351
|
}
|
|
453
352
|
catch (errorLvl3) {
|
|
454
|
-
|
|
455
|
-
|
|
353
|
+
safe_diagnostic_control_service_1.DyNTS_SafeDiagnostic_ControlService.report({
|
|
354
|
+
code: 'DYNTS|ENDPOINT|CIRCULATION_RESOLUTION_FAILURE',
|
|
355
|
+
stage: safe_diagnostic_stage_type_enum_1.DyNTS_SafeDiagnosticStage_Type.endpoint,
|
|
356
|
+
error: errorLvl3,
|
|
357
|
+
});
|
|
456
358
|
}
|
|
457
359
|
if (resolvedError) {
|
|
458
360
|
if (this.autoResolveCirculation && !errorInputs.autoSecondTry) {
|
|
@@ -465,13 +367,36 @@ class DyNTS_Endpoint_Params extends fsm_dynamo_1.DyFM_Endpoint_SettingsBase {
|
|
|
465
367
|
}
|
|
466
368
|
}
|
|
467
369
|
}
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
370
|
+
}
|
|
371
|
+
/** Resolves conventional HTTP status fields without inspecting raw error content. */
|
|
372
|
+
static resolveErrorStatus(error) {
|
|
373
|
+
try {
|
|
374
|
+
if (error === null || (typeof error !== 'object' && typeof error !== 'function')) {
|
|
375
|
+
return 500;
|
|
376
|
+
}
|
|
377
|
+
const statusRaw = Reflect.get(error, '___status')
|
|
378
|
+
?? Reflect.get(error, 'statusCode')
|
|
379
|
+
?? Reflect.get(error, 'status');
|
|
380
|
+
const status = typeof statusRaw === 'number' ? statusRaw : Number(statusRaw);
|
|
381
|
+
return Number.isInteger(status) && status >= 100 && status <= 599 ? status : 500;
|
|
382
|
+
}
|
|
383
|
+
catch {
|
|
384
|
+
return 500;
|
|
471
385
|
}
|
|
472
|
-
|
|
473
|
-
|
|
386
|
+
}
|
|
387
|
+
/** Preserves the public error-code shape while excluding arbitrary endpoint-name characters. */
|
|
388
|
+
getClientErrorCode() {
|
|
389
|
+
const systemCode = DyNTS_Endpoint_Params.sanitizeCodePart(global_settings_const_1.DyNTS_global_settings.systemShortCodeName, 'DYNTS');
|
|
390
|
+
const endpointCode = DyNTS_Endpoint_Params.sanitizeCodePart(this.name, 'UNKNOWN');
|
|
391
|
+
return `${systemCode}|DyNTS-EPP-${endpointCode}`;
|
|
392
|
+
}
|
|
393
|
+
/** Bounds developer-owned identifiers to the established error-code alphabet. */
|
|
394
|
+
static sanitizeCodePart(value, fallback) {
|
|
395
|
+
if (typeof value !== 'string') {
|
|
396
|
+
return fallback;
|
|
474
397
|
}
|
|
398
|
+
const sanitized = value.replace(/[^A-Za-z0-9_-]/g, '_').slice(0, 64);
|
|
399
|
+
return sanitized || fallback;
|
|
475
400
|
}
|
|
476
401
|
getPathParamsLogContent(req) {
|
|
477
402
|
let params = '';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint-params.control-model.js","sourceRoot":"","sources":["../../../src/_models/control-models/endpoint-params.control-model.ts"],"names":[],"mappings":";;;AAEA,sDAI+B;AAE/B,oFAAiF;AACjF,sFAAuF;AAEvF,wEAA0E;AAC1E,wFAAkF;AAElF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,qBAIX,SAAQ,uCAAsD;IAC9D,mBAAmB;IACnB,QAAQ,CAAsB;IAE9B;wBACoB;IAEpB;iCAC6B;IAEZ,UAAU,CAAW;IAErB,YAAY,GAAuD,EAAE,CAAC;IACtE,KAAK,CAAsE;IAE3E,UAAU,CAAU;IACpB,iBAAiB,CAAU;IAC3B,kBAAkB,CAAU;IAC5B,kBAAkB,CAAU;IACpC,aAAa,CAAS;I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GAAW,EAAE,CAAC;QAExB,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,KAAa,EAAQ,EAAE;YAC9C,MAAM,IAAI,KAAK,KAAK,KAAK,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;QAC/C,CAAC,CAAC,CAAC;QAEH,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AAzmBD,sDAymBC"}
|
|
1
|
+
{"version":3,"file":"endpoint-params.control-model.js","sourceRoot":"","sources":["../../../src/_models/control-models/endpoint-params.control-model.ts"],"names":[],"mappings":";;;AAEA,sDAG+B;AAE/B,oFAAiF;AACjF,sFAAuF;AAEvF,2HAE+E;AAC/E,2HAE+E;AAE/E,wEAA0E;AAC1E,wFAAkF;AAElF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,qBAIX,SAAQ,uCAAsD;IAC9D,mBAAmB;IACnB,QAAQ,CAAsB;IAE9B;wBACoB;IAEpB;iCAC6B;IAEZ,UAAU,CAAW;IAErB,YAAY,GAAuD,EAAE,CAAC;IACtE,KAAK,CAAsE;IAE3E,UAAU,CAAU;IACpB,iBAAiB,CAAU;IAC3B,kBAAkB,CAAU;IAC5B,kBAAkB,CAAU;IACpC,aAAa,CAAS;IACd,sBAAsB,CAAU;IAEjD,YACE,GAuDC;QAED,IAAI,CAAC;YACH,KAAK,CAAC,GAAG,CAAC,CAAC;YAEX,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,QAAQ,CAAC;YACrC,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,IAAI,6CAAqB,CAAC,oBAAoB,CAAC;YAE3E,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;YACrB,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;YAE7B,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC,UAAU,IAAI,6CAAqB,CAAC,YAAY,CAAC,O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;QAED,MAAM,SAAS,GAAW,KAAK,CAAC,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QAE7E,OAAO,SAAS,IAAI,QAAQ,CAAC;IAC/B,CAAC;IAEO,uBAAuB,CAAC,GAAY;QAC1C,IAAI,MAAM,GAAW,EAAE,CAAC;QAExB,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,KAAa,EAAQ,EAAE;YAC9C,MAAM,IAAI,KAAK,KAAK,KAAK,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;QAC/C,CAAC,CAAC,CAAC;QAEH,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AA1gBD,sDA0gBC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Opt-in, content-free request telemetry settings for one Dynamo application. */
|
|
2
|
+
export interface DyNTS_RequestTelemetry_Settings {
|
|
3
|
+
/** Enables correlation headers and event-driven aggregate metrics. Default: false. */
|
|
4
|
+
enabled?: boolean;
|
|
5
|
+
/** Maximum distinct declared route templates retained before overflow aggregation. Default: 128. */
|
|
6
|
+
maxRouteCardinality?: number;
|
|
7
|
+
/** Inclusive duration bucket upper bounds in milliseconds. Default: 25, 100, 250, 1000, 5000. */
|
|
8
|
+
durationBucketUpperBoundsMs?: number[];
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=request-telemetry-settings.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-telemetry-settings.interface.d.ts","sourceRoot":"","sources":["../../../src/_models/interfaces/request-telemetry-settings.interface.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,MAAM,WAAW,+BAA+B;IAC9C,sFAAsF;IACtF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oGAAoG;IACpG,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,iGAAiG;IACjG,2BAA2B,CAAC,EAAE,MAAM,EAAE,CAAC;CACxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-telemetry-settings.interface.js","sourceRoot":"","sources":["../../../src/_models/interfaces/request-telemetry-settings.interface.ts"],"names":[],"mappings":""}
|