dmiller
8 years agoFormer Employee
Migration Patterns
The following patterns migrate assets from one project to another in the same org. These patterns make use of the SnapLogic Metadata Snaps.
Source: Existing accounts, files, and pipelines within SnapLogic
Target: A second project within SnapLogic
Snaps used: SnapLogic Metadata Snaps, Mapper,
Requirements
- You must have access to both projects.
- You will need to define the following pipeline parameters:
- source_path, in the form of /orgname/projectspace/project
- target_path, in the form of /orgname/projectspace/project
Migrate Accounts
- The SnapLogic List Snap gathers the list of accounts in the specified source_path parameter.
- The SnapLogic Read Snap reads the incoming $path for the accounts.
- The Mapper Snap maps the target path.
- The SnapLogic Create Snap writes the accounts to the target location.
Migrate Files
- The SnapLogic List Snap gathers the list of files in the specified source_path parameter.
- The Mapper Snap maps the source path to a $source_path field for use in the Read Snap.
- The SnapLogic Read Snap reads the incoming $path for the files.
- The SnapLogic Create Snap writes the files to the target location.
Migrate Pipelines
- The SnapLogic List Snap gathers the list of pipelines in the specified source_path parameter.
- The SnapLogic Read Snap reads the incoming $path for the pipelines.
- The Mapper Snap maps the target path.
- The SnapLogic Create Snap writes the pipelines to the target location.
Pipeline Downloads
- Migrate Accounts.slp (5.7 KB)
- Migrate Files.slp (6.0 KB)
- Migrate Pipelines.slp (5.7 KB)