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/03/26 07:17:41 UTC
[syncope] 02/02: SYNCOPE-160: take out disabled/commented sample
url for props
This is an automated email from the ASF dual-hosted git repository.
mmoayyed pushed a commit to branch SYNCOPE-163-1
in repository https://gitbox.apache.org/repos/asf/syncope.git
commit 8bd7e7486287e5d314139f6d312531d628e996a2
Author: Misagh Moayyed <mm...@gmail.com>
AuthorDate: Thu Mar 26 11:47:23 2020 +0430
SYNCOPE-160: take out disabled/commented sample url for props
---
.../syncope/wa/bootstrap/SyncopeWAPropertySourceLocator.java | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/SyncopeWAPropertySourceLocator.java b/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/SyncopeWAPropertySourceLocator.java
index c55edbb..22f3669 100644
--- a/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/SyncopeWAPropertySourceLocator.java
+++ b/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/SyncopeWAPropertySourceLocator.java
@@ -47,16 +47,6 @@ public class SyncopeWAPropertySourceLocator implements PropertySourceLocator {
Map<String, Object> properties = new HashMap<>();
if (WARestClient.isReady()) {
LOG.info("Bootstrapping WA configuration");
- /*
- String content = WebClient.create(URI.create("https://demo5926981.mockable.io/casproperties")).
- accept(MediaType.APPLICATION_JSON_TYPE).
- get().
- readEntity(String.class);
-
- properties.putAll(MAPPER.readValue(content, new TypeReference<Map<String, Object>>() {
- }));
- LOG.debug("Loaded properties {}", properties);
- */
return new MapPropertySource(getClass().getName(), properties);
}