-
Notifications
You must be signed in to change notification settings - Fork 22
Transparent proxy: TP Loader Cloud SDK native integration #981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
b860033 to
cb21b31
Compare
...rvice/src/main/java/com/sap/cloud/sdk/cloudplatform/connectivity/TransparentProxyLoader.java
Outdated
Show resolved
Hide resolved
...rvice/src/main/java/com/sap/cloud/sdk/cloudplatform/connectivity/TransparentProxyLoader.java
Outdated
Show resolved
Hide resolved
...rvice/src/main/java/com/sap/cloud/sdk/cloudplatform/connectivity/TransparentProxyLoader.java
Outdated
Show resolved
Hide resolved
...rvice/src/main/java/com/sap/cloud/sdk/cloudplatform/connectivity/TransparentProxyLoader.java
Outdated
Show resolved
Hide resolved
...rvice/src/main/java/com/sap/cloud/sdk/cloudplatform/connectivity/TransparentProxyLoader.java
Outdated
Show resolved
Hide resolved
...rvice/src/main/java/com/sap/cloud/sdk/cloudplatform/connectivity/TransparentProxyLoader.java
Outdated
Show resolved
Hide resolved
...rvice/src/main/java/com/sap/cloud/sdk/cloudplatform/connectivity/TransparentProxyLoader.java
Outdated
Show resolved
Hide resolved
...rvice/src/main/java/com/sap/cloud/sdk/cloudplatform/connectivity/TransparentProxyLoader.java
Outdated
Show resolved
Hide resolved
| void testRegisterWithHostWithHttpsScheme() | ||
| { | ||
| // Test that existing https:// scheme is preserved | ||
| TransparentProxyLoader.register("https://gateway"); | ||
|
|
||
| Try<Destination> result = loader.tryGetDestination("test-destination"); | ||
| assertThat(result.isSuccess()).isTrue(); | ||
|
|
||
| Destination destination = result.get(); | ||
| assertThat(destination.asHttp().getUri().toString()).startsWith("https://gateway"); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the destination gateway can't be called via https
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
discussed to allow it for now
bc1d50c to
f7ee4bd
Compare
|
@MatKuhr please review |
72dc4c1 to
70ee9ae
Compare
| * </ul> | ||
| */ | ||
| @Override | ||
| public void verifyHostConnectivity( @Nonnull final String host, final int port ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this publicly accessible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
made NetworkValidator abstract class to make this method package-private
70ee9ae to
18db618
Compare
18db618 to
de06843
Compare
No description provided.