TokenReplacement - erikbra/roundhouse GitHub Wiki
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 replacement 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
Questions
- Are user-defined tokens available? If so, where do we define them? Would love to know this.