Skip to content

Commit d31d691

Browse files
authored
Merge pull request #62 from php-etl/pipeline-code-required
pipeline code should be required, because cloud configuration needs it
2 parents a2019ec + 6d28613 commit d31d691

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

content/core-concept/satellite/_index.en.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ satellites:
221221
label: 'My first Satellite'
222222
# ...
223223
pipeline:
224+
code: 'my-first-pipeline'
224225
steps:
225226
- akeneo:
226227
extractor:
@@ -249,6 +250,7 @@ satellites:
249250
workflow:
250251
jobs:
251252
- pipeline:
253+
code: 'my-first-pipeline'
252254
steps:
253255
- akeneo:
254256
extractor:
@@ -267,6 +269,7 @@ satellites:
267269
enclosure: '"'
268270
escape: '\\'
269271
- pipeline:
272+
code: 'my-second-pipeline'
270273
steps:
271274
- akeneo:
272275
extractor:
@@ -296,6 +299,7 @@ satellites:
296299
path: /my-hook
297300
expression: 'input'
298301
pipeline:
302+
code: 'my-first-pipeline'
299303
steps:
300304
- fastmap:
301305
map:
@@ -320,6 +324,7 @@ satellites:
320324
- route: /category
321325
expression: 'input'
322326
pipeline:
327+
code: 'my-first-pipeline'
323328
steps:
324329
- fastmap:
325330
map:
@@ -333,6 +338,7 @@ satellites:
333338
- route: /product
334339
expression: 'input'
335340
pipeline:
341+
code: 'my-second-pipeline'
336342
steps:
337343
- fastmap:
338344
map:

content/core-concept/satellite/pipeline/_index.en.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,13 @@ This package allows you to create a microservice that will be operating a data p
4242
To define your pipeline, you need to specify which steps will make up the pipeline using the `steps` option. Each step
4343
contains the configuration of a plugin. For more details, go to the documentation page of the plugin of your choice.
4444

45+
You must also set a `code` of your choosing, which will help identify the pipeline. This pipeline code should be unique within the satellite.
46+
4547
{{< tabs name="basic_definition" >}}
4648

4749
{{< tab name="YAML" codelang="yaml" >}}
4850
pipeline:
51+
code: 'my-example-pipeline'
4952
steps:
5053
- csv:
5154
extractor:
@@ -117,6 +120,7 @@ For more details, go to the [detailed logger documentation](../../feature/logger
117120
satellite:
118121
# ...
119122
pipeline:
123+
code: 'my-example-pipeline'
120124
steps:
121125
- akeneo:
122126
# ...
@@ -139,6 +143,7 @@ For more details, go to the [detailed rejection documentation](../../feature/rej
139143
satellite:
140144
# ...
141145
pipeline:
146+
code: 'my-example-pipeline'
142147
steps:
143148
- akeneo:
144149
# ...
@@ -160,6 +165,7 @@ For more details, go to the [detailed state documentation](../../feature/state)
160165
satellite:
161166
# ...
162167
pipeline:
168+
code: 'my-example-pipeline'
163169
steps:
164170
- akeneo:
165171
# ...
@@ -186,6 +192,7 @@ Then use the variables like this in the configuration:
186192
```yaml
187193
# ...
188194
pipeline:
195+
code: 'my-example-pipeline'
189196
steps:
190197
- akeneo:
191198
# ...

0 commit comments

Comments
 (0)