Clone Tools
  • last updated 20 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
2039 redesign of config (#134)

* ISIS-2039: major refactoring

move config code into its own module

remove number of classes in metamodel, that hold a reference to

IsisConfiguration or its implementation

hide the mutable IsisConfigurationDefault

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: reduce visibility of some config classes

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: simplify config access

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: cleaning up the component-provider mess

for web-modules: no longer negotiate by writing attributes to the

servlet-context, instead use a java class for that

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: fixing some tests

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: removing arguments of @PostConstruct methods

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: lazy binding to config for wicket

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: proposed test fix

also cleaning up verbose tests

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: more test fixes

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: experimenting with AppConfig managed by Guice

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: solving the AppManifest lookup problem independently of the

configuration bootstrapping

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: simplify helloworld

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: moving type discovery to an earlier stage in bootstrapping

Integration Test Bootstrapping works.

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: on web-context: move the config bootstrapping from wicket

module to the main ServletContextListener

such that the wicket module is no longer responsible for initiating the

framework

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: config bootstrapping: fixes the resource chain

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: allow ServiceLoader lookup for AppConfig to fallback ...

to previous behavior, that is to lookup the AppManifest from config

property 'isis.appManifest'

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: fixes concurrent modification with _Context

add a property 'isUnitTesting' to the IsisSystemEnvironment, to help

with the decision on how to bootstrap the configuration

also doing some cleaning up

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: fixing junit tests ...

by having the IsisSystemEnvironment#isUnitTesting correctly setup by

JunitRuleMocker2

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: further fixing tests ...

also moving ExceptionRecognizer services that depend on the 'config'

module from 'applib' to 'runtime'

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: fixing tests, that fail due to new domain object annot.

processing

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: unify config bootstrapping code for maven-plugin,

wicket-viewer and headless

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: to fix prev. commit: let the maven-plugin bootstrap the

configuration properly

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: fixing mm verification tests

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: reinstating the ConfigurationServiceDefault

also renaming packages within the 'config' module -> 'o.a.i.config'

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: removing the ConfigurationService interface

use the singleton IsisConfiguration instead

for the UI, the ConfigurationServiceMenu was renamed to

ConfigurationMenu which uses a ConfigurationViewService for the single

purpose of displaying config values

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

* ISIS-2039: reorg. packages

Task-Url: https://issues.apache.org/jira/browse/ISIS-2039

    • -62
    • +0
    ./IsisConfigurationBuilder_PeekConfigurationTest.java
    • -107
    • +0
    ./PrimerForEnvironmentVariableISIS_OPTS_Test.java
  1. … 424 more files in changeset.
ISIS-1841 further cleanup compiler warnings

    • -2
    • +0
    ./IsisConfigurationBuilder_PeekConfigurationTest.java
  1. … 12 more files in changeset.
ISIS-1561: adds missing license headers

    • -0
    • +18
    ./PrimerForEnvironmentVariableISIS_OPTS_Test.java
  1. … 4 more files in changeset.
ISIS-1573: accept ISIS_OPTS values that contain strings.

    • -0
    • +89
    ./PrimerForEnvironmentVariableISIS_OPTS_Test.java
  1. … 3 more files in changeset.
peekConfiguration() returns configuration

peekConfiguration() returns a new IsisConfigurationDefault that has a

copy of all the properties currently held within this.configuration.

    • -0
    • +64
    ./IsisConfigurationBuilder_PeekConfigurationTest.java
  1. … 4 more files in changeset.
peekConfiguration() returns configuration

peekConfiguration() returns a new IsisConfigurationDefault that has a

copy of all the properties currently held within this.configuration.

    • -0
    • +64
    ./IsisConfigurationBuilder_PeekConfigurationTest.java
  1. … 4 more files in changeset.
ISIS-1420: support overrides.properties file

    • -49
    • +0
    ./ConfigurationBuilderResourceStreamsConfigResourceAndPolicyTest.java
  1. … 9 more files in changeset.
ISIS-1406: lots more refactoring around IsisConfiguration and IsisConfigurationBuilder.

specifically:

- simplified IsisConfigurationBuilder, now a single class (rather than an interface with 4 different impls, only 2 of which were used).

- removed IsisRunner, so that the command line options are now a responsibility of the IsisConfigurationBuilder

- IsisConfigurationBuilder is passed from o.a.i.WebServer to IsisWicketApplication (not just the "primers"

- removed OptionValidator, wasn't being used

- FacetFactoryAbstract responsible for providing IsisConfiguration to all subclass impls

- InstallerLookup simplified, no longer responsible for appending to the IsisConfigurationBuilder

- InstallerAbstract impls now all have the IsisConfiguration injected into them (constructor injection).

- removed duplication between IsisWebAppBootstrapper and IsisWicketApplication

As of this commit the app runs, but the fixtures are not being automatically installed.

    • -0
    • +49
    ./ConfigurationBuilderResourceStreamsConfigResourceAndPolicyTest.java
  1. … 105 more files in changeset.