Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-848

Use a single consolidated mechanism for auto-discovery of services, entities and fixture scripts.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • core-1.6.0
    • 1.9.0
    • Core
    • None

    Description

      ie... implement AppSpecs/ClusterSpecs.

      ~~~
      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.

      ~~~
      some other aspects to consider:

      isis.properties, persistor.properties etc.

      Shiro realm, whether to enable or not (shiro.ini)

      web.xml fragments (filters/servlets)

      per publishmq add-on, this means:

      • cxf
      • jolokia
      • hawt.io
      • RO
      • spring
      • bootstraps in turn camel/activemq
      • could tackle with a different spring file ?
      • reconfigure spring.properties

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              danhaywood Daniel Keir Haywood
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: