[
https://issues.apache.org/jira/browse/ISIS-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16940084#comment-16940084
]
ASF subversion and git services commented on ISIS-2086:
-------------------------------------------------------
Commit 4ecb056bda6b4eef3858291f13de37be91eb151e in isis's branch
refs/heads/ISIS-2086 from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=4ecb056 ]
ISIS-2086: refactors 'isis.reflector.validator.jaxb...' (5 of them) to
type-safe config
public static final String
ISIS_REFLECTOR_VALIDATOR_JAXB_VIEW_MODEL_NOT_ABSTRACT =
"isis.reflector.validator.jaxbViewModelNotAbstract";
public static final boolean
ISIS_REFLECTOR_VALIDATOR_JAXB_VIEW_MODEL_NOT_ABSTRACT_DEFAULT = true;
public static final String
ISIS_REFLECTOR_VALIDATOR_JAXB_VIEW_MODEL_NOT_INNER_CLASS =
"isis.reflector.validator.jaxbViewModelNotInnerClass";
public static final boolean
ISIS_REFLECTOR_VALIDATOR_JAXB_VIEW_MODEL_NOT_INNER_CLASS_DEFAULT = true;
public static final String
ISIS_REFLECTOR_VALIDATOR_JAXB_VIEW_MODEL_PUBLIC_NO_ARG_CONSTRUCTOR =
"isis.reflector.validator.jaxbViewModelNoArgConstructor";
public static final boolean
ISIS_REFLECTOR_VALIDATOR_JAXB_VIEW_MODEL_PUBLIC_NO_ARG_CONSTRUCTOR_DEFAULT =
false;
public static final String
ISIS_REFLECTOR_VALIDATOR_JAXB_VIEW_MODEL_REFERENCE_TYPE_ADAPTER =
"isis.reflector.validator.jaxbViewModelReferenceTypeAdapter";
public static final boolean
ISIS_REFLECTOR_VALIDATOR_JAXB_VIEW_MODEL_REFERENCE_TYPE_ADAPTER_DEFAULT = true;
public static final String
ISIS_REFLECTOR_VALIDATOR_JAXB_VIEW_MODEL_DATE_TIME_TYPE_ADAPTER =
"isis.reflector.validator.jaxbViewModelDateTimeTypeAdapter";
public static final boolean
ISIS_REFLECTOR_VALIDATOR_JAXB_VIEW_MODEL_DATE_TIME_TYPE_ADAPTER_DEFAULT = true;
> Define beans for configuration, so that (eventually) can use Spring Boot's
> @ConfigurationProperties infrastructure.
> -------------------------------------------------------------------------------------------------------------------
>
> Key: ISIS-2086
> URL: https://issues.apache.org/jira/browse/ISIS-2086
> Project: Isis
> Issue Type: Improvement
> Affects Versions: 1.17.0
> Reporter: Daniel Keir Haywood
> Assignee: Daniel Keir Haywood
> Priority: Major
> Fix For: 2.0.0
>
>
> ie as per
> [https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-external-config]
> Another benefit we will get from this is that SB has an annotation processor
> that generates some IDE config files to provide autocomplete when editing the
> application.properties file
> [https://docs.spring.io/spring-boot/docs/2.0.8.RELEASE/reference/html/configuration-metadata.html#configuration-metadata-annotation-processor]
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)