Skip to content
This repository was archived by the owner on Jan 19, 2018. It is now read-only.

Autogenerated Parameters #186

Open
markllama opened this issue Nov 18, 2015 · 1 comment
Open

Autogenerated Parameters #186

markllama opened this issue Nov 18, 2015 · 1 comment

Comments

@markllama
Copy link

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 type

    The 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

@kanarip
Copy link

kanarip commented Nov 18, 2015

@markllama very much +1 like on projectatomic/atomicapp#408

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants