AtgDataBuilder
General purpose ATG data builder
Overview
Design
- Super Type
- AtgBuilder
Role | Concrete. (Objects can be created.) |
Instance Names | Unique |
Notification | false |
Template Directory | |
Data View | Children, proximity: 1 |
Logger Name | AtgDataBuilder |
Constraints
Allowed Child Dependencies
- AtgRdb
- Deployment
- DispatchBaseType1
- DispatchChangeDependencies1
- DispatchExecutionStrategy1
- DispatchOptions1
- DispatchResourceName1
- DispatchResourceType1
- DispatchSortOrder1
- DispatchThreadCount1
1: These types have a Singleton constraint. Only one instance may be added as a resource.
Allowed Parent Dependencies
- CruiseControl
- Node
- Updater
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.
Build
Export all database schema associated with the AtgRdb resource adding dump files to the repository
- Usage
- Build -buildstamp <> [-command <Schemas-ExportDmp>] [-resourcetype <Atg.*Rdb>]
Workflow
Options
Option | Description |
---|---|
buildstamp | Unique build identifier |
command | Command to dispatch |
resourcetype | Type of resource to dispatch |
Deploy
Dispatch the deployment cycle to the associated database instances
- Usage
- Deploy [-command <Deploy>]
Workflow
Options
Option | Description |
---|---|
command | Command to dispatch |
Packages-List
Lists package objects associated with an optional buildstamp
- Usage
- Packages-List [-buildstamp <.*>]
Workflow
Options
Option | Description |
---|---|
buildstamp | Universally unique build identifier |
Packages-Purge
Finds and deletes package objects and files in the repository associated with a given buildstamp
- Usage
- Packages-Purge [-buildstamp <.*>]
Workflow
Options
Option | Description |
---|---|
buildstamp | Universally unique build identifier |
repoFind
find package objects in the repository
- Usage
- repoFind [-buildstamp <.*>] [-buildtime <.*>] [-packagetype <AtgRdbData>] [-session <find.session>]
Options
Option | Description |
---|---|
buildstamp | |
buildtime | |
packagetype | |
session |
repoPurge
remove package objects from the repository
- Usage
- repoPurge [-buildstamp <>] [-packagename <.*>] [-packagetype <[^.]*>] [-session <find.session>]
Options
Option | Description |
---|---|
buildstamp | Universally unique build identifier (not used) |
packagename | |
packagetype | |
session |
dispatchCmd
dispatches command to resource
- Usage
- dispatchCmd [-buildstamp <>] -command <> [-dispatchOptions <>] [-keepgoing] [-resourcename <.*>] [-resourceorder <[^\.]*>] [-resourcetype <[^\.]*>] [-sortorder <ascending>] [-strategy <nodedispatch>] [-threadcount <1>]
Options
Option | Description |
---|---|
buildstamp | Unique build and deployment identifier |
command | command to dispatch |
dispatchOptions | extra options to pass |
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 |
strategy | Execution dispatch strategy |
threadcount | Number of concurrent threads to dispatch |