Clone Tools
  • last updated 22 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-2158: fixes to allow deployment of Isis on Payara5

applied workaround: CDI feels responsible to resolve injection points

for any Servlet or Filter registered on the ServletContext

programmatically; we can resolve this by replacing annotations @Inject

with @Autowire for any Servlet or Filter that gets contributed by a

WebModule

  1. … 7 more files in changeset.
ISIS-2259: moves core/viewers up a level.

  1. … 2136 more files in changeset.
ISIS-2158: further decouple from resteasy

(in the prospect of deploying to a jee container)

  1. … 6 more files in changeset.
ISIS-2261: adds isis.viewer.restfulobjects.baseUri optional config property

and updates ResourceAbstract to use it if defined.

  1. … 42 more files in changeset.
ISIS-2226: converts action args back to List<T>

... because Can<T> cannot hold nulls.

  1. … 56 more files in changeset.
ISIS-2158: reordering injection points to the top of the class

and making these private when possible

also fixing lots of unused field compiler warnings

  1. … 110 more files in changeset.
ISIS-2158: cleaning up

  1. … 5 more files in changeset.
ISIS-2158: decouple RestfulClient/Response from client code

  1. … 23 more files in changeset.
ISIS-2183: removes some plugins (ServiceLoader)

- UriBuilderPlugin ... obsolete since UriBuilder provides the same

functionality

- IsisJaxrsServerPlugin ... converted to a managed bean (service)

  1. … 9 more files in changeset.
ISIS-2158: auto organize imports

  1. … 317 more files in changeset.
ISIS-2243: removes IsisWebAppUtils

... no longer required, now injecting into resources etc directly.

  1. … 2 more files in changeset.
ISIS-2243: MetaModelContext is now injected into RO resources so can pass onto ResourceContext

This saves ResourceContext from looking up using IsisWebAppUtils

  1. … 2 more files in changeset.
ISIS-2243: removes call to IsisWebAppUtils#getManagedBean in SwaggerSpecResource

ISIS-2242: removes unused code, adds in missing declarations of RO singletons

  1. … 3 more files in changeset.
ISIS-2243: uses resteasy-spring-boot-starter to configure

also

- includes fix for ISIS-2240 (dependency injection into servlets and filters);

- incorporates ISIS-2238 (move IsisModuleRestfulObjects to the jaxrs-resteasy4 module)

specifically:

- adds dependency, upgrades to 4.4.1-Final

- introduces RestEasyConfiguration for the "resteasy.servlet.mapping.prefix" and related configs

- annotates the resources, providers etc. so managed as string beans

- removes RestfulObjectsApplication completely, is automatically created if missing

- nb:when existed, got duplicate definition in the Spring ApplicationContext, so this is a bit of a workaround

- introduces WebModuleAbstract for the injection str

also includes ISIS-2238.

  1. … 29 more files in changeset.
ISIS-2238: moves WebModuleRestfulObjects to jaxrs-resteasy4 module

  1. … 2 more files in changeset.
ISIS-2241: uses injected services in filters and servlets

... rather than IsisWebAppUtils#getManagedBean

  1. … 1 more file in changeset.
ISIS-2241: removes _Resources_RestfulPath and deletes commented out code from _Resources.

  1. … 2 more files in changeset.
ISIS-2241: comments out _Resources#getRestfulPathIfAny and putRestful path

... since no longer used by any code.

  1. … 1 more file in changeset.
ISIS-2240: uses WebModule to inject into all servlets, filters etc.

  1. … 7 more files in changeset.
ISIS-2239: adds validation for base-path

... and removes unnecessary logic in WebModuleXxx

  1. … 2 more files in changeset.
ISIS-2237: simplifies WebModule implementations

*assume isApplicable is true unless otherwise specified

* don't use loadClass to check for class presence if is known to be there via 'compile' dependency

* use name field rather than override getName

* calculate path in constructor if possible, reduce duplication

  1. … 13 more files in changeset.
ISIS-2226: refactoring all the argument lists/arrays into Can<T>

  1. … 61 more files in changeset.
ISIS-2177: lift AuthenticationSession.getRoles() deprecation

instead make the return type immutable (Can<String>)

  1. … 9 more files in changeset.
ISIS-2177: runtime: rationalize package names before further refactoring

  1. … 140 more files in changeset.
ISIS-2221: reverse precedence order of content negotiation services

also fixes unintended http-session creation when retrieving the

servlet-context from a servlet-request

  1. … 6 more files in changeset.
ISIS-2189: removes HealthResource from RestfulObjects

.. as is now redundant.

ISIS-2216: adds @Qualifier to all services.

Also renames some services:

- AuditingServiceInternal (to AuditerDispatchService)

- PublishingServiceInternal (to PublisherDispatchService)

- AuthenticationManagerStandard (to AuthenticationManagerDefault)

- AuthorizationManagerStandard (to AuthorizationManagerDefault)

  1. … 146 more files in changeset.
ISIS-2216: adds @Ordered and @Primary

  1. … 101 more files in changeset.
ISIS-2216: changes capitalization of @Named("..")

and ensures that all @DomainService(...) are also @Named

  1. … 94 more files in changeset.