Skip to content

Commit

Permalink
upgrade ballerina version and implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
CrowleyRajapakse committed Sep 18, 2023
1 parent a01235b commit 2bb6407
Show file tree
Hide file tree
Showing 18 changed files with 32 additions and 24 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/config-deployer-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@ jobs:
id: cache
with:
path: "ballerina-dist/*.deb"
key: "ballerina-2201.7.0"
key: "ballerina-2201.7.2"
- name: Download Ballerina distribution.
shell: sh
run: |
mkdir -p ballerina-dist
wget 'https://dist.ballerina.io/downloads/2201.7.0/ballerina-2201.7.0-swan-lake-linux-x64.deb' -P ballerina-dist
wget 'https://dist.ballerina.io/downloads/2201.7.2/ballerina-2201.7.2-swan-lake-linux-x64.deb' -P ballerina-dist
if: steps.cache.outputs.cache-hit != 'true'
- name: Install Ballerina distribution.
shell: sh
run: "sudo dpkg -i ballerina-dist/ballerina-2201.7.0-swan-lake-linux-x64.deb"
run: "sudo dpkg -i ballerina-dist/ballerina-2201.7.2-swan-lake-linux-x64.deb"
- name: Verify Ballerina Version
shell: sh
run: "bal -v"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/idp-domain-service-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@ jobs:
id: cache
with:
path: "ballerina-dist/*.deb"
key: "ballerina-2201.7.0"
key: "ballerina-2201.7.2"
- name: Download Ballerina distribution.
shell: sh
run: |
mkdir -p ballerina-dist
wget 'https://dist.ballerina.io/downloads/2201.7.0/ballerina-2201.7.0-swan-lake-linux-x64.deb' -P ballerina-dist
wget 'https://dist.ballerina.io/downloads/2201.7.2/ballerina-2201.7.2-swan-lake-linux-x64.deb' -P ballerina-dist
if: steps.cache.outputs.cache-hit != 'true'
- name: Install Ballerina distribution.
shell: sh
run: "sudo dpkg -i ballerina-dist/ballerina-2201.7.0-swan-lake-linux-x64.deb"
run: "sudo dpkg -i ballerina-dist/ballerina-2201.7.2-swan-lake-linux-x64.deb"
- name: Verify Ballerina Version
shell: sh
run: "bal -v"
Expand Down
4 changes: 4 additions & 0 deletions adapter/revive.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ warningCode = 0
[rule.context-as-argument]
[rule.context-keys-type]
[rule.dot-imports]
[rule]
name = "dot-imports"
enable = false
where = "$file =~ '_test.go$'"
[rule.error-return]
[rule.error-strings]
[rule.error-naming]
Expand Down
2 changes: 1 addition & 1 deletion common-bal-libs/apk-common-lib/ballerina/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
org = "wso2"
name = "apk_common_lib"
version = "0.0.1-SNAPSHOT"
distribution = "2201.7.0"
distribution = "2201.7.2"

[[platform.java11.dependency]]
groupId = "org.wso2.apk"
Expand Down
2 changes: 1 addition & 1 deletion common-bal-libs/apk-common-lib/ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.7.0"
distribution-version = "2201.7.2"

[[package]]
org = "ballerina"
Expand Down
2 changes: 1 addition & 1 deletion common-bal-libs/apk-keymanager-libs/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
org = "wso2"
name = "apk_keymanager_libs"
version = "0.0.1-SNAPSHOT"
distribution = "2201.7.0"
distribution = "2201.7.2"

[[dependency]]
org = "wso2"
Expand Down
2 changes: 1 addition & 1 deletion common-bal-libs/apk-keymanager-libs/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.7.0"
distribution-version = "2201.7.2"

[[package]]
org = "ballerina"
Expand Down
2 changes: 1 addition & 1 deletion common-bal-libs/notification-grpc-client/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
org = "wso2"
name = "notification_grpc_client"
version = "0.0.1-SNAPSHOT"
distribution = "2201.7.0"
distribution = "2201.7.2"
2 changes: 1 addition & 1 deletion common-bal-libs/notification-grpc-client/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.7.0"
distribution-version = "2201.7.2"

[[package]]
org = "ballerina"
Expand Down
4 changes: 4 additions & 0 deletions common-controller/revive.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ warningCode = 0
[rule.context-as-argument]
[rule.context-keys-type]
[rule.dot-imports]
[rule]
name = "dot-imports"
enable = false
where = "$file =~ '_test.go$'"
[rule.error-return]
[rule.error-strings]
[rule.error-naming]
Expand Down
2 changes: 1 addition & 1 deletion idp/idp-domain-service/ballerina/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
org = "wso2"
name = "idp_domain_service"
version = "1.0.0-rc2"
distribution = "2201.7.0"
distribution = "2201.7.2"

[[platform.java11.dependency]]
groupId = "org.postgresql"
Expand Down
2 changes: 1 addition & 1 deletion idp/idp-domain-service/ballerina/Ballerina.toml.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
org = "wso2"
name = "idp_domain_service"
version = "PROJECT_VERSION"
distribution = "2201.7.0"
distribution = "2201.7.2"

[[platform.java11.dependency]]
groupId = "org.postgresql"
Expand Down
6 changes: 3 additions & 3 deletions idp/idp-domain-service/ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.7.0"
distribution-version = "2201.7.2"

[[package]]
org = "ballerina"
Expand Down Expand Up @@ -41,7 +41,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "crypto"
version = "2.4.0"
version = "2.4.1"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "time"}
Expand All @@ -61,7 +61,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "http"
version = "2.9.2"
version = "2.9.3"
dependencies = [
{org = "ballerina", name = "auth"},
{org = "ballerina", name = "cache"},
Expand Down
6 changes: 3 additions & 3 deletions idp/idp-domain-service/ballerina/Dependencies.toml.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.7.0"
distribution-version = "2201.7.2"

[[package]]
org = "ballerina"
Expand Down Expand Up @@ -41,7 +41,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "crypto"
version = "2.4.0"
version = "2.4.1"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "time"}
Expand All @@ -61,7 +61,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "http"
version = "2.9.0"
version = "2.9.3"
dependencies = [
{org = "ballerina", name = "auth"},
{org = "ballerina", name = "cache"},
Expand Down
2 changes: 1 addition & 1 deletion runtime/config-deployer-service/ballerina/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
org = "wso2"
name = "config_deployer_service"
version = "1.0.0-SNAPSHOT"
distribution = "2201.7.0"
distribution = "2201.7.2"

[build-options]
observabilityIncluded = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
org = "wso2"
name = "config_deployer_service"
version = "PROJECT_VERSION"
distribution = "2201.7.0"
distribution = "2201.7.2"

[build-options]
observabilityIncluded = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.7.0"
distribution-version = "2201.7.2"

[[package]]
org = "ballerina"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.7.0"
distribution-version = "2201.7.2"

[[package]]
org = "ballerina"
Expand Down

0 comments on commit 2bb6407

Please sign in to comment.