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)
- Maven
- Java 8: Any compliant JVM should work.
- Java 8 JDK from Oracle
- Java 8 JDK from IBM (AIX, Linux, z/OS, IBM i), or Download a Liberty server package that contains the IBM JDK (Windows, Linux)
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:
- to build please see:
https://github.com/kabanero-io/kabanero-command-line-services/blob/master/build-help.md
- to run see README at:
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 endpoint:
<cli-route>
- Health endpoint:
<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