@grnsft/if 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +4 -5
- package/README.md +14 -33
- package/Refactor-migration-guide.md +5 -6
- package/build/builtins/coefficient/index.d.ts +1 -2
- package/build/builtins/coefficient/index.js +18 -4
- package/build/builtins/copy-param/index.d.ts +2 -0
- package/build/builtins/copy-param/index.js +68 -0
- package/build/builtins/csv-lookup/index.d.ts +1 -1
- package/build/builtins/csv-lookup/index.js +44 -37
- package/build/builtins/divide/index.d.ts +1 -1
- package/build/builtins/divide/index.js +22 -11
- package/build/builtins/exponent/index.d.ts +1 -2
- package/build/builtins/exponent/index.js +9 -23
- package/build/builtins/export-csv-raw.d.ts +4 -2
- package/build/builtins/export-csv-raw.js +7 -7
- package/build/builtins/export-csv.js +8 -11
- package/build/builtins/export-log.js +1 -1
- package/build/builtins/export-yaml.js +6 -6
- package/build/builtins/group-by.d.ts +1 -1
- package/build/builtins/group-by.js +5 -5
- package/build/builtins/index.d.ts +1 -0
- package/build/builtins/index.js +4 -2
- package/build/builtins/interpolation/index.d.ts +1 -1
- package/build/builtins/interpolation/index.js +10 -8
- package/build/builtins/mock-observations/helpers/common-generator.d.ts +2 -2
- package/build/builtins/mock-observations/helpers/common-generator.js +10 -13
- package/build/builtins/mock-observations/helpers/rand-int-generator.d.ts +2 -2
- package/build/builtins/mock-observations/helpers/rand-int-generator.js +14 -24
- package/build/builtins/mock-observations/index.d.ts +1 -2
- package/build/builtins/mock-observations/index.js +2 -4
- package/build/builtins/multiply/index.d.ts +1 -2
- package/build/builtins/multiply/index.js +10 -16
- package/build/builtins/regex/index.d.ts +1 -2
- package/build/builtins/regex/index.js +8 -12
- package/build/builtins/sci/index.d.ts +1 -2
- package/build/builtins/sci/index.js +23 -22
- package/build/builtins/sci-embodied/index.d.ts +1 -1
- package/build/builtins/sci-embodied/index.js +16 -17
- package/build/builtins/shell/index.d.ts +1 -2
- package/build/builtins/shell/index.js +4 -4
- package/build/builtins/subtract/index.d.ts +1 -2
- package/build/builtins/subtract/index.js +7 -23
- package/build/builtins/sum/index.d.ts +1 -2
- package/build/builtins/sum/index.js +14 -11
- package/build/builtins/time-sync.d.ts +1 -2
- package/build/builtins/time-sync.js +62 -67
- package/build/check.d.ts +2 -0
- package/build/check.js +95 -0
- package/build/config/config.d.ts +13 -1
- package/build/config/config.js +61 -1
- package/build/config/params.js +1 -6
- package/build/config/strings.d.ts +45 -5
- package/build/config/strings.js +50 -9
- package/build/diff.js +2 -2
- package/build/env.d.ts +2 -0
- package/build/env.js +38 -0
- package/build/lib/aggregate.js +1 -1
- package/build/lib/compute.js +1 -1
- package/build/lib/exhaust.js +4 -4
- package/build/lib/initialize.js +20 -24
- package/build/lib/load.js +4 -4
- package/build/types/compute.d.ts +1 -1
- package/build/types/compute.js +1 -1
- package/build/types/if-env.d.ts +8 -0
- package/build/types/if-env.js +3 -0
- package/build/types/interface.d.ts +1 -19
- package/build/types/interface.js +1 -1
- package/build/types/npm.d.ts +9 -0
- package/build/types/npm.js +3 -0
- package/build/types/process-args.d.ts +9 -0
- package/build/types/process-args.js +1 -1
- package/build/util/aggregation-helper.d.ts +1 -1
- package/build/util/aggregation-helper.js +5 -5
- package/build/util/args.d.ts +23 -1
- package/build/util/args.js +91 -14
- package/build/util/debug-logger.js +8 -7
- package/build/util/fs.d.ts +20 -0
- package/build/util/fs.js +94 -0
- package/build/util/helpers.d.ts +25 -5
- package/build/util/helpers.js +111 -15
- package/build/util/npm.d.ts +28 -0
- package/build/util/npm.js +152 -0
- package/build/util/plugin-storage.js +4 -4
- package/build/util/validations.js +4 -4
- package/jest.config.js +1 -1
- package/manifests/{plugins → examples/builtins/csv-lookup}/cloud-metadata/failure-invalid-instance-type.yaml +9 -3
- package/manifests/examples/builtins/csv-lookup/cloud-metadata/failure-invalid-vendor.yaml +27 -0
- package/manifests/{plugins → examples/builtins/csv-lookup}/cloud-metadata/failure-missing-cloud-vendor.yml +9 -3
- package/manifests/{plugins → examples/builtins/csv-lookup}/cloud-metadata/success.yml +8 -2
- package/manifests/{plugins/csv-lookup → examples/builtins/csv-lookup/region-metadata}/failure-missing-column.yml +1 -2
- package/manifests/{plugins/csv-lookup → examples/builtins/csv-lookup/region-metadata}/failure-missing-output.yml +1 -2
- package/manifests/{plugins/csv-lookup → examples/builtins/csv-lookup/region-metadata}/success-renaming.yml +1 -2
- package/manifests/{plugins/csv-lookup → examples/builtins/csv-lookup/region-metadata}/success.yml +2 -3
- package/manifests/examples/builtins/csv-lookup/tdp-finder/failure-missing-input-param.yml +23 -0
- package/manifests/examples/builtins/csv-lookup/tdp-finder/failure-unsupported-physical-processor.yml +24 -0
- package/manifests/examples/builtins/csv-lookup/tdp-finder/success.yml +24 -0
- package/manifests/{plugins → examples/builtins}/divide/failure-denominator-equal-zero.yml +8 -9
- package/manifests/{plugins → examples/builtins}/divide/failure-invalid-config-denominator.yml +8 -9
- package/manifests/{plugins → examples/builtins}/divide/failure-missing-numerator.yml +8 -9
- package/manifests/{plugins → examples/builtins}/divide/success.yml +9 -10
- package/manifests/examples/builtins/exponent/success.yml +25 -0
- package/manifests/{plugins → examples/builtins}/groupby/success.yml +1 -1
- package/manifests/examples/builtins/interpolation/success.yml +23 -0
- package/manifests/{plugins → examples/builtins}/sci/failure-missing-input-param.yml +2 -6
- package/manifests/{plugins → examples/builtins}/sci/success.yml +0 -3
- package/manifests/examples/builtins/subtract/success.yml +24 -0
- package/manifests/{plugins → examples/builtins}/sum/success.yml +1 -1
- package/manifests/examples/{generics.yml → pipelines/generics.yml} +49 -13
- package/manifests/examples/{nesting.yml → pipelines/nesting.yml} +82 -35
- package/manifests/examples/{pipeline-teads-sci.yml → pipelines/pipeline-teads-sci.yml} +54 -18
- package/manifests/examples/{pipeline-with-aggregate.yml → pipelines/pipeline-with-aggregate.yml} +67 -25
- package/manifests/examples/{pipeline-with-mocks.yml → pipelines/pipeline-with-mocks.yml} +65 -22
- package/manifests/examples/pipelines/zeros.yml +130 -0
- package/manifests/outputs/bugs/aggregation-error-wrong-metric.yaml +243 -0
- package/manifests/outputs/bugs/initialize-error-no-config.yaml +78 -0
- package/manifests/outputs/bugs/initialize-error-no-path.yaml +91 -0
- package/manifests/outputs/bugs/initialize-error-no-plugins.yaml +74 -0
- package/manifests/outputs/bugs/input-error-missing-duration.yaml +84 -0
- package/manifests/outputs/bugs/mock-observations-failure-duration-is-zero.yaml +81 -0
- package/manifests/outputs/bugs/pipeline-error-naming-mismatch.yaml +91 -0
- package/manifests/outputs/bugs/pipeline-error-uninitialized-plugin.yaml +92 -0
- package/manifests/outputs/bugs/pipeline-ordering-error.yaml +155 -0
- package/manifests/outputs/bugs/sci-embodied-missing-resources-total.yaml +73 -0
- package/manifests/outputs/divide.yaml +93 -0
- package/manifests/outputs/features/aggregate-failure-invalid-metrics.yaml +101 -0
- package/manifests/outputs/features/aggregate-failure-missing-metric-in-inputs.yaml +100 -0
- package/manifests/outputs/features/aggregate-horizontal.yaml +128 -0
- package/manifests/outputs/features/aggregate-vertical.yaml +151 -0
- package/manifests/outputs/features/aggregate.yaml +155 -0
- package/manifests/outputs/pipelines/cloud-metadata-divide.yaml +95 -0
- package/manifests/outputs/pipelines/mock-obs-group-by-cloud-meta.yaml +645 -0
- package/manifests/outputs/pipelines/mock-obs-groupby.yaml +178 -0
- package/manifests/outputs/pipelines/mock-obs-time-sync.yaml +350 -0
- package/manifests/outputs/plugins/coefficient/failure-invalid-config-input-param.yaml +73 -0
- package/manifests/outputs/plugins/coefficient/failure-output-param-is-null.yaml +73 -0
- package/manifests/outputs/plugins/coefficient/success.yaml +75 -0
- package/manifests/outputs/plugins/csv-lookup/cloud-metadata/failure-invalid-instance-type.yaml +27 -0
- package/manifests/{plugins → outputs/plugins/csv-lookup}/cloud-metadata/failure-invalid-vendor.yaml +8 -2
- package/manifests/outputs/plugins/csv-lookup/cloud-metadata/failure-missing-cloud-vendor.yaml +77 -0
- package/manifests/outputs/plugins/csv-lookup/cloud-metadata/success.yaml +82 -0
- package/manifests/outputs/plugins/csv-lookup/region-metadata/failure-missing-column.yaml +76 -0
- package/manifests/outputs/plugins/csv-lookup/region-metadata/failure-missing-output.yaml +75 -0
- package/manifests/outputs/plugins/csv-lookup/region-metadata/success-renaming.yaml +80 -0
- package/manifests/outputs/plugins/csv-lookup/region-metadata/success.yaml +92 -0
- package/manifests/outputs/plugins/csv-lookup/tdp-finder/failure-missing-input-param.yaml +74 -0
- package/manifests/outputs/plugins/csv-lookup/tdp-finder/failure-unsupported-physical-processor.yaml +75 -0
- package/manifests/outputs/plugins/csv-lookup/tdp-finder/success.yaml +76 -0
- package/manifests/outputs/plugins/divide/failure-invalid-config-denominator.yaml +73 -0
- package/manifests/outputs/plugins/divide/failure-missing-numerator.yaml +77 -0
- package/manifests/outputs/plugins/divide/success-denominator-equal-zero.yaml +95 -0
- package/manifests/outputs/plugins/divide/success.yaml +95 -0
- package/manifests/outputs/plugins/exponent/success.yaml +77 -0
- package/manifests/outputs/plugins/groupby/failure-invalid-config-group.yaml +96 -0
- package/manifests/outputs/plugins/groupby/failure-missing-cloud-instance-type.yaml +95 -0
- package/manifests/outputs/plugins/groupby/success.yaml +101 -0
- package/manifests/outputs/plugins/interpolation/interpolation.yaml +83 -0
- package/manifests/outputs/plugins/interpolation/success.yaml +83 -0
- package/manifests/outputs/plugins/mock-observations/failure-invalid-config-cpu-range.yaml +86 -0
- package/manifests/outputs/plugins/mock-observations/failure-invalid-memory-utilization-range.yaml +84 -0
- package/manifests/outputs/plugins/mock-observations/failure-missing-timestamp-from-param.yaml +83 -0
- package/manifests/outputs/plugins/mock-observations/success.yaml +220 -0
- package/manifests/outputs/plugins/multiply/failure-input-parameter-is-missing.yaml +75 -0
- package/manifests/outputs/plugins/multiply/success-with-multiple-inputs.yaml +96 -0
- package/manifests/outputs/plugins/multiply/success.yaml +78 -0
- package/manifests/outputs/plugins/regex/failure-missing-input-param.yaml +75 -0
- package/manifests/outputs/plugins/regex/failure-not-matching-with-regex.yaml +76 -0
- package/manifests/outputs/plugins/regex/success.yaml +81 -0
- package/manifests/outputs/plugins/sci/failure-invalid-config-value.yaml +72 -0
- package/manifests/outputs/plugins/sci/failure-missing-input-param.yaml +72 -0
- package/manifests/outputs/plugins/sci/success.yml.yaml +80 -0
- package/manifests/outputs/plugins/sci-embodied/failure-invalid-default-emission-value.yaml +75 -0
- package/manifests/outputs/plugins/sci-embodied/failure-missing-expected-lifespan.yaml +71 -0
- package/manifests/outputs/plugins/sci-embodied/success.yaml +78 -0
- package/manifests/outputs/plugins/shell/failure-invalid-command.yaml +70 -0
- package/manifests/outputs/plugins/shell/success.yaml +68 -0
- package/manifests/outputs/plugins/subtract/success.yaml +78 -0
- package/manifests/outputs/plugins/sum/failure-missing-input-param.yaml +75 -0
- package/manifests/outputs/plugins/sum/failure-missing-output-param.yaml +78 -0
- package/manifests/outputs/plugins/sum/success.yaml +78 -0
- package/manifests/outputs/plugins/time-sync/failure-config-start-later-end.yaml +82 -0
- package/manifests/outputs/plugins/time-sync/failure-missing-global-config.yaml +78 -0
- package/manifests/outputs/plugins/time-sync/success.yaml +119 -0
- package/package.json +10 -4
- package/src/__mocks__/mock-manifest.yaml +72 -0
- package/src/builtins/README.md +1 -1
- package/src/builtins/coefficient/README.md +19 -1
- package/src/builtins/copy-param/README.md +104 -0
- package/src/builtins/csv-lookup/README.md +39 -1
- package/src/builtins/divide/README.md +29 -3
- package/src/builtins/exponent/README.md +21 -1
- package/src/builtins/interpolation/README.md +29 -1
- package/src/builtins/mock-observations/README.md +1 -1
- package/src/builtins/multiply/README.md +16 -1
- package/src/builtins/regex/README.md +32 -2
- package/src/builtins/sci/README.md +24 -1
- package/src/builtins/sci-embodied/README.md +15 -1
- package/src/builtins/shell/README.md +12 -1
- package/src/builtins/subtract/README.md +12 -1
- package/src/builtins/sum/README.md +28 -1
- package/src/config/env-template.yml +24 -0
- package/build/builtins/coefficient/types.d.ts +0 -5
- package/build/builtins/coefficient/types.js +0 -3
- package/build/builtins/exponent/types.d.ts +0 -5
- package/build/builtins/exponent/types.js +0 -3
- package/build/builtins/interpolation/types.d.ts +0 -5
- package/build/builtins/interpolation/types.js +0 -10
- package/build/builtins/mock-observations/types.d.ts +0 -13
- package/build/builtins/mock-observations/types.js +0 -3
- package/build/builtins/multiply/types.d.ts +0 -4
- package/build/builtins/multiply/types.js +0 -3
- package/build/builtins/subtract/types.d.ts +0 -4
- package/build/builtins/subtract/types.js +0 -3
- package/build/builtins/sum/types.d.ts +0 -4
- package/build/builtins/sum/types.js +0 -3
- package/build/types/common.d.ts +0 -4
- package/build/types/common.js +0 -3
- package/build/types/group-by.d.ts +0 -3
- package/build/types/group-by.js +0 -3
- package/build/types/helpers.d.ts +0 -4
- package/build/types/helpers.js +0 -3
- package/build/util/errors.d.ts +0 -6
- package/build/util/errors.js +0 -33
- package/manifests/bugs/aggregation-error-wrong-metric.yml +0 -128
- package/manifests/bugs/azure-importer-ignoring-defaults.yml +0 -61
- package/manifests/bugs/azure-importer-incorrect-calculation.yml +0 -56
- package/manifests/bugs/initialize-error-no-config.yml +0 -27
- package/manifests/bugs/initialize-error-no-path.yml +0 -28
- package/manifests/bugs/initialize-error-no-plugins.yml +0 -23
- package/manifests/bugs/input-error-missing-duration.yml +0 -21
- package/manifests/bugs/mock-observations-failure-duration-is-zero.yml +0 -34
- package/manifests/bugs/pipeline-error-naming-mismatch.yml +0 -28
- package/manifests/bugs/pipeline-error-uninitialized-plugin.yml +0 -29
- package/manifests/bugs/pipeline-ordering-error.yml +0 -82
- package/manifests/bugs/sci-embodied-missing-resources-total.yml +0 -23
- package/manifests/examples/basic.yml +0 -28
- package/manifests/examples/mock-cpu-util-to-carbon.yml +0 -70
- package/manifests/features/aggregate-failure-inalid-metrics.yml +0 -43
- package/manifests/features/aggregate-failure-missing-metric-in-inputs.yml +0 -43
- package/manifests/features/aggregate-horizontal.yml +0 -44
- package/manifests/features/aggregate-vertical.yml +0 -44
- package/manifests/features/aggregate.yml +0 -44
- package/manifests/integrations/cloud-metadata-divide-boavizta.yml +0 -38
- package/manifests/integrations/mock-obs-group-by-cloud-meta.yml +0 -51
- package/manifests/integrations/mock-obs-groupby.yml +0 -39
- package/manifests/integrations/mock-obs-time-sync.yml +0 -65
- package/manifests/plugins/tdp-finder/failure-missing-input-param.yml +0 -18
- package/manifests/plugins/tdp-finder/failure-unsupported-physical-processor.yml +0 -19
- package/manifests/plugins/tdp-finder/success.yml +0 -19
- /package/manifests/{plugins → examples/builtins}/coefficient/failure-invalid-config-input-param.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/coefficient/failure-output-param-is-null.yaml +0 -0
- /package/manifests/{plugins → examples/builtins}/coefficient/success.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/groupby/failure-invalid-config-group.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/groupby/failure-missing-cloud-instance-type.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/interpolation/interpolation.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/mock-observations/failure-invalid-config-cpu-range.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/mock-observations/failure-invalid-memory-utilization-range.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/mock-observations/failure-missing-timestamp-from-param.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/mock-observations/success.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/multiply/failure-input-parameter-is-missing.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/multiply/success-with-multiple-inputs.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/multiply/success.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/regex/failure-missing-input-param.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/regex/failure-not-matching-with-regex.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/regex/success.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/sci/failure-invalid-config-value.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/sci-embodied/failure-invalid-default-emission-value.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/sci-embodied/failure-missing-expected-lifespan.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/sci-embodied/success.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/shell/failure-invalid-command.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/shell/success.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/sum/failure-missing-input-param.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/sum/failure-missing-output-param.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/time-sync/failure-config-start-later-end.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/time-sync/failure-missing-global-config.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/time-sync/success.yml +0 -0
- /package/manifests/examples/{instance-metadata.yml → pipelines/instance-metadata.yml} +0 -0
- /package/manifests/examples/{sci.yml → pipelines/sci.yml} +0 -0
- /package/manifests/examples/{teads-curve.yml → pipelines/teads-curve.yml} +0 -0
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
name: mock-observation-demo
|
|
2
|
+
description: a manifest demonstrating how to use the mock observations feature
|
|
3
|
+
tags: null
|
|
4
|
+
initialize:
|
|
5
|
+
plugins:
|
|
6
|
+
mock-observations:
|
|
7
|
+
path: builtin
|
|
8
|
+
method: MockObservations
|
|
9
|
+
global-config:
|
|
10
|
+
timestamp-from: 2023-07-06T00:00
|
|
11
|
+
timestamp-to: 2023-07-06T00:10
|
|
12
|
+
duration: 60
|
|
13
|
+
components:
|
|
14
|
+
- cloud/instance-type: A1
|
|
15
|
+
- cloud/instance-type: B1
|
|
16
|
+
generators:
|
|
17
|
+
common:
|
|
18
|
+
region: uk-west
|
|
19
|
+
common-key: common-val
|
|
20
|
+
randint:
|
|
21
|
+
cpu/utilization:
|
|
22
|
+
min: 1
|
|
23
|
+
max: 99
|
|
24
|
+
memory/utilization:
|
|
25
|
+
min: 1
|
|
26
|
+
max: 99
|
|
27
|
+
outputs:
|
|
28
|
+
- yaml
|
|
29
|
+
execution:
|
|
30
|
+
command: >-
|
|
31
|
+
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
32
|
+
/Users/mariamkhalatova/Projects/UK/if/src/index.ts -m
|
|
33
|
+
manifests/outputs/plugins/mock-observations/success.yml -o
|
|
34
|
+
manifests/outputs/plugins/mock-observations/success
|
|
35
|
+
environment:
|
|
36
|
+
if-version: 0.4.0
|
|
37
|
+
os: macOS
|
|
38
|
+
os-version: '13.2'
|
|
39
|
+
node-version: 18.14.2
|
|
40
|
+
date-time: 2024-07-02T19:15:43.108Z (UTC)
|
|
41
|
+
dependencies:
|
|
42
|
+
- '@babel/core@7.22.10'
|
|
43
|
+
- '@babel/preset-typescript@7.23.3'
|
|
44
|
+
- '@commitlint/cli@18.6.0'
|
|
45
|
+
- '@commitlint/config-conventional@18.6.0'
|
|
46
|
+
- '@grnsft/if-core@0.0.10'
|
|
47
|
+
|
|
48
|
+
- '@jest/globals@29.7.0'
|
|
49
|
+
- '@types/jest@29.5.8'
|
|
50
|
+
- '@types/js-yaml@4.0.9'
|
|
51
|
+
- '@types/luxon@3.4.2'
|
|
52
|
+
- '@types/node@20.9.0'
|
|
53
|
+
- axios-mock-adapter@1.22.0
|
|
54
|
+
- axios@1.7.2
|
|
55
|
+
- cross-env@7.0.3
|
|
56
|
+
- csv-parse@5.5.6
|
|
57
|
+
- csv-stringify@6.4.6
|
|
58
|
+
- fixpack@4.0.0
|
|
59
|
+
- gts@5.2.0
|
|
60
|
+
- husky@8.0.3
|
|
61
|
+
- jest@29.7.0
|
|
62
|
+
- js-yaml@4.1.0
|
|
63
|
+
- lint-staged@15.2.2
|
|
64
|
+
- luxon@3.4.4
|
|
65
|
+
- release-it@16.3.0
|
|
66
|
+
- rimraf@5.0.5
|
|
67
|
+
- ts-command-line-args@2.5.1
|
|
68
|
+
- ts-jest@29.1.1
|
|
69
|
+
- typescript-cubic-spline@1.0.1
|
|
70
|
+
- typescript@5.2.2
|
|
71
|
+
- winston@3.11.0
|
|
72
|
+
- zod@3.22.4
|
|
73
|
+
status: success
|
|
74
|
+
tree:
|
|
75
|
+
children:
|
|
76
|
+
child:
|
|
77
|
+
pipeline:
|
|
78
|
+
- mock-observations
|
|
79
|
+
inputs: null
|
|
80
|
+
outputs:
|
|
81
|
+
- timestamp: '2023-07-06T00:00:00.000Z'
|
|
82
|
+
duration: 60
|
|
83
|
+
cloud/instance-type: A1
|
|
84
|
+
region: uk-west
|
|
85
|
+
common-key: common-val
|
|
86
|
+
cpu/utilization: 81
|
|
87
|
+
memory/utilization: 63
|
|
88
|
+
- timestamp: '2023-07-06T00:01:00.000Z'
|
|
89
|
+
duration: 60
|
|
90
|
+
cloud/instance-type: A1
|
|
91
|
+
region: uk-west
|
|
92
|
+
common-key: common-val
|
|
93
|
+
cpu/utilization: 92
|
|
94
|
+
memory/utilization: 63
|
|
95
|
+
- timestamp: '2023-07-06T00:02:00.000Z'
|
|
96
|
+
duration: 60
|
|
97
|
+
cloud/instance-type: A1
|
|
98
|
+
region: uk-west
|
|
99
|
+
common-key: common-val
|
|
100
|
+
cpu/utilization: 63
|
|
101
|
+
memory/utilization: 95
|
|
102
|
+
- timestamp: '2023-07-06T00:03:00.000Z'
|
|
103
|
+
duration: 60
|
|
104
|
+
cloud/instance-type: A1
|
|
105
|
+
region: uk-west
|
|
106
|
+
common-key: common-val
|
|
107
|
+
cpu/utilization: 37
|
|
108
|
+
memory/utilization: 13
|
|
109
|
+
- timestamp: '2023-07-06T00:04:00.000Z'
|
|
110
|
+
duration: 60
|
|
111
|
+
cloud/instance-type: A1
|
|
112
|
+
region: uk-west
|
|
113
|
+
common-key: common-val
|
|
114
|
+
cpu/utilization: 28
|
|
115
|
+
memory/utilization: 50
|
|
116
|
+
- timestamp: '2023-07-06T00:05:00.000Z'
|
|
117
|
+
duration: 60
|
|
118
|
+
cloud/instance-type: A1
|
|
119
|
+
region: uk-west
|
|
120
|
+
common-key: common-val
|
|
121
|
+
cpu/utilization: 98
|
|
122
|
+
memory/utilization: 29
|
|
123
|
+
- timestamp: '2023-07-06T00:06:00.000Z'
|
|
124
|
+
duration: 60
|
|
125
|
+
cloud/instance-type: A1
|
|
126
|
+
region: uk-west
|
|
127
|
+
common-key: common-val
|
|
128
|
+
cpu/utilization: 10
|
|
129
|
+
memory/utilization: 93
|
|
130
|
+
- timestamp: '2023-07-06T00:07:00.000Z'
|
|
131
|
+
duration: 60
|
|
132
|
+
cloud/instance-type: A1
|
|
133
|
+
region: uk-west
|
|
134
|
+
common-key: common-val
|
|
135
|
+
cpu/utilization: 84
|
|
136
|
+
memory/utilization: 37
|
|
137
|
+
- timestamp: '2023-07-06T00:08:00.000Z'
|
|
138
|
+
duration: 60
|
|
139
|
+
cloud/instance-type: A1
|
|
140
|
+
region: uk-west
|
|
141
|
+
common-key: common-val
|
|
142
|
+
cpu/utilization: 10
|
|
143
|
+
memory/utilization: 30
|
|
144
|
+
- timestamp: '2023-07-06T00:09:00.000Z'
|
|
145
|
+
duration: 60
|
|
146
|
+
cloud/instance-type: A1
|
|
147
|
+
region: uk-west
|
|
148
|
+
common-key: common-val
|
|
149
|
+
cpu/utilization: 50
|
|
150
|
+
memory/utilization: 10
|
|
151
|
+
- timestamp: '2023-07-06T00:00:00.000Z'
|
|
152
|
+
duration: 60
|
|
153
|
+
cloud/instance-type: B1
|
|
154
|
+
region: uk-west
|
|
155
|
+
common-key: common-val
|
|
156
|
+
cpu/utilization: 97
|
|
157
|
+
memory/utilization: 89
|
|
158
|
+
- timestamp: '2023-07-06T00:01:00.000Z'
|
|
159
|
+
duration: 60
|
|
160
|
+
cloud/instance-type: B1
|
|
161
|
+
region: uk-west
|
|
162
|
+
common-key: common-val
|
|
163
|
+
cpu/utilization: 61
|
|
164
|
+
memory/utilization: 83
|
|
165
|
+
- timestamp: '2023-07-06T00:02:00.000Z'
|
|
166
|
+
duration: 60
|
|
167
|
+
cloud/instance-type: B1
|
|
168
|
+
region: uk-west
|
|
169
|
+
common-key: common-val
|
|
170
|
+
cpu/utilization: 86
|
|
171
|
+
memory/utilization: 52
|
|
172
|
+
- timestamp: '2023-07-06T00:03:00.000Z'
|
|
173
|
+
duration: 60
|
|
174
|
+
cloud/instance-type: B1
|
|
175
|
+
region: uk-west
|
|
176
|
+
common-key: common-val
|
|
177
|
+
cpu/utilization: 17
|
|
178
|
+
memory/utilization: 60
|
|
179
|
+
- timestamp: '2023-07-06T00:04:00.000Z'
|
|
180
|
+
duration: 60
|
|
181
|
+
cloud/instance-type: B1
|
|
182
|
+
region: uk-west
|
|
183
|
+
common-key: common-val
|
|
184
|
+
cpu/utilization: 53
|
|
185
|
+
memory/utilization: 84
|
|
186
|
+
- timestamp: '2023-07-06T00:05:00.000Z'
|
|
187
|
+
duration: 60
|
|
188
|
+
cloud/instance-type: B1
|
|
189
|
+
region: uk-west
|
|
190
|
+
common-key: common-val
|
|
191
|
+
cpu/utilization: 38
|
|
192
|
+
memory/utilization: 58
|
|
193
|
+
- timestamp: '2023-07-06T00:06:00.000Z'
|
|
194
|
+
duration: 60
|
|
195
|
+
cloud/instance-type: B1
|
|
196
|
+
region: uk-west
|
|
197
|
+
common-key: common-val
|
|
198
|
+
cpu/utilization: 4
|
|
199
|
+
memory/utilization: 39
|
|
200
|
+
- timestamp: '2023-07-06T00:07:00.000Z'
|
|
201
|
+
duration: 60
|
|
202
|
+
cloud/instance-type: B1
|
|
203
|
+
region: uk-west
|
|
204
|
+
common-key: common-val
|
|
205
|
+
cpu/utilization: 89
|
|
206
|
+
memory/utilization: 52
|
|
207
|
+
- timestamp: '2023-07-06T00:08:00.000Z'
|
|
208
|
+
duration: 60
|
|
209
|
+
cloud/instance-type: B1
|
|
210
|
+
region: uk-west
|
|
211
|
+
common-key: common-val
|
|
212
|
+
cpu/utilization: 38
|
|
213
|
+
memory/utilization: 16
|
|
214
|
+
- timestamp: '2023-07-06T00:09:00.000Z'
|
|
215
|
+
duration: 60
|
|
216
|
+
cloud/instance-type: B1
|
|
217
|
+
region: uk-west
|
|
218
|
+
common-key: common-val
|
|
219
|
+
cpu/utilization: 25
|
|
220
|
+
memory/utilization: 78
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
name: multiply
|
|
2
|
+
description: failure `inputs` is missing `cpu/energy` parameter
|
|
3
|
+
tags: null
|
|
4
|
+
initialize:
|
|
5
|
+
outputs:
|
|
6
|
+
- yaml
|
|
7
|
+
plugins:
|
|
8
|
+
multiply:
|
|
9
|
+
method: Multiply
|
|
10
|
+
path: builtin
|
|
11
|
+
global-config:
|
|
12
|
+
input-parameters:
|
|
13
|
+
- cpu/energy
|
|
14
|
+
- network/energy
|
|
15
|
+
output-parameter: energy-product
|
|
16
|
+
execution:
|
|
17
|
+
status: fail
|
|
18
|
+
command: >-
|
|
19
|
+
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
20
|
+
/Users/mariamkhalatova/Projects/UK/if/src/index.ts -m
|
|
21
|
+
manifests/outputs/plugins/multiply/failure-input-parameter-is-missing.yml -o
|
|
22
|
+
manifests/outputs/plugins/multiply/failure-input-parameter-is-missing
|
|
23
|
+
environment:
|
|
24
|
+
if-version: 0.4.0
|
|
25
|
+
os: macOS
|
|
26
|
+
os-version: '13.2'
|
|
27
|
+
node-version: 18.14.2
|
|
28
|
+
date-time: 2024-07-02T19:23:15.185Z (UTC)
|
|
29
|
+
dependencies:
|
|
30
|
+
- '@babel/core@7.22.10'
|
|
31
|
+
- '@babel/preset-typescript@7.23.3'
|
|
32
|
+
- '@commitlint/cli@18.6.0'
|
|
33
|
+
- '@commitlint/config-conventional@18.6.0'
|
|
34
|
+
- '@grnsft/if-core@0.0.10'
|
|
35
|
+
|
|
36
|
+
- '@jest/globals@29.7.0'
|
|
37
|
+
- '@types/jest@29.5.8'
|
|
38
|
+
- '@types/js-yaml@4.0.9'
|
|
39
|
+
- '@types/luxon@3.4.2'
|
|
40
|
+
- '@types/node@20.9.0'
|
|
41
|
+
- axios-mock-adapter@1.22.0
|
|
42
|
+
- axios@1.7.2
|
|
43
|
+
- cross-env@7.0.3
|
|
44
|
+
- csv-parse@5.5.6
|
|
45
|
+
- csv-stringify@6.4.6
|
|
46
|
+
- fixpack@4.0.0
|
|
47
|
+
- gts@5.2.0
|
|
48
|
+
- husky@8.0.3
|
|
49
|
+
- jest@29.7.0
|
|
50
|
+
- js-yaml@4.1.0
|
|
51
|
+
- lint-staged@15.2.2
|
|
52
|
+
- luxon@3.4.4
|
|
53
|
+
- release-it@16.3.0
|
|
54
|
+
- rimraf@5.0.5
|
|
55
|
+
- ts-command-line-args@2.5.1
|
|
56
|
+
- ts-jest@29.1.1
|
|
57
|
+
- typescript-cubic-spline@1.0.1
|
|
58
|
+
- typescript@5.2.2
|
|
59
|
+
- winston@3.11.0
|
|
60
|
+
- zod@3.22.4
|
|
61
|
+
error: >-
|
|
62
|
+
InputValidationError: "cpu/energy" parameter is required. Error code:
|
|
63
|
+
invalid_type.
|
|
64
|
+
tree:
|
|
65
|
+
children:
|
|
66
|
+
child:
|
|
67
|
+
pipeline:
|
|
68
|
+
- multiply
|
|
69
|
+
config:
|
|
70
|
+
sum: null
|
|
71
|
+
inputs:
|
|
72
|
+
- timestamp: 2023-08-06T00:00
|
|
73
|
+
duration: 3600
|
|
74
|
+
cpu: 0.001
|
|
75
|
+
network/energy: 0.002
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
name: multiply
|
|
2
|
+
description: a manifest demonstrating how to use the multiply feature
|
|
3
|
+
tags: null
|
|
4
|
+
initialize:
|
|
5
|
+
plugins:
|
|
6
|
+
multiply:
|
|
7
|
+
path: builtin
|
|
8
|
+
method: Multiply
|
|
9
|
+
global-config:
|
|
10
|
+
input-parameters:
|
|
11
|
+
- cpu/energy
|
|
12
|
+
- network/energy
|
|
13
|
+
output-parameter: energy-product
|
|
14
|
+
outputs:
|
|
15
|
+
- yaml
|
|
16
|
+
execution:
|
|
17
|
+
command: >-
|
|
18
|
+
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
19
|
+
/Users/mariamkhalatova/Projects/UK/if/src/index.ts -m
|
|
20
|
+
manifests/outputs/plugins/multiply/success-with-multiple-inputs.yml -o
|
|
21
|
+
manifests/outputs/plugins/multiply/success-with-multiple-inputs
|
|
22
|
+
environment:
|
|
23
|
+
if-version: 0.4.0
|
|
24
|
+
os: macOS
|
|
25
|
+
os-version: '13.2'
|
|
26
|
+
node-version: 18.14.2
|
|
27
|
+
date-time: 2024-07-02T19:22:04.324Z (UTC)
|
|
28
|
+
dependencies:
|
|
29
|
+
- '@babel/core@7.22.10'
|
|
30
|
+
- '@babel/preset-typescript@7.23.3'
|
|
31
|
+
- '@commitlint/cli@18.6.0'
|
|
32
|
+
- '@commitlint/config-conventional@18.6.0'
|
|
33
|
+
- '@grnsft/if-core@0.0.10'
|
|
34
|
+
|
|
35
|
+
- '@jest/globals@29.7.0'
|
|
36
|
+
- '@types/jest@29.5.8'
|
|
37
|
+
- '@types/js-yaml@4.0.9'
|
|
38
|
+
- '@types/luxon@3.4.2'
|
|
39
|
+
- '@types/node@20.9.0'
|
|
40
|
+
- axios-mock-adapter@1.22.0
|
|
41
|
+
- axios@1.7.2
|
|
42
|
+
- cross-env@7.0.3
|
|
43
|
+
- csv-parse@5.5.6
|
|
44
|
+
- csv-stringify@6.4.6
|
|
45
|
+
- fixpack@4.0.0
|
|
46
|
+
- gts@5.2.0
|
|
47
|
+
- husky@8.0.3
|
|
48
|
+
- jest@29.7.0
|
|
49
|
+
- js-yaml@4.1.0
|
|
50
|
+
- lint-staged@15.2.2
|
|
51
|
+
- luxon@3.4.4
|
|
52
|
+
- release-it@16.3.0
|
|
53
|
+
- rimraf@5.0.5
|
|
54
|
+
- ts-command-line-args@2.5.1
|
|
55
|
+
- ts-jest@29.1.1
|
|
56
|
+
- typescript-cubic-spline@1.0.1
|
|
57
|
+
- typescript@5.2.2
|
|
58
|
+
- winston@3.11.0
|
|
59
|
+
- zod@3.22.4
|
|
60
|
+
status: success
|
|
61
|
+
tree:
|
|
62
|
+
children:
|
|
63
|
+
child:
|
|
64
|
+
pipeline:
|
|
65
|
+
- multiply
|
|
66
|
+
config:
|
|
67
|
+
sum: null
|
|
68
|
+
inputs:
|
|
69
|
+
- timestamp: 2023-08-06T00:00
|
|
70
|
+
duration: 3600
|
|
71
|
+
cpu/energy: 0.001
|
|
72
|
+
network/energy: 0.002
|
|
73
|
+
- timestamp: 2023-08-06T10:00
|
|
74
|
+
duration: 3600
|
|
75
|
+
cpu/energy: 0.005
|
|
76
|
+
network/energy: -0.002
|
|
77
|
+
- timestamp: 2023-08-06T10:00
|
|
78
|
+
duration: 3600
|
|
79
|
+
cpu/energy: 0.005
|
|
80
|
+
network/energy: 0
|
|
81
|
+
outputs:
|
|
82
|
+
- timestamp: 2023-08-06T00:00
|
|
83
|
+
duration: 3600
|
|
84
|
+
cpu/energy: 0.001
|
|
85
|
+
network/energy: 0.002
|
|
86
|
+
energy-product: 0.000002
|
|
87
|
+
- timestamp: 2023-08-06T10:00
|
|
88
|
+
duration: 3600
|
|
89
|
+
cpu/energy: 0.005
|
|
90
|
+
network/energy: -0.002
|
|
91
|
+
energy-product: -0.00001
|
|
92
|
+
- timestamp: 2023-08-06T10:00
|
|
93
|
+
duration: 3600
|
|
94
|
+
cpu/energy: 0.005
|
|
95
|
+
network/energy: 0
|
|
96
|
+
energy-product: 0
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
name: multiply
|
|
2
|
+
description: a manifest demonstrating how to use the multiply feature
|
|
3
|
+
tags: null
|
|
4
|
+
initialize:
|
|
5
|
+
plugins:
|
|
6
|
+
multiply:
|
|
7
|
+
path: builtin
|
|
8
|
+
method: Multiply
|
|
9
|
+
global-config:
|
|
10
|
+
input-parameters:
|
|
11
|
+
- cpu/energy
|
|
12
|
+
- network/energy
|
|
13
|
+
output-parameter: energy-product
|
|
14
|
+
outputs:
|
|
15
|
+
- yaml
|
|
16
|
+
execution:
|
|
17
|
+
command: >-
|
|
18
|
+
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
19
|
+
/Users/mariamkhalatova/Projects/UK/if/src/index.ts -m
|
|
20
|
+
manifests/outputs/plugins/multiply/success.yml -o
|
|
21
|
+
manifests/outputs/plugins/multiply/success
|
|
22
|
+
environment:
|
|
23
|
+
if-version: 0.4.0
|
|
24
|
+
os: macOS
|
|
25
|
+
os-version: '13.2'
|
|
26
|
+
node-version: 18.14.2
|
|
27
|
+
date-time: 2024-07-02T19:20:34.016Z (UTC)
|
|
28
|
+
dependencies:
|
|
29
|
+
- '@babel/core@7.22.10'
|
|
30
|
+
- '@babel/preset-typescript@7.23.3'
|
|
31
|
+
- '@commitlint/cli@18.6.0'
|
|
32
|
+
- '@commitlint/config-conventional@18.6.0'
|
|
33
|
+
- '@grnsft/if-core@0.0.10'
|
|
34
|
+
|
|
35
|
+
- '@jest/globals@29.7.0'
|
|
36
|
+
- '@types/jest@29.5.8'
|
|
37
|
+
- '@types/js-yaml@4.0.9'
|
|
38
|
+
- '@types/luxon@3.4.2'
|
|
39
|
+
- '@types/node@20.9.0'
|
|
40
|
+
- axios-mock-adapter@1.22.0
|
|
41
|
+
- axios@1.7.2
|
|
42
|
+
- cross-env@7.0.3
|
|
43
|
+
- csv-parse@5.5.6
|
|
44
|
+
- csv-stringify@6.4.6
|
|
45
|
+
- fixpack@4.0.0
|
|
46
|
+
- gts@5.2.0
|
|
47
|
+
- husky@8.0.3
|
|
48
|
+
- jest@29.7.0
|
|
49
|
+
- js-yaml@4.1.0
|
|
50
|
+
- lint-staged@15.2.2
|
|
51
|
+
- luxon@3.4.4
|
|
52
|
+
- release-it@16.3.0
|
|
53
|
+
- rimraf@5.0.5
|
|
54
|
+
- ts-command-line-args@2.5.1
|
|
55
|
+
- ts-jest@29.1.1
|
|
56
|
+
- typescript-cubic-spline@1.0.1
|
|
57
|
+
- typescript@5.2.2
|
|
58
|
+
- winston@3.11.0
|
|
59
|
+
- zod@3.22.4
|
|
60
|
+
status: success
|
|
61
|
+
tree:
|
|
62
|
+
children:
|
|
63
|
+
child:
|
|
64
|
+
pipeline:
|
|
65
|
+
- multiply
|
|
66
|
+
config:
|
|
67
|
+
sum: null
|
|
68
|
+
inputs:
|
|
69
|
+
- timestamp: 2023-08-06T00:00
|
|
70
|
+
duration: 3600
|
|
71
|
+
cpu/energy: 0.001
|
|
72
|
+
network/energy: 0.002
|
|
73
|
+
outputs:
|
|
74
|
+
- timestamp: 2023-08-06T00:00
|
|
75
|
+
duration: 3600
|
|
76
|
+
cpu/energy: 0.001
|
|
77
|
+
network/energy: 0.002
|
|
78
|
+
energy-product: 0.000002
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
name: regex
|
|
2
|
+
description: failure with missing `physical-processor` field from `inputs`
|
|
3
|
+
tags: null
|
|
4
|
+
initialize:
|
|
5
|
+
outputs:
|
|
6
|
+
- yaml
|
|
7
|
+
plugins:
|
|
8
|
+
regex:
|
|
9
|
+
method: Regex
|
|
10
|
+
path: builtin
|
|
11
|
+
global-config:
|
|
12
|
+
parameter: physical-processor
|
|
13
|
+
match: ^(.*),
|
|
14
|
+
output: cpu/name
|
|
15
|
+
execution:
|
|
16
|
+
status: fail
|
|
17
|
+
command: >-
|
|
18
|
+
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
19
|
+
/Users/mariamkhalatova/Projects/UK/if/src/index.ts -m
|
|
20
|
+
manifests/outputs/plugins/regex/failure-missing-input-param.yml -o
|
|
21
|
+
manifests/outputs/plugins/regex/failure-missing-input-param
|
|
22
|
+
environment:
|
|
23
|
+
if-version: 0.4.0
|
|
24
|
+
os: macOS
|
|
25
|
+
os-version: '13.2'
|
|
26
|
+
node-version: 18.14.2
|
|
27
|
+
date-time: 2024-07-02T20:26:07.477Z (UTC)
|
|
28
|
+
dependencies:
|
|
29
|
+
- '@babel/core@7.22.10'
|
|
30
|
+
- '@babel/preset-typescript@7.23.3'
|
|
31
|
+
- '@commitlint/cli@18.6.0'
|
|
32
|
+
- '@commitlint/config-conventional@18.6.0'
|
|
33
|
+
- '@grnsft/if-core@0.0.10'
|
|
34
|
+
|
|
35
|
+
- '@jest/globals@29.7.0'
|
|
36
|
+
- '@types/jest@29.5.8'
|
|
37
|
+
- '@types/js-yaml@4.0.9'
|
|
38
|
+
- '@types/luxon@3.4.2'
|
|
39
|
+
- '@types/node@20.9.0'
|
|
40
|
+
- axios-mock-adapter@1.22.0
|
|
41
|
+
- axios@1.7.2
|
|
42
|
+
- cross-env@7.0.3
|
|
43
|
+
- csv-parse@5.5.6
|
|
44
|
+
- csv-stringify@6.4.6
|
|
45
|
+
- fixpack@4.0.0
|
|
46
|
+
- gts@5.2.0
|
|
47
|
+
- husky@8.0.3
|
|
48
|
+
- jest@29.7.0
|
|
49
|
+
- js-yaml@4.1.0
|
|
50
|
+
- lint-staged@15.2.2
|
|
51
|
+
- luxon@3.4.4
|
|
52
|
+
- release-it@16.3.0
|
|
53
|
+
- rimraf@5.0.5
|
|
54
|
+
- ts-command-line-args@2.5.1
|
|
55
|
+
- ts-jest@29.1.1
|
|
56
|
+
- typescript-cubic-spline@1.0.1
|
|
57
|
+
- typescript@5.2.2
|
|
58
|
+
- winston@3.11.0
|
|
59
|
+
- zod@3.22.4
|
|
60
|
+
error: >-
|
|
61
|
+
MissingInputDataError: physical-processor is missing from the input array,
|
|
62
|
+
or has nullish value.
|
|
63
|
+
tree:
|
|
64
|
+
children:
|
|
65
|
+
child:
|
|
66
|
+
pipeline:
|
|
67
|
+
- regex
|
|
68
|
+
config:
|
|
69
|
+
regex: null
|
|
70
|
+
inputs:
|
|
71
|
+
- timestamp: 2023-08-06T00:00
|
|
72
|
+
duration: 3600
|
|
73
|
+
physical: >-
|
|
74
|
+
Intel® Xeon® Platinum 8272CL,Intel® Xeon® 8171M 2.1 GHz,Intel® Xeon®
|
|
75
|
+
E5-2673 v4 2.3 GHz,Intel® Xeon® E5-2673 v3 2.4 GHz
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
name: regex
|
|
2
|
+
description: physical processor doesn't match the regex expression
|
|
3
|
+
tags: null
|
|
4
|
+
initialize:
|
|
5
|
+
outputs:
|
|
6
|
+
- yaml
|
|
7
|
+
plugins:
|
|
8
|
+
regex:
|
|
9
|
+
method: Regex
|
|
10
|
+
path: builtin
|
|
11
|
+
global-config:
|
|
12
|
+
parameter: physical-processor
|
|
13
|
+
match: ^
|
|
14
|
+
output: cpu/name
|
|
15
|
+
execution:
|
|
16
|
+
status: fail
|
|
17
|
+
command: >-
|
|
18
|
+
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
19
|
+
/Users/mariamkhalatova/Projects/UK/if/src/index.ts -m
|
|
20
|
+
manifests/outputs/plugins/regex/failure-not-matching-with-regex.yml -o
|
|
21
|
+
manifests/outputs/plugins/regex/failure-not-matching-with-regex
|
|
22
|
+
environment:
|
|
23
|
+
if-version: 0.4.0
|
|
24
|
+
os: macOS
|
|
25
|
+
os-version: '13.2'
|
|
26
|
+
node-version: 18.14.2
|
|
27
|
+
date-time: 2024-07-02T20:24:39.241Z (UTC)
|
|
28
|
+
dependencies:
|
|
29
|
+
- '@babel/core@7.22.10'
|
|
30
|
+
- '@babel/preset-typescript@7.23.3'
|
|
31
|
+
- '@commitlint/cli@18.6.0'
|
|
32
|
+
- '@commitlint/config-conventional@18.6.0'
|
|
33
|
+
- '@grnsft/if-core@0.0.10'
|
|
34
|
+
|
|
35
|
+
- '@jest/globals@29.7.0'
|
|
36
|
+
- '@types/jest@29.5.8'
|
|
37
|
+
- '@types/js-yaml@4.0.9'
|
|
38
|
+
- '@types/luxon@3.4.2'
|
|
39
|
+
- '@types/node@20.9.0'
|
|
40
|
+
- axios-mock-adapter@1.22.0
|
|
41
|
+
- axios@1.7.2
|
|
42
|
+
- cross-env@7.0.3
|
|
43
|
+
- csv-parse@5.5.6
|
|
44
|
+
- csv-stringify@6.4.6
|
|
45
|
+
- fixpack@4.0.0
|
|
46
|
+
- gts@5.2.0
|
|
47
|
+
- husky@8.0.3
|
|
48
|
+
- jest@29.7.0
|
|
49
|
+
- js-yaml@4.1.0
|
|
50
|
+
- lint-staged@15.2.2
|
|
51
|
+
- luxon@3.4.4
|
|
52
|
+
- release-it@16.3.0
|
|
53
|
+
- rimraf@5.0.5
|
|
54
|
+
- ts-command-line-args@2.5.1
|
|
55
|
+
- ts-jest@29.1.1
|
|
56
|
+
- typescript-cubic-spline@1.0.1
|
|
57
|
+
- typescript@5.2.2
|
|
58
|
+
- winston@3.11.0
|
|
59
|
+
- zod@3.22.4
|
|
60
|
+
error: >-
|
|
61
|
+
RegexMismatchError: `Intel® Xeon® Platinum 8272CL,Intel® Xeon® 8171M 2.1
|
|
62
|
+
GHz,Intel® Xeon® E5-2673 v4 2.3 GHz,Intel® Xeon® E5-2673 v3 2.4 GHz` does
|
|
63
|
+
not match the /^/ regex expression
|
|
64
|
+
tree:
|
|
65
|
+
children:
|
|
66
|
+
child:
|
|
67
|
+
pipeline:
|
|
68
|
+
- regex
|
|
69
|
+
config:
|
|
70
|
+
regex: null
|
|
71
|
+
inputs:
|
|
72
|
+
- timestamp: 2023-08-06T00:00
|
|
73
|
+
duration: 3600
|
|
74
|
+
physical-processor: >-
|
|
75
|
+
Intel® Xeon® Platinum 8272CL,Intel® Xeon® 8171M 2.1 GHz,Intel® Xeon®
|
|
76
|
+
E5-2673 v4 2.3 GHz,Intel® Xeon® E5-2673 v3 2.4 GHz
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
name: regex
|
|
2
|
+
description: successful path
|
|
3
|
+
tags: null
|
|
4
|
+
initialize:
|
|
5
|
+
plugins:
|
|
6
|
+
regex:
|
|
7
|
+
path: builtin
|
|
8
|
+
method: Regex
|
|
9
|
+
global-config:
|
|
10
|
+
parameter: physical-processor
|
|
11
|
+
match: ^(.*),
|
|
12
|
+
output: cpu/name
|
|
13
|
+
outputs:
|
|
14
|
+
- yaml
|
|
15
|
+
execution:
|
|
16
|
+
command: >-
|
|
17
|
+
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
18
|
+
/Users/mariamkhalatova/Projects/UK/if/src/index.ts -m
|
|
19
|
+
manifests/outputs/plugins/regex/success.yml -o
|
|
20
|
+
manifests/outputs/plugins/regex/success
|
|
21
|
+
environment:
|
|
22
|
+
if-version: 0.4.0
|
|
23
|
+
os: macOS
|
|
24
|
+
os-version: '13.2'
|
|
25
|
+
node-version: 18.14.2
|
|
26
|
+
date-time: 2024-07-02T20:23:25.744Z (UTC)
|
|
27
|
+
dependencies:
|
|
28
|
+
- '@babel/core@7.22.10'
|
|
29
|
+
- '@babel/preset-typescript@7.23.3'
|
|
30
|
+
- '@commitlint/cli@18.6.0'
|
|
31
|
+
- '@commitlint/config-conventional@18.6.0'
|
|
32
|
+
- '@grnsft/if-core@0.0.10'
|
|
33
|
+
|
|
34
|
+
- '@jest/globals@29.7.0'
|
|
35
|
+
- '@types/jest@29.5.8'
|
|
36
|
+
- '@types/js-yaml@4.0.9'
|
|
37
|
+
- '@types/luxon@3.4.2'
|
|
38
|
+
- '@types/node@20.9.0'
|
|
39
|
+
- axios-mock-adapter@1.22.0
|
|
40
|
+
- axios@1.7.2
|
|
41
|
+
- cross-env@7.0.3
|
|
42
|
+
- csv-parse@5.5.6
|
|
43
|
+
- csv-stringify@6.4.6
|
|
44
|
+
- fixpack@4.0.0
|
|
45
|
+
- gts@5.2.0
|
|
46
|
+
- husky@8.0.3
|
|
47
|
+
- jest@29.7.0
|
|
48
|
+
- js-yaml@4.1.0
|
|
49
|
+
- lint-staged@15.2.2
|
|
50
|
+
- luxon@3.4.4
|
|
51
|
+
- release-it@16.3.0
|
|
52
|
+
- rimraf@5.0.5
|
|
53
|
+
- ts-command-line-args@2.5.1
|
|
54
|
+
- ts-jest@29.1.1
|
|
55
|
+
- typescript-cubic-spline@1.0.1
|
|
56
|
+
- typescript@5.2.2
|
|
57
|
+
- winston@3.11.0
|
|
58
|
+
- zod@3.22.4
|
|
59
|
+
status: success
|
|
60
|
+
tree:
|
|
61
|
+
children:
|
|
62
|
+
child:
|
|
63
|
+
pipeline:
|
|
64
|
+
- regex
|
|
65
|
+
config:
|
|
66
|
+
regex: null
|
|
67
|
+
inputs:
|
|
68
|
+
- timestamp: 2023-08-06T00:00
|
|
69
|
+
duration: 3600
|
|
70
|
+
physical-processor: >-
|
|
71
|
+
Intel® Xeon® Platinum 8272CL,Intel® Xeon® 8171M 2.1 GHz,Intel® Xeon®
|
|
72
|
+
E5-2673 v4 2.3 GHz,Intel® Xeon® E5-2673 v3 2.4 GHz
|
|
73
|
+
outputs:
|
|
74
|
+
- timestamp: 2023-08-06T00:00
|
|
75
|
+
duration: 3600
|
|
76
|
+
physical-processor: >-
|
|
77
|
+
Intel® Xeon® Platinum 8272CL,Intel® Xeon® 8171M 2.1 GHz,Intel® Xeon®
|
|
78
|
+
E5-2673 v4 2.3 GHz,Intel® Xeon® E5-2673 v3 2.4 GHz
|
|
79
|
+
cpu/name: >-
|
|
80
|
+
Intel® Xeon® Platinum 8272CL,Intel® Xeon® 8171M 2.1 GHz,Intel® Xeon®
|
|
81
|
+
E5-2673 v4 2.3 GHz,
|