Package de.gematik.test.tiger.testenvmgr
Class TigerTestEnvMgr
- java.lang.Object
-
- de.gematik.test.tiger.testenvmgr.TigerTestEnvMgr
-
- All Implemented Interfaces:
TigerEnvUpdateSender,TigerUpdateListener,ITigerTestEnvMgr
public class TigerTestEnvMgr extends Object implements ITigerTestEnvMgr, TigerEnvUpdateSender, TigerUpdateListener
-
-
Field Summary
Fields Modifier and Type Field Description static StringCFG_PROP_NAME_LOCAL_PROXY_ADMIN_PORTstatic StringCFG_PROP_NAME_LOCAL_PROXY_PROXY_PORTstatic StringHTTPstatic StringHTTPS
-
Constructor Summary
Constructors Constructor Description TigerTestEnvMgr()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<TigerServer>findServer(String serverName)List<TigerRoute>getRoutes()booleanisLocalTigerProxyActive()static voidopenWorkflowUiInBrowser(String adminPort)voidreceivedResumeTestRunExecution()voidreceivedUserAcknowledgementForShutdown()voidreceiveTestEnvUpdate(TigerStatusUpdate statusUpdate)voidregisterNewListener(TigerUpdateListener listener)StringreplaceSysPropsInString(String str)voidresetUserAcknowledgedContinueTestRun()voidsetUpEnvironment()voidshutDown()static voidwaitForConsoleInput(String textToEnter)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.gematik.test.tiger.testenvmgr.ITigerTestEnvMgr
getConfiguration
-
-
-
-
Field Detail
-
HTTP
public static final String HTTP
- See Also:
- Constant Field Values
-
HTTPS
public static final String HTTPS
- See Also:
- Constant Field Values
-
CFG_PROP_NAME_LOCAL_PROXY_ADMIN_PORT
public static final String CFG_PROP_NAME_LOCAL_PROXY_ADMIN_PORT
- See Also:
- Constant Field Values
-
CFG_PROP_NAME_LOCAL_PROXY_PROXY_PORT
public static final String CFG_PROP_NAME_LOCAL_PROXY_PROXY_PORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
waitForConsoleInput
public static void waitForConsoleInput(String textToEnter)
-
setUpEnvironment
public void setUpEnvironment()
- Specified by:
setUpEnvironmentin interfaceITigerTestEnvMgr
-
shutDown
public void shutDown()
- Specified by:
shutDownin interfaceITigerTestEnvMgr
-
receiveTestEnvUpdate
public void receiveTestEnvUpdate(TigerStatusUpdate statusUpdate)
- Specified by:
receiveTestEnvUpdatein interfaceTigerUpdateListener
-
getRoutes
public List<TigerRoute> getRoutes()
-
findServer
public Optional<TigerServer> findServer(String serverName)
-
isLocalTigerProxyActive
public boolean isLocalTigerProxyActive()
-
registerNewListener
public void registerNewListener(TigerUpdateListener listener)
- Specified by:
registerNewListenerin interfaceTigerEnvUpdateSender
-
openWorkflowUiInBrowser
public static void openWorkflowUiInBrowser(String adminPort)
-
receivedUserAcknowledgementForShutdown
public void receivedUserAcknowledgementForShutdown()
-
receivedResumeTestRunExecution
public void receivedResumeTestRunExecution()
-
resetUserAcknowledgedContinueTestRun
public void resetUserAcknowledgedContinueTestRun()
-
-