You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2020/01/02 12:25:00 UTC
[jira] [Created] (ISIS-2239) Use @Validated for base-path config
properties
Daniel Keir Haywood created ISIS-2239:
-----------------------------------------
Summary: Use @Validated for base-path config properties
Key: ISIS-2239
URL: https://issues.apache.org/jira/browse/ISIS-2239
Project: Isis
Issue Type: Improvement
Reporter: Daniel Keir Haywood
Assignee: Daniel Keir Haywood
Fix For: 2.0.0
The WebModuleWicket and WebModuleRestfulObjects both require that their respective base-path config properties start and end with a '/'; they will coerce the supplied value if necessary.
Instead, we could enforce this rule using @Validated @ConfigurationProperties. This will fail-fast and allow us to delete code.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)