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:26 UTC

[syncope] branch NOJIRA-ServiceMgmt created (now 8ce07c1)

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

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


      at 8ce07c1  switch to get

This branch includes the following new commits:

     new 8ce07c1  switch to get

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[syncope] 01/01: switch to get

Posted by mm...@apache.org.
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);