Skip to content
Snippets Groups Projects
Commit 48e579cc authored by OZGCloud's avatar OZGCloud
Browse files

SCCON fix configuration of smart documents

parent df517ca4
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@ import java.io.File;
import java.util.Collection;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Service;
......@@ -34,6 +35,7 @@ import lombok.extern.log4j.Log4j2;
class SmartDocumentsBescheidRemoteService implements BescheidRemoteService {
@Autowired
@Qualifier("smartDocuments")
private WebClient smartDocumentsWebClient;
@Autowired
......
......@@ -7,10 +7,10 @@ import org.springframework.web.reactive.function.client.ExchangeFilterFunctions;
import org.springframework.web.reactive.function.client.WebClient;
@Configuration
@ConditionalOnProperty("ozgcloud.bescheid.smart-documents.url")
class SmartDocumentsConfiguration {
@Bean
@Bean("smartDocuments")
@ConditionalOnProperty("ozgcloud.bescheid.smart-documents.url")
WebClient smartDocumentsWebClient(SmartDocumentsProperties properties) {
return WebClient.builder()
.baseUrl(properties.getUrl())
......
......@@ -6,15 +6,3 @@ net.devh.boot.grpc.client.autoconfigure.GrpcClientTraceAutoConfiguration
net.devh.boot.grpc.client.autoconfigure.GrpcDiscoveryClientAutoConfiguration
net.devh.boot.grpc.common.autoconfigure.GrpcCommonCodecAutoConfiguration
net.devh.boot.grpc.common.autoconfigure.GrpcCommonTraceAutoConfiguration
net.devh.boot.grpc.server.autoconfigure.GrpcAdviceAutoConfiguration
net.devh.boot.grpc.server.autoconfigure.GrpcHealthServiceAutoConfiguration
net.devh.boot.grpc.server.autoconfigure.GrpcMetadataConsulConfiguration
net.devh.boot.grpc.server.autoconfigure.GrpcMetadataEurekaConfiguration
net.devh.boot.grpc.server.autoconfigure.GrpcMetadataNacosConfiguration
net.devh.boot.grpc.server.autoconfigure.GrpcMetadataZookeeperConfiguration
net.devh.boot.grpc.server.autoconfigure.GrpcReflectionServiceAutoConfiguration
net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
net.devh.boot.grpc.server.autoconfigure.GrpcServerFactoryAutoConfiguration
net.devh.boot.grpc.server.autoconfigure.GrpcServerMetricAutoConfiguration
net.devh.boot.grpc.server.autoconfigure.GrpcServerSecurityAutoConfiguration
net.devh.boot.grpc.server.autoconfigure.GrpcServerTraceAutoConfiguration
......@@ -61,4 +61,5 @@ public class PlutoServerApplication {
DelegatingSecurityContextAsyncTaskExecutor delegatingTaskExecutor(AsyncTaskExecutor applicationTaskExecutor) {
return new DelegatingSecurityContextAsyncTaskExecutor(applicationTaskExecutor);
}
}
\ No newline at end of file
......@@ -50,7 +50,7 @@
<kop.license.version>1.3.0</kop.license.version>
<kop.zufi.api.version>0.5.0</kop.zufi.api.version>
<user-manager-interface.version>1.11.0</user-manager-interface.version>
<bescheid-manager.version>1.2.0</bescheid-manager.version>
<bescheid-manager.version>1.3.0-SNAPSHOT</bescheid-manager.version>
<zip.version>2.11.1</zip.version>
<jsoup.version>1.15.3</jsoup.version>
......@@ -341,6 +341,13 @@
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>de.itvsh.ozg.pluto.PlutoServerApplication</mainClass>
<image>
<builder>paketobuildpacks/builder-jammy-base</builder>
</image>
<profiles>
<profile>local</profile>
<profile>a12proc</profile>
</profiles>
</configuration>
</plugin>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment