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 B2547200CA7 for ; Wed, 14 Jun 2017 19:46:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B0E53160BDB; Wed, 14 Jun 2017 17:46:19 +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 02859160BD6 for ; Wed, 14 Jun 2017 19:46:18 +0200 (CEST) Received: (qmail 85487 invoked by uid 500); 14 Jun 2017 17:46:18 -0000 Mailing-List: contact dev-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list dev@geode.apache.org Received: (qmail 85476 invoked by uid 99); 14 Jun 2017 17:46:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jun 2017 17:46:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 8660A1802C9; Wed, 14 Jun 2017 17:46:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.25 X-Spam-Level: *** X-Spam-Status: No, score=3.25 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, KAM_LOTSOFHASH=0.25, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id DTKjaSHAR9Y0; Wed, 14 Jun 2017 17:46:16 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 16C945F283; Wed, 14 Jun 2017 17:46:16 +0000 (UTC) Received: from reviews.apache.org (unknown [10.41.0.12]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 941C1E03EE; Wed, 14 Jun 2017 17:46:15 +0000 (UTC) Received: from reviews-vm2.apache.org (localhost [IPv6:::1]) by reviews.apache.org (ASF Mail Server at reviews-vm2.apache.org) with ESMTP id 83537C400C1; Wed, 14 Jun 2017 17:46:15 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============2863523468700096089==" MIME-Version: 1.0 Subject: Re: Review Request 60010: GEODE-3062: replace SecurityService after loading cluster config From: Jared Stewart To: Jinmei Liao , Patrick Rhomberg , Emily Yeh , Jared Stewart , Ken Howe Cc: Kirk Lund , geode Date: Wed, 14 Jun 2017 17:46:15 -0000 Message-ID: <20170614174615.7776.44617@reviews-vm2.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Jared Stewart X-ReviewGroup: geode X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/60010/ X-Sender: Jared Stewart X-ReviewBoard-ShipIt: 1 References: <20170613162903.598.33351@reviews-vm2.apache.org> In-Reply-To: <20170613162903.598.33351@reviews-vm2.apache.org> X-ReviewBoard-ShipIt-Only: 1 Reply-To: Jared Stewart X-ReviewRequest-Repository: geode archived-at: Wed, 14 Jun 2017 17:46:19 -0000 --===============2863523468700096089== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60010/#review177927 ----------------------------------------------------------- Ship it! Ship It! - Jared Stewart On June 13, 2017, 4:29 p.m., Kirk Lund wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/60010/ > ----------------------------------------------------------- > > (Updated June 13, 2017, 4:29 p.m.) > > > Review request for geode, Emily Yeh, Jinmei Liao, Jared Stewart, Ken Howe, and Patrick Rhomberg. > > > Bugs: GEODE-3062 > https://issues.apache.org/jira/browse/GEODE-3062 > > > Repository: geode > > > Description > ------- > > Add new test to ClusterConfigWithSecurityDUnitTest that fails due to bug GEODE-3062. > > Remove unused Cache param from applyClusterPropertiesConfiguration so it can be called during Cache construction. > > Move cluster config request to Cache construction and handle jars and properties there. Create new SecurityService in constructor and overwrite the SecurityService in InternalDistributedSystem. > > NOTE: We will later have to fix GEODE-3061 by moving cluster config request from Cache to InternalDistributedSystem construction so that IDS can be created with gemfire.properties from cluster config. At that time we would rip out both cluster config request and creation of security service from Cache construction and pass both into Cache construction. > > > Diffs > ----- > > geode-core/src/main/java/org/apache/geode/distributed/internal/InternalDistributedSystem.java 22edb6f06c7791929cc9a033ca1a1bfed5751a47 > geode-core/src/main/java/org/apache/geode/internal/cache/ClusterConfigurationLoader.java 4f4881fe39116faa505bc2fbec74efd669efe0ef > geode-core/src/main/java/org/apache/geode/internal/cache/GemFireCacheImpl.java 40df0c7dcac8827a381c268c1f90e6acfb97a7f1 > geode-core/src/test/java/org/apache/geode/management/internal/configuration/ClusterConfigWithSecurityDUnitTest.java c551ca9104a85dcf54c0bebbc4178fce4114a416 > > > Diff: https://reviews.apache.org/r/60010/diff/2/ > > > Testing > ------- > > Precheckin passes > > > Thanks, > > Kirk Lund > > --===============2863523468700096089==--