-
Notifications
You must be signed in to change notification settings - Fork 47
Autogenerated Parameters #186
Description
As an atomicapp developer
I would like to be able to define some parameters which are autogenerated from a pattern
So that I can avoid having to provide values which are only used to connect two containers.
Use Case Example:
When creating internal only databases, the database server and consumer must agree on username/password or client/server certificates, but the precise values are unimportant because they are only used internally. I would like to be able to have
Nulecule specification change:
params:
- name: dbuser
- description: The name of the database read/write user
- generate: "expression"
- from: <RE pattern>
-
generate directive - indicate that this is a dynamically generated value
This could be a time stamp, or an RE expression or a random number or some other dynamically
created value typeThe first acceptable value would be "expression" but others are possible
-
from directive
With the "expression" value of the from directive, this provides the pattern to use to produce a random value