You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by mm...@apache.org on 2020/07/10 13:12:27 UTC

[syncope] 01/01: switch to get

This is an automated email from the ASF dual-hosted git repository.

mmoayyed pushed a commit to branch NOJIRA-ServiceMgmt
in repository https://gitbox.apache.org/repos/asf/syncope.git

commit 8ce07c16471dd39a27eab2f37cd83dd3fc8a9ac1
Author: Misagh Moayyed <mm...@gmail.com>
AuthorDate: Fri Jul 10 17:41:24 2020 +0430

    switch to get
---
 .../src/main/java/org/apache/syncope/core/logic/ClientAppLogic.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/am/logic/src/main/java/org/apache/syncope/core/logic/ClientAppLogic.java b/core/am/logic/src/main/java/org/apache/syncope/core/logic/ClientAppLogic.java
index f208305..ccb4713 100644
--- a/core/am/logic/src/main/java/org/apache/syncope/core/logic/ClientAppLogic.java
+++ b/core/am/logic/src/main/java/org/apache/syncope/core/logic/ClientAppLogic.java
@@ -234,7 +234,7 @@ public class ClientAppLogic extends AbstractTransactionalLogic<ClientAppTO> {
                     StringUtils.appendIfMissing(wa.getAddress(), "/") + "actuator/registeredServices")).
                     header(HttpHeaders.AUTHORIZATION,
                         DefaultBasicAuthSupplier.getBasicAuthHeader(anonymousUser, anonymousKey)).
-                    POST(HttpRequest.BodyPublishers.noBody()).build(),
+                    GET().build(),
                 HttpResponse.BodyHandlers.discarding());
         } catch (KeymasterException e) {
             throw new NotFoundException("Could not find any WA instance", e);