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 Microserviceboolean
ping()
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:MicroService
Schickt eine Ping an das Service- Specified by:
ping
in interfaceLocalSetupService
- Specified by:
ping
in interfaceMicroService
-
version
Description copied from interface:MicroService
Liefert die Version des Microservices als String- Specified by:
version
in interfaceMicroService
-
info
Description copied from interface:MicroService
Liefert einen allgemeinen Informationsstring zu dem Microservice- Specified by:
info
in interfaceMicroService
-
admininfo
Description copied from interface:MicroService
Liefert Information über das Rest-Service- Specified by:
admininfo
in interfaceMicroService
-
callCommand
- Specified by:
callCommand
in interfaceLocalSetupService
-
setupDockerStart
- Specified by:
setupDockerStart
in interfaceLocalSetupService
-
setupDockerRestart
- Specified by:
setupDockerRestart
in interfaceLocalSetupService
-
setupDockerStop
- Specified by:
setupDockerStop
in interfaceLocalSetupService
-
setupDockerUpdate
- Specified by:
setupDockerUpdate
in interfaceLocalSetupService
-
lettoDockerStart
- Specified by:
lettoDockerStart
in interfaceLocalSetupService
-
lettoDockerRestart
- Specified by:
lettoDockerRestart
in interfaceLocalSetupService
-
lettoDockerStop
- Specified by:
lettoDockerStop
in interfaceLocalSetupService
-
lettoDockerUpdate
- Specified by:
lettoDockerUpdate
in interfaceLocalSetupService
-