diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function/source/actionInvocationSuggestion1.bal b/language-server/modules/langserver-core/src/test/resources/completion/function/source/actionInvocationSuggestion1.bal index a00d6f44d260..4baf25dc6cda 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function/source/actionInvocationSuggestion1.bal +++ b/language-server/modules/langserver-core/src/test/resources/completion/function/source/actionInvocationSuggestion1.bal @@ -4,8 +4,10 @@ http:ClientEndpointConfig conf = { url: "https://postman-echo.com/basic-auth", auth: { scheme: http:BASIC_AUTH, - username: "postman", - password: "password" + basicAuthConfig: { + username: "postman", + password: "password" + } } }; diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function/source/actionInvocationSuggestion2.bal b/language-server/modules/langserver-core/src/test/resources/completion/function/source/actionInvocationSuggestion2.bal index c3b29e4dec72..5e7ad93d8855 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function/source/actionInvocationSuggestion2.bal +++ b/language-server/modules/langserver-core/src/test/resources/completion/function/source/actionInvocationSuggestion2.bal @@ -4,8 +4,10 @@ http:ClientEndpointConfig conf = { url: "https://postman-echo.com/basic-auth", auth: { scheme: http:BASIC_AUTH, - username: "postman", - password: "password" + basicAuthConfig: { + username: "postman", + password: "password" + } } }; diff --git a/language-server/modules/langserver-core/src/test/resources/completion/function/source/errorLiftingSuggestions1.bal b/language-server/modules/langserver-core/src/test/resources/completion/function/source/errorLiftingSuggestions1.bal index 04e1eff15a55..84100dc68ad4 100644 --- a/language-server/modules/langserver-core/src/test/resources/completion/function/source/errorLiftingSuggestions1.bal +++ b/language-server/modules/langserver-core/src/test/resources/completion/function/source/errorLiftingSuggestions1.bal @@ -5,8 +5,10 @@ http:ClientEndpointConfig conf = { url: "https://postman-echo.com/basic-auth", auth: { scheme: http:BASIC_AUTH, - username: "postman", - password: "password" + basicAuthConfig: { + username: "postman", + password: "password" + } } }; diff --git a/tests/ballerina-integration-test/src/test/resources/websub/advanced_services/01_websub_publisher.bal b/tests/ballerina-integration-test/src/test/resources/websub/advanced_services/01_websub_publisher.bal index 13d20aef119b..eaa129164296 100644 --- a/tests/ballerina-integration-test/src/test/resources/websub/advanced_services/01_websub_publisher.bal +++ b/tests/ballerina-integration-test/src/test/resources/websub/advanced_services/01_websub_publisher.bal @@ -26,8 +26,8 @@ const string WEBSUB_PERSISTENCE_TOPIC_TWO = "http://two.persistence.topic.com"; const string WEBSUB_TOPIC_ONE = "http://one.websub.topic.com"; http:AuthProvider basicAuthProvider = { - scheme: "basic", - authStoreProvider: "config" + scheme: http:BASIC_AUTH, + authStoreProvider: http:CONFIG_AUTH_STORE }; http:ServiceEndpointConfiguration hubListenerConfig = { @@ -51,8 +51,10 @@ listener http:Listener publisherServiceEP = new http:Listener(8080); websub:Client websubHubClientEP = new websub:Client(webSubHub.hubUrl, config = { auth: { scheme: http:BASIC_AUTH, - username: "peter", - password: "pqr" + basicAuthConfig: { + username: "peter", + password: "pqr" + } } }); diff --git a/tests/ballerina-integration-test/src/test/resources/websub/test_subscribers_at_basic_auth_secured_hub.bal b/tests/ballerina-integration-test/src/test/resources/websub/test_subscribers_at_basic_auth_secured_hub.bal index bdcb9f018e55..30442335d091 100644 --- a/tests/ballerina-integration-test/src/test/resources/websub/test_subscribers_at_basic_auth_secured_hub.bal +++ b/tests/ballerina-integration-test/src/test/resources/websub/test_subscribers_at_basic_auth_secured_hub.bal @@ -30,8 +30,10 @@ listener websub:Listener websubEP = new websub:Listener(8484); subscriptionClientConfig: { auth: { scheme: http:BASIC_AUTH, - username: "tom", - password: "1234" + basicAuthConfig: { + username: "tom", + password: "1234" + } } } } @@ -50,8 +52,10 @@ service websubSubscriber on websubEP { subscriptionClientConfig: { auth: { scheme: http:BASIC_AUTH, - username: "tom", - password: "4321" + basicAuthConfig: { + username: "tom", + password: "4321" + } } } } @@ -70,8 +74,10 @@ service websubSubscriberTwo on websubEP { subscriptionClientConfig: { auth: { scheme: http:BASIC_AUTH, - username: "mary", - password: "xyz" + basicAuthConfig: { + username: "mary", + password: "xyz" + } } } } @@ -90,8 +96,10 @@ service websubSubscriberThree on websubEP { subscriptionClientConfig: { auth: { scheme: http:BASIC_AUTH, - username: "tom", - password: "1234" + basicAuthConfig: { + username: "tom", + password: "1234" + } } } } diff --git a/tests/ballerina-integration-test/src/test/resources/websub/test_subscribers_at_persistence_enabled_hub.bal b/tests/ballerina-integration-test/src/test/resources/websub/test_subscribers_at_persistence_enabled_hub.bal index b25a3eefc610..a50171d2c2fe 100644 --- a/tests/ballerina-integration-test/src/test/resources/websub/test_subscribers_at_persistence_enabled_hub.bal +++ b/tests/ballerina-integration-test/src/test/resources/websub/test_subscribers_at_persistence_enabled_hub.bal @@ -30,8 +30,10 @@ listener websub:Listener websubEP = new websub:Listener(8383); subscriptionClientConfig: { auth: { scheme: http:BASIC_AUTH, - username: "tom", - password: "1234" + basicAuthConfig: { + username: "tom", + password: "1234" + } } } } @@ -50,8 +52,10 @@ service websubSubscriber on websubEP { subscriptionClientConfig: { auth: { scheme: http:BASIC_AUTH, - username: "tom", - password: "1234" + basicAuthConfig: { + username: "tom", + password: "1234" + } } } }