[
https://issues.apache.org/jira/browse/FC-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shawn McKinney reopened FC-137:
-------------------------------
fix bug
> 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)