Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0.0-RC40
-
None
Description
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.