@rsdk/core 4.0.0-next.0 → 4.0.0-next.2
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/CHANGELOG.md +8 -0
- package/dist/app-metadata/app-metadata.module.js +2 -1
- package/dist/app-metadata/app-metadata.module.js.map +1 -1
- package/dist/app-metadata/exceptions/app-name-validation.exception.js +2 -1
- package/dist/app-metadata/exceptions/app-name-validation.exception.js.map +1 -1
- package/dist/config/config-reload.indicator.js +2 -1
- package/dist/config/config-reload.indicator.js.map +1 -1
- package/dist/config/config.module.js +0 -5
- package/dist/config/config.module.js.map +1 -1
- package/dist/config/exceptions/app-name-strategy-validation.exception.js +2 -1
- package/dist/config/exceptions/app-name-strategy-validation.exception.js.map +1 -1
- package/dist/config/exceptions/config-not-bootstrapped.exception.js +2 -1
- package/dist/config/exceptions/config-not-bootstrapped.exception.js.map +1 -1
- package/dist/config/metadata/exceptions/duplicate-property.exception.js +2 -1
- package/dist/config/metadata/exceptions/duplicate-property.exception.js.map +1 -1
- package/dist/config/metadata/exceptions/duplicate-section.exception.js +2 -1
- package/dist/config/metadata/exceptions/duplicate-section.exception.js.map +1 -1
- package/dist/config/metadata/exceptions/duplicate-source.exception.js +2 -1
- package/dist/config/metadata/exceptions/duplicate-source.exception.js.map +1 -1
- package/dist/config/sources/exceptions/config-source-di.exception.js +2 -1
- package/dist/config/sources/exceptions/config-source-di.exception.js.map +1 -1
- package/dist/config/sources/implementations/json-file.source.js +2 -1
- package/dist/config/sources/implementations/json-file.source.js.map +1 -1
- package/dist/config/sources/implementations/relodable-json-file.source.js +2 -1
- package/dist/config/sources/implementations/relodable-json-file.source.js.map +1 -1
- package/dist/context.aggregator.js.map +1 -1
- package/dist/exceptions/implementations/bootstrap/double-init.exception.js +2 -1
- package/dist/exceptions/implementations/bootstrap/double-init.exception.js.map +1 -1
- package/dist/exceptions/implementations/bootstrap/duplicate-protocol.exception.js +2 -1
- package/dist/exceptions/implementations/bootstrap/duplicate-protocol.exception.js.map +1 -1
- package/dist/exceptions/implementations/bootstrap/no-http.exception.js +2 -1
- package/dist/exceptions/implementations/bootstrap/no-http.exception.js.map +1 -1
- package/dist/exceptions/implementations/bootstrap/no-init.exception.js +2 -1
- package/dist/exceptions/implementations/bootstrap/no-init.exception.js.map +1 -1
- package/dist/exceptions/implementations/bootstrap/no-matching-transport.exception.js +2 -1
- package/dist/exceptions/implementations/bootstrap/no-matching-transport.exception.js.map +1 -1
- package/dist/exceptions/implementations/bootstrap/sequence.exception.js +2 -1
- package/dist/exceptions/implementations/bootstrap/sequence.exception.js.map +1 -1
- package/dist/exceptions/implementations/bootstrap/symbol-key-decoration.exception.js +2 -1
- package/dist/exceptions/implementations/bootstrap/symbol-key-decoration.exception.js.map +1 -1
- package/dist/exceptions/implementations/bootstrap/unknown-bootstrap.exception.js +2 -1
- package/dist/exceptions/implementations/bootstrap/unknown-bootstrap.exception.js.map +1 -1
- package/dist/exceptions/implementations/pipeline/authentication.exception.js +2 -1
- package/dist/exceptions/implementations/pipeline/authentication.exception.js.map +1 -1
- package/dist/exceptions/implementations/pipeline/conflict.exception.js +2 -1
- package/dist/exceptions/implementations/pipeline/conflict.exception.js.map +1 -1
- package/dist/exceptions/implementations/pipeline/duplicate-entity.exception.js +2 -1
- package/dist/exceptions/implementations/pipeline/duplicate-entity.exception.js.map +1 -1
- package/dist/exceptions/implementations/pipeline/input.exception.js +2 -1
- package/dist/exceptions/implementations/pipeline/input.exception.js.map +1 -1
- package/dist/exceptions/implementations/pipeline/internal.exception.js +2 -1
- package/dist/exceptions/implementations/pipeline/internal.exception.js.map +1 -1
- package/dist/exceptions/implementations/pipeline/not-allowed.exception.js +2 -1
- package/dist/exceptions/implementations/pipeline/not-allowed.exception.js.map +1 -1
- package/dist/exceptions/implementations/pipeline/not-found.exception.js +2 -1
- package/dist/exceptions/implementations/pipeline/not-found.exception.js.map +1 -1
- package/dist/exceptions/implementations/pipeline/timeout.exception.js +2 -1
- package/dist/exceptions/implementations/pipeline/timeout.exception.js.map +1 -1
- package/dist/exceptions.handling/global-exceptions.config.js +2 -1
- package/dist/exceptions.handling/global-exceptions.config.js.map +1 -1
- package/dist/exceptions.handling/global-exceptions.filter.js +4 -4
- package/dist/exceptions.handling/global-exceptions.filter.js.map +1 -1
- package/dist/exceptions.handling/global-exceptions.module.js +2 -1
- package/dist/exceptions.handling/global-exceptions.module.js.map +1 -1
- package/dist/health/exceptions/health-check.exception.js +2 -1
- package/dist/health/exceptions/health-check.exception.js.map +1 -1
- package/dist/health/health.module.js +2 -1
- package/dist/health/health.module.js.map +1 -1
- package/dist/health/health.service.js +4 -4
- package/dist/health/health.service.js.map +1 -1
- package/dist/logging/logging.config.js +4 -2
- package/dist/logging/logging.config.js.map +1 -1
- package/dist/logging/logging.module.js +2 -1
- package/dist/logging/logging.module.js.map +1 -1
- package/dist/metrics/metrics.config.js +2 -1
- package/dist/metrics/metrics.config.js.map +1 -1
- package/dist/metrics/metrics.module.js +2 -1
- package/dist/metrics/metrics.module.js.map +1 -1
- package/dist/platform.module.js +2 -1
- package/dist/platform.module.js.map +1 -1
- package/dist/tracing/services/instrumentation.service.js +4 -4
- package/dist/tracing/services/instrumentation.service.js.map +1 -1
- package/dist/tracing/services/metadata.scanner.js +2 -1
- package/dist/tracing/services/metadata.scanner.js.map +1 -1
- package/dist/tracing/tracing.config.js +2 -1
- package/dist/tracing/tracing.config.js.map +1 -1
- package/dist/tracing/tracing.module.js +3 -2
- package/dist/tracing/tracing.module.js.map +1 -1
- package/package.json +11 -11
- package/src/config/config.module.ts +0 -6
- package/src/context.aggregator.ts +2 -3
- package/src/logging/logging.config.ts +2 -1
|
@@ -28,9 +28,8 @@ export class ContextAggregator {
|
|
|
28
28
|
const platformRoot = PlatformModule.forRoot(
|
|
29
29
|
this.platformContext.extendedOptions,
|
|
30
30
|
);
|
|
31
|
-
const rsdkMetadataGlobalModule =
|
|
32
|
-
platformRoot
|
|
33
|
-
);
|
|
31
|
+
const rsdkMetadataGlobalModule =
|
|
32
|
+
await RsdkMetadataGlobalModule.raw(platformRoot);
|
|
34
33
|
const rsdkMetadataProvider = await RsdkMetadataProvider.create([
|
|
35
34
|
rsdkMetadataGlobalModule,
|
|
36
35
|
platformRoot,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { LogLevel } from '@rsdk/logging';
|
|
2
|
+
import { DEFAULT_LEVEL } from '@rsdk/logging/dist/defaults';
|
|
2
3
|
|
|
3
4
|
import {
|
|
4
5
|
ArrayParser,
|
|
@@ -17,7 +18,7 @@ import { ConfigTag } from '../config/config.const';
|
|
|
17
18
|
export class LoggingConfig extends Config {
|
|
18
19
|
@Property('LOG_LEVEL', new EnumParser(LogLevel), {
|
|
19
20
|
// TODO: Can pass anything instead of enum value. Need to handle this!
|
|
20
|
-
defaultValue:
|
|
21
|
+
defaultValue: DEFAULT_LEVEL,
|
|
21
22
|
description: 'Log level',
|
|
22
23
|
})
|
|
23
24
|
readonly level!: LogLevel;
|