Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1C5F1200D5E for ; Sat, 23 Dec 2017 18:48:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1AA6E160C1C; Sat, 23 Dec 2017 17:48:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 600A0160BFD for ; Sat, 23 Dec 2017 18:48:05 +0100 (CET) Received: (qmail 99044 invoked by uid 500); 23 Dec 2017 17:48:04 -0000 Mailing-List: contact commits-help@streams.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@streams.apache.org Delivered-To: mailing list commits@streams.apache.org Received: (qmail 99035 invoked by uid 99); 23 Dec 2017 17:48:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Dec 2017 17:48:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 1657B1A072B for ; Sat, 23 Dec 2017 17:48:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 7tLK8JFgKS55 for ; Sat, 23 Dec 2017 17:48:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 6903A5F121 for ; Sat, 23 Dec 2017 17:48:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 96592E012B for ; Sat, 23 Dec 2017 17:48:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 833E2212F8 for ; Sat, 23 Dec 2017 17:48:00 +0000 (UTC) Date: Sat, 23 Dec 2017 17:48:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@streams.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (STREAMS-565) Permit access to StreamsConfigurator underlying Config without resolve() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 23 Dec 2017 17:48:06 -0000 [ 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)