forked from chucknorris/roundhouse
-
Notifications
You must be signed in to change notification settings - Fork 0
TokenReplacement
Alastair Pitts edited this page Apr 6, 2020
·
8 revisions
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.
Using token replacement in your scripts locks those scripts into RoundhousE. I would use something like this VERY sparingly.
The supported tokens are defined by the public properties of roundhouse.infrastructure.app.ConfigurationPropertyHolder
- Are user-defined tokens available? If so, where do we define them? Would love to know this.