diff options
Diffstat (limited to 'cps-ncmp-service/src/main')
-rw-r--r-- | cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/datajobs/DmiSubJobRequestHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/datajobs/DmiSubJobRequestHandler.java b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/datajobs/DmiSubJobRequestHandler.java index 69eadab26..8027e69d5 100644 --- a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/datajobs/DmiSubJobRequestHandler.java +++ b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/datajobs/DmiSubJobRequestHandler.java @@ -65,7 +65,7 @@ public class DmiSubJobRequestHandler { dataJobMetadata.dataContentType(), dataJobId, dmi3ggpWriteOperations); final String dmiResourceUrl = getDmiResourceUrl(dataJobId, producerKey); - final ResponseEntity<Object> responseEntity = dmiRestClient.postOperationWithJsonData( + final ResponseEntity<Object> responseEntity = dmiRestClient.synchronousPostOperationWithJsonData( RequiredDmiService.DATA, dmiResourceUrl, jsonObjectMapper.asJsonString(subJobWriteRequest), @@ -82,4 +82,4 @@ public class DmiSubJobRequestHandler { return DmiServiceUrlBuilder.newInstance().pathSegment("writeJob").variablePathSegment("requestId", dataJobId) .build(producerKey.dmiServiceName(), dmiProperties.getDmiBasePath()); } -}
\ No newline at end of file +} |