Skip to content

Commit

Permalink
Merge pull request #747 from Green-Software-Foundation/update-manifes…
Browse files Browse the repository at this point in the history
…ts-import-paths

Update plugin import paths in manifests
  • Loading branch information
jmcook1186 authored May 31, 2024
2 parents a04fb59 + 135127b commit c7e246d
Show file tree
Hide file tree
Showing 19 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ initialize:
mock-observations:
kind: plugin
method: MockObservations
path: "@grnsft/if-plugins"
path: "builtin"
global-config:
timestamp-from: 2023-07-06T00:00
timestamp-to: 2023-07-06T00:10
Expand Down
2 changes: 1 addition & 1 deletion manifests/bugs/pipeline-error-uninitialized-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: pipeline-uninitialized-plugin-error
description: a negative test case that fails due to an uninitialized plugin being invoked in a pipeline
tags:
initialize:
# outputs: ['yaml']
plugins:
teads-curve:
path: '@grnsft/if-unofficial-plugins'
method: TeadsCurve
global-config:
interpolation: spline
outputs: ['yaml']
tree:
children:
child-0:
Expand Down
2 changes: 1 addition & 1 deletion manifests/bugs/pipeline-ordering-error.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ initialize:
global-config:
interpolation: spline
"sum":
path: "@grnsft/if-plugins"
path: "builtin"
method: Sum
global-config:
input-parameters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: sci-embodied
description: receiving incorrect error message when running sci-embodied without `resources-total` issue #716
tags:
initialize:
outputs: ['yaml']
#outputs: ['yaml']
plugins:
"sci-embodied": # a model that calculates m from te, tir, el, rr and rtor
method: SciEmbodied
Expand Down
2 changes: 1 addition & 1 deletion manifests/examples/generics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ initialize:
global-config:
interpolation: spline
"sum":
path: "@grnsft/if-plugins"
path: "builtin"
method: Sum
global-config:
input-parameters:
Expand Down
4 changes: 2 additions & 2 deletions manifests/examples/mock-cpu-util-to-carbon.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: mock-cpu-util-to-carbon
description: a complete pipeline that starts with mocked CPU utilization data and outputs operational carbon in gCO2eq
initialize:
outputs: ['yaml']
#outputs: ['yaml']
plugins:
group-by:
path: 'builtin'
Expand All @@ -24,7 +24,7 @@ initialize:
method: CloudMetadata
path: "@grnsft/if-plugins"
mock-observations:
path: '@grnsft/if-plugins'
path: 'builtin'
method: MockObservations
global-config:
timestamp-from: '2024-03-05T00:00:00.000Z'
Expand Down
4 changes: 2 additions & 2 deletions manifests/examples/nesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ aggregation:
type: "both"
params:
initialize:
outputs: ['yaml']
#outputs: ['yaml']
plugins:
teads-curve:
path: "@grnsft/if-unofficial-plugins"
method: TeadsCurve
global-config:
interpolation: spline
sum:
path: "@grnsft/if-plugins"
path: "builtin"
method: Sum
global-config:
input-parameters:
Expand Down
2 changes: 1 addition & 1 deletion manifests/examples/pipeline-teads-sci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ initialize:
global-config:
interpolation: spline
"sum":
path: "@grnsft/if-plugins"
path: "builtin"
method: Sum
global-config:
input-parameters:
Expand Down
2 changes: 1 addition & 1 deletion manifests/examples/pipeline-with-mocks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ initialize:
mock-observations:
kind: plugin
method: MockObservations
path: "@grnsft/if-plugins"
path: "builtin"
global-config:
timestamp-from: 2023-07-06T00:00
timestamp-to: 2023-07-06T00:10
Expand Down
2 changes: 1 addition & 1 deletion manifests/integrations/mock-obs-group-by-cloud-meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ initialize:
method: CloudMetadata
path: "@grnsft/if-plugins"
mock-observations:
path: '@grnsft/if-plugins'
path: 'builtin'
method: MockObservations
global-config:
timestamp-from: 2024-03-05T00:00
Expand Down
2 changes: 1 addition & 1 deletion manifests/integrations/mock-obs-groupby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Integration of `mock observations` + `groupby plugins`
initialize:
plugins:
mock-observations:
path: '@grnsft/if-plugins'
path: 'builtin'
method: MockObservations
global-config:
timestamp-from: '2024-03-05T00:00:00.000Z'
Expand Down
2 changes: 1 addition & 1 deletion manifests/integrations/mock-obs-time-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ initialize:
mock-observations:
kind: plugin
method: MockObservations
path: "@grnsft/if-plugins"
path: "builtin"
global-config:
timestamp-from: 2023-07-06T00:00
timestamp-to: 2023-07-06T00:10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ initialize:
mock-observations:
kind: plugin
method: MockObservations
path: "@grnsft/if-plugins"
path: "builtin"
global-config:
timestamp-from: 2023-07-06T00:00
timestamp-to: 2023-07-06T00:10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ initialize:
mock-observations:
kind: plugin
method: MockObservations
path: "@grnsft/if-plugins"
path: "builtin"
global-config:
timestamp-from: 2023-07-06T00:00
timestamp-to: 2023-07-06T00:10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ initialize:
mock-observations:
kind: plugin
method: MockObservations
path: "@grnsft/if-plugins"
path: "builtin"
global-config:
#timestamp-from: 2023-07-06T00:00
timestamp-to: 2023-07-06T00:10
Expand Down
4 changes: 2 additions & 2 deletions manifests/plugins/mock-observations/success.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: mock-observation-demo
description: a manifest demonstrating how to use the mock observations feature
tags:
initialize:
outputs: ['yaml']
# outputs: ['yaml']
plugins:
mock-observations:
kind: plugin
method: MockObservations
path: "@grnsft/if-plugins"
path: "builtin"
global-config:
timestamp-from: 2023-07-06T00:00
timestamp-to: 2023-07-06T00:10
Expand Down
4 changes: 2 additions & 2 deletions manifests/plugins/multiply/success-with-multiple-inputs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: multiply
description: a manifest demonstrating how to use the multiply feature
tags:
initialize:
# outputs: ['yaml']
outputs: ['yaml']
plugins:
multiply:
method: Multiply
path: "@grnsft/if-plugins"
path: "builtin"
global-config:
input-parameters: ["cpu/energy", "network/energy"]
output-parameter: "energy-product"
Expand Down
4 changes: 2 additions & 2 deletions manifests/plugins/sum/failure-missing-input-param.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: sum
description: failure with `inputs[0]` misses one of `global-config.input-parameters`
tags:
initialize:
#outputs: ['yaml']
outputs: ['yaml']
plugins:
sum:
method: Sum
path: "@grnsft/if-plugins"
path: "builtin"
global-config:
input-parameters: ["cpu/energy", "network/energy"]
output-parameter: "energy"
Expand Down
2 changes: 1 addition & 1 deletion manifests/plugins/sum/failure-missing-output-param.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ initialize:
plugins:
sum:
method: Sum
path: "@grnsft/if-plugins"
path: "builtin"
global-config:
input-parameters: ["cpu/energy", "network/energy"]
# output-parameter: "energy"
Expand Down

0 comments on commit c7e246d

Please sign in to comment.