Dan Haywood created ISIS-848:
--------------------------------
Summary: Use a single consolidated mechanism for auto-discovery of
services, entities and fixture scripts.
Key: ISIS-848
URL: https://issues.apache.org/jira/browse/ISIS-848
Project: Isis
Issue Type: Improvement
Components: Core
Affects Versions: core-1.6.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
Fix For: core-1.7.0
Isis core now supports auto-discovery (behind the scenes using
org.reflections.Reflections) of entities, of services and of fixture scripts.
But the configuration of these is all over the place:
- entities are discovered:
- in the app using WEB-INF/persistor_datanucleus.properties
- in the integtests in the XxxSystemBuilder#testConfiguration()
- services are discovered:
- in the app using WEB-INF/isis.properties
- in the integtests in the XxxSystemBuilder#(constructor)
- fixture scripts are discovered:
- in the app in the constructor of the subclass of FixtureScripts.
--
This message was sent by Atlassian JIRA
(v6.2#6252)