forked from Ecwid/consul-api
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Jon Huang edited this page Nov 30, 2024
·
4 revisions
Welcome to the Consul API wiki!
This project is forked from the original project and contains the following changes/modifications:
- Migrated from Apache HTTP Client 4.x to Java 11's HttpClient
- Migrated from GSON to Jackson
- Java best practices and secure-coding standards
- Allow customization on the internal Java HTTP Client used by the Consul API client
- Allow specifying an SSLContext/SSLParameters when constructing the HTTP Client
- Properly handle setting the
X-Consul-Token
header on all API calls - Utilize
char[]
for handling secret tokens to prevent String interning (pooling) - Removed several Consul API deprecations (i.e. Meta and Tags specifiers)
- Add Filter to replace Meta and Tag specifiers
- Code cleanup (formatting and addressing several issues found with error-prone)