Skip to content

Commit a321839

Browse files
refactor: replace io.kestra.core.tasks with io.kestra.plugin.core
1 parent 994774f commit a321839

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

  • plugin-script-python/src/main/java/io/kestra/core/tasks/scripts
  • plugin-script-shell/src/main/java/io/kestra/core/tasks/scripts

plugin-script-python/src/main/java/io/kestra/core/tasks/scripts/Python.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
6464
tasks:
6565
- id: python
66-
type: io.kestra.core.tasks.scripts.Python
66+
type: io.kestra.plugin.core.scripts.Python
6767
inputFiles:
6868
data.json: |
6969
{"status": "OK"}
@@ -94,7 +94,7 @@
9494
9595
tasks:
9696
- id: python
97-
type: io.kestra.core.tasks.scripts.Python
97+
type: io.kestra.plugin.core.scripts.Python
9898
inputFiles:
9999
data.csv: {{outputs.previousTaskId.uri}}
100100
main.py: |

plugin-script-shell/src/main/java/io/kestra/core/tasks/scripts/Bash.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
4242
tasks:
4343
- id: bash
44-
type: io.kestra.core.tasks.scripts.Bash
44+
type: io.kestra.plugin.core.scripts.Bash
4545
commands:
4646
- 'echo "The current execution is : {{ execution.id }}"'
4747
"""
@@ -55,7 +55,7 @@
5555
5656
tasks:
5757
- id: bash
58-
type: io.kestra.core.tasks.scripts.Bash
58+
type: io.kestra.plugin.core.scripts.Bash
5959
outputFiles:
6060
- first
6161
- second
@@ -73,7 +73,7 @@
7373
7474
tasks:
7575
- id: bash
76-
type: io.kestra.core.tasks.scripts.Bash
76+
type: io.kestra.plugin.core.scripts.Bash
7777
inputFiles:
7878
script.sh: |
7979
echo {{ workingDir }}
@@ -90,7 +90,7 @@
9090
9191
tasks:
9292
- id: bash
93-
type: io.kestra.core.tasks.scripts.Bash
93+
type: io.kestra.plugin.core.scripts.Bash
9494
inputFiles:
9595
data.csv: {{ outputs.previousTaskId.uri }}
9696
commands:
@@ -106,7 +106,7 @@
106106
107107
tasks:
108108
- id: bash
109-
type: io.kestra.core.tasks.scripts.Bash
109+
type: io.kestra.plugin.core.scripts.Bash
110110
runner: DOCKER
111111
dockerOptions:
112112
image: php
@@ -123,7 +123,7 @@
123123
124124
tasks:
125125
- id: bash
126-
type: io.kestra.core.tasks.scripts.Bash
126+
type: io.kestra.plugin.core.scripts.Bash
127127
commands:
128128
- 'echo "The current execution is : {{ execution.id }}"'
129129
exitOnFailed: false
@@ -141,7 +141,7 @@
141141
142142
tasks:
143143
- id: bash
144-
type: io.kestra.core.tasks.scripts.Bash
144+
type: io.kestra.plugin.core.scripts.Bash
145145
commands:
146146
- echo '::{"outputs":{"test":"value","int":2,"bool":true,"float":3.65}}::'
147147
"""
@@ -155,7 +155,7 @@
155155
156156
tasks:
157157
- id: bash
158-
type: io.kestra.core.tasks.scripts.Bash
158+
type: io.kestra.plugin.core.scripts.Bash
159159
commands:
160160
- echo '::{"metrics":[{"name":"count","type":"counter","value":1,"tags":{"tag1":"i","tag2":"win"}}]}::'
161161
"""

0 commit comments

Comments
 (0)