You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (JIRA)" <ji...@apache.org> on 2018/10/09 15:28:00 UTC
[jira] [Updated] (ISIS-1811) Release tasks for 2.0.0-M2
[ https://issues.apache.org/jira/browse/ISIS-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andi Huber updated ISIS-1811:
-----------------------------
Description:
Migration Notes:
* @MemberGroupLayout was removed
* Axon Eventbus Plugin: switching from axon 2.x to 3.x which involves that axon's *EventHandler* annotation has moved: org.axonframework.eventhandling.annotation.EventHandler -> org.axonframework.eventhandling.EventHandler
* _IsisMatchers_ is no longer part of the 'core' API, but still available within test-scope.
* _Ensure_ as part of the 'core' API now accepts Java Predicates instead of hamcrest Matchers
* deployment types SERVER_EXPLORATION, UNIT_TESTING have been removed
* web.xml: no longer required to install listeners, filters and servlets; but is still required to configure the welcome page; _org.apache.isis.core.webapp.IsisWebAppContextListener_ acts as the single application entry-point to setup the dynamic part of the ServletContext.
** ResourceCachingFilter is now configured via annotations (Servlet 3.0 spec), no longer needed to be declared in web.xml
** ResourceServlet is now configured via annotations (Servlet 3.0 spec), no longer needed to be declared in web.xml
** IsisTransactionFilterForRestfulObjects is now configured via annotations (Servlet 3.0 spec), no longer needed to be declared in web.xml
** webjars Servlet was removed, no longer needed to be declared in web.xml
** Shiro Environment, no longer needs to be declared in web.xml
** Wicket Environment, no longer needs to be declared in web.xml
** RestEasy Environment, no longer needs to be declared in web.xml
** IsisSessionFilter is now part of the RestEasy WebModule, no longer needs to be declared in web.xml
** LogOnExceptionLogger, no longer needs to be declared in web.xml
* web.xml apart from the new WebContextListener we introduce new web-specific (optional) config values, nothing else needs to configured here:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
id="WebApp_ID" version="3.1">
<display-name>My App</display-name>
<welcome-file-list>
<welcome-file>about/index.html</welcome-file>
</welcome-file-list>
<!-- unique bootstrapping entry-point for web-applications -->
<listener>
<listener-class>org.apache.isis.core.webapp.IsisWebAppContextListener</listener-class>
</listener>
<!-- optional for overriding default 'wicket' -->
<context-param>
<param-name>isis.viewer.wicket.basePath</param-name>
<param-value>my-wicket</param-value>
</context-param>
<!-- optional for overriding default 'org.apache.isis.viewer.wicket.viewer.IsisWicketApplication' -->
<context-param>
<param-name>isis.viewer.wicket.app</param-name>
<param-value>domainapp.webapp.MyDomainApplication</param-value>
</context-param>
<!-- optional for overriding default 'restful' -->
<context-param>
<param-name>isis.viewer.restfulobjects.basePath</param-name>
<param-value>my-restful</param-value>
</context-param>
</web-app>
{code}
* module 'shiro' moved from `/core` to `/core/plugins` and its maven artifactId changed, to be in line with the other core-plugins:
{code:xml}
<dependency>
<groupId>org.apache.isis.core</groupId>
<artifactId>isis-core-plugins-security-shiro</artifactId>
</dependency>
{code}
* All previously available ways of setting the DeploymentType (using web.xml, isis.deploymentType or WebServer cmd-line flags -t or --type) are discouraged. Instead this is solely done now be specifying an environment variable `PROTOTYPING=true` or not. However, if there are use-cases that require a different approach, we might extend the API. Tracked by https://issues.apache.org/jira/browse/ISIS-1991
* ObjectAdapter is no longer holding a reference to an ObjectSpecification for the element type of collections. ObjectAdapter#getElementSpecification() moved to ObjectSpecification#getElementSpecification().
* ServicesInjector does now implement interface ServiceRegistry, where the service lookup method changed:
{code:java}
// previous
<T> T lookupService(final Class<T> serviceClass);
// new with 2.0.0-M2
<T> Optional<T> lookupService(final Class<T> serviceClass);
{code}
* We do now provide JAXB XmlAdapters for Java built-in temporal types in 'applib': org.apache.isis.applib.adapters.JaxbAdapters
was:
Migration Notes:
* @MemberGroupLayout was removed
* Axon Eventbus Plugin: switching from axon 2.x to 3.x which involves that axon's *EventHandler* annotation has moved: org.axonframework.eventhandling.annotation.EventHandler -> org.axonframework.eventhandling.EventHandler
* _IsisMatchers_ is no longer part of the 'core' API, but still available within test-scope.
* _Ensure_ as part of the 'core' API now accepts Java Predicates instead of hamcrest Matchers
* deployment types SERVER_EXPLORATION, UNIT_TESTING have been removed
* web.xml: no longer required to install listeners, filters and servlets; but is still required to configure the welcome page; _org.apache.isis.core.webapp.IsisWebAppContextListener_ acts as the single application entry-point to setup the dynamic part of the ServletContext.
** ResourceCachingFilter is now configured via annotations (Servlet 3.0 spec), no longer needed to be declared in web.xml
** ResourceServlet is now configured via annotations (Servlet 3.0 spec), no longer needed to be declared in web.xml
** IsisTransactionFilterForRestfulObjects is now configured via annotations (Servlet 3.0 spec), no longer needed to be declared in web.xml
** webjars Servlet was removed, no longer needed to be declared in web.xml
** Shiro Environment, no longer needs to be declared in web.xml
** Wicket Environment, no longer needs to be declared in web.xml
** RestEasy Environment, no longer needs to be declared in web.xml
** IsisSessionFilter is now part of the RestEasy WebModule, no longer needs to be declared in web.xml
** LogOnExceptionLogger, no longer needs to be declared in web.xml
* web.xml apart from the new WebContextListener we introduce new web-specific (optional) config values, nothing else needs to configured here:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
id="WebApp_ID" version="3.1">
<display-name>My App</display-name>
<welcome-file-list>
<welcome-file>about/index.html</welcome-file>
</welcome-file-list>
<!-- unique bootstrapping entry-point for web-applications -->
<listener>
<listener-class>org.apache.isis.core.webapp.IsisWebAppContextListener</listener-class>
</listener>
<!-- optional for overriding default 'wicket' -->
<context-param>
<param-name>isis.viewer.wicket.basePath</param-name>
<param-value>my-wicket</param-value>
</context-param>
<!-- optional for overriding default 'org.apache.isis.viewer.wicket.viewer.IsisWicketApplication' -->
<context-param>
<param-name>isis.viewer.wicket.app</param-name>
<param-value>domainapp.webapp.MyDomainApplication</param-value>
</context-param>
<!-- optional for overriding default 'restful' -->
<context-param>
<param-name>isis.viewer.restfulobjects.basePath</param-name>
<param-value>my-restful</param-value>
</context-param>
</web-app>
{code}
* module 'shiro' moved from `/core` to `/core/plugins` and its maven artifactId changed, to be in line with the other core-plugins:
{code:xml}
<dependency>
<groupId>org.apache.isis.core</groupId>
<artifactId>isis-core-plugins-security-shiro</artifactId>
</dependency>
{code}
* All previously available ways of setting the DeploymentType (using web.xml, isis.deploymentType or WebServer cmd-line flags -t or --type) are discouraged. Instead this is solely done now be specifying an environment variable `PROTOTYPING=true` or not. However, if there are use-cases that require a different approach, we might extend the API. Tracked by https://issues.apache.org/jira/browse/ISIS-1991
* ObjectAdapter is no longer holding a reference to an ObjectSpecification for the element type of collections. ObjectAdapter#getElementSpecification() moved to ObjectSpecification#getElementSpecification().
> Release tasks for 2.0.0-M2
> --------------------------
>
> Key: ISIS-1811
> URL: https://issues.apache.org/jira/browse/ISIS-1811
> Project: Isis
> Issue Type: Task
> Reporter: Dan Haywood
> Assignee: Dan Haywood
> Priority: Major
> Fix For: 2.0.0-M2
>
>
> Migration Notes:
> * @MemberGroupLayout was removed
> * Axon Eventbus Plugin: switching from axon 2.x to 3.x which involves that axon's *EventHandler* annotation has moved: org.axonframework.eventhandling.annotation.EventHandler -> org.axonframework.eventhandling.EventHandler
> * _IsisMatchers_ is no longer part of the 'core' API, but still available within test-scope.
> * _Ensure_ as part of the 'core' API now accepts Java Predicates instead of hamcrest Matchers
> * deployment types SERVER_EXPLORATION, UNIT_TESTING have been removed
> * web.xml: no longer required to install listeners, filters and servlets; but is still required to configure the welcome page; _org.apache.isis.core.webapp.IsisWebAppContextListener_ acts as the single application entry-point to setup the dynamic part of the ServletContext.
> ** ResourceCachingFilter is now configured via annotations (Servlet 3.0 spec), no longer needed to be declared in web.xml
> ** ResourceServlet is now configured via annotations (Servlet 3.0 spec), no longer needed to be declared in web.xml
> ** IsisTransactionFilterForRestfulObjects is now configured via annotations (Servlet 3.0 spec), no longer needed to be declared in web.xml
> ** webjars Servlet was removed, no longer needed to be declared in web.xml
> ** Shiro Environment, no longer needs to be declared in web.xml
> ** Wicket Environment, no longer needs to be declared in web.xml
> ** RestEasy Environment, no longer needs to be declared in web.xml
> ** IsisSessionFilter is now part of the RestEasy WebModule, no longer needs to be declared in web.xml
> ** LogOnExceptionLogger, no longer needs to be declared in web.xml
> * web.xml apart from the new WebContextListener we introduce new web-specific (optional) config values, nothing else needs to configured here:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns="http://xmlns.jcp.org/xml/ns/javaee"
> xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
> id="WebApp_ID" version="3.1">
> <display-name>My App</display-name>
> <welcome-file-list>
> <welcome-file>about/index.html</welcome-file>
> </welcome-file-list>
> <!-- unique bootstrapping entry-point for web-applications -->
> <listener>
> <listener-class>org.apache.isis.core.webapp.IsisWebAppContextListener</listener-class>
> </listener>
> <!-- optional for overriding default 'wicket' -->
> <context-param>
> <param-name>isis.viewer.wicket.basePath</param-name>
> <param-value>my-wicket</param-value>
> </context-param>
> <!-- optional for overriding default 'org.apache.isis.viewer.wicket.viewer.IsisWicketApplication' -->
> <context-param>
> <param-name>isis.viewer.wicket.app</param-name>
> <param-value>domainapp.webapp.MyDomainApplication</param-value>
> </context-param>
>
> <!-- optional for overriding default 'restful' -->
> <context-param>
> <param-name>isis.viewer.restfulobjects.basePath</param-name>
> <param-value>my-restful</param-value>
> </context-param>
> </web-app>
> {code}
> * module 'shiro' moved from `/core` to `/core/plugins` and its maven artifactId changed, to be in line with the other core-plugins:
> {code:xml}
> <dependency>
> <groupId>org.apache.isis.core</groupId>
> <artifactId>isis-core-plugins-security-shiro</artifactId>
> </dependency>
> {code}
> * All previously available ways of setting the DeploymentType (using web.xml, isis.deploymentType or WebServer cmd-line flags -t or --type) are discouraged. Instead this is solely done now be specifying an environment variable `PROTOTYPING=true` or not. However, if there are use-cases that require a different approach, we might extend the API. Tracked by https://issues.apache.org/jira/browse/ISIS-1991
> * ObjectAdapter is no longer holding a reference to an ObjectSpecification for the element type of collections. ObjectAdapter#getElementSpecification() moved to ObjectSpecification#getElementSpecification().
> * ServicesInjector does now implement interface ServiceRegistry, where the service lookup method changed:
> {code:java}
> // previous
> <T> T lookupService(final Class<T> serviceClass);
> // new with 2.0.0-M2
> <T> Optional<T> lookupService(final Class<T> serviceClass);
> {code}
> * We do now provide JAXB XmlAdapters for Java built-in temporal types in 'applib': org.apache.isis.applib.adapters.JaxbAdapters
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)