Skip to content

Commit afdbc20

Browse files
authored
Merge pull request #155 from shrutimantri/correct-namespace
fix(docs): correct examples to use company.team namespace
2 parents 0669b7b + e451376 commit afdbc20

17 files changed

Lines changed: 26 additions & 26 deletions

File tree

plugin-script-groovy/src/main/java/io/kestra/plugin/scripts/groovy/Eval.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
title = "Make an API call and pass request body to a Groovy script.",
2323
code = """
2424
id: api-request-to-groovy
25-
namespace: dev
25+
namespace: company.team
2626
2727
tasks:
2828
- id: request

plugin-script-groovy/src/main/java/io/kestra/plugin/scripts/groovy/FileTransform.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
full = true,
5959
code = """
6060
id: json_transform_using_jackson
61-
namespace: dev
61+
namespace: company.team
6262
6363
tasks:
6464
- id: file_transform

plugin-script-julia/src/main/java/io/kestra/plugin/scripts/julia/Commands.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
full = true,
2929
title = "Create a Julia script, install required packages and execute it. Note that instead of defining the script inline, you could create the Julia script in the embedded VS Code editor and point to its location by path. If you do so, make sure to enable namespace files by setting the `enabled` flag of the `namespaceFiles` property to `true`.",
3030
code = """
31-
id: "script"
32-
namespace: "dev"
31+
id: script
32+
namespace: company.team
3333
tasks:
3434
- id: bash
3535
type: io.kestra.plugin.scripts.julia.Commands

plugin-script-julia/src/main/java/io/kestra/plugin/scripts/julia/Script.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
full = true,
3535
title = "Create a Julia script, install required packages and execute it. Note that instead of defining the script inline, you could create the Julia script in the embedded VS Code editor and read its content using the `{{ read('your_script.jl') }}` function.",
3636
code = """
37-
id: "script"
38-
namespace: "dev"
37+
id: script
38+
namespace: company.team
3939
tasks:
4040
- id: bash
4141
type: io.kestra.plugin.scripts.julia.Script

plugin-script-jython/src/main/java/io/kestra/plugin/scripts/jython/FileTransform.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
title = "Extract data from an API, add a column, and store it as a downloadable CSV file.",
2222
code = """
2323
id: etl-api-to-csv
24-
namespace: dev
24+
namespace: company.team
2525
2626
tasks:
2727
- id: download

plugin-script-node/src/main/java/io/kestra/plugin/scripts/node/Commands.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
title = "Install required npm packages, create a Node.js script and execute it.",
3030
code = """
3131
id: node
32-
namespace: dev
32+
namespace: company.team
3333
tasks:
3434
- id: node_script
3535
type: io.kestra.plugin.scripts.node.Commands

plugin-script-node/src/main/java/io/kestra/plugin/scripts/node/Script.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
""",
5151
code = """
5252
id: nodeJS
53-
namespace: dev
53+
namespace: company.team
5454
tasks:
5555
- id: node
5656
type: io.kestra.plugin.scripts.node.Script

plugin-script-powershell/src/main/java/io/kestra/plugin/scripts/powershell/Commands.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
title = "Create a PowerShell script and execute it.",
3131
code = """
3232
id: powershell
33-
namespace: dev
33+
namespace: company.team
3434
tasks:
3535
- id: powershell_script
3636
type: io.kestra.plugin.scripts.powershell.Commands

plugin-script-powershell/src/main/java/io/kestra/plugin/scripts/powershell/Script.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
""",
4545
code = """
4646
id: powershell
47-
namespace: dev
47+
namespace: company.team
4848
tasks:
4949
- id: hello
5050
type: io.kestra.plugin.scripts.powershell.Script

plugin-script-python/src/main/java/io/kestra/plugin/scripts/python/Commands.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
""",
4949
code = """
5050
id: python_venv
51-
namespace: dev
51+
namespace: company.team
5252
5353
tasks:
5454
- id: hello
@@ -68,7 +68,7 @@
6868
title = "Execute a Python script from Git in a Docker container and output a file",
6969
code = """
7070
id: pythonCommandsExample
71-
namespace: dev
71+
namespace: company.team
7272
7373
tasks:
7474
- id: wdir
@@ -106,7 +106,7 @@
106106
title = "Execute a Python script on a remote worker with a GPU",
107107
code = """
108108
id: gpuTask
109-
namespace: dev
109+
namespace: company.team
110110
111111
tasks:
112112
- id: hello
@@ -124,7 +124,7 @@
124124
title = "Pass detected S3 objects from the event trigger to a Python script",
125125
code = """
126126
id: s3TriggerCommands
127-
namespace: blueprint
127+
namespace: company.team
128128
description: process CSV file from S3 trigger
129129
130130
tasks:
@@ -170,7 +170,7 @@
170170
title = "Execute a Python script from Git using a private Docker container image",
171171
code = """
172172
id: pythonInContainer
173-
namespace: dev
173+
namespace: company.team
174174
175175
tasks:
176176
- id: wdir
@@ -206,8 +206,8 @@
206206
full = true,
207207
title = "Create a python script and execute it in a virtual environment",
208208
code = """
209-
id: "script_in_venv"
210-
namespace: "dev"
209+
id: script_in_venv
210+
namespace: company.team
211211
tasks:
212212
- id: bash
213213
type: io.kestra.plugin.scripts.python.Commands

0 commit comments

Comments
 (0)