Class MasterAasJavaK8SProxy
java.lang.Object
test.de.iip_ecosphere.platform.ecsRuntime.kubernetes.MasterAasJavaK8SProxy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the aas port.static StringReturns the IP Address of the server.static StringReturns the port of the server (either the Aas port or K8S apiserver port).intReturns the vab port.static voidThe main method to run the server proxy.voidmainTest()The main method to run the test server proxy.voidsetAasPort(int aasPort) Set the aas port.static voidsetServerIP(String serverIP) Set the IP Address of the server.static voidsetServerPort(String serverPort) Set the port of the server (either the Aas port or K8S apiserver port).voidsetVabPort(int vabPort) Set the vab port.
-
Field Details
-
vabPort
private static int vabPort -
aasPort
private static int aasPort -
serverIP
-
serverPort
-
tlsCheck
private static boolean tlsCheck
-
-
Constructor Details
-
MasterAasJavaK8SProxy
public MasterAasJavaK8SProxy()
-
-
Method Details
-
getServerIP
Returns the IP Address of the server.- Returns:
- the IP Address of the server
-
setServerIP
Set the IP Address of the server.- Parameters:
serverIP- the IP Address of the server
-
getServerPort
Returns the port of the server (either the Aas port or K8S apiserver port).- Returns:
- the port of the server (either the Aas port or K8S apiserver port)
-
setServerPort
Set the port of the server (either the Aas port or K8S apiserver port).- Parameters:
serverPort- the port of the server (either the Aas port or K8S apiserver port)
-
getVabPort
public int getVabPort()Returns the vab port.- Returns:
- the vab port
-
setVabPort
public void setVabPort(int vabPort) Set the vab port.- Parameters:
vabPort- the vab port
-
getAasPort
public int getAasPort()Returns the aas port.- Returns:
- the aas port
-
setAasPort
public void setAasPort(int aasPort) Set the aas port.- Parameters:
aasPort- the aas port
-
main
The main method to run the server proxy.- Parameters:
args- the main method arguments
-
mainTest
public void mainTest()The main method to run the test server proxy.
-