Package at.letto.setup.restclient
Class RestLocalSetupService
java.lang.Object
at.letto.service.rest.RestClient
at.letto.setup.restclient.RestLocalSetupService
- All Implemented Interfaces:
MicroService,LocalSetupService
-
Constructor Summary
ConstructorsConstructorDescriptionRestLocalSetupService(String baseURI) Erzeugt ein REST-Client Verbindung zu einem MicroserviceRestLocalSetupService(String baseURI, String user, String password) -
Method Summary
Modifier and TypeMethodDescriptionLiefert Information über das Rest-ServicecallCommand(CommandDto dto) info()Liefert einen allgemeinen Informationsstring zu dem Microservicebooleanping()Schickt eine Ping an das Serviceversion()Liefert die Version des Microservices als StringMethods inherited from class at.letto.service.rest.RestClient
get, get, get, get, get, get, getDto, getHttpRestClient, getHttpRestClient, getHttpsRestClient, getHttpsRestClient, getRestClient, jsonTest, ping, ping, post, post, post, post, post, post, postDto, postDtoJson, postJson, rest, restGet, restGet, restPost, restPost
-
Constructor Details
-
RestLocalSetupService
Erzeugt ein REST-Client Verbindung zu einem Microservice- Parameters:
baseURI- Basis-URI des Microservices zb: https://localhost:9091
-
RestLocalSetupService
-
-
Method Details
-
ping
public boolean ping()Description copied from interface:MicroServiceSchickt eine Ping an das Service- Specified by:
pingin interfaceLocalSetupService- Specified by:
pingin interfaceMicroService
-
version
Description copied from interface:MicroServiceLiefert die Version des Microservices als String- Specified by:
versionin interfaceMicroService
-
info
Description copied from interface:MicroServiceLiefert einen allgemeinen Informationsstring zu dem Microservice- Specified by:
infoin interfaceMicroService
-
admininfo
Description copied from interface:MicroServiceLiefert Information über das Rest-Service- Specified by:
admininfoin interfaceMicroService
-
callCommand
- Specified by:
callCommandin interfaceLocalSetupService
-
setupDockerStart
- Specified by:
setupDockerStartin interfaceLocalSetupService
-
setupDockerRestart
- Specified by:
setupDockerRestartin interfaceLocalSetupService
-
setupDockerStop
- Specified by:
setupDockerStopin interfaceLocalSetupService
-
setupDockerUpdate
- Specified by:
setupDockerUpdatein interfaceLocalSetupService
-
lettoDockerStart
- Specified by:
lettoDockerStartin interfaceLocalSetupService
-
lettoDockerRestart
- Specified by:
lettoDockerRestartin interfaceLocalSetupService
-
lettoDockerStop
- Specified by:
lettoDockerStopin interfaceLocalSetupService
-
lettoDockerUpdate
- Specified by:
lettoDockerUpdatein interfaceLocalSetupService
-