Project

General

Profile

Actions

Refactor #32403

closed

Tracker #29939: Improve setting definition DSL and move setting registry to memory

Add custom validations to new setting DSL

Added by Ondřej Ezr over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Settings
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

I'd imagine this can be a simple lambda, that gets the setting record as parameter and performs clasical custom validation, or AR Validator class.


Related issues 3 (0 open3 closed)

Related to Foreman - Bug #32925: root_pass setting does not enforce minimum length of 8 characters as the host and hostgroups forms doClosedActions
Blocked by Foreman - Feature #32286: Create a new setting definition DSLClosedOndřej EzrActions
Precedes Foreman - Refactor #32408: Use new DSL to define settingsClosedOndřej EzrActions
Actions

Also available in: Atom PDF