Skip to content

Commit

Permalink
Merge pull request #2318 from ballerina-platform/ssl-ctx
Browse files Browse the repository at this point in the history
Move SSL context creation to client initialization
  • Loading branch information
TharmiganK authored Feb 25, 2025
2 parents 934cb52 + 1a35d53 commit 6bf97e7
Show file tree
Hide file tree
Showing 58 changed files with 332 additions and 150 deletions.
6 changes: 3 additions & 3 deletions ballerina-tests/http-advanced-tests/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[package]
org = "ballerina"
name = "http_advanced_tests"
version = "2.13.3"
version = "2.13.4"

[[dependency]]
org = "ballerina"
name = "http_test_common"
repository = "local"
version = "2.13.3"
version = "2.13.4"

[platform.java21]
graalvmCompatible = true

[[platform.java21.dependency]]
scope = "testOnly"
path = "../../test-utils/build/libs/http-test-utils-2.13.3.jar"
path = "../../test-utils/build/libs/http-test-utils-2.13.4-SNAPSHOT.jar"
6 changes: 3 additions & 3 deletions ballerina-tests/http-advanced-tests/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http"
version = "2.13.3"
version = "2.13.4"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "auth"},
Expand Down Expand Up @@ -116,7 +116,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http_advanced_tests"
version = "2.13.3"
version = "2.13.4"
dependencies = [
{org = "ballerina", name = "crypto"},
{org = "ballerina", name = "file"},
Expand All @@ -136,7 +136,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http_test_common"
version = "2.13.3"
version = "2.13.4"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "http"},
Expand Down
6 changes: 3 additions & 3 deletions ballerina-tests/http-client-tests/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[package]
org = "ballerina"
name = "http_client_tests"
version = "2.13.3"
version = "2.13.4"

[[dependency]]
org = "ballerina"
name = "http_test_common"
repository = "local"
version = "2.13.3"
version = "2.13.4"

[platform.java21]
graalvmCompatible = true

[[platform.java21.dependency]]
scope = "testOnly"
path = "../../test-utils/build/libs/http-test-utils-2.13.3.jar"
path = "../../test-utils/build/libs/http-test-utils-2.13.4-SNAPSHOT.jar"
6 changes: 3 additions & 3 deletions ballerina-tests/http-client-tests/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "http"
version = "2.13.3"
version = "2.13.4"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "auth"},
Expand Down Expand Up @@ -116,7 +116,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http_client_tests"
version = "2.13.3"
version = "2.13.4"
dependencies = [
{org = "ballerina", name = "constraint"},
{org = "ballerina", name = "data.jsondata"},
Expand All @@ -136,7 +136,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http_test_common"
version = "2.13.3"
version = "2.13.4"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "http"},
Expand Down
6 changes: 3 additions & 3 deletions ballerina-tests/http-dispatching-tests/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[package]
org = "ballerina"
name = "http_dispatching_tests"
version = "2.13.3"
version = "2.13.4"

[[dependency]]
org = "ballerina"
name = "http_test_common"
repository = "local"
version = "2.13.3"
version = "2.13.4"

[platform.java21]
graalvmCompatible = true

[[platform.java21.dependency]]
scope = "testOnly"
path = "../../test-utils/build/libs/http-test-utils-2.13.3.jar"
path = "../../test-utils/build/libs/http-test-utils-2.13.4-SNAPSHOT.jar"
6 changes: 3 additions & 3 deletions ballerina-tests/http-dispatching-tests/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "http"
version = "2.13.3"
version = "2.13.4"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "auth"},
Expand Down Expand Up @@ -113,7 +113,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http_dispatching_tests"
version = "2.13.3"
version = "2.13.4"
dependencies = [
{org = "ballerina", name = "constraint"},
{org = "ballerina", name = "http"},
Expand All @@ -135,7 +135,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http_test_common"
version = "2.13.3"
version = "2.13.4"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "http"},
Expand Down
6 changes: 3 additions & 3 deletions ballerina-tests/http-interceptor-tests/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[package]
org = "ballerina"
name = "http_interceptor_tests"
version = "2.13.3"
version = "2.13.4"

[[dependency]]
org = "ballerina"
name = "http_test_common"
repository = "local"
version = "2.13.3"
version = "2.13.4"

[platform.java21]
graalvmCompatible = true

[[platform.java21.dependency]]
scope = "testOnly"
path = "../../test-utils/build/libs/http-test-utils-2.13.3.jar"
path = "../../test-utils/build/libs/http-test-utils-2.13.4-SNAPSHOT.jar"
6 changes: 3 additions & 3 deletions ballerina-tests/http-interceptor-tests/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "http"
version = "2.13.3"
version = "2.13.4"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "auth"},
Expand Down Expand Up @@ -110,7 +110,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http_interceptor_tests"
version = "2.13.3"
version = "2.13.4"
dependencies = [
{org = "ballerina", name = "http"},
{org = "ballerina", name = "http_test_common"},
Expand All @@ -126,7 +126,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http_test_common"
version = "2.13.3"
version = "2.13.4"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "http"},
Expand Down
6 changes: 3 additions & 3 deletions ballerina-tests/http-misc-tests/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[package]
org = "ballerina"
name = "http_misc_tests"
version = "2.13.3"
version = "2.13.4"

[[dependency]]
org = "ballerina"
name = "http_test_common"
repository = "local"
version = "2.13.3"
version = "2.13.4"

[platform.java21]
graalvmCompatible = true

[[platform.java21.dependency]]
scope = "testOnly"
path = "../../test-utils/build/libs/http-test-utils-2.13.3.jar"
path = "../../test-utils/build/libs/http-test-utils-2.13.4-SNAPSHOT.jar"
6 changes: 3 additions & 3 deletions ballerina-tests/http-misc-tests/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "http"
version = "2.13.3"
version = "2.13.4"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "auth"},
Expand Down Expand Up @@ -110,7 +110,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http_misc_tests"
version = "2.13.3"
version = "2.13.4"
dependencies = [
{org = "ballerina", name = "http"},
{org = "ballerina", name = "http_test_common"},
Expand All @@ -129,7 +129,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http_test_common"
version = "2.13.3"
version = "2.13.4"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "http"},
Expand Down
6 changes: 3 additions & 3 deletions ballerina-tests/http-resiliency-tests/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[package]
org = "ballerina"
name = "http_resiliency_tests"
version = "2.13.3"
version = "2.13.4"

[[dependency]]
org = "ballerina"
name = "http_test_common"
repository = "local"
version = "2.13.3"
version = "2.13.4"

[platform.java21]
graalvmCompatible = true

[[platform.java21.dependency]]
scope = "testOnly"
path = "../../test-utils/build/libs/http-test-utils-2.13.3.jar"
path = "../../test-utils/build/libs/http-test-utils-2.13.4-SNAPSHOT.jar"
6 changes: 3 additions & 3 deletions ballerina-tests/http-resiliency-tests/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "http"
version = "2.13.3"
version = "2.13.4"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "auth"},
Expand Down Expand Up @@ -110,7 +110,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http_resiliency_tests"
version = "2.13.3"
version = "2.13.4"
dependencies = [
{org = "ballerina", name = "http"},
{org = "ballerina", name = "http_test_common"},
Expand All @@ -127,7 +127,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http_test_common"
version = "2.13.3"
version = "2.13.4"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "http"},
Expand Down
6 changes: 3 additions & 3 deletions ballerina-tests/http-security-tests/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[package]
org = "ballerina"
name = "http_security_tests"
version = "2.13.3"
version = "2.13.4"

[[dependency]]
org = "ballerina"
name = "http_test_common"
repository = "local"
version = "2.13.3"
version = "2.13.4"

[platform.java21]
graalvmCompatible = true

[[platform.java21.dependency]]
scope = "testOnly"
path = "../../test-utils/build/libs/http-test-utils-2.13.3.jar"
path = "../../test-utils/build/libs/http-test-utils-2.13.4-SNAPSHOT.jar"
6 changes: 3 additions & 3 deletions ballerina-tests/http-security-tests/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "http"
version = "2.13.3"
version = "2.13.4"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "auth"},
Expand Down Expand Up @@ -113,7 +113,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http_security_tests"
version = "2.13.3"
version = "2.13.4"
dependencies = [
{org = "ballerina", name = "auth"},
{org = "ballerina", name = "http"},
Expand All @@ -131,7 +131,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http_test_common"
version = "2.13.3"
version = "2.13.4"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "http"},
Expand Down
6 changes: 3 additions & 3 deletions ballerina-tests/http-service-tests/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[package]
org = "ballerina"
name = "http_service_tests"
version = "2.13.3"
version = "2.13.4"

[[dependency]]
org = "ballerina"
name = "http_test_common"
repository = "local"
version = "2.13.3"
version = "2.13.4"

[platform.java21]
graalvmCompatible = true

[[platform.java21.dependency]]
scope = "testOnly"
path = "../../test-utils/build/libs/http-test-utils-2.13.3.jar"
path = "../../test-utils/build/libs/http-test-utils-2.13.4-SNAPSHOT.jar"
6 changes: 3 additions & 3 deletions ballerina-tests/http-service-tests/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http"
version = "2.13.3"
version = "2.13.4"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "auth"},
Expand Down Expand Up @@ -113,7 +113,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http_service_tests"
version = "2.13.3"
version = "2.13.4"
dependencies = [
{org = "ballerina", name = "file"},
{org = "ballerina", name = "http"},
Expand All @@ -132,7 +132,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http_test_common"
version = "2.13.3"
version = "2.13.4"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "http"},
Expand Down
2 changes: 1 addition & 1 deletion ballerina-tests/http-test-common/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[package]
org = "ballerina"
name = "http_test_common"
version = "2.13.3"
version = "2.13.4"
Loading

0 comments on commit 6bf97e7

Please sign in to comment.