streams-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (STREAMS-565) Permit access to StreamsConfigurator underlying Config without resolve()
Date Sat, 23 Dec 2017 17:48:00 GMT

    [ https://issues.apache.org/jira/browse/STREAMS-565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16302519#comment-16302519
] 

ASF GitHub Bot commented on STREAMS-565:
----------------------------------------

steveblackmon closed pull request #410: STREAMS-565
URL: https://github.com/apache/streams/pull/410
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/streams-config/src/main/java/org/apache/streams/config/StreamsConfigurator.java
b/streams-config/src/main/java/org/apache/streams/config/StreamsConfigurator.java
index 4c1c14bf7..d7f7805b6 100644
--- a/streams-config/src/main/java/org/apache/streams/config/StreamsConfigurator.java
+++ b/streams-config/src/main/java/org/apache/streams/config/StreamsConfigurator.java
@@ -22,6 +22,7 @@
 import com.typesafe.config.Config;
 import com.typesafe.config.ConfigFactory;
 import com.typesafe.config.ConfigRenderOptions;
+import com.typesafe.config.ConfigResolveOptions;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -49,6 +50,10 @@ public static Config getConfig() {
     return config.resolve();
   }
 
+  public static Config rawConfig() {
+    return config;
+  }
+
   public static void addConfig(Config newConfig) {
     config = newConfig.withFallback(config);
   }


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Permit access to StreamsConfigurator underlying Config without resolve()
> ------------------------------------------------------------------------
>
>                 Key: STREAMS-565
>                 URL: https://issues.apache.org/jira/browse/STREAMS-565
>             Project: Streams
>          Issue Type: Improvement
>            Reporter: Steve Blackmon
>            Assignee: Steve Blackmon
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Currently the only way to get access to the underlying Config is with getConfig, which
calls resolve()
> Add a new public method that allows access without resolve()



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message