Skip to content

Commit

Permalink
Add docs about being able to set refs in delete steps
Browse files Browse the repository at this point in the history
  • Loading branch information
gggeek committed Apr 3, 2018
1 parent ba3b590 commit d7270bb
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions Resources/doc/DSL/ContentTypeGroups.yml
Expand Up @@ -59,3 +59,4 @@
_condition_: value # where _condition_ can be any of ones specified above, including 'and' and 'or'
not: # matches elements NOT satisfying the wrapped condition
_condition_: value # where _condition_ can be any of ones specified above, including 'and' and 'or'
references: # Optional. See above for allowed values
5 changes: 3 additions & 2 deletions Resources/doc/DSL/ContentTypes.yml
Expand Up @@ -108,8 +108,8 @@
url_name_pattern: pattern # Optional
default_sort_field: x # Optional. See ManageLocation.yml for details
default_sort_order: ASC|DESC # Optional
# The list in references tells the manager to store specific values for later use by other steps in the current
# migration.
# The list in references tells the manager to store specific values for later use by other steps in the current migration.
# NB: these are NEW VARIABLES THAT YOU ARE CREATING. They are not used in the current migration step!
references: # Optional
-
identifier: referenceId # A string used to identify the reference
Expand Down Expand Up @@ -208,6 +208,7 @@
_condition_: value # where _condition_ can be any of ones specified above, including 'and' and 'or'
not: # matches elements NOT satisfying the wrapped condition
_condition_: value # where _condition_ can be any of ones specified above, including 'and' and 'or'
references: # Optional. See above for allowed values

# Attribute examples.

Expand Down
1 change: 1 addition & 0 deletions Resources/doc/DSL/ContentVersions.yml
Expand Up @@ -4,3 +4,4 @@
match: # Same as for Content update/delete/load actions
versions: xxx # If an integer or array of integers: remove those specific versions
# If a negative integer -X: remove *all* versions except the last X (ie: -1 = leave only the last version)
references: # Optional. See Contents.yml for allowed values
1 change: 1 addition & 0 deletions Resources/doc/DSL/Contents.yml
Expand Up @@ -210,6 +210,7 @@
_condition_: value # where _condition_ can be any of ones specified above, including 'and' and 'or'
not: # matches elements NOT satisfying the wrapped condition
_condition_: value # where _condition_ can be any of ones specified above, including 'and' and 'or'
references: # Optional. See above for allowed values

-
type: content
Expand Down
2 changes: 2 additions & 0 deletions Resources/doc/DSL/ObjectStatesAndGoups.yml
Expand Up @@ -73,6 +73,7 @@
_condition_: value # where _condition_ can be any of ones specified above, including 'and' and 'or'
not: # matches elements NOT satisfying the wrapped condition
_condition_: value # where _condition_ can be any of ones specified above, including 'and' and 'or'
references: # Optional. See above for allowed values

-
mode: create
Expand Down Expand Up @@ -149,3 +150,4 @@
_condition_: value # where _condition_ can be any of ones specified above, including 'and' and 'or'
not: # matches elements NOT satisfying the wrapped condition
_condition_: value # where _condition_ can be any of ones specified above, including 'and' and 'or'
references: # Optional. See above for allowed values
1 change: 1 addition & 0 deletions Resources/doc/DSL/RolesAndPolicies.yml
Expand Up @@ -157,3 +157,4 @@
_condition_: value # where _condition_ can be any of ones specified above, including 'and' and 'or'
not: # matches elements NOT satisfying the wrapped condition
_condition_: value # where _condition_ can be any of ones specified above, including 'and' and 'or'
references: # Optional. See above for allowed values
5 changes: 3 additions & 2 deletions Resources/doc/DSL/Sections.yml
Expand Up @@ -3,8 +3,8 @@
mode: create
name: xyz
identifier: xyz
# The list in references tells the manager to store specific values for later use
# by other steps in the current migration.
# The list in references tells the manager to store specific values for later use by other steps in the current migration.
# NB: these are NEW VARIABLES THAT YOU ARE CREATING. They are not used in the current migration step!
references: # Optional
-
identifier: referenceId # A string used to identify the reference
Expand Down Expand Up @@ -62,3 +62,4 @@
_condition_: value # where _condition_ can be any of ones specified above, including 'and' and 'or'
not: # matches elements NOT satisfying the wrapped condition
_condition_: value # where _condition_ can be any of ones specified above, including 'and' and 'or'
references: # Optional. See above for allowed values

0 comments on commit d7270bb

Please sign in to comment.