Open.ControlTier > ModuleForge
 

RdbDataBuilder

General purpose ControlTier data builder

Overview

Open in Workbench RdbDataBuilder: General purpose ControlTier data builder

Design

Super Type
Builder
Role Concrete. (Objects can be created.)
Instance Names Unique
Notification false
Template Directory
Data View Children, proximity: 1
Logger Name RdbDataBuilder

Constraints

Allowed Child Dependencies

  • BuilderBuildFile1
  • BuilderBuildTarget1
  • BuilderPackageExtension1
  • BuilderPackageFilebase1
  • BuilderPackageInstallroot1
  • BuilderPackageType1
  • BuilderPackageVersion1
  • BuilderrunImportMax1
  • BuilderrunImportMin1
  • BuilderScmBinding1
  • BuilderScmConnection1
  • BuilderScmLabel1
  • BuilderScmModule1
  • Rdb
  • RdbExportDir1
  • RdbInstanceName1
  • RdbSchemaName1

1: These types have a Singleton constraint. Only one instance may be added as a resource.

Allowed Parent Dependencies

  • Node
  • Updater

Attributes

Exported Attributes

Name Property Description
basedir deployment-basedir Directory where source code is checked out
targetdir deployment-install-root Directory where build artifacts are written

Defaults for Imported Attributes

Name Default Description
buildFile Build file to invoke
buildTarget Target to invoke
importMax 1 maximum number of packages to import after build
importMin 1 minimum number of packages to import after build
packageExtension .* name or pattern of file name extensions to import
packageFilebase .*? root name or pattern of filenames to import (minus file extension and option version qualifier)
packageInstallroot ${entity.instance.dir}/RdbDataPackage Directory built package should be extracted
packageType RdbDataPackage Object type to use when registering uploaded packages
packageVersion ${opts.buildstamp} String to use for assigning version for package registration
rdbInstanceName default Target rdb
rdbSchemaName default Target rdb schema name
scmBinding cvs binds scm commands to concrete SCM client commandsxs
scmConnection connection string to access SCM repository
scmLabel name of the label/branch to access in SCM repository
scmModule name of code module in SCM repository

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

Run the data build cycle, delegating schema export to the configured Rdb deployment.

Usage
Build [-buildstamp <>]

Workflow

  1. rdbSchemaExport
  2. repoImport

Options

Option Description
buildstamp build identifier

dispatchCmd

Dispatch specified command to selected child dependencies.

Usage
dispatchCmd [-buildstamp <>] -command <> [-keepgoing] [-resourcename <.*>] [-resourceorder <[^.]*>] [-resourcetype <[^.]*>] [-sortorder <ascending>] [-targetdir <>]

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
targetdir target directory

rdbSchemaExport

Dispatch the RdbSchema export operation via the configured Rdb child dependency.

Usage
rdbSchemaExport [-buildstamp <>] [-command <Export>] [-resourcename <.*>] [-resourcetype <Rdb>] [-targetdir <>]

Workflow

  1. dispatchCmd

Options

Option Description
buildstamp build identifier
command command name
resourcename resource name pattern
resourcetype resource type name
targetdir target directory