slnodejs 6.1.415 → 6.1.447
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/browser-agent/dist/browser-agent-all.js +249 -414
- package/browser-agent/dist/browser-agent-all.min.js +3 -3
- package/browser-agent/package.json +1 -1
- package/package.json +2 -2
- package/tsOutputs/api.js +32 -86
- package/tsOutputs/build-scanner/ast-utils.js +11 -11
- package/tsOutputs/build-scanner/ast-utils.js.map +1 -1
- package/tsOutputs/build-scanner/build-diff-process.js +35 -16
- package/tsOutputs/build-scanner/build-diff-process.js.map +1 -1
- package/tsOutputs/build-scanner/cia.js +2 -2
- package/tsOutputs/build-scanner/cia.js.map +1 -1
- package/tsOutputs/build-scanner/default-values-resolver.js +5 -7
- package/tsOutputs/build-scanner/default-values-resolver.js.map +1 -1
- package/tsOutputs/build-scanner/diagnostic/build-scan-diagnosis.js +101 -159
- package/tsOutputs/build-scanner/diagnostic/build-scan-diagnosis.js.map +1 -1
- package/tsOutputs/build-scanner/diagnostic/none-diagnosis.js +23 -55
- package/tsOutputs/build-scanner/diagnostic/none-diagnosis.js.map +1 -1
- package/tsOutputs/build-scanner/file-and-folder-utils.js +3 -3
- package/tsOutputs/build-scanner/file-and-folder-utils.js.map +1 -1
- package/tsOutputs/build-scanner/file-system/actual-file.js +3 -3
- package/tsOutputs/build-scanner/file-system/actual-file.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/browser-instrumenter.js +56 -60
- package/tsOutputs/build-scanner/instrumentation/browser-instrumenter.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/content-instrumenter.js +9 -10
- package/tsOutputs/build-scanner/instrumentation/content-instrumenter.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/files-instrumenter.js +80 -124
- package/tsOutputs/build-scanner/instrumentation/files-instrumenter.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/instrumentation-utils.js +3 -3
- package/tsOutputs/build-scanner/instrumentation/instrumentation-utils.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/instrumented-file-size-reducer.js +4 -4
- package/tsOutputs/build-scanner/instrumentation/instrumented-file-size-reducer.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/process-pool/instrumenter-spawn.js +15 -50
- package/tsOutputs/build-scanner/instrumentation/process-pool/instrumenter-spawn.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/process-pool/process-pool.js +84 -141
- package/tsOutputs/build-scanner/instrumentation/process-pool/process-pool.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/process-pool/split-by-transform-stream.js +15 -34
- package/tsOutputs/build-scanner/instrumentation/process-pool/split-by-transform-stream.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/process-pool/stop-by-condition-transform-stream.js +9 -27
- package/tsOutputs/build-scanner/instrumentation/process-pool/stop-by-condition-transform-stream.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/strategies/copy-as-is-strategy.js +8 -10
- package/tsOutputs/build-scanner/instrumentation/strategies/copy-as-is-strategy.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/strategies/js-instrumnetation-strategy.js +22 -54
- package/tsOutputs/build-scanner/instrumentation/strategies/js-instrumnetation-strategy.js.map +1 -1
- package/tsOutputs/build-scanner/instrumentation/strategies/markup-instrumnetation-strategy.js +55 -107
- package/tsOutputs/build-scanner/instrumentation/strategies/markup-instrumnetation-strategy.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/file-signature.js +5 -6
- package/tsOutputs/build-scanner/js_diff/file-signature.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/files-mapping.js +6 -6
- package/tsOutputs/build-scanner/js_diff/files-mapping.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/generated-file-signature.js +3 -3
- package/tsOutputs/build-scanner/js_diff/generated-file-signature.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/guess-method-location.js +26 -27
- package/tsOutputs/build-scanner/js_diff/guess-method-location.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/method-signature.js +1 -1
- package/tsOutputs/build-scanner/js_diff/method-signature.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/sl-mapper.js +28 -79
- package/tsOutputs/build-scanner/js_diff/sl-mapper.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/source-data-enricher.js +3 -2
- package/tsOutputs/build-scanner/js_diff/source-data-enricher.js.map +1 -1
- package/tsOutputs/build-scanner/js_diff/source-files-notifier.js +1 -1
- package/tsOutputs/build-scanner/js_diff/source-files-notifier.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/ensure-files-handler.service.js +76 -149
- package/tsOutputs/build-scanner/mappings/ensure-files-handler.service.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/file-element-utils.js +9 -9
- package/tsOutputs/build-scanner/mappings/file-element-utils.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/file-enricher.js +71 -100
- package/tsOutputs/build-scanner/mappings/file-enricher.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/file-path-fixer.js +112 -0
- package/tsOutputs/build-scanner/mappings/file-path-fixer.js.map +1 -0
- package/tsOutputs/build-scanner/mappings/files-container.js +89 -0
- package/tsOutputs/build-scanner/mappings/files-container.js.map +1 -0
- package/tsOutputs/build-scanner/mappings/files-data-container.js +18 -23
- package/tsOutputs/build-scanner/mappings/files-data-container.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/source-path-mapper.js +15 -45
- package/tsOutputs/build-scanner/mappings/source-path-mapper.js.map +1 -1
- package/tsOutputs/build-scanner/markup-files-parser.js +1 -1
- package/tsOutputs/build-scanner/markup-files-parser.js.map +1 -1
- package/tsOutputs/build-scanner/scm/scm-file-fixer.js +27 -0
- package/tsOutputs/build-scanner/scm/scm-file-fixer.js.map +1 -0
- package/tsOutputs/build-scanner/scm/scm-files-container.js +9 -45
- package/tsOutputs/build-scanner/scm/scm-files-container.js.map +1 -1
- package/tsOutputs/build-scanner/sl-config-cia-cli.js +1 -1
- package/tsOutputs/build-scanner/sl-config-cia-cli.js.map +1 -1
- package/tsOutputs/build-scanner/utils.js +5 -5
- package/tsOutputs/build-scanner/utils.js.map +1 -1
- package/tsOutputs/cli-parse/agent-instance-data.js +2 -2
- package/tsOutputs/cli-parse/agent-instance-data.js.map +1 -1
- package/tsOutputs/cli-parse/child-process-wrapper.js +26 -60
- package/tsOutputs/cli-parse/child-process-wrapper.js.map +1 -1
- package/tsOutputs/cli-parse/cli.js +72 -191
- package/tsOutputs/cli-parse/cli.js.map +1 -1
- package/tsOutputs/cli-parse/constants/constants.js +9 -9
- package/tsOutputs/cli-parse/constants/constants.js.map +1 -1
- package/tsOutputs/cli-parse/custom-commander.js +17 -18
- package/tsOutputs/cli-parse/custom-commander.js.map +1 -1
- package/tsOutputs/cli-parse/executors/base-executor.js +121 -236
- package/tsOutputs/cli-parse/executors/base-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/build-args-dto.js +10 -11
- package/tsOutputs/cli-parse/executors/build-args-dto.js.map +1 -1
- package/tsOutputs/cli-parse/executors/build-end-executor.js +34 -92
- package/tsOutputs/cli-parse/executors/build-end-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/build-executor.js +64 -133
- package/tsOutputs/cli-parse/executors/build-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/config-executor.js +35 -92
- package/tsOutputs/cli-parse/executors/config-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/base-data.js +29 -39
- package/tsOutputs/cli-parse/executors/dry-run/base-data.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/build-mapping-data.js +92 -177
- package/tsOutputs/cli-parse/executors/dry-run/build-mapping-data.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/dry-run-executor.js +110 -194
- package/tsOutputs/cli-parse/executors/dry-run/dry-run-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/dry-run-validation.js +49 -83
- package/tsOutputs/cli-parse/executors/dry-run/dry-run-validation.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/footprints-data.js +55 -113
- package/tsOutputs/cli-parse/executors/dry-run/footprints-data.js.map +1 -1
- package/tsOutputs/cli-parse/executors/dry-run/helper-methods.js +24 -25
- package/tsOutputs/cli-parse/executors/dry-run/helper-methods.js.map +1 -1
- package/tsOutputs/cli-parse/executors/end-execution-executor.js +16 -64
- package/tsOutputs/cli-parse/executors/end-execution-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/integration-build-components-executor.js +29 -82
- package/tsOutputs/cli-parse/executors/integration-build-components-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/integration-build-delete-components-executor.js +12 -59
- package/tsOutputs/cli-parse/executors/integration-build-delete-components-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/integration-build-update-components-executor.js +9 -58
- package/tsOutputs/cli-parse/executors/integration-build-update-components-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/mocha-executor.js +41 -101
- package/tsOutputs/cli-parse/executors/mocha-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/nyc-report-executor.js +24 -83
- package/tsOutputs/cli-parse/executors/nyc-report-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/pr-config-executor.js +15 -63
- package/tsOutputs/cli-parse/executors/pr-config-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/run-executor.js +23 -75
- package/tsOutputs/cli-parse/executors/run-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/start-execution-executor.js +16 -64
- package/tsOutputs/cli-parse/executors/start-execution-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/test-executions-executor.js +9 -63
- package/tsOutputs/cli-parse/executors/test-executions-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/test-listener-executor.js +47 -117
- package/tsOutputs/cli-parse/executors/test-listener-executor.js.map +1 -1
- package/tsOutputs/cli-parse/executors/upload-report-executor.js +23 -71
- package/tsOutputs/cli-parse/executors/upload-report-executor.js.map +1 -1
- package/tsOutputs/cli-parse/utils.js +10 -10
- package/tsOutputs/cli-parse/utils.js.map +1 -1
- package/tsOutputs/common/agent-events/agent-events-controller.js +146 -251
- package/tsOutputs/common/agent-events/agent-events-controller.js.map +1 -1
- package/tsOutputs/common/agent-events/agent-events-guard.js +12 -15
- package/tsOutputs/common/agent-events/agent-events-guard.js.map +1 -1
- package/tsOutputs/common/agent-events/agent-instance-info-builder.js +22 -24
- package/tsOutputs/common/agent-events/agent-instance-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/agent-start-info-builder.js +7 -8
- package/tsOutputs/common/agent-events/agent-start-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/browser-info-builder.js +9 -10
- package/tsOutputs/common/agent-events/browser-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/ci-info-builder.js +12 -13
- package/tsOutputs/common/agent-events/ci-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/cockpit-notifier.js +38 -87
- package/tsOutputs/common/agent-events/cockpit-notifier.js.map +1 -1
- package/tsOutputs/common/agent-events/dry-run-agent-events-controller.js +10 -27
- package/tsOutputs/common/agent-events/dry-run-agent-events-controller.js.map +1 -1
- package/tsOutputs/common/agent-events/machine-info-builder.js +21 -22
- package/tsOutputs/common/agent-events/machine-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/no-op-agent-events-controller.js +30 -84
- package/tsOutputs/common/agent-events/no-op-agent-events-controller.js.map +1 -1
- package/tsOutputs/common/agent-events/nodejs-env-info-builder.js +7 -8
- package/tsOutputs/common/agent-events/nodejs-env-info-builder.js.map +1 -1
- package/tsOutputs/common/agent-events/sensitive-data-filter.js +3 -4
- package/tsOutputs/common/agent-events/sensitive-data-filter.js.map +1 -1
- package/tsOutputs/common/agent-instance-data.js +23 -28
- package/tsOutputs/common/agent-instance-data.js.map +1 -1
- package/tsOutputs/common/cli-progress.js +16 -19
- package/tsOutputs/common/cli-progress.js.map +1 -1
- package/tsOutputs/common/config-process/config-loader.js +23 -24
- package/tsOutputs/common/config-process/config-loader.js.map +1 -1
- package/tsOutputs/common/config-process/config-system.js +104 -131
- package/tsOutputs/common/config-process/config-system.js.map +1 -1
- package/tsOutputs/common/config-process/config.js +52 -73
- package/tsOutputs/common/config-process/config.js.map +1 -1
- package/tsOutputs/common/config-process/index.js +38 -57
- package/tsOutputs/common/config-process/index.js.map +1 -1
- package/tsOutputs/common/config-process/no-op-config-process.js +9 -29
- package/tsOutputs/common/config-process/no-op-config-process.js.map +1 -1
- package/tsOutputs/common/constants/constants.js +19 -25
- package/tsOutputs/common/constants/constants.js.map +1 -1
- package/tsOutputs/common/constants/sl-env-vars.js +125 -131
- package/tsOutputs/common/constants/sl-env-vars.js.map +1 -1
- package/tsOutputs/common/coverage-elements/file-element.js +66 -103
- package/tsOutputs/common/coverage-elements/file-element.js.map +1 -1
- package/tsOutputs/common/coverage-elements/istanbul-unique-id-converter.js +28 -47
- package/tsOutputs/common/coverage-elements/istanbul-unique-id-converter.js.map +1 -1
- package/tsOutputs/common/coverage-elements/new-id-resolver.js +17 -17
- package/tsOutputs/common/coverage-elements/new-id-resolver.js.map +1 -1
- package/tsOutputs/common/coverage-elements/original-module-loader.js +71 -79
- package/tsOutputs/common/coverage-elements/original-module-loader.js.map +1 -1
- package/tsOutputs/common/coverage-elements/unique-id-converter.js +90 -110
- package/tsOutputs/common/coverage-elements/unique-id-converter.js.map +1 -1
- package/tsOutputs/common/environment-data-service.js +10 -11
- package/tsOutputs/common/environment-data-service.js.map +1 -1
- package/tsOutputs/common/events-process/events-creator.js +20 -32
- package/tsOutputs/common/events-process/events-creator.js.map +1 -1
- package/tsOutputs/common/events-process/index.js +97 -186
- package/tsOutputs/common/events-process/index.js.map +1 -1
- package/tsOutputs/common/footprints-process/collection-interval.js +10 -11
- package/tsOutputs/common/footprints-process/collection-interval.js.map +1 -1
- package/tsOutputs/common/footprints-process/footprints-service-proxy.js +21 -22
- package/tsOutputs/common/footprints-process/footprints-service-proxy.js.map +1 -1
- package/tsOutputs/common/footprints-process/index.js +68 -102
- package/tsOutputs/common/footprints-process/index.js.map +1 -1
- package/tsOutputs/common/footprints-process/istanbul-to-footprints-contract.js +2 -5
- package/tsOutputs/common/footprints-process/istanbul-to-footprints-contract.js.map +1 -1
- package/tsOutputs/common/footprints-process/istanbul-to-footprints.js +160 -162
- package/tsOutputs/common/footprints-process/istanbul-to-footprints.js.map +1 -1
- package/tsOutputs/common/footprints-process/production-footprints-handler.js +103 -156
- package/tsOutputs/common/footprints-process/production-footprints-handler.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/base-browser-hits-converter.js +30 -48
- package/tsOutputs/common/footprints-process-v6/base-browser-hits-converter.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/browser-footprints-buffer.js +7 -25
- package/tsOutputs/common/footprints-process-v6/browser-footprints-buffer.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/buffer-size-helper.js +13 -14
- package/tsOutputs/common/footprints-process-v6/buffer-size-helper.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/collector-footprints-buffer.js +14 -32
- package/tsOutputs/common/footprints-process-v6/collector-footprints-buffer.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/collector-footprints-process.js +43 -109
- package/tsOutputs/common/footprints-process-v6/collector-footprints-process.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/contracts.js +2 -5
- package/tsOutputs/common/footprints-process-v6/contracts.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/footprints-buffer.d.ts +1 -1
- package/tsOutputs/common/footprints-process-v6/footprints-buffer.js +55 -78
- package/tsOutputs/common/footprints-process-v6/footprints-buffer.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/hits-collector.js +89 -129
- package/tsOutputs/common/footprints-process-v6/hits-collector.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/hits-converter.js +70 -78
- package/tsOutputs/common/footprints-process-v6/hits-converter.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/index.d.ts +1 -0
- package/tsOutputs/common/footprints-process-v6/index.js +210 -347
- package/tsOutputs/common/footprints-process-v6/index.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/location-formatter.js +2 -2
- package/tsOutputs/common/footprints-process-v6/location-formatter.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/relative-path-resolver.js +10 -11
- package/tsOutputs/common/footprints-process-v6/relative-path-resolver.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/remote-browser-hits-converter.js +5 -25
- package/tsOutputs/common/footprints-process-v6/remote-browser-hits-converter.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/remote-footprints-process.js +6 -57
- package/tsOutputs/common/footprints-process-v6/remote-footprints-process.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/remote-hits-collector.js +7 -27
- package/tsOutputs/common/footprints-process-v6/remote-hits-collector.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/source-map-data.js +14 -15
- package/tsOutputs/common/footprints-process-v6/source-map-data.js.map +1 -1
- package/tsOutputs/common/http/backend-proxy.js +222 -321
- package/tsOutputs/common/http/backend-proxy.js.map +1 -1
- package/tsOutputs/common/http/contracts.js +40 -116
- package/tsOutputs/common/http/contracts.js.map +1 -1
- package/tsOutputs/common/http/dry-run-proxy.js +68 -111
- package/tsOutputs/common/http/dry-run-proxy.js.map +1 -1
- package/tsOutputs/common/http/entities-mapper.js +6 -9
- package/tsOutputs/common/http/entities-mapper.js.map +1 -1
- package/tsOutputs/common/http/http-client.js +76 -86
- package/tsOutputs/common/http/http-client.js.map +1 -1
- package/tsOutputs/common/http/sl-routes.js +119 -122
- package/tsOutputs/common/http/sl-routes.js.map +1 -1
- package/tsOutputs/common/ignored-files-handler.js +48 -49
- package/tsOutputs/common/ignored-files-handler.js.map +1 -1
- package/tsOutputs/common/logger.js +66 -88
- package/tsOutputs/common/logger.js.map +1 -1
- package/tsOutputs/common/messages-formatter.js +9 -14
- package/tsOutputs/common/messages-formatter.js.map +1 -1
- package/tsOutputs/common/no-op-state-tracker.js +14 -37
- package/tsOutputs/common/no-op-state-tracker.js.map +1 -1
- package/tsOutputs/common/queue.js +18 -36
- package/tsOutputs/common/queue.js.map +1 -1
- package/tsOutputs/common/scm/git-cloner.js +30 -94
- package/tsOutputs/common/scm/git-cloner.js.map +1 -1
- package/tsOutputs/common/scm/git-format-builder.js +24 -25
- package/tsOutputs/common/scm/git-format-builder.js.map +1 -1
- package/tsOutputs/common/scm/git.js +192 -327
- package/tsOutputs/common/scm/git.js.map +1 -1
- package/tsOutputs/common/scm/none.js +58 -110
- package/tsOutputs/common/scm/none.js.map +1 -1
- package/tsOutputs/common/scm/scm-factory.js +13 -16
- package/tsOutputs/common/scm/scm-factory.js.map +1 -1
- package/tsOutputs/common/short-name-to-file-mapper.js +30 -33
- package/tsOutputs/common/short-name-to-file-mapper.js.map +1 -1
- package/tsOutputs/common/source-map-handler.js +76 -98
- package/tsOutputs/common/source-map-handler.js.map +1 -1
- package/tsOutputs/common/source-map-reader.js +35 -36
- package/tsOutputs/common/source-map-reader.js.map +1 -1
- package/tsOutputs/common/source-maps-utils.js +8 -11
- package/tsOutputs/common/source-maps-utils.js.map +1 -1
- package/tsOutputs/common/state-tracker-fpv6.js +15 -37
- package/tsOutputs/common/state-tracker-fpv6.js.map +1 -1
- package/tsOutputs/common/state-tracker.js +124 -212
- package/tsOutputs/common/state-tracker.js.map +1 -1
- package/tsOutputs/common/system-date.js +3 -3
- package/tsOutputs/common/system-date.js.map +1 -1
- package/tsOutputs/common/utils/abstract-data-builder.js +8 -9
- package/tsOutputs/common/utils/abstract-data-builder.js.map +1 -1
- package/tsOutputs/common/utils/build-session-data-builder.js +25 -79
- package/tsOutputs/common/utils/build-session-data-builder.js.map +1 -1
- package/tsOutputs/common/utils/dependency-utils.js +13 -16
- package/tsOutputs/common/utils/dependency-utils.js.map +1 -1
- package/tsOutputs/common/utils/env-var-parsing.js +10 -14
- package/tsOutputs/common/utils/env-var-parsing.js.map +1 -1
- package/tsOutputs/common/utils/files-utils.js +16 -19
- package/tsOutputs/common/utils/files-utils.js.map +1 -1
- package/tsOutputs/common/utils/process-utils.js +12 -25
- package/tsOutputs/common/utils/process-utils.js.map +1 -1
- package/tsOutputs/common/utils/test-runner-build-session-data-builder.js +16 -62
- package/tsOutputs/common/utils/test-runner-build-session-data-builder.js.map +1 -1
- package/tsOutputs/common/utils/test-utils/mock-server-utils/mock-server-proxy.js +120 -192
- package/tsOutputs/common/utils/test-utils/mock-server-utils/mock-server-proxy.js.map +1 -1
- package/tsOutputs/common/utils/timer-utils.js +4 -7
- package/tsOutputs/common/utils/timer-utils.js.map +1 -1
- package/tsOutputs/common/utils/token-data-builder.js +30 -50
- package/tsOutputs/common/utils/token-data-builder.js.map +1 -1
- package/tsOutputs/common/utils/validation-utils.d.ts +4 -0
- package/tsOutputs/common/utils/validation-utils.js +13 -10
- package/tsOutputs/common/utils/validation-utils.js.map +1 -1
- package/tsOutputs/common/uuid.js +7 -10
- package/tsOutputs/common/uuid.js.map +1 -1
- package/tsOutputs/common/v8-utils.js +12 -50
- package/tsOutputs/common/v8-utils.js.map +1 -1
- package/tsOutputs/common/watchdog.js +35 -56
- package/tsOutputs/common/watchdog.js.map +1 -1
- package/tsOutputs/mocha-reporter/index.js +12 -12
- package/tsOutputs/mocha-reporter/index.js.map +1 -1
- package/tsOutputs/mocha-reporter/otel-agent.js +47 -118
- package/tsOutputs/mocha-reporter/otel-agent.js.map +1 -1
- package/tsOutputs/test-listener/SlNodeJsProxy.js +34 -35
- package/tsOutputs/test-listener/SlNodeJsProxy.js.map +1 -1
- package/tsOutputs/test-listener/UserMessageHelper.js +14 -19
- package/tsOutputs/test-listener/UserMessageHelper.js.map +1 -1
- package/tsOutputs/test-listener/agent-loader.js +42 -59
- package/tsOutputs/test-listener/agent-loader.js.map +1 -1
- package/tsOutputs/test-listener/agent.js +93 -150
- package/tsOutputs/test-listener/agent.js.map +1 -1
- package/tsOutputs/test-listener/api.js +36 -70
- package/tsOutputs/test-listener/api.js.map +1 -1
- package/tsOutputs/test-listener/base-proxy.js +25 -27
- package/tsOutputs/test-listener/base-proxy.js.map +1 -1
- package/tsOutputs/test-listener/bootstrap.js +6 -6
- package/tsOutputs/test-listener/bootstrap.js.map +1 -1
- package/tsOutputs/test-listener/child-process-patcher.js +10 -10
- package/tsOutputs/test-listener/child-process-patcher.js.map +1 -1
- package/tsOutputs/test-listener/cli.js +27 -30
- package/tsOutputs/test-listener/cli.js.map +1 -1
- package/tsOutputs/test-listener/coloring/http-coloring.js +30 -33
- package/tsOutputs/test-listener/coloring/http-coloring.js.map +1 -1
- package/tsOutputs/test-listener/coloring/listening-port.js +14 -17
- package/tsOutputs/test-listener/coloring/listening-port.js.map +1 -1
- package/tsOutputs/test-listener/command-line-arg-parser.js +12 -15
- package/tsOutputs/test-listener/command-line-arg-parser.js.map +1 -1
- package/tsOutputs/test-listener/config-process/config-loader.js +21 -22
- package/tsOutputs/test-listener/config-process/config-loader.js.map +1 -1
- package/tsOutputs/test-listener/config-process/config-system.js +100 -127
- package/tsOutputs/test-listener/config-process/config-system.js.map +1 -1
- package/tsOutputs/test-listener/config-process/index.js +38 -57
- package/tsOutputs/test-listener/config-process/index.js.map +1 -1
- package/tsOutputs/test-listener/config.js +38 -59
- package/tsOutputs/test-listener/config.js.map +1 -1
- package/tsOutputs/test-listener/entities/BasicConfigurationData.js +37 -64
- package/tsOutputs/test-listener/entities/BasicConfigurationData.js.map +1 -1
- package/tsOutputs/test-listener/entities/build-scanner/ConfigModeData.js +17 -42
- package/tsOutputs/test-listener/entities/build-scanner/ConfigModeData.js.map +1 -1
- package/tsOutputs/test-listener/entities/build-scanner/ScanModeData.js +19 -45
- package/tsOutputs/test-listener/entities/build-scanner/ScanModeData.js.map +1 -1
- package/tsOutputs/test-listener/environment-data-service.js +10 -11
- package/tsOutputs/test-listener/environment-data-service.js.map +1 -1
- package/tsOutputs/test-listener/execution-process/entities-mapper.js +11 -14
- package/tsOutputs/test-listener/execution-process/entities-mapper.js.map +1 -1
- package/tsOutputs/test-listener/execution-process/execution-service-proxy.js +54 -72
- package/tsOutputs/test-listener/execution-process/execution-service-proxy.js.map +1 -1
- package/tsOutputs/test-listener/execution-process/index.js +26 -26
- package/tsOutputs/test-listener/execution-process/index.js.map +1 -1
- package/tsOutputs/test-listener/factory.js +140 -175
- package/tsOutputs/test-listener/factory.js.map +1 -1
- package/tsOutputs/test-listener/footprints-process/footprints-service-proxy.js +17 -34
- package/tsOutputs/test-listener/footprints-process/footprints-service-proxy.js.map +1 -1
- package/tsOutputs/test-listener/footprints-process/index.js +53 -58
- package/tsOutputs/test-listener/footprints-process/index.js.map +1 -1
- package/tsOutputs/test-listener/footprints-process/istanbul-to-footprints-base.js +49 -50
- package/tsOutputs/test-listener/footprints-process/istanbul-to-footprints-base.js.map +1 -1
- package/tsOutputs/test-listener/footprints-process/istanbul-to-footprints-v3.js +98 -117
- package/tsOutputs/test-listener/footprints-process/istanbul-to-footprints-v3.js.map +1 -1
- package/tsOutputs/test-listener/footprints-process/ts-node-hits-collector.js +57 -141
- package/tsOutputs/test-listener/footprints-process/ts-node-hits-collector.js.map +1 -1
- package/tsOutputs/test-listener/integrations/SlGulp.js +25 -26
- package/tsOutputs/test-listener/integrations/SlGulp.js.map +1 -1
- package/tsOutputs/test-listener/logs-process/index.js +30 -35
- package/tsOutputs/test-listener/logs-process/index.js.map +1 -1
- package/tsOutputs/test-listener/logs-process/log-service-proxy.js +8 -25
- package/tsOutputs/test-listener/logs-process/log-service-proxy.js.map +1 -1
- package/tsOutputs/test-listener/nyc-report-executor-fpv6.js +53 -110
- package/tsOutputs/test-listener/nyc-report-executor-fpv6.js.map +1 -1
- package/tsOutputs/test-listener/nyc-report-executor.js +48 -85
- package/tsOutputs/test-listener/nyc-report-executor.js.map +1 -1
- package/tsOutputs/test-listener/otel-agent-loader.js +30 -33
- package/tsOutputs/test-listener/otel-agent-loader.js.map +1 -1
- package/tsOutputs/test-listener/queue.js +18 -36
- package/tsOutputs/test-listener/queue.js.map +1 -1
- package/tsOutputs/test-listener/remote-agent.js +97 -223
- package/tsOutputs/test-listener/remote-agent.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/AppNameResolver.js +8 -25
- package/tsOutputs/test-listener/resolvers/AppNameResolver.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/ArgumentResolver.js +11 -12
- package/tsOutputs/test-listener/resolvers/ArgumentResolver.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/BuildResolver.js +8 -25
- package/tsOutputs/test-listener/resolvers/BuildResolver.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/BuildSessionIdFileResolver.js +8 -25
- package/tsOutputs/test-listener/resolvers/BuildSessionIdFileResolver.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/BuildSessionIdResolver.js +8 -25
- package/tsOutputs/test-listener/resolvers/BuildSessionIdResolver.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/ProxyResolver.js +8 -25
- package/tsOutputs/test-listener/resolvers/ProxyResolver.js.map +1 -1
- package/tsOutputs/test-listener/resolvers/TokenResolver.js +8 -25
- package/tsOutputs/test-listener/resolvers/TokenResolver.js.map +1 -1
- package/tsOutputs/test-listener/state-tracker-process/index.js +54 -74
- package/tsOutputs/test-listener/state-tracker-process/index.js.map +1 -1
- package/tsOutputs/test-listener/state-tracker-process/state-tracker-proxy.js +18 -37
- package/tsOutputs/test-listener/state-tracker-process/state-tracker-proxy.js.map +1 -1
- package/tsOutputs/test-listener/test-recommendation-handler.js +66 -109
- package/tsOutputs/test-listener/test-recommendation-handler.js.map +1 -1
- package/tsOutputs/test-listener/upload-report-handler.js +33 -35
- package/tsOutputs/test-listener/upload-report-handler.js.map +1 -1
- package/tsOutputs/test-listener/utils.js +13 -14
- package/tsOutputs/test-listener/utils.js.map +1 -1
- package/tsOutputs/test-listener/uuid.js +7 -10
- package/tsOutputs/test-listener/uuid.js.map +1 -1
- package/tsOutputs/test-listener/wait-for-multiple-callbacks.js +17 -19
- package/tsOutputs/test-listener/wait-for-multiple-callbacks.js.map +1 -1
- package/tsOutputs/test-listener/watchdog.js +32 -51
- package/tsOutputs/test-listener/watchdog.js.map +1 -1
- package/tsOutputs/build-scanner/mappings/scm-file-fixer.js +0 -96
- package/tsOutputs/build-scanner/mappings/scm-file-fixer.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuildSessionIdFileResolver.js","sourceRoot":"","sources":["../../../test-listener/resolvers/BuildSessionIdFileResolver.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BuildSessionIdFileResolver.js","sourceRoot":"","sources":["../../../test-listener/resolvers/BuildSessionIdFileResolver.ts"],"names":[],"mappings":";;;AAAA,yDAAoD;AAEpD;;GAEG;AAEH,MAAa,0BAA2B,SAAQ,mCAAgB;IAC5D,YAAY,iBAAoC;QAC5C,KAAK,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,CAAC;IACnD,CAAC;IAEM,OAAO,CAAC,QAAgB;QAC3B,OAAO,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAC,IAAI,EAAC,0BAA0B,CAAC,CAAC;IACnE,CAAC;CAEJ;AATD,gEASC"}
|
|
@@ -1,37 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.BuildSessionIdResolver = void 0;
|
|
19
|
-
|
|
4
|
+
const ArgumentResolver_1 = require("./ArgumentResolver");
|
|
20
5
|
/**
|
|
21
6
|
* Created by nadav on 15/03/2017.
|
|
22
7
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
return _super.call(this, userMessageHelper, 'buildSessionId') || this;
|
|
8
|
+
class BuildSessionIdResolver extends ArgumentResolver_1.ArgumentResolver {
|
|
9
|
+
constructor(userMessageHelper) {
|
|
10
|
+
super(userMessageHelper, 'buildSessionId');
|
|
27
11
|
}
|
|
28
|
-
|
|
12
|
+
resolve(argument, buildSessionIdFile) {
|
|
29
13
|
if (!buildSessionIdFile) {
|
|
30
14
|
buildSessionIdFile = 'buildSessionId';
|
|
31
15
|
}
|
|
32
|
-
return
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
}(ArgumentResolver_1.ArgumentResolver));
|
|
16
|
+
return super.resolve(argument, buildSessionIdFile, 'SL_BUILD_SESSION_ID');
|
|
17
|
+
}
|
|
18
|
+
}
|
|
36
19
|
exports.BuildSessionIdResolver = BuildSessionIdResolver;
|
|
37
20
|
//# sourceMappingURL=BuildSessionIdResolver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuildSessionIdResolver.js","sourceRoot":"","sources":["../../../test-listener/resolvers/BuildSessionIdResolver.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BuildSessionIdResolver.js","sourceRoot":"","sources":["../../../test-listener/resolvers/BuildSessionIdResolver.ts"],"names":[],"mappings":";;;AAAA,yDAAoD;AAEpD;;GAEG;AAEH,MAAa,sBAAuB,SAAQ,mCAAgB;IACxD,YAAY,iBAAoC;QAC5C,KAAK,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC;IAC/C,CAAC;IAEM,OAAO,CAAC,QAAgB,EAAE,kBAA2B;QACxD,IAAI,CAAC,kBAAkB,EAAC;YACpB,kBAAkB,GAAG,gBAAgB,CAAA;SACxC;QACD,OAAO,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAC,kBAAkB,EAAC,qBAAqB,CAAC,CAAC;IAC5E,CAAC;CAEJ;AAZD,wDAYC"}
|
|
@@ -1,34 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.ProxyResolver = void 0;
|
|
19
|
-
|
|
4
|
+
const ArgumentResolver_1 = require("./ArgumentResolver");
|
|
20
5
|
/**
|
|
21
6
|
* Created by nadav on 15/03/2017.
|
|
22
7
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
return _super.call(this, userMessageHelper, 'proxy') || this;
|
|
8
|
+
class ProxyResolver extends ArgumentResolver_1.ArgumentResolver {
|
|
9
|
+
constructor(userMessageHelper) {
|
|
10
|
+
super(userMessageHelper, 'proxy');
|
|
27
11
|
}
|
|
28
|
-
|
|
29
|
-
return
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
}(ArgumentResolver_1.ArgumentResolver));
|
|
12
|
+
resolve(argument) {
|
|
13
|
+
return super.resolve(argument, null, 'SL_PROXY');
|
|
14
|
+
}
|
|
15
|
+
}
|
|
33
16
|
exports.ProxyResolver = ProxyResolver;
|
|
34
17
|
//# sourceMappingURL=ProxyResolver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProxyResolver.js","sourceRoot":"","sources":["../../../test-listener/resolvers/ProxyResolver.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ProxyResolver.js","sourceRoot":"","sources":["../../../test-listener/resolvers/ProxyResolver.ts"],"names":[],"mappings":";;;AAAA,yDAAoD;AAEpD;;GAEG;AAEH,MAAa,aAAc,SAAQ,mCAAgB;IAC/C,YAAY,iBAAoC;QAC5C,KAAK,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;IAEM,OAAO,CAAC,QAAgB;QAC3B,OAAO,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAC,IAAI,EAAC,UAAU,CAAC,CAAC;IACnD,CAAC;CAEJ;AATD,sCASC"}
|
|
@@ -1,34 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.TokenResolver = void 0;
|
|
19
|
-
|
|
4
|
+
const ArgumentResolver_1 = require("./ArgumentResolver");
|
|
20
5
|
/**
|
|
21
6
|
* Created by nadav on 15/03/2017.
|
|
22
7
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
return _super.call(this, userMessageHelper, 'token') || this;
|
|
8
|
+
class TokenResolver extends ArgumentResolver_1.ArgumentResolver {
|
|
9
|
+
constructor(userMessageHelper) {
|
|
10
|
+
super(userMessageHelper, 'token');
|
|
27
11
|
}
|
|
28
|
-
|
|
29
|
-
return
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
}(ArgumentResolver_1.ArgumentResolver));
|
|
12
|
+
resolve(argument, tokenFile) {
|
|
13
|
+
return super.resolve(argument, tokenFile, 'SL_TOKEN');
|
|
14
|
+
}
|
|
15
|
+
}
|
|
33
16
|
exports.TokenResolver = TokenResolver;
|
|
34
17
|
//# sourceMappingURL=TokenResolver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenResolver.js","sourceRoot":"","sources":["../../../test-listener/resolvers/TokenResolver.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TokenResolver.js","sourceRoot":"","sources":["../../../test-listener/resolvers/TokenResolver.ts"],"names":[],"mappings":";;;AAAA,yDAAoD;AAEpD;;GAEG;AAEH,MAAa,aAAc,SAAQ,mCAAgB;IAC/C,YAAY,iBAAoC;QAC5C,KAAK,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;IAEM,OAAO,CAAC,QAAgB,EAAE,SAAkB;QAC/C,OAAO,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAC,SAAS,EAAC,UAAU,CAAC,CAAC;IACxD,CAAC;CAEJ;AATD,sCASC"}
|
|
@@ -1,37 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.StateTrackerProcess = void 0;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
_this.isRunning = false;
|
|
4
|
+
const events = require("events");
|
|
5
|
+
const timers_1 = require("timers");
|
|
6
|
+
const sl_env_vars_1 = require("../../common/constants/sl-env-vars");
|
|
7
|
+
const INITIAL_COLOR = '00000000-0000-0000-0000-000000000000/__init';
|
|
8
|
+
class StateTrackerProcess extends events.EventEmitter {
|
|
9
|
+
constructor(cfg, configProcess, stateTrackerProxy, checkTestStatusWatchdog, logger) {
|
|
10
|
+
super();
|
|
11
|
+
this.cfg = cfg;
|
|
12
|
+
this.configProcess = configProcess;
|
|
13
|
+
this.stateTrackerProxy = stateTrackerProxy;
|
|
14
|
+
this.checkTestStatusWatchdog = checkTestStatusWatchdog;
|
|
15
|
+
this.logger = logger;
|
|
16
|
+
this.currentTestIdentifier = null;
|
|
17
|
+
this._hasAnonymousMappingAtServer = false;
|
|
18
|
+
this.isRunning = false;
|
|
35
19
|
if (!cfg) {
|
|
36
20
|
throw new Error('cfg is required');
|
|
37
21
|
}
|
|
@@ -47,64 +31,61 @@ var StateTrackerProcess = /** @class */ (function (_super) {
|
|
|
47
31
|
if (!logger) {
|
|
48
32
|
throw new Error('logger is required');
|
|
49
33
|
}
|
|
50
|
-
if (
|
|
51
|
-
|
|
34
|
+
if (this.cfg.useInitialColor.value && this.currentTestIdentifier == null) {
|
|
35
|
+
this.switchToAnonFootprints();
|
|
52
36
|
}
|
|
53
|
-
configProcess.on('configuration_changed',
|
|
54
|
-
if (newCfg.useInitialColor.value &&
|
|
55
|
-
|
|
37
|
+
configProcess.on('configuration_changed', (newCfg) => {
|
|
38
|
+
if (newCfg.useInitialColor.value && this.currentTestIdentifier == null) {
|
|
39
|
+
this.switchToAnonFootprints();
|
|
56
40
|
}
|
|
57
|
-
|
|
41
|
+
this.cfg = newCfg;
|
|
58
42
|
});
|
|
59
|
-
|
|
60
|
-
return _this;
|
|
43
|
+
this.startCheckingTestStatusAtServer();
|
|
61
44
|
}
|
|
62
|
-
|
|
63
|
-
var _this = this;
|
|
45
|
+
startCheckingTestStatusAtServer() {
|
|
64
46
|
if (sl_env_vars_1.SlEnvVars.inProductionListenerMode()) {
|
|
65
47
|
this.logger.debug('In production listener, no need to check test status in server');
|
|
66
48
|
return;
|
|
67
49
|
}
|
|
68
|
-
this.checkTestStatusWatchdog.on('alarm',
|
|
69
|
-
|
|
50
|
+
this.checkTestStatusWatchdog.on('alarm', () => {
|
|
51
|
+
this.checkTestStatusAtServer();
|
|
70
52
|
});
|
|
71
53
|
//Invoke it directly after the CTOR ends.
|
|
72
|
-
(0, timers_1.setTimeout)(
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
var _this = this;
|
|
54
|
+
(0, timers_1.setTimeout)(() => { this.checkTestStatusAtServer(); }, 0);
|
|
55
|
+
}
|
|
56
|
+
checkTestStatusAtServer() {
|
|
76
57
|
if (this.currentTestIdentifier == INITIAL_COLOR) {
|
|
77
58
|
//check if there is still a mapping
|
|
78
|
-
this.stateTrackerProxy.checkMappingStatus(
|
|
59
|
+
this.stateTrackerProxy.checkMappingStatus((err, hasMapping) => {
|
|
79
60
|
if (err) {
|
|
80
|
-
|
|
61
|
+
this.logger.warn(`Error while checking test execution status ${err}`);
|
|
81
62
|
}
|
|
82
63
|
else { //Agent was in "initial color" and now the server returns that the mapping is no longer active
|
|
83
|
-
|
|
64
|
+
this._hasAnonymousMappingAtServer = hasMapping;
|
|
84
65
|
}
|
|
85
66
|
});
|
|
86
67
|
}
|
|
87
68
|
else {
|
|
88
69
|
this.logger.info('\'currentTestIdentifier\' is null. That means that footprints will not be sent.');
|
|
89
70
|
}
|
|
90
|
-
}
|
|
91
|
-
|
|
71
|
+
}
|
|
72
|
+
hasAnonymousMappingAtServer() {
|
|
92
73
|
return this._hasAnonymousMappingAtServer;
|
|
93
|
-
}
|
|
94
|
-
|
|
74
|
+
}
|
|
75
|
+
isAnonymousColor(testIdentifier) {
|
|
95
76
|
return INITIAL_COLOR == testIdentifier;
|
|
96
|
-
}
|
|
97
|
-
|
|
77
|
+
}
|
|
78
|
+
switchToAnonFootprints() {
|
|
98
79
|
this.logger.info('Switching to anonymous footprints.');
|
|
99
80
|
this.setTestIdentifier(INITIAL_COLOR, false);
|
|
100
|
-
}
|
|
101
|
-
|
|
81
|
+
}
|
|
82
|
+
getCurrentTestIdentifier() {
|
|
102
83
|
return this.currentTestIdentifier;
|
|
103
|
-
}
|
|
104
|
-
|
|
84
|
+
}
|
|
85
|
+
setTestIdentifier(newTestIdentifier, silent) {
|
|
105
86
|
this.logger.info('setting test identifier: ' + newTestIdentifier);
|
|
106
87
|
if ((this.currentTestIdentifier == null) && (newTestIdentifier != null) || (this.currentTestIdentifier != null && this.currentTestIdentifier != newTestIdentifier && newTestIdentifier != INITIAL_COLOR)) {
|
|
107
|
-
|
|
88
|
+
const previousTestIdentifier = this.currentTestIdentifier;
|
|
108
89
|
this.currentTestIdentifier = newTestIdentifier;
|
|
109
90
|
if (this.isRunning) {
|
|
110
91
|
if (!silent) {
|
|
@@ -119,15 +100,15 @@ var StateTrackerProcess = /** @class */ (function (_super) {
|
|
|
119
100
|
else {
|
|
120
101
|
this.logger.info('Not setting the color. newTestIdentifier is \'' + newTestIdentifier + '\' ' + 'and currentTestIdentifier is \'' + this.currentTestIdentifier + '\'');
|
|
121
102
|
}
|
|
122
|
-
}
|
|
123
|
-
|
|
103
|
+
}
|
|
104
|
+
start() {
|
|
124
105
|
if (this.isRunning) {
|
|
125
106
|
return;
|
|
126
107
|
}
|
|
127
108
|
this.checkTestStatusWatchdog.start();
|
|
128
109
|
this.isRunning = true;
|
|
129
|
-
}
|
|
130
|
-
|
|
110
|
+
}
|
|
111
|
+
stop(callback) {
|
|
131
112
|
try {
|
|
132
113
|
if (!this.isRunning) {
|
|
133
114
|
return callback();
|
|
@@ -140,24 +121,23 @@ var StateTrackerProcess = /** @class */ (function (_super) {
|
|
|
140
121
|
//TODO: log
|
|
141
122
|
return callback();
|
|
142
123
|
}
|
|
143
|
-
}
|
|
144
|
-
|
|
124
|
+
}
|
|
125
|
+
static splitTestIdToExecutionAndTestName(testId) {
|
|
145
126
|
testId = testId || '';
|
|
146
|
-
|
|
147
|
-
|
|
127
|
+
const executionId = testId.split('/')[0];
|
|
128
|
+
let testName = (testId.indexOf('/') == -1) ? '' : testId.substring(executionId.length + 1);
|
|
148
129
|
if (!executionId) {
|
|
149
130
|
testName = '';
|
|
150
131
|
}
|
|
151
132
|
return { executionId: executionId, testName: testName };
|
|
152
|
-
}
|
|
153
|
-
|
|
133
|
+
}
|
|
134
|
+
static combineExecutionIdAndTestName(executionId, testName) {
|
|
154
135
|
testName = testName || '';
|
|
155
136
|
if (!executionId) {
|
|
156
137
|
return '';
|
|
157
138
|
}
|
|
158
139
|
return executionId + '/' + testName;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
}(events.EventEmitter));
|
|
140
|
+
}
|
|
141
|
+
}
|
|
162
142
|
exports.StateTrackerProcess = StateTrackerProcess;
|
|
163
143
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../test-listener/state-tracker-process/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../test-listener/state-tracker-process/index.ts"],"names":[],"mappings":";;;AAAA,iCAAkC;AAKlC,mCAAoC;AACpC,oEAA6D;AAE7D,MAAM,aAAa,GAAG,6CAA6C,CAAC;AAEpE,MAAa,mBAAoB,SAAQ,MAAM,CAAC,YAAY;IACxD,YAA2B,GAAgB,EAC/B,aAA4B,EAC5B,iBAAoC,EACpC,uBAAiC,EACjC,MAAc;QACtB,KAAK,EAAE,CAAC;QALe,QAAG,GAAH,GAAG,CAAa;QAC/B,kBAAa,GAAb,aAAa,CAAe;QAC5B,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,4BAAuB,GAAvB,uBAAuB,CAAU;QACjC,WAAM,GAAN,MAAM,CAAQ;QA6DlB,0BAAqB,GAAW,IAAI,CAAC;QACrC,iCAA4B,GAAY,KAAK,CAAC;QAsC9C,cAAS,GAAG,KAAK,CAAC;QAlGtB,IAAI,CAAC,GAAG,EAAE;YACN,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC;SACtC;QACD,IAAI,CAAC,aAAa,EAAE;YAChB,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;SAChD;QACD,IAAI,CAAC,iBAAiB,EAAE;YACpB,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;SACpD;QACD,IAAI,CAAC,uBAAuB,EAAE;YAC1B,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;SAC1D;QAED,IAAI,CAAC,MAAM,EAAE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B,CAAC,WAAW,EAAE,QAAQ;QAC7D,QAAQ,GAAG,QAAQ,IAAI,EAAE,CAAC;QAC1B,IAAI,CAAC,WAAW,EAAE;YACd,OAAO,EAAE,CAAC;SACb;QACD,OAAO,WAAW,GAAG,GAAG,GAAG,QAAQ,CAAC;IACxC,CAAC;CACJ;AAhJD,kDAgJC"}
|
|
@@ -1,26 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.StateTrackerProxy = void 0;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
var _this = _super.call(this, cfg, request, logger) || this;
|
|
4
|
+
const base_proxy_1 = require("../base-proxy");
|
|
5
|
+
class StateTrackerProxy extends base_proxy_1.BaseProxy {
|
|
6
|
+
constructor(cfg, request, logger) {
|
|
7
|
+
super(cfg, request, logger);
|
|
24
8
|
if (!cfg) {
|
|
25
9
|
throw new Error('cfg is required');
|
|
26
10
|
}
|
|
@@ -30,43 +14,40 @@ var StateTrackerProxy = /** @class */ (function (_super) {
|
|
|
30
14
|
if (!logger) {
|
|
31
15
|
throw new Error('logger is required');
|
|
32
16
|
}
|
|
33
|
-
return _this;
|
|
34
17
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
var queryParams = {
|
|
18
|
+
checkMappingStatus(callback) {
|
|
19
|
+
const routeVersion = this.cfg.token.hasValue ? '/v3' : '/v2';
|
|
20
|
+
let url = routeVersion + '/testExecution';
|
|
21
|
+
const queryParams = {
|
|
40
22
|
customerId: this.cfg.customerId.value,
|
|
41
23
|
environment: this.cfg.labId.hasValue && this.cfg.labId.value || this.cfg.environmentName.value
|
|
42
24
|
};
|
|
43
25
|
url += '?customerId=' + queryParams.customerId + '&environment=' + queryParams.environment;
|
|
44
|
-
this.logger.info(
|
|
45
|
-
this.get(url,
|
|
46
|
-
|
|
26
|
+
this.logger.info(`[TO TST] - checkMappingStatus. Url '${url}'.`);
|
|
27
|
+
this.get(url, (err, data) => {
|
|
28
|
+
this.logger.info('[FROM TST] - checkMappingStatus. Had Error: ' + (err != null));
|
|
47
29
|
if (err) {
|
|
48
|
-
|
|
30
|
+
this.logger.error('[ACTIVE EXECUTION] Error checking for active execution: ' + err);
|
|
49
31
|
return callback(err, false);
|
|
50
32
|
}
|
|
51
33
|
// No mapping found -> no active execution
|
|
52
34
|
if (!err && data == null) {
|
|
53
|
-
|
|
35
|
+
this.logger.info('[ACTIVE EXECUTION] couldn\'t find active execution. not sending footprints.');
|
|
54
36
|
return callback(null, false);
|
|
55
37
|
}
|
|
56
38
|
// execution is pending delete -> no active execution
|
|
57
39
|
if (data.status == 'pendingDelete') {
|
|
58
|
-
|
|
40
|
+
this.logger.info('[ACTIVE EXECUTION] execution is pending delete. sending last footprints');
|
|
59
41
|
return callback(null, true);
|
|
60
42
|
}
|
|
61
43
|
// active execution
|
|
62
44
|
if (data.status == null || data.status != 'created') {
|
|
63
|
-
|
|
45
|
+
this.logger.warn('[ACTIVE EXECUTION] unexpected status. status: ' + data.status);
|
|
64
46
|
}
|
|
65
|
-
|
|
47
|
+
this.logger.info('[ACTIVE EXECUTION] active execution for: ' + JSON.stringify(queryParams) + '. data: ' + JSON.stringify(data));
|
|
66
48
|
return callback(null, true);
|
|
67
49
|
});
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
}(base_proxy_1.BaseProxy));
|
|
50
|
+
}
|
|
51
|
+
}
|
|
71
52
|
exports.StateTrackerProxy = StateTrackerProxy;
|
|
72
53
|
//# sourceMappingURL=state-tracker-proxy.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state-tracker-proxy.js","sourceRoot":"","sources":["../../../test-listener/state-tracker-process/state-tracker-proxy.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"state-tracker-proxy.js","sourceRoot":"","sources":["../../../test-listener/state-tracker-process/state-tracker-proxy.ts"],"names":[],"mappings":";;;AAAA,8CAA0C;AAK1C,MAAa,iBAAkB,SAAQ,sBAAS;IAC5C,YAAoB,GAAgB,EAChC,OAAkC,EAClC,MAAc;QACd,KAAK,CAAC,GAAG,EAAE,OAAO,EAAC,MAAM,CAAC,CAAC;QAC3B,IAAI,CAAC,GAAG,EAAE;YACN,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC;SACtC;QACD,IAAI,CAAC,OAAO,EAAE;YACV,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;SAC1C;QACD,IAAI,CAAC,MAAM,EAAE;YACT,MAAM,IAAI,KAAK,CAAC,oBAAoB,CAAC,CAAC;SACzC;IACL,CAAC;IAEM,kBAAkB,CAAC,QAAmD;QACzE,MAAM,YAAY,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC;QAC7D,IAAI,GAAG,GAAG,YAAY,GAAG,gBAAgB,CAAC;QAC1C,MAAM,WAAW,GAAG;YAChB,UAAU,EAAE,IAAI,CAAC,GAAG,CAAC,UAAU,CAA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