Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump mvn 0.18.1 #570

Merged
merged 16 commits into from
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
spring:
application:
name: @project.artifactId@

io:
muenchendigital:
digiwf:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@
import lombok.RequiredArgsConstructor;
import lombok.val;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.messaging.Message;

import javax.validation.ConstraintViolationException;
import java.util.Map;
import java.util.function.Consumer;

@Configuration
@RequiredArgsConstructor
public class MessageProcessor {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ io:
unused-files: 0 15 10 16 * ?
expired-files: 0 15 10 15 * ?
proxyEnabled: 'false'
message:
incidentDestination: "dwf-connector-incident-${DIGIWF_ENV}"
bpmnErrorDestination: "dwf-connector-bpmnerror-${DIGIWF_ENV}"
correlateMessageDestination: "dwf-connector-${DIGIWF_ENV}"
typeMappings:
createPresignedUrl: "createPresignedUrl"

server:
port: "${S3_INTEGRATION_SERVER_PORT:8086}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package de.muenchen.oss.digiwf.s3.integration;

import de.muenchen.oss.digiwf.s3.integration.adapter.in.streaming.CreatePresignedUrlEvent;
import de.muenchen.oss.digiwf.s3.integration.application.port.in.CreatePresignedUrlsInPort;
import de.muenchen.oss.digiwf.spring.security.authentication.UserAuthenticationProvider;
import de.muenchen.oss.digiwf.spring.security.autoconfiguration.SpringSecurityAutoConfiguration;
Expand All @@ -10,8 +11,11 @@
import org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.messaging.Message;
import org.springframework.test.context.ActiveProfiles;

import java.util.function.Consumer;

import static org.assertj.core.api.Assertions.assertThat;

@SpringBootTest(
Expand All @@ -33,9 +37,12 @@ public class ServiceIntegrationTest {
@Autowired(required = false)
private CreatePresignedUrlsInPort port;

@Autowired(required = false)
private Consumer<Message<CreatePresignedUrlEvent>> createPresignedUrl;

@Test
void starts_service() {
assertThat(port).isNotNull();
assertThat(createPresignedUrl).isNotNull();
}

}
Loading