-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use facade to initialize async, jdk and okhttp client
Signed-off-by: moxiaoying <[email protected]> Co-authored-by: ZhangJian He <[email protected]>
- Loading branch information
Showing
15 changed files
with
197 additions
and
417 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
opengemini-client-api/src/main/java/io/opengemini/client/api/BaseConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 29 additions & 29 deletions
58
opengemini-client-api/src/main/java/io/opengemini/client/api/TlsConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
package io.opengemini.client.api; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
import lombok.ToString; | ||
|
||
@Setter | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public class TlsConfig { | ||
public String keyStorePath; | ||
|
||
@ToString.Exclude | ||
public char[] keyStorePassword; | ||
|
||
public String trustStorePath; | ||
|
||
@ToString.Exclude | ||
public char[] trustStorePassword; | ||
|
||
public boolean verifyDisabled; | ||
|
||
public boolean hostnameVerifyDisabled; | ||
|
||
public String[] versions; | ||
|
||
public String[] cipherSuites; | ||
} | ||
//package io.opengemini.client.api; | ||
// | ||
//import lombok.AllArgsConstructor; | ||
//import lombok.NoArgsConstructor; | ||
//import lombok.Setter; | ||
//import lombok.ToString; | ||
// | ||
//@Setter | ||
//@NoArgsConstructor | ||
//@AllArgsConstructor | ||
//public class TlsConfig { | ||
// public String keyStorePath; | ||
// | ||
// @ToString.Exclude | ||
// public char[] keyStorePassword; | ||
// | ||
// public String trustStorePath; | ||
// | ||
// @ToString.Exclude | ||
// public char[] trustStorePassword; | ||
// | ||
// public boolean verifyDisabled; | ||
// | ||
// public boolean hostnameVerifyDisabled; | ||
// | ||
// public String[] versions; | ||
// | ||
// public String[] cipherSuites; | ||
//} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
...client/src/test/java/io/opengemini/client/asynchttpclient/BasicAuthRequestFilterTest.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.