isis-git

Clone Tools
  • last updated 24 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
updated README for github

ISIS-761: ExceptionModel is now serializable.

ISIS-760: increased column length for target

from 255 to 2000 (to cope with the longer OIDs of view models). Chose 2000 as a defacto length allowed for request URLs (since OIDs of view models appear in the URL of web browsers in both Wicket and Restful Objects viewers).

ISIS-760: refactor where Commands get persisted.

previously was in the closing of the PersistenceSession. Are now within the IsisTransaction.commit() functionality. This means that the usual error recovery processing can be used if (as there currently is with CommandService) there happens to be a defect in the implementation of one of these services.

In detail:

- PersistenceSession no longer calls closeServices() in its own close() method. Instead, this functionality has been moved to IsisTransaction.

- IsisTransaction#commit now does the closeServices (to persist the command) instead.

- IsisTransaction now looks up the services from ServicesInjector, rather than have them handed to it by IsisTransactionManager.

- CommandServiceJdo#complete now has a guard to only attempt the complete (ie persist the CommandJdo object) if not previously done.

This guard is required because - if there was an exception - then Wicket will restart the interaction on the same thread (but a new xactn) in order to render the error page and if the command is still present then (without the guard) Isis was trying to commit once more (ie an infinite loop)

ISIS-759: IsisLogOnExceptionFilter

plus added to example app web.xml files.

ISIS-758: auditing should handle deleted objects.

Also:

- better exception handling within ObjectContracts for getValueOf(...).

ISIS-421: working on RO TCK tests.

  1. … 223 more files in changeset.
ISIS-757: Override logging.properties using isis.config.dir setting

ISIS-421: RO TCK tests

hidden and disabled properties.

Also, fixes to applib DomainObjectRepr#getProperties and #getCollections, #getActions (is a map, now, not a list)

Also, noticed incorrect media type for link to actions in DomainObjectRepr.

ISIS-421: more 405 tests.

Also, remove the DomainServiceResource#property and #collection.

ISIS-421: more RO TCK tests for 405s

On home page, user page, services page

  1. … 22 more files in changeset.
ISIS-421: RO TCK tests (405 status)

Lots more tests checking for 405 response code when hit resource with invalid HTTP method.

  1. … 6 more files in changeset.
ISIS-421: Post on object resource is 405

ISIS-421: Delete on object is 405

ISIS-421: starting on the RO TCK tests

RO TCK tests

- removed skip=true flag for Maven

- updated surefire config to ensure all tests run under maven

- fixed those failing

- including fix to throw 404 instead of 200(!) for non-existing entity

- added placeholders for view models

Core changes

- subclasses of ObjectNotFoundException for clearer semantics

- AdapterManager#adapterFor can now throw new PojoRecreationException (instead of ObjectNotFoundException)

- only caller that checks explicitly for the old ONFE - OidUtils in RO viewer - updated to also catch PojoRecEx

updated modules pom.xml to reference 1.4.2-snapshot core (parent)

- RO viewer

- shiro security

- viewer wicket

added new profiles in isis-all pom.xml for security modules

- better workflow if using IntelliJ

    • -1
    • +1
    /component/viewer/restfulobjects/pom.xml
  1. … 30 more files in changeset.
ISIS-695: updating STATUS

... was not updated after previous 1.4.0/1.4.1 release

Also, updated pom.xml; mvn-tool-plugin should not be in the -P released profile

ISIS-756: bumping version for example/applications

just noticed that had been left at 1.4.0-SNAPSHOT; moved to 1.4.2-SNAPSHOT

ISIS-756: improvements for JRebel support

specifically:

* updated the pom.xml for archetypes, adding -P jrebel antrun:run

* updates to .launch files for archetypes, using properties to parameterize the rebel.xml file in the dom project

* auto-invalidate cache if fail to retrieve association in metamodel

ISIS-749: less noisy DataNucleusSimplePersistAlgorithm...

... for the makePersistent() method when persists (move from INFO to DEBUG).

ISIS-753: example of EventBusService

added to the todo (quickstart) application.

ISIS-753: should register JDO versions of EventBusService in the apps...

... not the default versions.

In addition, extended the ToDo (quickstart) app to demonstrate the use of event bus service.

ISIS-754: New IsisConfigurationForJdoIntegTests

which also preconfigures properties to speed up BDD tests.

Also:

- minor improvement to RegisterEntities, to trim any spaces in the packagePrefixes (comma separated).

ISIS-753: adding EventBusServiceDefault to services for archetypes

also, in simple application/archetype, was missing QueryResultsCache and also CommandServiceJdoContributions.

ISIS-752: remove the "(+)" suffix in collection labels.

There was a bug here, but as Jeroen notes, the info is there already anyway in the UI. So just remove.

ISIS-746: only get roles from realm(s) which subject was authenticated.

Note that Shiro itself will get the perms from those roles only from the realms against which was authenticated. So this change is just about the way in which Isis gleans the roles to pop into the UserMemento#getRoles().

ISIS-749: less noisy logging

in AdapterManagerDefault, ResourceServlet

ISIS-751: updating dates in NOTICE files.

    • -1
    • +1
    /component/viewer/restfulobjects/NOTICE
ISIS-695: updating example apps to use snapshot versions

... rather than released versions (so can test new stuff etc).

ISIS-750: store serializedForm of event as clob.

Merge branch 'prepare/isis-1.4.0-RC1'