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