You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Shawn McKinney (JIRA)" <ji...@apache.org> on 2016/01/22 15:57:39 UTC
[jira] [Resolved] (FC-137) Add system properties in tests kicked
off by maven
[ 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:
> <addcontext>
> <context name="${tenant}"/>
> </addcontext>
> 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)