Skip to content

Commit

Permalink
Update to Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
amckenzie committed Jan 4, 2021
1 parent ee0bff6 commit 0988f70
Show file tree
Hide file tree
Showing 69 changed files with 108 additions and 81 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dist: trusty
sudo: required
language: java
jdk:
- oraclejdk8
- openjdk11
git:
depth: 3
cache:
Expand Down
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ on [Keep a CHANGELOG](http://keepachangelog.com/). This project adheres to
[Semantic Versioning](http://semver.org/).

## [Unreleased]
### Added
- New JNDI variable `feature-control.enabled` for enabling/disabling of remote fetching of Features

## [7.2.2] - 2020-12-22
### Changed
- Update to OpenJDK 11
- Update framework-libraries to 8.0.0-M1
- Update framework-parent-pom to 8.0.0-M2

## [7.2.2] - 2020-11-18
### Added
- New JNDI variable `feature-control.enabled` for enabling/disabling of remote fetching of Features
- Moved in EmptyFeatureFetcher from framework-api

## [7.2.1] - 2020-11-18
Expand Down
2 changes: 1 addition & 1 deletion aggregate/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>microservice-framework</artifactId>
<groupId>uk.gov.justice.services</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion common-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>microservice-framework</artifactId>
<groupId>uk.gov.justice.services</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>microservice-framework</artifactId>
<groupId>uk.gov.justice.services</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion components/custom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>components</artifactId>
<groupId>uk.gov.justice.services</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion components/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>microservice-framework</artifactId>
<groupId>uk.gov.justice.services</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
4 changes: 3 additions & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>microservice-framework</artifactId>
<groupId>uk.gov.justice.services</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down Expand Up @@ -125,11 +125,13 @@
<dependency>
<groupId>org.apache.tomee</groupId>
<artifactId>openejb-core</artifactId>
<version>7.1.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tomee</groupId>
<artifactId>openejb-server</artifactId>
<version>7.1.4</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.runners.MockitoJUnitRunner;
import org.omg.CORBA.Object;

/**
* Unit tests for the {@link EventFoundEvent} class.
Expand Down
2 changes: 1 addition & 1 deletion event-subscription-test-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>microservice-framework</artifactId>
<groupId>uk.gov.justice.services</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion event-subscription/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>microservice-framework</artifactId>
<groupId>uk.gov.justice.services</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import uk.gov.justice.subscription.domain.eventsource.EventSourceDefinition;

import java.net.URL;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Stream;
Expand All @@ -18,8 +19,8 @@ public class EventSourcesParser {

private static final String EVENT_SOURCES_SCHEMA_PATH = "/json/schema/event-source-schema.json";
private static final String EVENT_SOURCES = "event_sources";
private static final TypeReference<Map<String, List<EventSourceDefinition>>> EVENT_SOURCES_TYPE_REF
= new TypeReference<Map<String, List<EventSourceDefinition>>>() {
private static final TypeReference<HashMap<String, List<EventSourceDefinition>>> EVENT_SOURCES_TYPE_REF
= new TypeReference<HashMap<String, List<EventSourceDefinition>>>() {
};

private final YamlParser yamlParser;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import java.net.URL;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.stream.Stream;

Expand All @@ -20,8 +21,8 @@ public class SubscriptionsDescriptorParser {

private static final String SUBSCRIPTION_SCHEMA_PATH = "/json/schema/subscription-schema.json";
private static final String SUBSCRIPTIONS_DESCRIPTOR = "subscriptions_descriptor";
private static final TypeReference<Map<String, SubscriptionsDescriptor>> SUBSCRIPTIONS_DESCRIPTOR_TYPE_REF
= new TypeReference<Map<String, SubscriptionsDescriptor>>() {
private static final TypeReference<HashMap<String, SubscriptionsDescriptor>> SUBSCRIPTIONS_DESCRIPTOR_TYPE_REF
= new TypeReference<>() {
};

private YamlParser yamlParser;
Expand Down
2 changes: 1 addition & 1 deletion framework-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>microservice-framework</artifactId>
<groupId>uk.gov.justice.services</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion framework-generators/direct-adapter-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
7 changes: 6 additions & 1 deletion framework-generators/direct-client-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -66,6 +66,11 @@
<artifactId>openejb-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tomee</groupId>
<artifactId>openejb-server</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>uk.gov.justice.framework-generators</groupId>
<artifactId>generators-test-utils</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion framework-generators/generators-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>uk.gov.justice.framework-generators</groupId>
<artifactId>framework-generators</artifactId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion framework-generators/generators-subscription/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion framework-generators/generators-test-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion framework-generators/messaging-adapter-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion framework-generators/messaging-adapter-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<artifactId>messaging-adapter-generator</artifactId>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion framework-generators/messaging-client-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion framework-generators/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>microservice-framework</artifactId>
<groupId>uk.gov.justice.services</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion framework-generators/rest-adapter-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>rest-adapter-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion framework-generators/rest-adapter-file-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion framework-generators/rest-adapter-generator-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion framework-generators/rest-adapter-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion framework-generators/rest-client-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>

<artifactId>rest-client-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion framework-generators/rest-client-generator-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion framework-generators/rest-client-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>

<artifactId>rest-client-generator</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import java.net.URL;
import java.nio.file.Path;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

Expand All @@ -23,8 +24,8 @@ public class UnifiedSearchDescriptorParser implements FileParser<UnifiedSearchDe

private static final String UNIFIED_SEARCH_SCHEMA_PATH = "/schema/unified-search-schema.json";

private static final TypeReference<Map<String, UnifiedSearchDescriptor>> UNIFIED_SEARCH_DESCRIPTOR_TYPE_REF
= new TypeReference<Map<String, UnifiedSearchDescriptor>>() {
private static final TypeReference<HashMap<String, UnifiedSearchDescriptor>> UNIFIED_SEARCH_DESCRIPTOR_TYPE_REF
= new TypeReference<HashMap<String, UnifiedSearchDescriptor>>() {
};

private static final String UNIFIED_SEARCH_DESCRIPTOR = "unified_search_descriptor";
Expand Down
2 changes: 1 addition & 1 deletion framework-generators/unifiedsearch-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>framework-generators</artifactId>
<groupId>uk.gov.justice.framework-generators</groupId>
<version>7.2.3-SNAPSHOT</version>
<version>8.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Loading

0 comments on commit 0988f70

Please sign in to comment.