Skip to content

Commit

Permalink
change the license year
Browse files Browse the repository at this point in the history
  • Loading branch information
daneshk committed Feb 8, 2024
1 parent 1127aed commit 246ae4e
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 23 deletions.
4 changes: 0 additions & 4 deletions ballerina/tests/Config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
h2Url="jdbc:h2:./build/test"
h2User="sa"
h2Password=""

[mysql]
user="root"
password="Test123#"
Expand Down
2 changes: 1 addition & 1 deletion ballerina/tests/h2-all-types-tests.bal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
// Copyright (c) 2024 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
//
// WSO2 LLC. licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file except
Expand Down
2 changes: 1 addition & 1 deletion ballerina/tests/h2-associations-tests.bal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
// Copyright (c) 2024 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
//
// WSO2 LLC. licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file except
Expand Down
2 changes: 1 addition & 1 deletion ballerina/tests/h2-building-tests.bal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
// Copyright (c) 2024 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
//
// WSO2 LLC. licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file except
Expand Down
2 changes: 1 addition & 1 deletion ballerina/tests/h2-composite-key-tests.bal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
// Copyright (c) 2024 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
//
// WSO2 LLC. licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file except
Expand Down
2 changes: 1 addition & 1 deletion ballerina/tests/h2-department-tests.bal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
// Copyright (c) 2024 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
//
// WSO2 LLC. licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file except
Expand Down
2 changes: 1 addition & 1 deletion ballerina/tests/h2-employee-tests.bal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
// Copyright (c) 2024 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
//
// WSO2 LLC. licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file except
Expand Down
2 changes: 1 addition & 1 deletion ballerina/tests/h2-id-fields-tests.bal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
// Copyright (c) 2024 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
//
// WSO2 LLC. licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file except
Expand Down
2 changes: 1 addition & 1 deletion ballerina/tests/h2-native-tests.bal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
// Copyright (c) 2024 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
//
// WSO2 LLC. licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file except
Expand Down
2 changes: 1 addition & 1 deletion ballerina/tests/h2-transaction-tests.bal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
// Copyright (c) 2024 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
//
// WSO2 LLC. licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file except
Expand Down
2 changes: 1 addition & 1 deletion ballerina/tests/h2-workspace-tests.bal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
// Copyright (c) 2024 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
//
// WSO2 LLC. licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file except
Expand Down
4 changes: 2 additions & 2 deletions ballerina/tests/h2_rainier_generated_client.bal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
// Copyright (c) 2024 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
//
// WSO2 LLC. licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -135,7 +135,7 @@ public isolated client class H2RainierClient {
};

public isolated function init() returns persist:Error? {
jdbc:Client|error dbClient = new (url = h2Url, user = h2User, password = h2Password);
jdbc:Client|error dbClient = new (url = h2.url, user = h2.user, password = h2.password);
if dbClient is error {
return <persist:Error>error(dbClient.message());
}
Expand Down
4 changes: 2 additions & 2 deletions ballerina/tests/h2_test_entities_generated_client.bal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
// Copyright (c) 2024 WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
//
// WSO2 LLC. licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -154,7 +154,7 @@ public isolated client class H2TestEntitiesClient {
};

public isolated function init() returns persist:Error? {
jdbc:Client|error dbClient = new (url = h2Url, user = h2User, password = h2Password);
jdbc:Client|error dbClient = new (url = h2.url, user = h2.user, password = h2.password);
if dbClient is error {
return <persist:Error>error(dbClient.message());
}
Expand Down
6 changes: 1 addition & 5 deletions ballerina/tests/init-tests.bal
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,11 @@ import ballerinax/mysql.driver as _;
import ballerinax/postgresql;
import ballerinax/postgresql.driver as _;

configurable string h2Url = ?;
configurable string h2User = ?;
configurable string h2Password = ?;

configurable record {|
string url;
string user;
string password;
|} h2 = ?;
|} & readonly h2 = ?;

configurable record {|
int port;
Expand Down

0 comments on commit 246ae4e

Please sign in to comment.