Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Adapt documentation to change in API
[nonrtric.git]
/
policy-agent
/
src
/
main
/
java
/
org
/
oransc
/
policyagent
/
clients
/
AsyncRestClient.java
diff --git
a/policy-agent/src/main/java/org/oransc/policyagent/clients/AsyncRestClient.java
b/policy-agent/src/main/java/org/oransc/policyagent/clients/AsyncRestClient.java
index
83592ec
..
5110718
100644
(file)
--- a/
policy-agent/src/main/java/org/oransc/policyagent/clients/AsyncRestClient.java
+++ b/
policy-agent/src/main/java/org/oransc/policyagent/clients/AsyncRestClient.java
@@
-101,6
+101,13
@@
public class AsyncRestClient {
return retrieve(request);
}
return retrieve(request);
}
+ public Mono<ResponseEntity<String>> putForEntity(String uri) {
+ logger.debug("PUT uri = '{}{}''", baseUrl, uri);
+ RequestHeadersSpec<?> request = client.put() //
+ .uri(uri);
+ return retrieve(request);
+ }
+
public Mono<String> put(String uri, String body) {
return putForEntity(uri, body) //
.flatMap(this::toBody);
public Mono<String> put(String uri, String body) {
return putForEntity(uri, body) //
.flatMap(this::toBody);