Skip to content

Commit

Permalink
Updated DSL doc for language support
Browse files Browse the repository at this point in the history
  • Loading branch information
lolautruche committed Aug 26, 2016
1 parent 33de6d8 commit 0eb0bf0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Resources/doc/DSL/ManageContent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
priority: 0 # Set the priority of the main location
other_locations: [x, y, z] # Optional, node ids of other parent location
remote_id: custom_remote_id # Optional, will set an object remote id as the remote ID and a location remote ID with a _location suffix
lang: xxx-YY # Optional, will fallback to default language if not provided (--default-language option or 'eng-GB' by default)
attributes:
- attribute1: value1
- attribute2: value2
Expand Down Expand Up @@ -56,6 +57,7 @@
- parent_location_id: x # int|int[]
- parent_location_remote_id: xxx # string|string[]
- content_type: yyy # string|string[] a content type identifier
lang: xxx-YY # Optional, will fallback to default language if not provided (--default-language option or 'eng-GB' by default)
attributes: # the list of attribute identifier value pairs
- attribute1: value1
- attribute2: value2
Expand Down
2 changes: 2 additions & 0 deletions Resources/doc/DSL/ManageContentType.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
description: xyz # Optional
url_name_pattern: pattern # Optional
is_container: true|false # Optional, defaults to false
lang: xxx-YY # Optional, will fallback to default language if not provided (--default-language option or 'eng-GB' by default)
attributes:
-
type: xyz # Attribute type (See list https://confluence.ez.no/display/EZP/FieldTypes)
Expand Down Expand Up @@ -40,6 +41,7 @@
name_pattern: xyz # Optional, will be updated if set
url_name_pattern: xyz # Optional, will be updated if set
is_container: true|false # Optional, will be updated if set
lang: xxx-YY # Optional, will fallback to default language if not provided (--default-language option or 'eng-GB' by default)
attributes: # Optional, if set will update existing ones or add new ones.
-
identifier: xyz # Identifier of the attribute to update or identifier of the new attribute to add
Expand Down
3 changes: 2 additions & 1 deletion Resources/doc/DSL/ManageUsersAndGroups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
username: xyz
email: xyz
password: xyz
main_language: xyz # Optional, default to eng-GB
lang: xxx-YY # Optional, will fallback to default language if not provided (--default-language option or 'eng-GB' by default)
groups: [x, y, z] # The user group ID or IDs (Object IDs) to put the user into
# The list in references tells the manager to store specific values for later use
# by other steps in the current migration.
Expand Down Expand Up @@ -64,6 +64,7 @@
name: xyz # Optional
description: xyz # Optional
parent_group_id: x # Optional, the new parent user group ID
lang: xxx-YY # Optional, will fallback to default language if not provided (--default-language option or 'eng-GB' by default)
# The list in references tells the manager to store specific values for later use
# by other steps in the current migration.
references: #Optional
Expand Down

0 comments on commit 0eb0bf0

Please sign in to comment.