When using the client module from any Java application built on top of Java 8 but not on Light, several modules need to be included together to perform multiple functions including HTTP/2 request, service discovery, load balance and cluster support. These jar files are tiny which only contain 2 to 5 classes. The following list includes all the related jar files from Maven Central when using client module.
For all the modules listed below, there are three configuration files that need to be externalized in order to work. There are:
client.yml - defines client configuration and OAuth 2.0 communication. It is used by client module only.
service.yml - balance, cluster, registry, consul and decryptor configurations are defined in this file.
secret.yml - OAuth 2.0 client secret and certificate password etc. are defined in this file for easy secret management. All secrets can be encrypted so that no clear text can be seen in the config file.
It is the main jar file that is responsible for creating an HTTP/2 connection, sending requests and invoking client callbacks. It also handles auto-renewal of JWT tokens from the OAuth 2.0 provider and passes through the correlationId and traceabilityId.