Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7D6CA1874E for ; Fri, 22 Jan 2016 14:57:40 +0000 (UTC) Received: (qmail 775 invoked by uid 500); 22 Jan 2016 14:57:40 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 698 invoked by uid 500); 22 Jan 2016 14:57:40 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 644 invoked by uid 99); 22 Jan 2016 14:57:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jan 2016 14:57:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DB09F2C1F60 for ; Fri, 22 Jan 2016 14:57:39 +0000 (UTC) Date: Fri, 22 Jan 2016 14:57:39 +0000 (UTC) From: "Shawn McKinney (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (FC-137) Add system properties in tests kicked off by maven MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FC-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shawn McKinney resolved FC-137. ------------------------------- Resolution: Fixed Changes made to maven ant plugin to pass system property tenant have been made to core, rest and web. > Add system properties in tests kicked off by maven > -------------------------------------------------- > > Key: FC-137 > URL: https://issues.apache.org/jira/browse/FC-137 > Project: FORTRESS > Issue Type: Improvement > Affects Versions: 1.0.0-RC40 > Reporter: Shawn McKinney > Fix For: 1.0.0-RC41 > > > Pass system properties in though maven to enable features like multitenancy. > For example: > mvn test -Dtest=FortressJUnitTest -Dtenant=Client123 > Scope the unit tests to tenant Client123. > Another setting works for fortress load utility. By adding this to the xml input file: > > > > and this to build.properites: > tenant=Client123 > The load will be scoped to Client123 tenant data. -- This message was sent by Atlassian JIRA (v6.3.4#6332)