Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-2126 consolidating 'metamodel' o.a.i.c.common packages and classes

- pkg names in module 'metamodel' are now fully aligned

    • -205
    • +0
    ./commons/encoding/DataInputExtendedDecorator.java
    • -208
    • +0
    ./commons/encoding/DataInputStreamExtended.java
    • -208
    • +0
    ./commons/encoding/DataOutputExtendedDecorator.java
    • -230
    • +0
    ./commons/encoding/DataOutputStreamExtended.java
    • -102
    • +0
    ./commons/encoding/DebugDataOutputExtended.java
    • -29
    • +0
    ./commons/encoding/EncodingConstants.java
    • -42
    • +0
    ./commons/encoding/FailedToDeserializeException.java
    • -1364
    • +0
    ./commons/encoding/FieldType.java
    • -30
    • +0
    ./commons/encoding/package-info.java
    • -35
    • +0
    ./commons/ensure/IsisAssertException.java
  1. … 244 more files in changeset.
ISIS-2126 moving non referenced classes to 'legacy'

- also further aligning 'metamodel' package names

- moving ThreadPoolSupport 'metamodel' -> 'commons'

- moving Oid related Exceptions -> o.a.i.metamodel.adapter.oid

    • -33
    • +0
    ./runtime/authorization/package-info.java
    • -33
    • +0
    ./runtime/snapshot/DomSerializer.java
    • -71
    • +0
    ./runtime/snapshot/DomSerializerJaxp.java
    • -180
    • +0
    ./runtime/snapshot/IsisSchema.java
    • -648
    • +0
    ./runtime/snapshot/XmlSchema.java
  1. … 46 more files in changeset.
ISIS-2126 remove AppManifest from applib

- if required, will be provided with a different module

  1. … 6 more files in changeset.
ISIS-2126 aligning most pkg names for module 'metamodel'

- o.a.i.core.metamodel.* -> o.a.i.metamodel.*

    • -2
    • +2
    ./commons/lang/ThrowableExtensions.java
    • -56
    • +0
    ./metamodel/IsisJdoMetamodelPlugin.java
    • -23
    • +0
    ./metamodel/IsisMetamodelModule.java
    • -194
    • +0
    ./metamodel/MetaModelContext.java
    • -142
    • +0
    ./metamodel/MetaModelContext_forTesting.java
    • -157
    • +0
    ./metamodel/MetaModelContext_usingCDI.java
    • -160
    • +0
    ./metamodel/MetaModelContext_usingSpring.java
    • -64
    • +0
    ./metamodel/ServiceInjector_forTesting.java
    • -141
    • +0
    ./metamodel/ServiceRegistry_forTesting.java
    • -353
    • +0
    ./metamodel/adapter/ObjectAdapter.java
    • -86
    • +0
    ./metamodel/adapter/ObjectAdapterByIdProvider.java
    • -12
    • +0
    ./metamodel/adapter/ObjectAdapterPredicate.java
  1. … 3127 more files in changeset.
ISIS-2126 aligning pkg names for modules 'security'

- also fixes byte-buddy SPI due to package renaming earlier

- also fixes bean-type-registry SPI due to package renaming earlier

    • -4
    • +4
    ./metamodel/MetaModelContext_forTesting.java
    • -4
    • +4
    ./metamodel/MetaModelContext_usingCDI.java
    • -4
    • +4
    ./metamodel/MetaModelContext_usingSpring.java
    • -1
    • +1
    ./metamodel/spec/ObjectSpecification.java
  1. … 172 more files in changeset.
ISIS-2126 moving 'commons' cdi/spring packages to ioc/

    • -1
    • +1
    ./metamodel/MetaModelContext_usingCDI.java
    • -1
    • +1
    ./metamodel/MetaModelContext_usingSpring.java
    • -1
    • +1
    ./metamodel/ServiceRegistry_forTesting.java
  1. … 22 more files in changeset.
ISIS-2126 aligning package names in the 'config' module

    • -1
    • +1
    ./commons/ensure/IsisAssertException.java
    • -1
    • +1
    ./commons/exceptions/package-info.java
    • -1
    • +1
    ./commons/factory/InstanceCreationClassException.java
  1. … 197 more files in changeset.
ISIS-2094 java-doc: consolidates all @since 2.** entries -> @since 2.0

    • -1
    • +1
    ./metamodel/adapter/ObjectAdapterByIdProvider.java
    • -1
    • +1
    ./metamodel/facets/object/entity/EntityFacet.java
  1. … 142 more files in changeset.
ISIS-2125: replaces the TransactionServiceDefault with a new TransactionServiceSpring that utilizes sprint-tx API

- however, the nextTransaction() call is still delegated to the old

service, unfortunately this concept is not present in Spring's tx API

- remove the transaction latch from ps-internal

- deal with the fact that IsisSession.close(), as handled by Spring when

processing @PreDestroy, runs on a different thread than that, that

opened the session.

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

  1. … 21 more files in changeset.
ISIS-2125: adds PlatformTransactionManager for Integration Testing

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

    • -1
    • +1
    ./metamodel/MetaModelContext_usingCDI.java
    • -1
    • +1
    ./metamodel/MetaModelContext_usingSpring.java
  1. … 13 more files in changeset.
ISIS-2112: refining BeanSort terminology

- also makes helloworld deployable again

- core: maven build and surefire tests successful

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

    • -7
    • +2
    ./metamodel/spec/ObjectSpecification.java
  1. … 21 more files in changeset.
    • -16
    • +14
    ./commons/encoding/DebugDataOutputExtended.java
    • -141
    • +139
    ./commons/encoding/FieldType.java
    • -102
    • +100
    ./runtime/snapshot/XmlSnapshot.java
  1. … 42 more files in changeset.
  1. … 56 more files in changeset.
ISIS-2112: trouble-shooting: adds some fixes, some debug code

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

    • -1
    • +10
    ./commons/lang/ClassExtensions.java
  1. … 16 more files in changeset.
ISIS-2112: inspecting whether the ObjectAdapterMemento is broken

- persistent object creation with wicket ui fails

generated object is expected to be persistent, but it remains transient;

could also be related to a missing transaction context;

- all around some fixes (I lost track)

- some minor improvements with 'demo'

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

    • -1
    • +9
    ./metamodel/ServiceRegistry_forTesting.java
    • -8
    • +8
    ./metamodel/spec/ObjectSpecification.java
  1. … 87 more files in changeset.
ISIS-2112: fixing the 'demo-app'

- successfully deploys on tomcat

- main menu and viewmodels seem to work

- however, eventbus and mementos don't work yet

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

  1. … 10 more files in changeset.
ISIS-2112: starting to fix metamodel discovery issue

- simplifies spec loader code

- extends the realm of classes to be scanned by Spring

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

    • -5
    • +6
    ./metamodel/MetaModelContext_usingSpring.java
    • -11
    • +9
    ./metamodel/ServiceRegistry_forTesting.java
    • -2
    • +2
    ./metamodel/spec/ObjectSpecification.java
    • -90
    • +75
    ./metamodel/specloader/SpecificationLoaderDefault.java
  1. … 30 more files in changeset.
ISIS-2112: let built-in @DomainService classes be managed by Spring

- also cleaning up ugly code in BackgroundServiceDefault

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

    • -1
    • +2
    ./metamodel/MetaModelContext_usingSpring.java
  1. … 16 more files in changeset.
ISIS-2112: migrate 'isis-maven-plugin' to launch a Spring Context

- just a stub yet, but a FIXME[2112] marker is in place

- also making auth/bypass a convenient config bean -> IsisSecurityBoot

- 'simpleapp' successfully builds now

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

  1. … 14 more files in changeset.
ISIS-2112: refactoring IsisConfiguration to be managed by Spring

- makes the ServiceRegistryDefault the bootstrapping entry-point of

Spring into Isis, that is ServiceRegistryDefault is

ApplicationContextAware

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

    • -1
    • +7
    ./metamodel/ServiceInjector_forTesting.java
    • -17
    • +30
    ./metamodel/services/ServiceInjectorDefault.java
    • -57
    • +0
    ./metamodel/services/ServicesInjector.java
  1. … 20 more files in changeset.
ISIS-2112: utilizing Spring's @PropertySource with 'Presets'

- however still some boilerplate ...

@Configuration

@PropertySources({

@PropertySource("classpath:/domainapp/application/isis-non-changing.properties"),

@PropertySource(name=Presets.H2InMemory, factory =

Presets.Factory.class, value = { "" })

})

public class HelloWorldAppManifest {

...

}

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

    • -12
    • +3
    ./metamodel/facetapi/MetaModelRefiner.java
  1. … 3 more files in changeset.
ISIS-2112: fixes some provisioning issues

- also let ServiceRegistry wait on Spring's context to become available

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

    • -5
    • +2
    ./metamodel/facetapi/MetaModelRefiner.java
    • -0
    • +23
    ./metamodel/services/registry/SpringContextProvider.java
    • -1
    • +3
    ./metamodel/specloader/MetaModelValidatorServiceDefault.java
  1. … 3 more files in changeset.
ISIS-2112: refactoring 'Specloader' to a Spring Managed Bean

- disentangles and removes the complex factory code

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

    • -0
    • +28
    ./metamodel/progmodel/ProgrammingModelService.java
    • -0
    • +77
    ./metamodel/specloader/MetaModelValidatorServiceDefault.java
    • -0
    • +56
    ./metamodel/specloader/ProgrammingModelServiceDefault.java
    • -13
    • +36
    ./metamodel/specloader/SpecificationLoaderDefault.java
  1. … 5 more files in changeset.
merge 'master' into '2112_SpringBoot'

  1. … 9 more files in changeset.
ISIS-2112: getting first JDO integration test running on Spring!

- see JUnit Test org.apache.isis.testdomain.tests.JdoBootstrappingTest

- Spring Boot is provisioning all required Services/Beans

- IsisSystem (Headless) no longer required

- Fixtures are successfully executed

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

    • -1
    • +2
    ./metamodel/MetaModelContext_usingSpring.java
  1. … 13 more files in changeset.
ISIS-2112: removing the EventBusPlugin

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

  1. … 1 more file in changeset.
ISIS-2112: bumping spring and surefire versions, to no effect

- there is an issue where spring cannot locate classpath resources when

running surefire tests on jdk11

- issue solved by workaround ...

//fails

@PropertySource("classpath:/org/apache/isis/testdomain/jdo/isis-non-changing.properties")

//works

@PropertySource("file:src/test/java/org/apache/isis/testdomain/jdo/isis-non-changing.properties")

- results in successful build including surefire tests

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

    • -6
    • +0
    ./metamodel/ServiceRegistry_forTesting.java
  1. … 8 more files in changeset.
ISIS-2112: disable ThreadPoolSupport, at least for now

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

    • -27
    • +19
    ./metamodel/specloader/SpecificationLoaderDefault.java
  1. … 4 more files in changeset.
ISIS-2112: once IsisConfiguration is final append to log

Sample output

================================================

= APACHE ISIS 2.0.0-M3 (PRODUCTION) =

================================================

isis.objects.editing -> false

isis.persistor.datanucleus.impl.datanucleus.cache.level2.mode ->

ENABLE_SELECTIVE

isis.persistor.datanucleus.impl.datanucleus.cache.level2.type -> none

isis.persistor.datanucleus.impl.datanucleus.identifier.case -> MixedCase

isis.persistor.datanucleus.impl.datanucleus.persistenceByReachabilityAtCommit

-> false

isis.persistor.datanucleus.impl.datanucleus.schema.validateConstraints

-> true

isis.persistor.datanucleus.impl.datanucleus.schema.validateTables ->

true

isis.reflector.explicitAnnotations.action -> true

isis.reflector.facet.cssClass.patterns -> delete.*:btn-danger

isis.reflector.facet.cssClassFa.patterns ->

new.*:fa-plus,add.*:fa-plus-square,create.*:fa-plus,update.*:fa-edit,delete.*:fa-trash,find.*:fa-search,list.*:fa-list

isis.reflector.validator.allowDeprecated -> false

isis.reflector.validator.explicitObjectType -> true

isis.reflector.validator.mixinsOnly -> true

isis.reflector.validator.noParamsOnly -> true

isis.reflector.validator.serviceActionsOnly -> true

isis.viewer.wicket.application.about -> Hello World

isis.viewer.wicket.application.css -> css/application.css

isis.viewer.wicket.application.js -> scripts/application.js

isis.viewer.wicket.application.name -> Hello World App

isis.viewer.wicket.credit.1.image -> /images/apache-isis/logo-48x48.png

isis.viewer.wicket.credit.1.name -> Apache Isis

isis.viewer.wicket.credit.1.url -> http://isis.apache.org

isis.viewer.wicket.maxTitleLengthInParentedTables -> 0

isis.viewer.wicket.maxTitleLengthInStandaloneTables -> 0

isis.viewer.wicket.themes.enabled ->

Cosmo,Flatly,Darkly,Sandstone,United

isis.viewer.wicket.themes.initial -> Flatly

isis.viewer.wicket.themes.showChooser -> yes

isis.viewer.wicket.welcome.file -> welcome.html

================================================

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

  1. … 5 more files in changeset.
ISIS-2112: further simplifies ServiceRegistry interface

- no longer keep service pojo instances in HashMaps all over the place

- instead work with BeanAdapters that resolve service-pojos lazily

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

    • -2
    • +2
    ./metamodel/MetaModelContext_usingCDI.java
    • -2
    • +2
    ./metamodel/MetaModelContext_usingSpring.java
    • -6
    • +2
    ./metamodel/ServiceRegistry_forTesting.java
  1. … 9 more files in changeset.