|
|
|
@ -100,12 +100,12 @@ public class GatesController {
@@ -100,12 +100,12 @@ public class GatesController {
|
|
|
|
|
doc.setExtension( ext.get()); |
|
|
|
|
|
|
|
|
|
doc = client.post() |
|
|
|
|
.uri("http://resource-service-api:8181/storage-entry/create") |
|
|
|
|
.body(Mono.just(doc), Document.class) |
|
|
|
|
.retrieve() |
|
|
|
|
.bodyToMono(new ParameterizedTypeReference <Document>(){}) |
|
|
|
|
.timeout(Duration.ofSeconds(1)) |
|
|
|
|
.block(); |
|
|
|
|
.uri("http://resource-service-api:8181/storage-entry/create") |
|
|
|
|
.body(Mono.just(doc), Document.class) |
|
|
|
|
.retrieve() |
|
|
|
|
.bodyToMono(new ParameterizedTypeReference <Document>(){}) |
|
|
|
|
.timeout(Duration.ofSeconds(1)) |
|
|
|
|
.block(); |
|
|
|
|
|
|
|
|
|
MultipartBodyBuilder builder = new MultipartBodyBuilder(); |
|
|
|
|
Boolean ok; |
|
|
|
|