Mandantory Parameters for Roles

Description

roles define their own set of parameters that control the generation of the configuration.
currently all parameters are by definition optional. if not set they either use the default value, or an empty value if not default value is set.

it would be useful to define some parameters as "mandatory", and let the configuration generation fail if one of the mandatory parameters is not set in the environment.

Activity

Show:
Stefan Seifert
October 10, 2017, 2:56 AM

added an "ensureProperties" handlebars helper.
with this the handlebar template files can control whether a property is mandatory in given context or not.
if the mandatory properties are not set buid fails with a message containing the missing property names.
http://devops.wcm.io/conga/handlebars-quickstart.html#ensureProperties

Fixed

Assignee

Unassigned

Reporter

Stefan Seifert

Labels

None

Components

Fix versions

Priority

Minor