blob: c49a38266522e1ac2e98c4fb7478ed9c2033f1be [file] [log] [blame]
<!--
/***************************************************************************************************************************
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
***************************************************************************************************************************/
-->
8.0.0 (Jan 01, 2019)
<p>
This release cleans up deprecated APIs from the 7.2.0 release and makes significant modifications
to the Microservice APIs.
</p>
<p>
The project structures of the REST, Microservice, and Examples have been modified to fit new Spring Boot
integration support.
The structure is now as follows:
</p>
<ul>
<li><c>juneau-rest</c>
<ul>
<li><c>juneau-rest-client</c>
<li><c>juneau-rest-server</c>
<li><c>juneau-rest-server-jaxrs</c>
<li><c>juneau-rest-server-rdf</c>
<li><b><c>juneau-rest-server-springboot</c></b> - New Spring Boot integration support classes.
</ul>
<li><c>juneau-microservice</c>
<ul>
<li><b><c>juneau-microservice-core</c></b> - New. Contains base {@link oaj.microservice.Microservice} class.
<li><b><c>juneau-microservice-jetty</c></b> - New. Contains new {@link oaj.microservice.jetty.JettyMicroservice} class.
<li><b><c>juneau-my-jetty-microservice</c></b> - New. Template starter project for Jetty-based microservices.
<li><b><c>juneau-my-springboot-microservice</c></b> - New. Template starter project for Spring-Boot-based microservices.
</ul>
<li><c>juneau-examples</c>
<ul>
<li><c>juneau-core</c>
<li><b><c>juneau-microservice-rest</c></b> - Now contains only servlet example classes. No Jetty configuration.
<li><b><c>juneau-microservice-rest-jetty</c></b> - Servlet examples deployed using Jetty.
<li><b><c>juneau-microservice-rest-springboot</c></b> - Servlet examples deployed using Spring Boot.
</ul>
</ul>
<h5 class='topic w800'>juneau-svl</h5>
<ul class='spaced-list'>
<li>
New SVL variables:
<ul class='javatree'>
<li class='jc'>{@link oaj.svl.vars.SubstringVar}
<li class='jc'>{@link oaj.svl.vars.PatternExtractVar}
<li class='jc'>{@link oaj.svl.vars.PatternReplaceVar}
<li class='jc'>{@link oaj.svl.vars.LenVar}
</ul>
</ul>
<h5 class='topic w800'>juneau-config</h5>
<ul class='spaced-list'>
<li>
New methods for setting a system default configuration:
<ul class='javatree'>
<li class='jc'>{@link oaj.config.Config}
<ul>
<li class='jm'>{@link oaj.config.Config#getSystemDefault() getSystemDefault()}
<li class='jm'>{@link oaj.config.Config#setSystemDefault(Config) setSystemDefault(Config)}
</ul>
</ul>
<li>
New classpath store.
<ul class='javatree'>
<li class='jc'>{@link oaj.config.store.ConfigClasspathStore}
</ul>
<li>
New API method:
<ul class='javatree'>
<li class='jc'>{@link oaj.config.store.ConfigStore}
<ul>
<li class='jm'>{@link oaj.config.store.ConfigStore#exists(String) exists(String)}
</ul>
</ul>
</ul>
<h5 class='topic w800'>juneau-rest-server</h5>
<ul class='spaced-list'>
<li>
New methods on {@link oajr.RestServlet}:
<ul class='javatree'>
<li class='jm'>{@link oajr.RestServlet#setRestResourceResolver(RestResourceResolver) setRestResourceResolver(RestResourceResolver)}
<li class='jm'>{@link oajr.RestServlet#getPath() getPath()}
</ul>
<li>
The registered resource resolver is now used to instantiate objects of classes defined via <ja>@RestResource</ja>.
<br>This allows for any of those instance to be injectable beans.
</ul>
<h5 class='topic w800'>juneau-rest-server-springboot</h5>
<ul class='spaced-list'>
<li>
New project containing classes for making it easy to use Juneau with Spring Boot.
</ul>
<h5 class='topic w800'>juneau-microservice-core</h5>
<ul class='spaced-list'>
<li>
New project that consist of just the core {@link oaj.microservice.Microservice} class and console support.
<li>
The Microservice API has been revamped to use a builder-based approach to creating microservices.
<br>The new API is considerably more flexible in design and allows for the configuration and external
files to be located in either the home directory or inside the jar classpath.
<li>
If the microservice cannot find a config file in the home directory with the same name as the jar and
the <js>"juneau.configFile"</js> system property is not found, it will try to find any file in the home
directory that ends with <js>".cfg"</js>.
<li>
New {@link oaj.microservice.MicroserviceListener} API for defining lifecycle event listeners.
<li>
New {@link oaj.microservice.console.ConfigCommand} class for performing config queries and updates through
the microservice console.
</ul>
<h5 class='topic w800'>juneau-microservice-jetty</h5>
<ul class='spaced-list'>
<li>
New {@link oaj.microservice.jetty.JettyMicroservice} class replaces the previous <c>RestMicroservice</c>.
</ul>
<h5 class='topic w800'>juneau-my-jetty-microservice</h5>
<ul class='spaced-list'>
<li>
New template starter project for Jetty-based microservices.
</ul>
<h5 class='topic w800'>juneau-my-springboot-microservice</h5>
<ul class='spaced-list'>
<li>
Template starter project for Spring-Boot-based microservices.
<li>
<c>app.json</c> and <c>Procfile</c> files for deploying examples into Heroku.
<br>Includes instructions.
</ul>