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 14:24:39 UTC
[jira] [Created] (FC-137) Add system properties in tests kicked off
by maven
Shawn McKinney created FC-137:
---------------------------------
Summary: 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)