|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.team.fvt.tests.topology.Topology
com.ibm.team.fvt.tests.clm.topology.ClmTopology
public class ClmTopology
Manage the CLM topology which is made of following applications: JTS, CCM, QM, RM, and LPA.
Note that the CLM topology base URL can also be computed from
"server.uri"
parameter (e.g. for automatic BVT run) instead of
the "baseUrl"
parameter. This peculiar parameter is currently
used by the automated BVT build.
Field Summary |
---|
Fields inherited from interface com.ibm.team.fvt.tests.clm.config.ClmConstants |
---|
CLM_301x_VERSION, CLM_400x_VERSION, CLM_402x_VERSION, CLM_403_VERSION, CLM_ADMIN_USER_ID, CLM_ADMIN_USERID, CLM_VERSION_ID, DEFAULT_ADMIN_USER_ID, DEFAULT_ADMIN_USERID, DW_ETL_USER_ID, DW_USER_ID, DW_USERID, EXPRESS_SETUP_ID, FAILURE_SCREENSHOTS_DIRECTORY_ID, LDAP, NON_LDAP_EXTERNAL, PASSING_SCREENSHOTS_DIRECTORY_ID, SELENIUM_SCREENSHOT_DIR_ID, SELENIUM_SCREENSHOT_NONFAILURE_DIR_ID, TOMCAT |
Constructor Summary | |
---|---|
ClmTopology()
|
Method Summary | |
---|---|
ClmApplication |
getApplication(java.lang.String url)
|
ClmApplication |
getApplicationFromName(java.lang.String appli)
Return the application from its name. |
CcmApplication |
getCcmApplication()
Return the CCM application tested by the scenario. |
DmApplication |
getDmApplication(boolean check)
Return the DM application tested by the scenario. |
JtsApplication |
getJtsApplication()
Return the JTS application tested by the scenario. |
java.util.List<ClmApplication> |
getLicensedApplications()
Return test licensed applications. |
LpaApplication |
getLpaApplication()
Return the LPA application tested by the scenario. |
QmApplication |
getQmApplication()
Return the QM application tested by the scenario. |
java.util.List<ClmApplication> |
getRegisteredApplications()
Return test registered applications. |
ClmApplication |
getRmApplication()
Return the RM application tested by the scenario. |
VvcApplication |
getVvcApplication(boolean check)
Return the VVC application tested by the scenario. |
boolean |
hasDmApplication()
Return whether the scenario includes the DM application. |
boolean |
hasVvcApplication()
Return whether the scenario includes the DM application. |
boolean |
includesDM()
Returns whether the scenario runs against a CLM installation which includes Design Manager product (ie. |
Methods inherited from class com.ibm.team.fvt.tests.topology.Topology |
---|
getApplications, getLoggedUser, getPageUrl, login, logout, needLogin |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClmTopology()
Method Detail |
---|
public ClmApplication getApplication(java.lang.String url)
getApplication
in class com.ibm.team.fvt.tests.topology.Topology
public ClmApplication getApplicationFromName(java.lang.String appli) throws com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
Note that name can start with a '/' or not (e.g. either "ccm" or "/ccm" is valid name).
appli
- The application name
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
- If there's no application matchingpublic CcmApplication getCcmApplication()
CcmApplication
.public DmApplication getDmApplication(boolean check)
check
- Tells whether to fail if the application does not exist
DmApplication
.
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
- When check is true
and the
topology is not supposed to include DM application.public JtsApplication getJtsApplication()
JtsApplication
.public java.util.List<ClmApplication> getLicensedApplications()
These application typically will need to have a license activated during the JTS setup.
List
of ClmApplication
.public LpaApplication getLpaApplication()
LpaApplication
.public QmApplication getQmApplication()
QmApplication
.public java.util.List<ClmApplication> getRegisteredApplications()
These application typically will be registered during the JTS setup.
List
of ClmApplication
.public ClmApplication getRmApplication()
RmApplication
.public VvcApplication getVvcApplication(boolean check)
check
- Tells whether to fail if the application does not exist
VvcApplication
.public boolean hasDmApplication()
true
if the DM application is allowed for the current
scenario, false
otherwise.public boolean hasVvcApplication()
true
if the DM application is allowed for the current
scenario, false
otherwise.public boolean includesDM()
To specify it, then use the following parameter:
includesDM
true
or false
, any other
value will be ignored.includesDM=true
in the properties file-DincludesDM=true
in the VM Arguments field of the launch
configuration.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |