Kabanero CLI Microservice
The Kabanero CLI Microservice provides the service endpoints in support of all of the functions of the Kabanero command line functional keywords (login, logout, list, refresh, onboard and version)
The application is configured to provide JAX-RS REST capabilities, JNDI, JSON parsing and Contexts and Dependency Injection (CDI).
These capabilities are provided through dependencies in the pom.xml file and Liberty features enabled in the server config file found in src/main/liberty/config/server.xml
.
The ports are set in the pom.xml file
To build and run the application:
https://github.com/kabanero-io/kabanero-command-line-services/blob/master/build-help.md
https://github.com/kabanero-io/kabanero-command-line
To run the application in Docker use the Docker file called Dockerfile
. If you do not want to install Maven locally you can use Dockerfile-tools
to build a container with Maven installed.
The application exposes the following endpoints:
<cli-route>
<cli-route>/health
( <cli-route>
can be obtained by running the oc get routes
command )
Postman collection to call CLI Service endpoints: https://github.com/kabanero-io/kabanero-command-line-services/tree/master/test