Skip to content

Commit

Permalink
fix: outdated plugins in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-geller committed Oct 10, 2024
1 parent 734367e commit b8f62da
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions core/src/main/java/io/kestra/plugin/core/flow/ForEachItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,9 @@
inputs:
- id: order
type: STRING
type: FILE
tasks:
- id: read_file
type: io.kestra.plugin.scripts.shell.Commands
runner: PROCESS
commands:
- cat "{{ inputs.order }}"
- id: read_file_content
type: io.kestra.plugin.core.log.Log
message: "{{ read(inputs.order) }}"
Expand Down Expand Up @@ -143,20 +137,20 @@
tasks:
- id: download
type: io.kestra.plugin.fs.http.Download
type: io.kestra.plugin.core.http.Download
uri: "https://api.restful-api.dev/objects"
contentType: application/json
method: GET
failOnEmptyResponse: true
timeout: PT15S
- id: json_to_ion
type: io.kestra.plugin.serdes.json.JsonReader
type: io.kestra.plugin.serdes.json.JsonToIon
from: "{{ outputs.download.uri }}"
newLine: false # regular json
- id: ion_to_jsonl
type: io.kestra.plugin.serdes.json.JsonWriter
type: io.kestra.plugin.serdes.json.IonToJson
from: "{{ outputs.json_to_ion.uri }}"
newLine: true # JSON-L
Expand Down

0 comments on commit b8f62da

Please sign in to comment.