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/23 13:10:41 UTC

[syncope] 03/03: clean up config

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 6fdd76de1dfaeb1384edd5682ef602060e9b85fb
Author: Misagh Moayyed <mm...@gmail.com>
AuthorDate: Mon Mar 23 17:40:07 2020 +0430

    clean up config
---
 .../syncope/wa/bootstrap/RestfulCloudConfigBootstrapConfiguration.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/RestfulCloudConfigBootstrapConfiguration.java b/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/RestfulCloudConfigBootstrapConfiguration.java
index 3181a9a..6a17240 100644
--- a/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/RestfulCloudConfigBootstrapConfiguration.java
+++ b/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/RestfulCloudConfigBootstrapConfiguration.java
@@ -58,8 +58,9 @@ public class RestfulCloudConfigBootstrapConfiguration {
         return new WARestClient(serviceOps, anonymousUser, anonymousKey, useGZIPCompression);
     }
 
+    @Autowired
     @Bean
-    public PropertySourceLocator configPropertySourceLocator() {
+    public PropertySourceLocator configPropertySourceLocator(final WARestClient waRestClient) {
         return new PropertySourceLocator() {
             @Override
             public org.springframework.core.env.PropertySource<?> locate(final Environment environment) {