@webda/core 4.0.0-beta.2 → 4.0.0-beta.3
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 +252 -0
- package/lib/application/application.d.ts +437 -0
- package/lib/application/application.d.ts.map +1 -0
- package/lib/application/application.js +792 -0
- package/lib/application/application.js.map +1 -0
- package/lib/application/hooks.d.ts +34 -0
- package/lib/application/hooks.d.ts.map +1 -0
- package/lib/application/hooks.js +57 -0
- package/lib/application/hooks.js.map +1 -0
- package/lib/application/iapplication.d.ts +43 -0
- package/lib/application/iapplication.d.ts.map +1 -0
- package/lib/application/iapplication.js +2 -0
- package/lib/application/iapplication.js.map +1 -0
- package/lib/application/iconfiguration.d.ts +176 -0
- package/lib/application/iconfiguration.d.ts.map +1 -0
- package/lib/application/iconfiguration.js +8 -0
- package/lib/application/iconfiguration.js.map +1 -0
- package/lib/application/runner.d.ts +8 -0
- package/lib/application/runner.d.ts.map +1 -0
- package/lib/application/runner.js +26 -0
- package/lib/application/runner.js.map +1 -0
- package/lib/{unpackedapplication.d.ts → application/unpackedapplication.d.ts} +43 -23
- package/lib/application/unpackedapplication.d.ts.map +1 -0
- package/lib/application/unpackedapplication.js +492 -0
- package/lib/application/unpackedapplication.js.map +1 -0
- package/lib/bin/cli-phase.d.ts +28 -0
- package/lib/bin/cli-phase.d.ts.map +1 -0
- package/lib/bin/cli-phase.js +44 -0
- package/lib/bin/cli-phase.js.map +1 -0
- package/lib/bin/cli.d.ts +161 -0
- package/lib/bin/cli.d.ts.map +1 -0
- package/lib/bin/cli.js +828 -0
- package/lib/bin/cli.js.map +1 -0
- package/lib/bin/launcher.d.ts +3 -0
- package/lib/bin/launcher.d.ts.map +1 -0
- package/lib/bin/launcher.js +50 -0
- package/lib/bin/launcher.js.map +1 -0
- package/lib/cache/cache.d.ts +33 -0
- package/lib/cache/cache.d.ts.map +1 -0
- package/lib/cache/cache.js +8 -0
- package/lib/cache/cache.js.map +1 -0
- package/lib/{services/configuration.d.ts → configurations/configuration.service.d.ts} +58 -58
- package/lib/configurations/configuration.service.d.ts.map +1 -0
- package/lib/configurations/configuration.service.js +248 -0
- package/lib/configurations/configuration.service.js.map +1 -0
- package/lib/configurations/fileconfiguration.service.d.ts +30 -0
- package/lib/configurations/fileconfiguration.service.d.ts.map +1 -0
- package/lib/configurations/fileconfiguration.service.js +65 -0
- package/lib/configurations/fileconfiguration.service.js.map +1 -0
- package/lib/configurations/kubernetesconfiguration.service.d.ts +43 -0
- package/lib/configurations/kubernetesconfiguration.service.d.ts.map +1 -0
- package/lib/configurations/kubernetesconfiguration.service.js +83 -0
- package/lib/configurations/kubernetesconfiguration.service.js.map +1 -0
- package/lib/contexts/execution.d.ts +33 -0
- package/lib/contexts/execution.d.ts.map +1 -0
- package/lib/contexts/execution.js +73 -0
- package/lib/contexts/execution.js.map +1 -0
- package/lib/contexts/globalcontext.d.ts +29 -0
- package/lib/contexts/globalcontext.d.ts.map +1 -0
- package/lib/contexts/globalcontext.js +38 -0
- package/lib/contexts/globalcontext.js.map +1 -0
- package/lib/{utils → contexts}/httpcontext.d.ts +44 -19
- package/lib/contexts/httpcontext.d.ts.map +1 -0
- package/lib/{utils → contexts}/httpcontext.js +95 -27
- package/lib/contexts/httpcontext.js.map +1 -0
- package/lib/contexts/icontext.d.ts +236 -0
- package/lib/contexts/icontext.d.ts.map +1 -0
- package/lib/contexts/icontext.js +230 -0
- package/lib/contexts/icontext.js.map +1 -0
- package/lib/contexts/operationcontext.d.ts +179 -0
- package/lib/contexts/operationcontext.d.ts.map +1 -0
- package/lib/contexts/operationcontext.js +358 -0
- package/lib/contexts/operationcontext.js.map +1 -0
- package/lib/contexts/simplecontext.d.ts +31 -0
- package/lib/contexts/simplecontext.d.ts.map +1 -0
- package/lib/contexts/simplecontext.js +45 -0
- package/lib/contexts/simplecontext.js.map +1 -0
- package/lib/contexts/webcontext.d.ts +218 -0
- package/lib/contexts/webcontext.d.ts.map +1 -0
- package/lib/contexts/webcontext.js +389 -0
- package/lib/contexts/webcontext.js.map +1 -0
- package/lib/core/authorizer.d.ts +23 -0
- package/lib/core/authorizer.d.ts.map +1 -0
- package/lib/core/authorizer.js +17 -0
- package/lib/core/authorizer.js.map +1 -0
- package/lib/core/core.d.ts +225 -0
- package/lib/core/core.d.ts.map +1 -0
- package/lib/core/core.js +576 -0
- package/lib/core/core.js.map +1 -0
- package/lib/core/hooks.d.ts +72 -0
- package/lib/core/hooks.d.ts.map +1 -0
- package/lib/core/hooks.js +73 -0
- package/lib/core/hooks.js.map +1 -0
- package/lib/core/icore.d.ts +249 -0
- package/lib/core/icore.d.ts.map +1 -0
- package/lib/core/icore.js +15 -0
- package/lib/core/icore.js.map +1 -0
- package/lib/core/instancestorage.d.ts +61 -0
- package/lib/core/instancestorage.d.ts.map +1 -0
- package/lib/core/instancestorage.js +75 -0
- package/lib/core/instancestorage.js.map +1 -0
- package/lib/core/operations.d.ts +181 -0
- package/lib/core/operations.d.ts.map +1 -0
- package/lib/core/operations.js +559 -0
- package/lib/core/operations.js.map +1 -0
- package/lib/errors/errors.d.ts +126 -0
- package/lib/errors/errors.d.ts.map +1 -0
- package/lib/errors/errors.js +165 -0
- package/lib/errors/errors.js.map +1 -0
- package/lib/events/asynceventemitter.d.ts +159 -0
- package/lib/events/asynceventemitter.d.ts.map +1 -0
- package/lib/events/asynceventemitter.js +152 -0
- package/lib/events/asynceventemitter.js.map +1 -0
- package/lib/events/events.d.ts +112 -0
- package/lib/events/events.d.ts.map +1 -0
- package/lib/events/events.js +45 -0
- package/lib/events/events.js.map +1 -0
- package/lib/index.d.ts +82 -53
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +81 -62
- package/lib/index.js.map +1 -1
- package/lib/loggers/console.service.d.ts +24 -0
- package/lib/loggers/console.service.d.ts.map +1 -0
- package/lib/loggers/console.service.js +30 -0
- package/lib/loggers/console.service.js.map +1 -0
- package/lib/loggers/file.service.d.ts +25 -0
- package/lib/loggers/file.service.d.ts.map +1 -0
- package/lib/loggers/file.service.js +33 -0
- package/lib/loggers/file.service.js.map +1 -0
- package/lib/loggers/hooks.d.ts +20 -0
- package/lib/loggers/hooks.d.ts.map +1 -0
- package/lib/loggers/hooks.js +40 -0
- package/lib/loggers/hooks.js.map +1 -0
- package/lib/loggers/ilogger.d.ts +76 -0
- package/lib/loggers/ilogger.d.ts.map +1 -0
- package/lib/loggers/ilogger.js +108 -0
- package/lib/loggers/ilogger.js.map +1 -0
- package/lib/loggers/logger.d.ts +13 -0
- package/lib/loggers/logger.d.ts.map +1 -0
- package/lib/loggers/logger.js +18 -0
- package/lib/loggers/logger.js.map +1 -0
- package/lib/loggers/memory.service.d.ts +18 -0
- package/lib/loggers/memory.service.d.ts.map +1 -0
- package/lib/loggers/memory.service.js +21 -0
- package/lib/loggers/memory.service.js.map +1 -0
- package/lib/loggers/params.d.ts +47 -0
- package/lib/loggers/params.d.ts.map +1 -0
- package/lib/loggers/params.js +56 -0
- package/lib/loggers/params.js.map +1 -0
- package/lib/metrics/metrics.d.ts +25 -0
- package/lib/metrics/metrics.d.ts.map +1 -0
- package/lib/metrics/metrics.js +51 -0
- package/lib/metrics/metrics.js.map +1 -0
- package/lib/models/aclmodel.d.ts +20 -76
- package/lib/models/aclmodel.d.ts.map +1 -1
- package/lib/models/aclmodel.js +27 -203
- package/lib/models/aclmodel.js.map +1 -1
- package/lib/models/coremodel.model.d.ts +5 -0
- package/lib/models/coremodel.model.d.ts.map +1 -0
- package/lib/models/coremodel.model.js +5 -0
- package/lib/models/coremodel.model.js.map +1 -0
- package/lib/models/decorator.d.ts +63 -0
- package/lib/models/decorator.d.ts.map +1 -0
- package/lib/models/decorator.js +63 -0
- package/lib/models/decorator.js.map +1 -0
- package/lib/models/deployment.d.ts +1 -1
- package/lib/models/deployment.d.ts.map +1 -1
- package/lib/models/ident.model.d.ts +89 -0
- package/lib/models/ident.model.d.ts.map +1 -0
- package/lib/models/ident.model.js +115 -0
- package/lib/models/ident.model.js.map +1 -0
- package/lib/models/ownermodel.model.d.ts +68 -0
- package/lib/models/ownermodel.model.d.ts.map +1 -0
- package/lib/models/ownermodel.model.js +112 -0
- package/lib/models/ownermodel.model.js.map +1 -0
- package/lib/models/registry.model.d.ts +76 -0
- package/lib/models/registry.model.d.ts.map +1 -0
- package/lib/models/registry.model.js +104 -0
- package/lib/models/registry.model.js.map +1 -0
- package/lib/models/rolemodel.model.d.ts +28 -0
- package/lib/models/rolemodel.model.d.ts.map +1 -0
- package/lib/models/{rolemodel.js → rolemodel.model.js} +23 -5
- package/lib/models/rolemodel.model.js.map +1 -0
- package/lib/models/simpleuser.model.d.ts +78 -0
- package/lib/models/simpleuser.model.d.ts.map +1 -0
- package/lib/models/simpleuser.model.js +123 -0
- package/lib/models/simpleuser.model.js.map +1 -0
- package/lib/models/types.d.ts +113 -0
- package/lib/models/types.d.ts.map +1 -0
- package/lib/models/types.js +2 -0
- package/lib/models/types.js.map +1 -0
- package/lib/models/user.model.d.ts +103 -0
- package/lib/models/user.model.d.ts.map +1 -0
- package/lib/models/user.model.js +125 -0
- package/lib/models/user.model.js.map +1 -0
- package/lib/queues/{memoryqueue.d.ts → memoryqueue.service.d.ts} +26 -13
- package/lib/queues/memoryqueue.service.d.ts.map +1 -0
- package/lib/queues/{memoryqueue.js → memoryqueue.service.js} +55 -31
- package/lib/queues/memoryqueue.service.js.map +1 -0
- package/lib/queues/pubsubservice.d.ts +8 -6
- package/lib/queues/pubsubservice.d.ts.map +1 -1
- package/lib/queues/pubsubservice.js +5 -4
- package/lib/queues/pubsubservice.js.map +1 -1
- package/lib/queues/queueservice.d.ts +9 -11
- package/lib/queues/queueservice.d.ts.map +1 -1
- package/lib/queues/queueservice.js +41 -13
- package/lib/queues/queueservice.js.map +1 -1
- package/lib/rest/hooks.d.ts +8 -0
- package/lib/rest/hooks.d.ts.map +1 -0
- package/lib/rest/hooks.js +10 -0
- package/lib/rest/hooks.js.map +1 -0
- package/lib/rest/irest.d.ts +212 -0
- package/lib/rest/irest.d.ts.map +1 -0
- package/lib/rest/irest.js +39 -0
- package/lib/rest/irest.js.map +1 -0
- package/lib/rest/originfilter.d.ts +38 -0
- package/lib/rest/originfilter.d.ts.map +1 -0
- package/lib/rest/originfilter.js +61 -0
- package/lib/rest/originfilter.js.map +1 -0
- package/lib/rest/restoperationstransport.service.d.ts +193 -0
- package/lib/rest/restoperationstransport.service.d.ts.map +1 -0
- package/lib/rest/restoperationstransport.service.js +780 -0
- package/lib/rest/restoperationstransport.service.js.map +1 -0
- package/lib/rest/router.service.d.ts +244 -0
- package/lib/rest/router.service.d.ts.map +1 -0
- package/lib/rest/router.service.js +843 -0
- package/lib/rest/router.service.js.map +1 -0
- package/lib/schemas/hooks.d.ts +48 -0
- package/lib/schemas/hooks.d.ts.map +1 -0
- package/lib/schemas/hooks.js +152 -0
- package/lib/schemas/hooks.js.map +1 -0
- package/lib/services/audit.model.d.ts +208 -0
- package/lib/services/audit.model.d.ts.map +1 -0
- package/lib/services/audit.model.js +431 -0
- package/lib/services/audit.model.js.map +1 -0
- package/lib/services/{authentication.d.ts → authentication.service.d.ts} +140 -59
- package/lib/services/authentication.service.d.ts.map +1 -0
- package/lib/services/authentication.service.js +932 -0
- package/lib/services/authentication.service.js.map +1 -0
- package/lib/services/binary.service.d.ts +808 -0
- package/lib/services/binary.service.d.ts.map +1 -0
- package/lib/services/binary.service.js +1365 -0
- package/lib/services/binary.service.js.map +1 -0
- package/lib/services/cloudbinary.d.ts +17 -12
- package/lib/services/cloudbinary.d.ts.map +1 -1
- package/lib/services/cloudbinary.js +23 -17
- package/lib/services/cloudbinary.js.map +1 -1
- package/lib/services/command.d.ts +118 -0
- package/lib/services/command.d.ts.map +1 -0
- package/lib/services/command.js +97 -0
- package/lib/services/command.js.map +1 -0
- package/lib/services/cron.service.d.ts +142 -0
- package/lib/services/cron.service.d.ts.map +1 -0
- package/lib/services/cron.service.js +291 -0
- package/lib/services/cron.service.js.map +1 -0
- package/lib/services/{cryptoservice.d.ts → cryptoservice.service.d.ts} +75 -141
- package/lib/services/cryptoservice.service.d.ts.map +1 -0
- package/lib/services/cryptoservice.service.js +527 -0
- package/lib/services/cryptoservice.service.js.map +1 -0
- package/lib/services/debugmailer.service.d.ts +49 -0
- package/lib/services/debugmailer.service.d.ts.map +1 -0
- package/lib/services/{debugmailer.js → debugmailer.service.js} +25 -10
- package/lib/services/debugmailer.service.js.map +1 -0
- package/lib/services/domainservice.service.d.ts +203 -0
- package/lib/services/domainservice.service.d.ts.map +1 -0
- package/lib/services/domainservice.service.js +600 -0
- package/lib/services/domainservice.service.js.map +1 -0
- package/lib/services/httpserver.service.d.ts +248 -0
- package/lib/services/httpserver.service.d.ts.map +1 -0
- package/lib/services/httpserver.service.js +673 -0
- package/lib/services/httpserver.service.js.map +1 -0
- package/lib/services/iauthentication.d.ts +9 -0
- package/lib/services/iauthentication.d.ts.map +1 -0
- package/lib/services/iauthentication.js +2 -0
- package/lib/services/iauthentication.js.map +1 -0
- package/lib/services/icryptoservice.d.ts +127 -0
- package/lib/services/icryptoservice.d.ts.map +1 -0
- package/lib/services/icryptoservice.js +68 -0
- package/lib/services/icryptoservice.js.map +1 -0
- package/lib/services/imailer.d.ts +17 -0
- package/lib/services/imailer.d.ts.map +1 -0
- package/lib/services/imailer.js +2 -0
- package/lib/services/imailer.js.map +1 -0
- package/lib/services/iservice.d.ts +104 -0
- package/lib/services/iservice.d.ts.map +1 -0
- package/lib/services/iservice.js +63 -0
- package/lib/services/iservice.js.map +1 -0
- package/lib/services/mailer.service.d.ts +220 -0
- package/lib/services/mailer.service.d.ts.map +1 -0
- package/lib/services/mailer.service.js +251 -0
- package/lib/services/mailer.service.js.map +1 -0
- package/lib/services/{notificationservice.d.ts → notificationservice.service.d.ts} +10 -11
- package/lib/services/notificationservice.service.d.ts.map +1 -0
- package/lib/services/{notificationservice.js → notificationservice.service.js} +24 -12
- package/lib/services/notificationservice.service.js.map +1 -0
- package/lib/services/oauth.d.ts +52 -28
- package/lib/services/oauth.d.ts.map +1 -1
- package/lib/services/oauth.js +365 -254
- package/lib/services/oauth.js.map +1 -1
- package/lib/services/operationstransport.d.ts +65 -0
- package/lib/services/operationstransport.d.ts.map +1 -0
- package/lib/services/operationstransport.js +103 -0
- package/lib/services/operationstransport.js.map +1 -0
- package/lib/services/{prometheus.d.ts → prometheus.service.d.ts} +13 -12
- package/lib/services/prometheus.service.d.ts.map +1 -0
- package/lib/services/prometheus.service.js +203 -0
- package/lib/services/prometheus.service.js.map +1 -0
- package/lib/services/{resource.d.ts → resource.service.d.ts} +34 -15
- package/lib/services/resource.service.d.ts.map +1 -0
- package/lib/services/resource.service.js +301 -0
- package/lib/services/resource.service.js.map +1 -0
- package/lib/services/service.d.ts +87 -188
- package/lib/services/service.d.ts.map +1 -1
- package/lib/services/service.js +407 -422
- package/lib/services/service.js.map +1 -1
- package/lib/services/servicecommands.d.ts +99 -0
- package/lib/services/servicecommands.d.ts.map +1 -0
- package/lib/services/servicecommands.js +165 -0
- package/lib/services/servicecommands.js.map +1 -0
- package/lib/services/serviceparameters.d.ts +33 -0
- package/lib/services/serviceparameters.d.ts.map +1 -0
- package/lib/services/serviceparameters.js +79 -0
- package/lib/services/serviceparameters.js.map +1 -0
- package/lib/{utils → session}/cookie.d.ts +32 -19
- package/lib/session/cookie.d.ts.map +1 -0
- package/lib/{utils → session}/cookie.js +76 -23
- package/lib/session/cookie.js.map +1 -0
- package/lib/session/manager.model.d.ts +71 -0
- package/lib/session/manager.model.d.ts.map +1 -0
- package/lib/session/manager.model.js +155 -0
- package/lib/session/manager.model.js.map +1 -0
- package/lib/session/session.d.ts +57 -0
- package/lib/session/session.d.ts.map +1 -0
- package/lib/session/session.js +126 -0
- package/lib/session/session.js.map +1 -0
- package/lib/stores/istore.d.ts +99 -0
- package/lib/stores/istore.d.ts.map +1 -0
- package/lib/stores/istore.js +26 -0
- package/lib/stores/istore.js.map +1 -0
- package/lib/stores/memory.service.d.ts +114 -0
- package/lib/stores/memory.service.d.ts.map +1 -0
- package/lib/stores/memory.service.js +343 -0
- package/lib/stores/memory.service.js.map +1 -0
- package/lib/stores/store.d.ts +126 -626
- package/lib/stores/store.d.ts.map +1 -1
- package/lib/stores/store.js +257 -1117
- package/lib/stores/store.js.map +1 -1
- package/lib/templates/templates.d.ts +39 -0
- package/lib/templates/templates.d.ts.map +1 -0
- package/lib/templates/templates.js +92 -0
- package/lib/templates/templates.js.map +1 -0
- package/lib/test/application.d.ts +174 -0
- package/lib/test/application.d.ts.map +1 -0
- package/lib/test/application.js +288 -0
- package/lib/test/application.js.map +1 -0
- package/lib/test/asyncstorage.d.ts +16 -0
- package/lib/test/asyncstorage.d.ts.map +1 -0
- package/lib/test/asyncstorage.js +32 -0
- package/lib/test/asyncstorage.js.map +1 -0
- package/lib/test/core.d.ts +63 -0
- package/lib/test/core.d.ts.map +1 -0
- package/lib/test/core.js +190 -0
- package/lib/test/core.js.map +1 -0
- package/lib/test/index.d.ts +7 -0
- package/lib/test/index.d.ts.map +1 -0
- package/lib/test/index.js +8 -0
- package/lib/test/index.js.map +1 -0
- package/lib/test/internal.d.ts +34 -0
- package/lib/test/internal.d.ts.map +1 -0
- package/lib/test/internal.js +156 -0
- package/lib/test/internal.js.map +1 -0
- package/lib/test/objects.d.ts +318 -0
- package/lib/test/objects.d.ts.map +1 -0
- package/lib/test/objects.js +443 -0
- package/lib/test/objects.js.map +1 -0
- package/lib/utils/abstractdeployer.d.ts +4 -2
- package/lib/utils/abstractdeployer.d.ts.map +1 -1
- package/lib/utils/abstractdeployer.js +3 -0
- package/lib/utils/abstractdeployer.js.map +1 -1
- package/package.json +85 -60
- package/test/cachedapp/webda.config.json +1 -5
- package/test/config-cached.json +1 -5
- package/test/config.json +0 -9
- package/test/my-cnf.json +9 -0
- package/webda.module.json +3463 -2482
- package/lib/application.d.ts +0 -888
- package/lib/application.d.ts.map +0 -1
- package/lib/application.js +0 -768
- package/lib/application.js.map +0 -1
- package/lib/application.spec.d.ts +0 -2
- package/lib/application.spec.d.ts.map +0 -1
- package/lib/application.spec.js +0 -248
- package/lib/application.spec.js.map +0 -1
- package/lib/core.d.ts +0 -743
- package/lib/core.d.ts.map +0 -1
- package/lib/core.js +0 -1334
- package/lib/core.js.map +0 -1
- package/lib/core.spec.d.ts +0 -2
- package/lib/core.spec.d.ts.map +0 -1
- package/lib/core.spec.js +0 -790
- package/lib/core.spec.js.map +0 -1
- package/lib/errors.d.ts +0 -64
- package/lib/errors.d.ts.map +0 -1
- package/lib/errors.js +0 -97
- package/lib/errors.js.map +0 -1
- package/lib/errors.spec.d.ts +0 -2
- package/lib/errors.spec.d.ts.map +0 -1
- package/lib/errors.spec.js +0 -33
- package/lib/errors.spec.js.map +0 -1
- package/lib/models/aclmodel.spec.d.ts +0 -2
- package/lib/models/aclmodel.spec.d.ts.map +0 -1
- package/lib/models/aclmodel.spec.js +0 -187
- package/lib/models/aclmodel.spec.js.map +0 -1
- package/lib/models/coremodel.d.ts +0 -896
- package/lib/models/coremodel.d.ts.map +0 -1
- package/lib/models/coremodel.js +0 -1214
- package/lib/models/coremodel.js.map +0 -1
- package/lib/models/coremodel.spec.d.ts +0 -2
- package/lib/models/coremodel.spec.d.ts.map +0 -1
- package/lib/models/coremodel.spec.js +0 -464
- package/lib/models/coremodel.spec.js.map +0 -1
- package/lib/models/ident.d.ts +0 -68
- package/lib/models/ident.d.ts.map +0 -1
- package/lib/models/ident.js +0 -26
- package/lib/models/ident.js.map +0 -1
- package/lib/models/ident.spec.d.ts +0 -2
- package/lib/models/ident.spec.d.ts.map +0 -1
- package/lib/models/ident.spec.js +0 -24
- package/lib/models/ident.spec.js.map +0 -1
- package/lib/models/ownermodel.d.ts +0 -51
- package/lib/models/ownermodel.d.ts.map +0 -1
- package/lib/models/ownermodel.js +0 -65
- package/lib/models/ownermodel.js.map +0 -1
- package/lib/models/ownermodel.spec.d.ts +0 -2
- package/lib/models/ownermodel.spec.d.ts.map +0 -1
- package/lib/models/ownermodel.spec.js +0 -215
- package/lib/models/ownermodel.spec.js.map +0 -1
- package/lib/models/relations.d.ts +0 -182
- package/lib/models/relations.d.ts.map +0 -1
- package/lib/models/relations.js +0 -157
- package/lib/models/relations.js.map +0 -1
- package/lib/models/relations.spec.d.ts +0 -14
- package/lib/models/relations.spec.d.ts.map +0 -1
- package/lib/models/relations.spec.js +0 -217
- package/lib/models/relations.spec.js.map +0 -1
- package/lib/models/rolemodel.d.ts +0 -11
- package/lib/models/rolemodel.d.ts.map +0 -1
- package/lib/models/rolemodel.js.map +0 -1
- package/lib/models/rolemodel.spec.d.ts +0 -2
- package/lib/models/rolemodel.spec.d.ts.map +0 -1
- package/lib/models/rolemodel.spec.js +0 -90
- package/lib/models/rolemodel.spec.js.map +0 -1
- package/lib/models/simpleuser.d.ts +0 -47
- package/lib/models/simpleuser.d.ts.map +0 -1
- package/lib/models/simpleuser.js +0 -84
- package/lib/models/simpleuser.js.map +0 -1
- package/lib/models/test.d.ts +0 -11
- package/lib/models/test.d.ts.map +0 -1
- package/lib/models/test.js +0 -7
- package/lib/models/test.js.map +0 -1
- package/lib/models/user.d.ts +0 -67
- package/lib/models/user.d.ts.map +0 -1
- package/lib/models/user.js +0 -86
- package/lib/models/user.js.map +0 -1
- package/lib/models/user.spec.d.ts +0 -2
- package/lib/models/user.spec.d.ts.map +0 -1
- package/lib/models/user.spec.js +0 -89
- package/lib/models/user.spec.js.map +0 -1
- package/lib/queues/filequeue.d.ts +0 -59
- package/lib/queues/filequeue.d.ts.map +0 -1
- package/lib/queues/filequeue.js +0 -131
- package/lib/queues/filequeue.js.map +0 -1
- package/lib/queues/filequeue.spec.d.ts +0 -2
- package/lib/queues/filequeue.spec.d.ts.map +0 -1
- package/lib/queues/filequeue.spec.js +0 -84
- package/lib/queues/filequeue.spec.js.map +0 -1
- package/lib/queues/memoryqueue.d.ts.map +0 -1
- package/lib/queues/memoryqueue.js.map +0 -1
- package/lib/queues/memoryqueue.spec.d.ts +0 -2
- package/lib/queues/memoryqueue.spec.d.ts.map +0 -1
- package/lib/queues/memoryqueue.spec.js +0 -203
- package/lib/queues/memoryqueue.spec.js.map +0 -1
- package/lib/queues/queue.spec.d.ts +0 -6
- package/lib/queues/queue.spec.d.ts.map +0 -1
- package/lib/queues/queue.spec.js +0 -55
- package/lib/queues/queue.spec.js.map +0 -1
- package/lib/rest/restdomainservice.d.ts +0 -63
- package/lib/rest/restdomainservice.d.ts.map +0 -1
- package/lib/rest/restdomainservice.js +0 -687
- package/lib/rest/restdomainservice.js.map +0 -1
- package/lib/rest/restdomainservice.spec.d.ts +0 -2
- package/lib/rest/restdomainservice.spec.d.ts.map +0 -1
- package/lib/rest/restdomainservice.spec.js +0 -124
- package/lib/rest/restdomainservice.spec.js.map +0 -1
- package/lib/rest/router.d.ts +0 -174
- package/lib/rest/router.d.ts.map +0 -1
- package/lib/rest/router.js +0 -429
- package/lib/rest/router.js.map +0 -1
- package/lib/rest/router.spec.d.ts +0 -2
- package/lib/rest/router.spec.d.ts.map +0 -1
- package/lib/rest/router.spec.js +0 -255
- package/lib/rest/router.spec.js.map +0 -1
- package/lib/services/asyncevents.d.ts +0 -152
- package/lib/services/asyncevents.d.ts.map +0 -1
- package/lib/services/asyncevents.js +0 -217
- package/lib/services/asyncevents.js.map +0 -1
- package/lib/services/asyncevents.spec.d.ts +0 -2
- package/lib/services/asyncevents.spec.d.ts.map +0 -1
- package/lib/services/asyncevents.spec.js +0 -118
- package/lib/services/asyncevents.spec.js.map +0 -1
- package/lib/services/authentication.d.ts.map +0 -1
- package/lib/services/authentication.js +0 -773
- package/lib/services/authentication.js.map +0 -1
- package/lib/services/authentication.spec.d.ts +0 -2
- package/lib/services/authentication.spec.d.ts.map +0 -1
- package/lib/services/authentication.spec.js +0 -458
- package/lib/services/authentication.spec.js.map +0 -1
- package/lib/services/binary.d.ts +0 -477
- package/lib/services/binary.d.ts.map +0 -1
- package/lib/services/binary.js +0 -617
- package/lib/services/binary.js.map +0 -1
- package/lib/services/binary.spec.d.ts +0 -41
- package/lib/services/binary.spec.d.ts.map +0 -1
- package/lib/services/binary.spec.js +0 -151
- package/lib/services/binary.spec.js.map +0 -1
- package/lib/services/cloudbinary.spec.d.ts +0 -6
- package/lib/services/cloudbinary.spec.d.ts.map +0 -1
- package/lib/services/cloudbinary.spec.js +0 -66
- package/lib/services/cloudbinary.spec.js.map +0 -1
- package/lib/services/configuration.d.ts.map +0 -1
- package/lib/services/configuration.js +0 -193
- package/lib/services/configuration.js.map +0 -1
- package/lib/services/configuration.spec.d.ts +0 -2
- package/lib/services/configuration.spec.d.ts.map +0 -1
- package/lib/services/configuration.spec.js +0 -130
- package/lib/services/configuration.spec.js.map +0 -1
- package/lib/services/cron.d.ts +0 -74
- package/lib/services/cron.d.ts.map +0 -1
- package/lib/services/cron.js +0 -141
- package/lib/services/cron.js.map +0 -1
- package/lib/services/cron.spec.d.ts +0 -2
- package/lib/services/cron.spec.d.ts.map +0 -1
- package/lib/services/cron.spec.js +0 -76
- package/lib/services/cron.spec.js.map +0 -1
- package/lib/services/cryptoservice.d.ts.map +0 -1
- package/lib/services/cryptoservice.js +0 -433
- package/lib/services/cryptoservice.js.map +0 -1
- package/lib/services/cryptoservice.spec.d.ts +0 -2
- package/lib/services/cryptoservice.spec.d.ts.map +0 -1
- package/lib/services/cryptoservice.spec.js +0 -177
- package/lib/services/cryptoservice.spec.js.map +0 -1
- package/lib/services/debugmailer.d.ts +0 -36
- package/lib/services/debugmailer.d.ts.map +0 -1
- package/lib/services/debugmailer.js.map +0 -1
- package/lib/services/debugmailer.spec.d.ts +0 -2
- package/lib/services/debugmailer.spec.d.ts.map +0 -1
- package/lib/services/debugmailer.spec.js +0 -32
- package/lib/services/debugmailer.spec.js.map +0 -1
- package/lib/services/domainservice.d.ts +0 -272
- package/lib/services/domainservice.d.ts.map +0 -1
- package/lib/services/domainservice.js +0 -651
- package/lib/services/domainservice.js.map +0 -1
- package/lib/services/domainservice.spec.d.ts +0 -2
- package/lib/services/domainservice.spec.d.ts.map +0 -1
- package/lib/services/domainservice.spec.js +0 -592
- package/lib/services/domainservice.spec.js.map +0 -1
- package/lib/services/filebinary.d.ts +0 -136
- package/lib/services/filebinary.d.ts.map +0 -1
- package/lib/services/filebinary.js +0 -373
- package/lib/services/filebinary.js.map +0 -1
- package/lib/services/filebinary.spec.d.ts +0 -25
- package/lib/services/filebinary.spec.d.ts.map +0 -1
- package/lib/services/filebinary.spec.js +0 -428
- package/lib/services/filebinary.spec.js.map +0 -1
- package/lib/services/fileconfiguration.d.ts +0 -23
- package/lib/services/fileconfiguration.d.ts.map +0 -1
- package/lib/services/fileconfiguration.js +0 -48
- package/lib/services/fileconfiguration.js.map +0 -1
- package/lib/services/fileconfiguration.spec.d.ts +0 -2
- package/lib/services/fileconfiguration.spec.d.ts.map +0 -1
- package/lib/services/fileconfiguration.spec.js +0 -215
- package/lib/services/fileconfiguration.spec.js.map +0 -1
- package/lib/services/invitationservice.d.ts +0 -223
- package/lib/services/invitationservice.d.ts.map +0 -1
- package/lib/services/invitationservice.js +0 -529
- package/lib/services/invitationservice.js.map +0 -1
- package/lib/services/invitationservice.spec.d.ts +0 -2
- package/lib/services/invitationservice.spec.d.ts.map +0 -1
- package/lib/services/invitationservice.spec.js +0 -567
- package/lib/services/invitationservice.spec.js.map +0 -1
- package/lib/services/kubernetesconfiguration.d.ts +0 -27
- package/lib/services/kubernetesconfiguration.d.ts.map +0 -1
- package/lib/services/kubernetesconfiguration.js +0 -52
- package/lib/services/kubernetesconfiguration.js.map +0 -1
- package/lib/services/kubernetesconfiguration.spec.d.ts +0 -2
- package/lib/services/kubernetesconfiguration.spec.d.ts.map +0 -1
- package/lib/services/kubernetesconfiguration.spec.js +0 -206
- package/lib/services/kubernetesconfiguration.spec.js.map +0 -1
- package/lib/services/mailer.d.ts +0 -166
- package/lib/services/mailer.d.ts.map +0 -1
- package/lib/services/mailer.js +0 -176
- package/lib/services/mailer.js.map +0 -1
- package/lib/services/mailer.spec.d.ts +0 -2
- package/lib/services/mailer.spec.d.ts.map +0 -1
- package/lib/services/mailer.spec.js +0 -158
- package/lib/services/mailer.spec.js.map +0 -1
- package/lib/services/notificationservice.d.ts.map +0 -1
- package/lib/services/notificationservice.js.map +0 -1
- package/lib/services/notificationservice.spec.d.ts +0 -2
- package/lib/services/notificationservice.spec.d.ts.map +0 -1
- package/lib/services/notificationservice.spec.js +0 -83
- package/lib/services/notificationservice.spec.js.map +0 -1
- package/lib/services/oauth.spec.d.ts +0 -2
- package/lib/services/oauth.spec.d.ts.map +0 -1
- package/lib/services/oauth.spec.js +0 -208
- package/lib/services/oauth.spec.js.map +0 -1
- package/lib/services/prometheus.d.ts.map +0 -1
- package/lib/services/prometheus.js +0 -160
- package/lib/services/prometheus.js.map +0 -1
- package/lib/services/prometheus.spec.d.ts +0 -2
- package/lib/services/prometheus.spec.d.ts.map +0 -1
- package/lib/services/prometheus.spec.js +0 -76
- package/lib/services/prometheus.spec.js.map +0 -1
- package/lib/services/resource.d.ts.map +0 -1
- package/lib/services/resource.js +0 -170
- package/lib/services/resource.js.map +0 -1
- package/lib/services/resource.spec.d.ts +0 -2
- package/lib/services/resource.spec.d.ts.map +0 -1
- package/lib/services/resource.spec.js +0 -140
- package/lib/services/resource.spec.js.map +0 -1
- package/lib/services/service.spec.d.ts +0 -2
- package/lib/services/service.spec.d.ts.map +0 -1
- package/lib/services/service.spec.js +0 -286
- package/lib/services/service.spec.js.map +0 -1
- package/lib/stores/aggregator.d.ts +0 -48
- package/lib/stores/aggregator.d.ts.map +0 -1
- package/lib/stores/aggregator.js +0 -80
- package/lib/stores/aggregator.js.map +0 -1
- package/lib/stores/file.d.ts +0 -108
- package/lib/stores/file.d.ts.map +0 -1
- package/lib/stores/file.js +0 -188
- package/lib/stores/file.js.map +0 -1
- package/lib/stores/file.spec.d.ts +0 -13
- package/lib/stores/file.spec.d.ts.map +0 -1
- package/lib/stores/file.spec.js +0 -138
- package/lib/stores/file.spec.js.map +0 -1
- package/lib/stores/mapper.d.ts +0 -150
- package/lib/stores/mapper.d.ts.map +0 -1
- package/lib/stores/mapper.js +0 -293
- package/lib/stores/mapper.js.map +0 -1
- package/lib/stores/mapper.spec.d.ts +0 -2
- package/lib/stores/mapper.spec.d.ts.map +0 -1
- package/lib/stores/mapper.spec.js +0 -167
- package/lib/stores/mapper.spec.js.map +0 -1
- package/lib/stores/memory.d.ts +0 -152
- package/lib/stores/memory.d.ts.map +0 -1
- package/lib/stores/memory.js +0 -371
- package/lib/stores/memory.js.map +0 -1
- package/lib/stores/memory.spec.d.ts +0 -14
- package/lib/stores/memory.spec.d.ts.map +0 -1
- package/lib/stores/memory.spec.js +0 -263
- package/lib/stores/memory.spec.js.map +0 -1
- package/lib/stores/modelmapper.d.ts +0 -62
- package/lib/stores/modelmapper.d.ts.map +0 -1
- package/lib/stores/modelmapper.js +0 -197
- package/lib/stores/modelmapper.js.map +0 -1
- package/lib/stores/store.spec.d.ts +0 -57
- package/lib/stores/store.spec.d.ts.map +0 -1
- package/lib/stores/store.spec.js +0 -737
- package/lib/stores/store.spec.js.map +0 -1
- package/lib/test.d.ts +0 -265
- package/lib/test.d.ts.map +0 -1
- package/lib/test.js +0 -622
- package/lib/test.js.map +0 -1
- package/lib/unpackedapplication.d.ts.map +0 -1
- package/lib/unpackedapplication.js +0 -350
- package/lib/unpackedapplication.js.map +0 -1
- package/lib/utils/abstractdeployer.spec.d.ts +0 -2
- package/lib/utils/abstractdeployer.spec.d.ts.map +0 -1
- package/lib/utils/abstractdeployer.spec.js +0 -21
- package/lib/utils/abstractdeployer.spec.js.map +0 -1
- package/lib/utils/case.d.ts +0 -8
- package/lib/utils/case.d.ts.map +0 -1
- package/lib/utils/case.js +0 -43
- package/lib/utils/case.js.map +0 -1
- package/lib/utils/case.spec.d.ts +0 -2
- package/lib/utils/case.spec.d.ts.map +0 -1
- package/lib/utils/case.spec.js +0 -50
- package/lib/utils/case.spec.js.map +0 -1
- package/lib/utils/context.d.ts +0 -482
- package/lib/utils/context.d.ts.map +0 -1
- package/lib/utils/context.js +0 -739
- package/lib/utils/context.js.map +0 -1
- package/lib/utils/context.spec.d.ts +0 -10
- package/lib/utils/context.spec.d.ts.map +0 -1
- package/lib/utils/context.spec.js +0 -383
- package/lib/utils/context.spec.js.map +0 -1
- package/lib/utils/cookie.d.ts.map +0 -1
- package/lib/utils/cookie.js.map +0 -1
- package/lib/utils/cookie.spec.d.ts +0 -2
- package/lib/utils/cookie.spec.d.ts.map +0 -1
- package/lib/utils/cookie.spec.js +0 -88
- package/lib/utils/cookie.spec.js.map +0 -1
- package/lib/utils/esm.d.ts +0 -14
- package/lib/utils/esm.d.ts.map +0 -1
- package/lib/utils/esm.js +0 -19
- package/lib/utils/esm.js.map +0 -1
- package/lib/utils/httpcontext.d.ts.map +0 -1
- package/lib/utils/httpcontext.js.map +0 -1
- package/lib/utils/httpcontext.spec.d.ts +0 -5
- package/lib/utils/httpcontext.spec.d.ts.map +0 -1
- package/lib/utils/httpcontext.spec.js +0 -77
- package/lib/utils/httpcontext.spec.js.map +0 -1
- package/lib/utils/logger.d.ts +0 -92
- package/lib/utils/logger.d.ts.map +0 -1
- package/lib/utils/logger.js +0 -121
- package/lib/utils/logger.js.map +0 -1
- package/lib/utils/logger.spec.d.ts +0 -2
- package/lib/utils/logger.spec.d.ts.map +0 -1
- package/lib/utils/logger.spec.js +0 -48
- package/lib/utils/logger.spec.js.map +0 -1
- package/lib/utils/serializers.d.ts +0 -162
- package/lib/utils/serializers.d.ts.map +0 -1
- package/lib/utils/serializers.js +0 -420
- package/lib/utils/serializers.js.map +0 -1
- package/lib/utils/serializers.spec.d.ts +0 -2
- package/lib/utils/serializers.spec.d.ts.map +0 -1
- package/lib/utils/serializers.spec.js +0 -311
- package/lib/utils/serializers.spec.js.map +0 -1
- package/lib/utils/session.d.ts +0 -123
- package/lib/utils/session.d.ts.map +0 -1
- package/lib/utils/session.js +0 -156
- package/lib/utils/session.js.map +0 -1
- package/lib/utils/session.spec.d.ts +0 -2
- package/lib/utils/session.spec.d.ts.map +0 -1
- package/lib/utils/session.spec.js +0 -81
- package/lib/utils/session.spec.js.map +0 -1
- package/lib/utils/throttler.d.ts +0 -99
- package/lib/utils/throttler.d.ts.map +0 -1
- package/lib/utils/throttler.js +0 -160
- package/lib/utils/throttler.js.map +0 -1
- package/lib/utils/throttler.spec.d.ts +0 -2
- package/lib/utils/throttler.spec.d.ts.map +0 -1
- package/lib/utils/throttler.spec.js +0 -53
- package/lib/utils/throttler.spec.js.map +0 -1
- package/lib/utils/waiter.d.ts +0 -94
- package/lib/utils/waiter.d.ts.map +0 -1
- package/lib/utils/waiter.js +0 -148
- package/lib/utils/waiter.js.map +0 -1
- package/lib/utils/waiter.spec.d.ts +0 -2
- package/lib/utils/waiter.spec.d.ts.map +0 -1
- package/lib/utils/waiter.spec.js +0 -98
- package/lib/utils/waiter.spec.js.map +0 -1
- package/test/jsonutils/mdocs.yaml +0 -56
- package/test/jsonutils/test.json +0 -3
- package/test/jsonutils/test.yml +0 -5
package/lib/test.js
DELETED
|
@@ -1,622 +0,0 @@
|
|
|
1
|
-
import { execSync } from "child_process";
|
|
2
|
-
import { existsSync, unlinkSync } from "fs";
|
|
3
|
-
import * as path from "path";
|
|
4
|
-
import { register } from "prom-client";
|
|
5
|
-
import { Core, HttpContext, OwnerModel, Service, Store, StoreParameters, WebContext } from "./index.js";
|
|
6
|
-
import { PrometheusService } from "./services/prometheus.js";
|
|
7
|
-
import { ConsoleLoggerService } from "./utils/logger.js";
|
|
8
|
-
import { FileUtils } from "./utils/serializers.js";
|
|
9
|
-
import { Ident as WebdaIdent } from "./models/ident.js";
|
|
10
|
-
// Separation on purpose to keep application import separated
|
|
11
|
-
import { SectionEnum } from "./application.js";
|
|
12
|
-
import { UnpackedApplication } from "./unpackedapplication.js";
|
|
13
|
-
/**
|
|
14
|
-
* @class
|
|
15
|
-
*/
|
|
16
|
-
export class Task extends OwnerModel {
|
|
17
|
-
static getActions() {
|
|
18
|
-
return {
|
|
19
|
-
actionable: {
|
|
20
|
-
methods: ["GET"]
|
|
21
|
-
},
|
|
22
|
-
impossible: {}
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
actionable() { }
|
|
26
|
-
impossible() { }
|
|
27
|
-
async canAct(ctx, action) {
|
|
28
|
-
if ("actionable" === action) {
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
return super.canAct(ctx, action);
|
|
32
|
-
}
|
|
33
|
-
async _onSave() {
|
|
34
|
-
this._autoListener = 1;
|
|
35
|
-
}
|
|
36
|
-
async _onSaved() {
|
|
37
|
-
this._autoListener = 2;
|
|
38
|
-
}
|
|
39
|
-
toJSON() {
|
|
40
|
-
// Context should be available to the toJSON
|
|
41
|
-
if (this.getContext() !== undefined) {
|
|
42
|
-
this._gotContext = true;
|
|
43
|
-
}
|
|
44
|
-
return super.toJSON();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* VoidStore is a store that does not implement any method
|
|
49
|
-
*/
|
|
50
|
-
export class VoidStore extends Store {
|
|
51
|
-
find(_query) {
|
|
52
|
-
throw new Error("Method not implemented.");
|
|
53
|
-
}
|
|
54
|
-
_exists(_uid) {
|
|
55
|
-
throw new Error("Method not implemented.");
|
|
56
|
-
}
|
|
57
|
-
getAll(_list) {
|
|
58
|
-
throw new Error("Method not implemented.");
|
|
59
|
-
}
|
|
60
|
-
_patch(_object, _uid, _itemWriteCondition, _itemWriteConditionField) {
|
|
61
|
-
throw new Error("Method not implemented.");
|
|
62
|
-
}
|
|
63
|
-
_removeAttribute(_uuid, _attribute, _itemWriteCondition, _itemWriteConditionField) {
|
|
64
|
-
throw new Error("Method not implemented.");
|
|
65
|
-
}
|
|
66
|
-
_incrementAttributes(_uid, _params, _updateDate) {
|
|
67
|
-
throw new Error("Method not implemented.");
|
|
68
|
-
}
|
|
69
|
-
_upsertItemToCollection(_uid, _prop, _item, _index, _itemWriteCondition, _itemWriteConditionField, _updateDate) {
|
|
70
|
-
throw new Error("Method not implemented.");
|
|
71
|
-
}
|
|
72
|
-
_deleteItemFromCollection(_uid, _prop, _index, _itemWriteCondition, _itemWriteConditionField, _updateDate) {
|
|
73
|
-
throw new Error("Method not implemented.");
|
|
74
|
-
}
|
|
75
|
-
constructor(webda, name, params) {
|
|
76
|
-
super(webda, name, params);
|
|
77
|
-
if (this.parameters.brokenConstructor)
|
|
78
|
-
throw Error();
|
|
79
|
-
}
|
|
80
|
-
initRoutes() {
|
|
81
|
-
if (this.parameters.brokenInit)
|
|
82
|
-
throw Error();
|
|
83
|
-
this.addRoute("/broken/{type}", ["GET"], this._brokenRoute);
|
|
84
|
-
this.addRoute("/", ["GET", "POST"], this._default);
|
|
85
|
-
this.addRoute("/urltemplate/{+id}", ["GET"], this._template);
|
|
86
|
-
this.addRoute("/urltemplate/callback{?code}", ["GET"], this._query);
|
|
87
|
-
}
|
|
88
|
-
loadParameters(params) {
|
|
89
|
-
return new StoreParameters(params, this);
|
|
90
|
-
}
|
|
91
|
-
_template() { }
|
|
92
|
-
_default(_ctx) { }
|
|
93
|
-
_query(_ctx) { }
|
|
94
|
-
_brokenRoute(ctx) {
|
|
95
|
-
if (ctx.getParameters().type === "401") {
|
|
96
|
-
throw 401;
|
|
97
|
-
}
|
|
98
|
-
else if (ctx.getParameters().type === "Error") {
|
|
99
|
-
throw new Error();
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
exists(_uid) {
|
|
103
|
-
return Promise.resolve(true);
|
|
104
|
-
}
|
|
105
|
-
_find(_request, _offset, _limit) {
|
|
106
|
-
return Promise.resolve([]);
|
|
107
|
-
}
|
|
108
|
-
async _save(object) {
|
|
109
|
-
return object;
|
|
110
|
-
}
|
|
111
|
-
_delete(_uid) {
|
|
112
|
-
return Promise.resolve();
|
|
113
|
-
}
|
|
114
|
-
_update(object, _uid) {
|
|
115
|
-
return Promise.resolve(object);
|
|
116
|
-
}
|
|
117
|
-
async _get(_uid) {
|
|
118
|
-
return {};
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* FakeService is a service that does not implement any method
|
|
123
|
-
*/
|
|
124
|
-
export class FakeService extends Service {
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* DebugMailer is a mailer that store all sent mails
|
|
128
|
-
*/
|
|
129
|
-
export class DebugMailer extends Service {
|
|
130
|
-
constructor(webda, name, params) {
|
|
131
|
-
super(webda, name, params);
|
|
132
|
-
this.sent = [];
|
|
133
|
-
}
|
|
134
|
-
send(options, _callback) {
|
|
135
|
-
this.sent.push(options);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* @class
|
|
140
|
-
*/
|
|
141
|
-
export class TestIdent extends WebdaIdent {
|
|
142
|
-
static getActions() {
|
|
143
|
-
return {
|
|
144
|
-
plop: {},
|
|
145
|
-
index: {
|
|
146
|
-
global: true,
|
|
147
|
-
methods: ["GET"]
|
|
148
|
-
},
|
|
149
|
-
yop: {
|
|
150
|
-
methods: ["GET", "POST"]
|
|
151
|
-
}
|
|
152
|
-
};
|
|
153
|
-
}
|
|
154
|
-
yop() {
|
|
155
|
-
return "youpi";
|
|
156
|
-
}
|
|
157
|
-
async canAct(ctx, action) {
|
|
158
|
-
return true;
|
|
159
|
-
}
|
|
160
|
-
static index(ctx) {
|
|
161
|
-
ctx.write("indexer");
|
|
162
|
-
}
|
|
163
|
-
plop(ctx) {
|
|
164
|
-
ctx.write({ _plop: true });
|
|
165
|
-
return Promise.resolve();
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* TestApplication ensure we load the typescript sources instead of compiled version
|
|
170
|
-
*
|
|
171
|
-
* Test use ts-node so to share same prototypes we need to load from the sources
|
|
172
|
-
*/
|
|
173
|
-
export class TestApplication extends UnpackedApplication {
|
|
174
|
-
constructor(file, logger) {
|
|
175
|
-
super(file || "./", logger);
|
|
176
|
-
/**
|
|
177
|
-
* Flag if application has been compiled already
|
|
178
|
-
*/
|
|
179
|
-
this.compiled = false;
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* Force the namespace to WebdaDemo
|
|
183
|
-
* @returns
|
|
184
|
-
*/
|
|
185
|
-
getNamespace() {
|
|
186
|
-
return "WebdaDemo";
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Set the status of the compilation
|
|
190
|
-
*
|
|
191
|
-
* @param compile true will avoid trigger new compilation
|
|
192
|
-
*/
|
|
193
|
-
preventCompilation(compile) {
|
|
194
|
-
this.compiled = compile;
|
|
195
|
-
}
|
|
196
|
-
/**
|
|
197
|
-
* Compile the application
|
|
198
|
-
*/
|
|
199
|
-
compile() {
|
|
200
|
-
if (this.compiled) {
|
|
201
|
-
return;
|
|
202
|
-
}
|
|
203
|
-
// exec typescript
|
|
204
|
-
this.log("DEBUG", "Compiling application");
|
|
205
|
-
try {
|
|
206
|
-
execSync(`tsc -p ${this.appPath}`);
|
|
207
|
-
}
|
|
208
|
-
catch (err) {
|
|
209
|
-
(err.stdout.toString() + err.stderr.toString())
|
|
210
|
-
.split("\n")
|
|
211
|
-
.filter(l => l !== "")
|
|
212
|
-
.forEach(l => {
|
|
213
|
-
this.log("ERROR", "tsc:", l);
|
|
214
|
-
});
|
|
215
|
-
}
|
|
216
|
-
this.compiled = true;
|
|
217
|
-
}
|
|
218
|
-
/**
|
|
219
|
-
* Load a webda.module.json file
|
|
220
|
-
* Resolve the linked file to current application
|
|
221
|
-
*
|
|
222
|
-
* @param moduleFile to load
|
|
223
|
-
* @returns
|
|
224
|
-
*/
|
|
225
|
-
loadWebdaModule(moduleFile) {
|
|
226
|
-
// Test are using ts-node so local source should be loaded from .ts with ts-node aswell
|
|
227
|
-
if (process.cwd() === path.dirname(moduleFile)) {
|
|
228
|
-
const module = FileUtils.load(moduleFile);
|
|
229
|
-
Object.keys(SectionEnum)
|
|
230
|
-
.filter(k => Number.isNaN(+k))
|
|
231
|
-
.forEach(p => {
|
|
232
|
-
for (const key in module[SectionEnum[p]]) {
|
|
233
|
-
module[SectionEnum[p]][key] = path.join(path.relative(this.getAppPath(), path.dirname(moduleFile)), module[SectionEnum[p]][key].replace(/^lib\//, "src/"));
|
|
234
|
-
}
|
|
235
|
-
});
|
|
236
|
-
for (const key in module.models.list) {
|
|
237
|
-
module.models.list[key] = path.join(path.relative(this.getAppPath(), path.dirname(moduleFile)), module.models.list[key].replace(/^lib\//, "src/"));
|
|
238
|
-
}
|
|
239
|
-
return module;
|
|
240
|
-
}
|
|
241
|
-
return super.loadWebdaModule(moduleFile);
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
/**
|
|
245
|
-
* Utility class for UnitTest
|
|
246
|
-
*
|
|
247
|
-
* @category CoreFeatures
|
|
248
|
-
*/
|
|
249
|
-
class WebdaTest {
|
|
250
|
-
constructor() {
|
|
251
|
-
this.addConsoleLogger = true;
|
|
252
|
-
/**
|
|
253
|
-
* Files to clean after test
|
|
254
|
-
*/
|
|
255
|
-
this.cleanFiles = [];
|
|
256
|
-
}
|
|
257
|
-
/**
|
|
258
|
-
* Get the configuration file to use for the test
|
|
259
|
-
*
|
|
260
|
-
* @returns absolute path to configuration file
|
|
261
|
-
*/
|
|
262
|
-
getTestConfiguration() {
|
|
263
|
-
return FileUtils.load(process.cwd() + "/test/config.json");
|
|
264
|
-
}
|
|
265
|
-
/**
|
|
266
|
-
* Allow test to add custom made service
|
|
267
|
-
* @param app
|
|
268
|
-
*/
|
|
269
|
-
async tweakApp(app) {
|
|
270
|
-
app.addService("WebdaTest/VoidStore", VoidStore);
|
|
271
|
-
app.addService("WebdaTest/FakeService", FakeService);
|
|
272
|
-
app.addService("WebdaTest/Mailer", DebugMailer);
|
|
273
|
-
app.addModel("WebdaTest/Task", Task);
|
|
274
|
-
app.addModel("WebdaTest/Ident", TestIdent);
|
|
275
|
-
app.getGraph()["WebdaTest/Ident"] = {
|
|
276
|
-
links: [
|
|
277
|
-
{
|
|
278
|
-
attribute: "_user",
|
|
279
|
-
model: "Webda/User",
|
|
280
|
-
type: "LINK"
|
|
281
|
-
}
|
|
282
|
-
]
|
|
283
|
-
};
|
|
284
|
-
app.getGraph()["WebdaTest/Task"] = {
|
|
285
|
-
links: [
|
|
286
|
-
{
|
|
287
|
-
attribute: "_user",
|
|
288
|
-
model: "Webda/User",
|
|
289
|
-
type: "LINK"
|
|
290
|
-
}
|
|
291
|
-
]
|
|
292
|
-
};
|
|
293
|
-
}
|
|
294
|
-
/**
|
|
295
|
-
* Return an application
|
|
296
|
-
* @returns
|
|
297
|
-
*/
|
|
298
|
-
getApplication() {
|
|
299
|
-
return new TestApplication(this.getTestConfiguration());
|
|
300
|
-
}
|
|
301
|
-
/**
|
|
302
|
-
* Build the webda application
|
|
303
|
-
*
|
|
304
|
-
* Add a ConsoleLogger if addConsoleLogger is true
|
|
305
|
-
*/
|
|
306
|
-
async buildWebda() {
|
|
307
|
-
const app = this.getApplication();
|
|
308
|
-
await app.load();
|
|
309
|
-
await this.tweakApp(app);
|
|
310
|
-
this.webda = new Core(app);
|
|
311
|
-
if (this.addConsoleLogger) {
|
|
312
|
-
// @ts-ignore - Hack a ConsoleLogger in
|
|
313
|
-
this.webda.services["ConsoleLogger"] = new ConsoleLoggerService(this.webda, "ConsoleLogger", {});
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
/**
|
|
317
|
-
* Rebuild Webda application before each test
|
|
318
|
-
*
|
|
319
|
-
* @param init wait for the full init
|
|
320
|
-
*/
|
|
321
|
-
async before(init = true) {
|
|
322
|
-
// Reset any prometheus
|
|
323
|
-
// @ts-ignore
|
|
324
|
-
PrometheusService.nodeMetricsRegistered = false;
|
|
325
|
-
// @ts-ignore
|
|
326
|
-
PrometheusService.requestMetricsRegistered = false;
|
|
327
|
-
register.clear();
|
|
328
|
-
await this.buildWebda();
|
|
329
|
-
if (init) {
|
|
330
|
-
await this.webda.init();
|
|
331
|
-
// Prevent persistance for tests
|
|
332
|
-
this.webda.getRegistry().persist = async () => { };
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
after() {
|
|
336
|
-
// Clean all remaining files
|
|
337
|
-
this.cleanFiles.filter(f => existsSync(f)).forEach(f => unlinkSync(f));
|
|
338
|
-
this.cleanFiles = [];
|
|
339
|
-
//
|
|
340
|
-
this.webda.stop();
|
|
341
|
-
}
|
|
342
|
-
/**
|
|
343
|
-
*
|
|
344
|
-
* @param level
|
|
345
|
-
* @param args
|
|
346
|
-
*/
|
|
347
|
-
log(level, ...args) {
|
|
348
|
-
if (this.webda) {
|
|
349
|
-
this.webda.log(level, "TEST", ...args);
|
|
350
|
-
}
|
|
351
|
-
else {
|
|
352
|
-
console.log(level, "WEBDA NOT INITATED TEST", ...args);
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
/**
|
|
356
|
-
* Create a new Context object
|
|
357
|
-
*
|
|
358
|
-
* The context is initialized to GET test.webda.io/
|
|
359
|
-
*
|
|
360
|
-
* @param body to add to the context
|
|
361
|
-
* @returns
|
|
362
|
-
*/
|
|
363
|
-
async newContext(body = {}) {
|
|
364
|
-
const res = await this.webda.newWebContext(new HttpContext("test.webda.io", "GET", "/"));
|
|
365
|
-
res.getHttpContext().setBody(body);
|
|
366
|
-
return res;
|
|
367
|
-
}
|
|
368
|
-
/**
|
|
369
|
-
* Get an Executor from Webda
|
|
370
|
-
*
|
|
371
|
-
* @param ctx
|
|
372
|
-
* @param host
|
|
373
|
-
* @param method
|
|
374
|
-
* @param url
|
|
375
|
-
* @param body
|
|
376
|
-
* @param headers
|
|
377
|
-
* @returns
|
|
378
|
-
*/
|
|
379
|
-
getExecutor(ctx = undefined, host = "test.webda.io", method = "GET", url = "/", body = {}, headers = {}) {
|
|
380
|
-
const httpContext = new HttpContext(host, method, url, "http", 80, headers);
|
|
381
|
-
httpContext.setBody(body);
|
|
382
|
-
httpContext.setClientIp("127.0.0.1");
|
|
383
|
-
if (!ctx) {
|
|
384
|
-
// @ts-ignore
|
|
385
|
-
ctx = new WebContext(this.webda, httpContext);
|
|
386
|
-
}
|
|
387
|
-
else {
|
|
388
|
-
ctx.setHttpContext(httpContext);
|
|
389
|
-
}
|
|
390
|
-
if (this.webda.updateContextWithRoute(ctx)) {
|
|
391
|
-
return ctx;
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
/**
|
|
395
|
-
* Execute a test request
|
|
396
|
-
* @param params
|
|
397
|
-
* @returns
|
|
398
|
-
*/
|
|
399
|
-
async http(params = {}) {
|
|
400
|
-
if (typeof params === "string") {
|
|
401
|
-
params = {
|
|
402
|
-
url: params
|
|
403
|
-
};
|
|
404
|
-
}
|
|
405
|
-
if (params.context) {
|
|
406
|
-
params.context.resetResponse();
|
|
407
|
-
}
|
|
408
|
-
params.context ?? (params.context = await this.newContext());
|
|
409
|
-
params.method ?? (params.method = "GET");
|
|
410
|
-
params.url ?? (params.url = "/");
|
|
411
|
-
return await this.execute(params.context, "test.webda.io", params.method, params.url, params.body, params.headers);
|
|
412
|
-
}
|
|
413
|
-
async execute(context = undefined, host = "test.webda.io", method = "GET", url = "/", body = {}, headers = {}) {
|
|
414
|
-
const exec = this.getExecutor(context, host, method, url, body, headers);
|
|
415
|
-
if (!exec) {
|
|
416
|
-
throw new Error(`${method} ${url} route not found`);
|
|
417
|
-
}
|
|
418
|
-
await exec.execute(context);
|
|
419
|
-
const res = context.getResponseBody();
|
|
420
|
-
if (res) {
|
|
421
|
-
try {
|
|
422
|
-
return JSON.parse(res);
|
|
423
|
-
}
|
|
424
|
-
catch (err) {
|
|
425
|
-
return res;
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
/**
|
|
430
|
-
* Pause for time ms
|
|
431
|
-
*
|
|
432
|
-
* @param time ms
|
|
433
|
-
*/
|
|
434
|
-
async sleep(time) {
|
|
435
|
-
return Core.sleep(time);
|
|
436
|
-
}
|
|
437
|
-
/**
|
|
438
|
-
* Create a graph of objets from sample-app to be able to test graph
|
|
439
|
-
*/
|
|
440
|
-
async createGraphObjects() {
|
|
441
|
-
const Teacher = this.webda.getModel("Teacher");
|
|
442
|
-
const Course = this.webda.getModel("Course");
|
|
443
|
-
const Classroom = this.webda.getModel("Classroom");
|
|
444
|
-
const Student = this.webda.getModel("Student");
|
|
445
|
-
const Hardware = this.webda.getModel("Hardware");
|
|
446
|
-
const ComputerScreen = this.webda.getModel("ComputerScreen");
|
|
447
|
-
const Company = this.webda.getModel("Company");
|
|
448
|
-
const User = this.webda.getModel("User");
|
|
449
|
-
// 2 Companies
|
|
450
|
-
const companies = [await Company.create({ name: "company 1" }), await Company.create({ name: "company 2" })];
|
|
451
|
-
const users = [];
|
|
452
|
-
for (const company of companies) {
|
|
453
|
-
for (let i = 1; i < 6; i++) {
|
|
454
|
-
// 2 User per company
|
|
455
|
-
users.push(await User.create({
|
|
456
|
-
name: `User ${users.length + 1}`,
|
|
457
|
-
_company: company.uuid
|
|
458
|
-
}));
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
// 2 Teachers
|
|
462
|
-
const teachers = [await Teacher.create({ name: "test" }), await Teacher.create({ name: "test2", senior: true })];
|
|
463
|
-
const students = [];
|
|
464
|
-
const courses = [];
|
|
465
|
-
// 10 Students
|
|
466
|
-
for (let i = 1; i < 11; i++) {
|
|
467
|
-
students.push(await Student.create({
|
|
468
|
-
email: `student${i}@webda.io`,
|
|
469
|
-
firstName: `Student ${i}`,
|
|
470
|
-
lastName: `Lastname ${i}`,
|
|
471
|
-
order: i
|
|
472
|
-
}));
|
|
473
|
-
}
|
|
474
|
-
// 10 Topics
|
|
475
|
-
const topics = ["Math", "French", "English", "Physics", "Computer Science"];
|
|
476
|
-
for (let i = 1; i < 13; i++) {
|
|
477
|
-
const courseStudents = [];
|
|
478
|
-
for (let j = i; j < i + 6; j++) {
|
|
479
|
-
const s = students[j % 10];
|
|
480
|
-
courseStudents.push({
|
|
481
|
-
uuid: s.getUuid(),
|
|
482
|
-
email: s.email,
|
|
483
|
-
firstName: s.firstName,
|
|
484
|
-
lastName: s.lastName
|
|
485
|
-
});
|
|
486
|
-
}
|
|
487
|
-
courses.push(await Course.create({
|
|
488
|
-
name: `${topics[i % 5]} ${i}`,
|
|
489
|
-
teacher: teachers[i % 2].uuid,
|
|
490
|
-
students: courseStudents
|
|
491
|
-
}));
|
|
492
|
-
}
|
|
493
|
-
// 3 classrooms
|
|
494
|
-
const classrooms = [];
|
|
495
|
-
for (let i = 1; i < 4; i++) {
|
|
496
|
-
const classCourses = [];
|
|
497
|
-
classCourses.push({ uuid: courses[i].uuid, name: courses[i].name });
|
|
498
|
-
classCourses.push({ uuid: courses[i * 2].uuid, name: courses[i * 2].name });
|
|
499
|
-
classCourses.push({ uuid: courses[i * 3].uuid, name: courses[i * 3].name });
|
|
500
|
-
classrooms.push(await Classroom.create({
|
|
501
|
-
name: `Classroom ${i}`,
|
|
502
|
-
courses: classCourses
|
|
503
|
-
}));
|
|
504
|
-
}
|
|
505
|
-
let count = 1;
|
|
506
|
-
for (const course of courses) {
|
|
507
|
-
course.classroom.set(classrooms[count++ % 3].uuid);
|
|
508
|
-
await course.save();
|
|
509
|
-
}
|
|
510
|
-
// 12 Hardware
|
|
511
|
-
const hardwares = [];
|
|
512
|
-
for (let i = 1; i < 12; i++) {
|
|
513
|
-
if (i % 2) {
|
|
514
|
-
hardwares.push(await ComputerScreen.create({
|
|
515
|
-
classroom: classrooms[i % 3].uuid,
|
|
516
|
-
name: `Computer Screen ${i}`
|
|
517
|
-
}));
|
|
518
|
-
}
|
|
519
|
-
else {
|
|
520
|
-
hardwares.push(await Hardware.create({
|
|
521
|
-
classroom: classrooms[i % 3].uuid,
|
|
522
|
-
name: `Hardware ${i}`
|
|
523
|
-
}));
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
count = 1;
|
|
527
|
-
for (const classroom of classrooms) {
|
|
528
|
-
const classCourses = [];
|
|
529
|
-
for (let i = 0; i < 3; i++) {
|
|
530
|
-
classCourses.push({
|
|
531
|
-
uuid: courses[count++ % 12].uuid,
|
|
532
|
-
name: courses[count % 12].name
|
|
533
|
-
});
|
|
534
|
-
}
|
|
535
|
-
await classroom.patch({
|
|
536
|
-
courses: classCourses
|
|
537
|
-
});
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
/**
|
|
541
|
-
* Wait for the next tick(s)
|
|
542
|
-
* @param ticks if you want to wait for more than one tick
|
|
543
|
-
*/
|
|
544
|
-
async nextTick(ticks = 1) {
|
|
545
|
-
while (ticks-- > 0) {
|
|
546
|
-
await new Promise(resolve => setImmediate(resolve));
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
/**
|
|
550
|
-
* Get service from Webda
|
|
551
|
-
* @param service name
|
|
552
|
-
* @returns
|
|
553
|
-
*/
|
|
554
|
-
getService(service) {
|
|
555
|
-
return this.webda.getService(service);
|
|
556
|
-
}
|
|
557
|
-
/**
|
|
558
|
-
* Dynamic add a service to webda
|
|
559
|
-
*
|
|
560
|
-
* @param name of the service to add
|
|
561
|
-
* @param service to add
|
|
562
|
-
*/
|
|
563
|
-
registerService(service, name = service.getName()) {
|
|
564
|
-
// Have to override protected
|
|
565
|
-
// @ts-ignore
|
|
566
|
-
this.webda.services[name] = service;
|
|
567
|
-
return service;
|
|
568
|
-
}
|
|
569
|
-
/**
|
|
570
|
-
* Register service with resolve and init
|
|
571
|
-
*/
|
|
572
|
-
async addService(service, params, name) {
|
|
573
|
-
return this.registerService(new service(this.webda, name || service.name, params ?? {}))
|
|
574
|
-
.resolve()
|
|
575
|
-
.init();
|
|
576
|
-
}
|
|
577
|
-
/**
|
|
578
|
-
* Dynamic add a model to webda
|
|
579
|
-
* @param model
|
|
580
|
-
* @param klass
|
|
581
|
-
*/
|
|
582
|
-
registerModel(model, name = model.constructor.name, graph = {}) {
|
|
583
|
-
this.webda.getApplication().addModel(name, model);
|
|
584
|
-
this.webda.getApplication().getGraph()[name] = graph;
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
class WebdaSimpleTest extends WebdaTest {
|
|
588
|
-
getTestConfiguration() {
|
|
589
|
-
return {
|
|
590
|
-
parameters: {
|
|
591
|
-
ignoreBeans: true
|
|
592
|
-
}
|
|
593
|
-
};
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
export class TestInternalApplication extends TestApplication {
|
|
597
|
-
loadProjectInformation() {
|
|
598
|
-
const info = super.loadProjectInformation();
|
|
599
|
-
delete info.webda.workspaces;
|
|
600
|
-
return info;
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
export class WebdaInternalTest extends WebdaTest {
|
|
604
|
-
getApplication() {
|
|
605
|
-
let cfg = this.getTestConfiguration();
|
|
606
|
-
if (typeof cfg === "string") {
|
|
607
|
-
cfg = FileUtils.load(cfg);
|
|
608
|
-
}
|
|
609
|
-
return new TestInternalApplication(cfg);
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
export class WebdaInternalSimpleTest extends WebdaInternalTest {
|
|
613
|
-
getTestConfiguration() {
|
|
614
|
-
return {
|
|
615
|
-
parameters: {
|
|
616
|
-
ignoreBeans: true
|
|
617
|
-
}
|
|
618
|
-
};
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
export { WebdaSimpleTest, WebdaTest };
|
|
622
|
-
//# sourceMappingURL=test.js.map
|
package/lib/test.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"test.js","sourceRoot":"","sources":["../src/test.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,IAAI,EAGJ,WAAW,EAGX,UAAU,EACV,OAAO,EACP,KAAK,EAEL,eAAe,EAEf,UAAU,EACX,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,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