AtgDataUpdater
runs the corporate data update
Overview
Design
- Super Type
- AtgUpdater
| Role | Concrete. (Objects can be created.) |
| Instance Names | Unique |
| Notification | false |
| Template Directory | |
| Data View | Children, proximity: 1 |
| Logger Name | AtgDataUpdater |
Constraints
Allowed Child Dependencies
1: These types have a Singleton constraint. Only one instance may be added as a resource.
Allowed Parent Dependencies
- AtgProjectUpdater
- Node
Commands
Note
Commandline options displayed in square brackets "[]" are optional. If an option expects arguments, then angle brackets are shown after the option "<>". Any default value is shown within the brackets.
BuildAndUpdate
runs the build and update process
- Usage
- BuildAndUpdate -buildstamp <>
Workflow
Options
| Option | Description |
|---|---|
| buildstamp | build identifier |
Build
Run the data builder's build command
- Usage
- Build -buildstamp <> [-command <Build>] [-resourcetype <AtgDataBuilder>]
Workflow
Options
| Option | Description |
|---|---|
| buildstamp | Unique build identifier |
| command | Command to dispatch |
| resourcetype | Type of resource to dispatch |
Change-Dependencies
Queries model and then switches dependencies
- Usage
- Change-Dependencies [-allowmultiple <true>] -buildstamp <> [-defaultPackageName <.*>] [-deploymenttype <AtgRdb>] [-failIfNotReplaced <false>] [-packagetype <AtgRdbData>]
Workflow
Success Handler
| Subject | |
| File |
Options
| Option | Description |
|---|---|
| allowmultiple | if true, allow multiple matches via regex |
| buildstamp | build identifier |
| defaultPackageName | default package name regex |
| deploymenttype | type of deployment |
| failIfNotReplaced | if true, fails if any packages don't have a matching replacement |
| packagetype | package type |
runChangeDependencies
queries model and then switches a set of dependencies
- Usage
- runChangeDependencies [-allowmultiple <false>] -buildstamp <> [-defaultPackageName <^$>] [-deploymenttype <Deployment>] [-failIfNotReplaced <true>] [-packagetype <AtgRdbData>] [-version <>]
Options
| Option | Description |
|---|---|
| allowmultiple | if true, allow multiple matches when default regex is included |
| buildstamp | build identifier |
| defaultPackageName | default package name regex |
| deploymenttype | type of deployments to modify |
| failIfNotReplaced | if true, fails if any packages don't have a matching replacement |
| packagetype | type of packages to change |
| version | package version |
Update
Run the site's RDB import dump command
- Usage
- Update -buildstamp <> [-command <Rdbs-Update>] [-resourcetype <AtgSite>]
Workflow
Options
| Option | Description |
|---|---|
| buildstamp | Unique build identifier |
| command | Command to dispatch |
| resourcetype | Type of resource to dispatch |
dispatchCmd
Dispatches a command to selected resources
- Usage
- dispatchCmd [-buildstamp <>] -command <> [-keepgoing] [-resourcename <.*>] [-resourceorder <[^.]*>] [-resourcetype <[^.]*>] [-sortorder <ascending>]
Options
| Option | Description |
|---|---|
| buildstamp | Unique build and deployment identifier |
| command | command to dispatch |
| keepgoing | If true, all iterations of the called workflow will be executed, even if a task in one or more of them fails. |
| resourcename | resource name pattern |
| resourceorder | resource order name |
| resourcetype | resource type name |
| sortorder | order to sort resources |


