Skip to content
Dan Turner edited this page Jun 24, 2014 · 9 revisions

Token Replacement

Any value that is in the configuration can be tokenized in the scripts.

ALTER DATABASE {{DatabaseName}} will be replaced as ALTER DATABASE Bob when the database name is Bob.

This is not case sensitive.

Notes

Using token replacment in your scripts locks those scripts into RoundhousE. I would use something like this VERY sparingly.

Supported Tokens

The supported tokens are defined by the public properties of roundhouse.infrastructure.app.ConfigurationPropertyHolder

https://github.com/chucknorris/roundhouse/blob/master/product/roundhouse/infrastructure.app/ConfigurationPropertyHolder.cs

Questions

  • Are user-defined tokens available? If so, where do we define them? Would love to know this.
Clone this wiki locally