diff --git a/manifests/examples/builtins/time-converter/success.yaml b/manifests/examples/builtins/time-converter/success.yaml index 9245562fa..7b2fa1a61 100644 --- a/manifests/examples/builtins/time-converter/success.yaml +++ b/manifests/examples/builtins/time-converter/success.yaml @@ -15,8 +15,8 @@ tree: children: child: pipeline: - - time-converter - config: + compute: + - time-converter defaults: energy-per-year: 10000 inputs: diff --git a/manifests/examples/features/regroup/success.yml b/manifests/examples/features/regroup/success.yml index 6863dc0d6..de6571919 100644 --- a/manifests/examples/features/regroup/success.yml +++ b/manifests/examples/features/regroup/success.yml @@ -1,7 +1,7 @@ name: regroup description: successful path initialize: - plugins: + plugins: {} tree: children: my-app: diff --git a/manifests/examples/pipelines/pipeline-with-mocks.yml b/manifests/examples/pipelines/pipeline-with-mocks.yml index b27b9bb04..3e3ce92d8 100644 --- a/manifests/examples/pipelines/pipeline-with-mocks.yml +++ b/manifests/examples/pipelines/pipeline-with-mocks.yml @@ -266,6 +266,7 @@ tree: device/expected-lifespan: 94608000 # 3 years in seconds vcpus-total: 8 vcpus-allocated: 1 + requests: 50 inputs: child-2: pipeline: @@ -294,4 +295,5 @@ tree: device/expected-lifespan: 94608000 # 3 years in seconds vcpus-total: 8 vcpus-allocated: 1 + requests: 50 inputs: diff --git a/manifests/outputs/builtins/time-converter/success.yaml b/manifests/outputs/builtins/time-converter/success.yaml new file mode 100644 index 000000000..33ae5d503 --- /dev/null +++ b/manifests/outputs/builtins/time-converter/success.yaml @@ -0,0 +1,79 @@ +name: time-converter demo +description: successful path +tags: null +initialize: + plugins: + time-converter: + path: builtin + method: TimeConverter + config: + input-parameter: energy-per-year + original-time-unit: year + new-time-unit: duration + output-parameter: energy-per-duration +execution: + command: >- + /Users/manushak/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node + /Users/manushak/Documents/Projects/Green-Software/if/src/if-run/index.ts -m + manifests/examples/builtins/time-converter/success.yaml -o + manifests/outputs/time-converter/success + environment: + if-version: 0.6.0 + os: macOS + os-version: 13.6.7 + node-version: 18.20.0 + date-time: 2024-08-28T13:04:25.498Z (UTC) + dependencies: + - '@babel/core@7.22.10' + - '@babel/preset-typescript@7.23.3' + - '@commitlint/cli@18.6.0' + - '@commitlint/config-conventional@18.6.0' + - '@grnsft/if-core@0.0.18' + - '@grnsft/if-plugins@v0.3.2 extraneous -> file:../../../if-models' + - >- + @grnsft/if-unofficial-plugins@v0.3.0 extraneous -> + file:../../../if-unofficial-models + - '@jest/globals@29.7.0' + - '@types/jest@29.5.8' + - '@types/js-yaml@4.0.9' + - '@types/luxon@3.4.2' + - '@types/node@20.9.0' + - axios-mock-adapter@1.22.0 + - axios@1.7.2 + - cross-env@7.0.3 + - csv-parse@5.5.6 + - csv-stringify@6.4.6 + - fixpack@4.0.0 + - gts@5.2.0 + - husky@8.0.3 + - if-eco-ci-plugin@v0.0.1 extraneous -> file:../../if-eco-ci-plugin + - if-github-plugin@v0.0.1 extraneous -> file:../../if-github-plugin + - jest@29.7.0 + - js-yaml@4.1.0 + - lint-staged@15.2.2 + - luxon@3.4.4 + - release-it@16.3.0 + - rimraf@5.0.5 + - ts-command-line-args@2.5.1 + - ts-jest@29.1.1 + - typescript-cubic-spline@1.0.1 + - typescript@5.2.2 + - winston@3.11.0 + - zod@3.23.8 + status: success +tree: + children: + child: + pipeline: + compute: + - time-converter + defaults: + energy-per-year: 10000 + inputs: + - timestamp: 2023-08-06T00:00 + duration: 3600 + outputs: + - timestamp: 2023-08-06T00:00 + duration: 3600 + energy-per-year: 10000 + energy-per-duration: 1.140795