Skip to content

Commit

Permalink
Merge branch 'feature/414-jee10'
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Ohr committed Mar 14, 2024
2 parents 51bdeb1 + 83a3111 commit 297a7aa
Show file tree
Hide file tree
Showing 3,108 changed files with 506,304 additions and 4,570 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build IPF with Maven Java 11
name: Build IPF with Java 21

on: [push, pull_request, workflow_dispatch]

Expand All @@ -13,15 +13,15 @@ env:
jobs:
build:
runs-on: ubuntu-latest
name: Java 11 build
name: Java 21 build
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '11'
distribution: 'temurin'
java-version: '21'
cache: 'maven'
- name: Build with Maven
run: mvn -B clean test --file pom.xml
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build IPF with Maven with Java 17
name: Build IPF with Java 17

on: [push, pull_request, workflow_dispatch]

Expand All @@ -18,9 +18,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
distribution: 'temurin'
java-version: '17'
cache: 'maven'
- name: Build with Maven
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
org.openehealth.ipf.boot.atna.IpfAtnaAutoConfiguration
org.openehealth.ipf.boot.atna.IpfAtnaSpringSecurityAutoConfiguration
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
import org.springframework.context.annotation.Configuration;
import org.springframework.web.filter.CorsFilter;

import javax.servlet.Filter;
import jakarta.servlet.Filter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@
package org.openehealth.ipf.boot.fhir;

import ca.uhn.fhir.context.FhirVersionEnum;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.core.io.Resource;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.cors.CorsConfiguration;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.util.*;

/**
Expand Down Expand Up @@ -155,6 +154,9 @@ public static class Servlet {
private boolean strict = false;
}

public static class CorsConfiguration extends org.springframework.web.cors.CorsConfiguration {
}

private static CorsConfiguration defaultCorsConfiguration() {
var cors = new CorsConfiguration();
cors.addAllowedOrigin("*");
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
org.openehealth.ipf.boot.fhir.IpfFhirAutoConfiguration
org.openehealth.ipf.boot.fhir.IpfFhirPixpdqAutoConfiguration
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.openehealth.ipf.boot.IpfAutoConfiguration;
import org.openehealth.ipf.commons.core.config.ContextFacade;
import org.openehealth.ipf.commons.map.MappingService;
import org.openehealth.ipf.commons.spring.map.config.CustomMappings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
import org.springframework.context.annotation.Configuration;
import org.springframework.web.filter.CorsFilter;

import javax.servlet.Filter;
import jakarta.servlet.Filter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
import org.springframework.validation.annotation.Validated;
import org.springframework.web.cors.CorsConfiguration;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import java.util.*;

/**
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
org.openehealth.ipf.boot.fhir.IpfFhirAutoConfiguration
org.openehealth.ipf.boot.fhir.IpfFhirPixpdqAutoConfiguration
4 changes: 4 additions & 0 deletions boot/ipf-hl7-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-hl7-starter</artifactId>
</dependency>
<dependency>
<groupId>ca.uhn.hapi</groupId>
<artifactId>hapi-base</artifactId>
</dependency>

<!-- IPF Support -->
<dependency>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.openehealth.ipf.boot.hl7v2.IpfHl7v2AutoConfiguration

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.openehealth.ipf.boot.hl7v3.IpfHl7v3AutoConfiguration

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.openehealth.ipf.boot.hpd.IpfHpdAutoConfiguration
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Registry springRegistry() {

@Bean
@ConditionalOnMissingBean(SpringConfigurationPostProcessor.class)
public SpringConfigurationPostProcessor postProcessor(CustomMappingsConfigurer customMappingsConfigurer) {
public SpringConfigurationPostProcessor postProcessor(CustomMappingsConfigurer<SpringRegistry> customMappingsConfigurer) {
var processor = new SpringConfigurationPostProcessor();
var list = new ArrayList<OrderedConfigurer>();
if (customMappingsConfigurer != null) list.add(customMappingsConfigurer);
Expand All @@ -60,8 +60,8 @@ public SpringConfigurationPostProcessor postProcessor(CustomMappingsConfigurer c

@Bean
@ConditionalOnMissingBean(CustomMappingsConfigurer.class)
protected CustomMappingsConfigurer customMappingsConfigurer(SpringBidiMappingService mappingService) {
var configurer = new CustomMappingsConfigurer();
protected CustomMappingsConfigurer<SpringRegistry> customMappingsConfigurer(SpringBidiMappingService mappingService) {
var configurer = new CustomMappingsConfigurer<SpringRegistry>();
configurer.setMappingService(mappingService);
return configurer;
}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.openehealth.ipf.boot.IpfAutoConfiguration

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.openehealth.ipf.boot.xacml20.IpfXacml20AutoConfiguration

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.openehealth.ipf.boot.xds.IpfXdsAutoConfiguration
22 changes: 10 additions & 12 deletions commons/audit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
<groupId>org.jdom</groupId>
<artifactId>jdom2</artifactId>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-core</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-handler</artifactId>
Expand Down Expand Up @@ -55,24 +50,27 @@
<artifactId>mockito-junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jms</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-broker</artifactId>
<version>${activemq-version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-client</artifactId>
<version>${activemq-version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-pool</artifactId>
<groupId>org.messaginghub</groupId>
<artifactId>pooled-jms</artifactId>
<version>${pooled-jms-version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jms</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import org.openehealth.ipf.commons.audit.protocol.providers.RecordingAuditMessageTransmissionProvider;
import org.openehealth.ipf.commons.audit.protocol.providers.TLSSyslogSenderProvider;
import org.openehealth.ipf.commons.audit.protocol.providers.UDPSyslogSenderProvider;
import org.openehealth.ipf.commons.audit.protocol.providers.VertxTLSSyslogSenderProvider;

import java.util.Arrays;
import java.util.ServiceLoader;
Expand All @@ -42,10 +41,10 @@ public enum AuditTransmissionChannel {
VERTX_UDP("VERTX-UDP", UDPSyslogSenderProvider.class.getName()),
TLS("TLS", TLSSyslogSenderProvider.class.getName()),
NIO_TLS("NIO-TLS", NettyTLSSyslogSenderProvider.class.getName()),
VERTX_TLS("VERTX-TLS", VertxTLSSyslogSenderProvider.class.getName()),
NETTY_TLS("NETTY-TLS", NettyTLSSyslogSenderProvider.class.getName()),
REACTOR_NETTY_TLS("REACTOR-NETTY-TLS", ReactorNettyTLSSyslogSenderProvider.class.getName()),
FHIR_REST_TLS("FHIR-REST-TLS", "org.openehealth.ipf.commons.ihe.fhir.audit.protocol.FhirRestTLSAuditRecordApacheSenderProvider"),
FHIR_REST_APACHE5_TLS("FHIR-REST-APACHE5-TLS", "org.openehealth.ipf.commons.ihe.fhir.audit.protocol.FhirRestTLSAuditRecordApache5SenderProvider"),
FHIR_REST_METHANOL_TLS("FHIR-REST-METHANOL-TLS", "org.openehealth.ipf.commons.ihe.fhir.audit.protocol.FhirRestTLSAuditRecordMethanolSenderProvider"),
RECORDING("RECORDING", RecordingAuditMessageTransmissionProvider.class.getName());

Expand Down
Loading

0 comments on commit 297a7aa

Please sign in to comment.