(Quick Reference)

dbm-register-changelog

Purpose

Adds an include for the specified changelog to the main changelog.

Description

Usage:

$ grace <<environment>> dbm-register-changelog <<filename>> --dataSource=<<dataSource>>

Required arguments:

  • filename - The path to the changelog file to include.

Optional arguments:

  • dataSource - if provided will run the script for the specified dataSource using changelog-[dataSource].groovy if a filename is not given. Not needed for the default dataSource.

Note that the dataSource parameter name and value must be quoted if executed in Windows, e.g.
$ grace dbm-diff  "--dataSource=<<dataSource>>"
For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy] the suffix of reports will be used as the parameter value.
--dataSource=reports