You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/09/01 04:20:05 UTC
[GitHub] [shardingsphere] yx9o opened a new pull request #12144: Modify SHOW RESOURCES not show customPoolProps, add unit test
yx9o opened a new pull request #12144:
URL: https://github.com/apache/shardingsphere/pull/12144
Fix `SHOW RESOURCES` DistSQL, add `customPoolProps` in result, and add unit test.
Changes proposed in this pull request:
add unit test for : DataSourceQueryResultSetTest.java
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] codecov-commenter commented on pull request #12144: Fix `SHOW RESOURCES` DistSQL, add `customPoolProps` in result, and add unit test.
Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on pull request #12144:
URL: https://github.com/apache/shardingsphere/pull/12144#issuecomment-909955895
# [Codecov](https://codecov.io/gh/apache/shardingsphere/pull/12144?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#12144](https://codecov.io/gh/apache/shardingsphere/pull/12144?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (965d655) into [master](https://codecov.io/gh/apache/shardingsphere/commit/56bfd11ba6a83e45a70db92f42c3284406fb147c?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (56bfd11) will **increase** coverage by `0.14%`.
> The diff coverage is `66.66%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/shardingsphere/pull/12144/graphs/tree.svg?width=650&height=150&src=pr&token=ZvlXpWa7so&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)](https://codecov.io/gh/apache/shardingsphere/pull/12144?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## master #12144 +/- ##
============================================
+ Coverage 63.80% 63.95% +0.14%
- Complexity 1250 1252 +2
============================================
Files 2320 2322 +2
Lines 35274 35296 +22
Branches 6134 6140 +6
============================================
+ Hits 22508 22574 +66
+ Misses 10955 10902 -53
- Partials 1811 1820 +9
```
| [Impacted Files](https://codecov.io/gh/apache/shardingsphere/pull/12144?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [...lserver/ddl/SQLServerCreateProcedureStatement.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc3FsLXBhcnNlci9zaGFyZGluZ3NwaGVyZS1zcWwtcGFyc2VyLXN0YXRlbWVudC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvc3FsL3BhcnNlci9zcWwvZGlhbGVjdC9zdGF0ZW1lbnQvc3Fsc2VydmVyL2RkbC9TUUxTZXJ2ZXJDcmVhdGVQcm9jZWR1cmVTdGF0ZW1lbnQuamF2YQ==) | `0.00% <0.00%> (ø)` | |
| [...end/text/distsql/rql/DataSourceQueryResultSet.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtcHJveHkvc2hhcmRpbmdzcGhlcmUtcHJveHktYmFja2VuZC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvcHJveHkvYmFja2VuZC90ZXh0L2Rpc3RzcWwvcnFsL0RhdGFTb3VyY2VRdWVyeVJlc3VsdFNldC5qYXZh) | `95.83% <100.00%> (+65.39%)` | :arrow_up: |
| [...tatement/impl/SQLServerDDLStatementSQLVisitor.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc3FsLXBhcnNlci9zaGFyZGluZ3NwaGVyZS1zcWwtcGFyc2VyLWRpYWxlY3Qvc2hhcmRpbmdzcGhlcmUtc3FsLXBhcnNlci1zcWxzZXJ2ZXIvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NxbC9wYXJzZXIvc3Fsc2VydmVyL3Zpc2l0b3Ivc3RhdGVtZW50L2ltcGwvU1FMU2VydmVyRERMU3RhdGVtZW50U1FMVmlzaXRvci5qYXZh) | `83.09% <100.00%> (+0.11%)` | :arrow_up: |
| [...d/text/distsql/ral/common/hint/HintSourceType.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtcHJveHkvc2hhcmRpbmdzcGhlcmUtcHJveHktYmFja2VuZC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvcHJveHkvYmFja2VuZC90ZXh0L2Rpc3RzcWwvcmFsL2NvbW1vbi9oaW50L0hpbnRTb3VyY2VUeXBlLmphdmE=) | `0.00% <0.00%> (-42.86%)` | :arrow_down: |
| [...e/spring/boot/ShardingSphereAutoConfiguration.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtamRiYy9zaGFyZGluZ3NwaGVyZS1qZGJjLXNwcmluZy9zaGFyZGluZ3NwaGVyZS1qZGJjLWNvcmUtc3ByaW5nL3NoYXJkaW5nc3BoZXJlLWpkYmMtY29yZS1zcHJpbmctYm9vdC1zdGFydGVyL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zaGFyZGluZ3NwaGVyZS9zcHJpbmcvYm9vdC9TaGFyZGluZ1NwaGVyZUF1dG9Db25maWd1cmF0aW9uLmphdmE=) | `75.00% <0.00%> (-12.50%)` | :arrow_down: |
| [...nce/ShardingSphereGovernanceAutoConfiguration.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtamRiYy9zaGFyZGluZ3NwaGVyZS1qZGJjLXNwcmluZy9zaGFyZGluZ3NwaGVyZS1qZGJjLWdvdmVybmFuY2Utc3ByaW5nL3NoYXJkaW5nc3BoZXJlLWpkYmMtZ292ZXJuYW5jZS1zcHJpbmctYm9vdC1zdGFydGVyL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zaGFyZGluZ3NwaGVyZS9zcHJpbmcvYm9vdC9nb3Zlcm5hbmNlL1NoYXJkaW5nU3BoZXJlR292ZXJuYW5jZUF1dG9Db25maWd1cmF0aW9uLmphdmE=) | `87.50% <0.00%> (-12.50%)` | :arrow_down: |
| [...dingsphere/scaling/core/config/ScalingContext.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvY29yZS9jb25maWcvU2NhbGluZ0NvbnRleHQuamF2YQ==) | `100.00% <0.00%> (ø)` | |
| [...sphere/proxy/initializer/BootstrapInitializer.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtcHJveHkvc2hhcmRpbmdzcGhlcmUtcHJveHktYm9vdHN0cmFwL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zaGFyZGluZ3NwaGVyZS9wcm94eS9pbml0aWFsaXplci9Cb290c3RyYXBJbml0aWFsaXplci5qYXZh) | `0.00% <0.00%> (ø)` | |
| [...phere/scaling/core/config/ServerConfiguration.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvY29yZS9jb25maWcvU2VydmVyQ29uZmlndXJhdGlvbi5qYXZh) | `100.00% <0.00%> (ø)` | |
| [...ng/core/executor/job/FinishedCheckJobExecutor.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvY29yZS9leGVjdXRvci9qb2IvRmluaXNoZWRDaGVja0pvYkV4ZWN1dG9yLmphdmE=) | `0.00% <0.00%> (ø)` | |
| ... and [140 more](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/shardingsphere/pull/12144?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/shardingsphere/pull/12144?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [e2f97f3...965d655](https://codecov.io/gh/apache/shardingsphere/pull/12144?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] yx9o commented on a change in pull request #12144: Fix `SHOW RESOURCES` DistSQL, add `customPoolProps` in result, and add unit test.
Posted by GitBox <gi...@apache.org>.
yx9o commented on a change in pull request #12144:
URL: https://github.com/apache/shardingsphere/pull/12144#discussion_r699976465
##########
File path: shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/distsql/rql/DataSourceQueryResultSet.java
##########
@@ -81,6 +81,7 @@ public boolean next() {
result.put("maxPoolSize", dataSourceParameter.getMaxPoolSize());
result.put("minPoolSize", dataSourceParameter.getMinPoolSize());
result.put("readOnly", dataSourceParameter.isReadOnly());
+ result.put("customPoolProps", dataSourceParameter.getCustomPoolProps());
Review comment:
> The result of dataSourceParameter.getCustomPoolProps() may be NULL or EMPTY, so a check is needed.
Has been updated, please review, thank you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] RaigorJiang commented on a change in pull request #12144: Fix `SHOW RESOURCES` DistSQL, add `customPoolProps` in result, and add unit test.
Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on a change in pull request #12144:
URL: https://github.com/apache/shardingsphere/pull/12144#discussion_r699892167
##########
File path: shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/distsql/rql/DataSourceQueryResultSet.java
##########
@@ -81,6 +81,7 @@ public boolean next() {
result.put("maxPoolSize", dataSourceParameter.getMaxPoolSize());
result.put("minPoolSize", dataSourceParameter.getMinPoolSize());
result.put("readOnly", dataSourceParameter.isReadOnly());
+ result.put("customPoolProps", dataSourceParameter.getCustomPoolProps());
Review comment:
The result of dataSourceParameter.getCustomPoolProps() may be NULL or EMPTY, so a check is needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] tristaZero merged pull request #12144: Fix `SHOW RESOURCES` DistSQL, add `customPoolProps` in result, and add unit test.
Posted by GitBox <gi...@apache.org>.
tristaZero merged pull request #12144:
URL: https://github.com/apache/shardingsphere/pull/12144
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] tristaZero commented on pull request #12144: Fix `SHOW RESOURCES` DistSQL, add `customPoolProps` in result, and add unit test.
Posted by GitBox <gi...@apache.org>.
tristaZero commented on pull request #12144:
URL: https://github.com/apache/shardingsphere/pull/12144#issuecomment-910158545
Nice. ;-)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] RaigorJiang commented on a change in pull request #12144: Fix `SHOW RESOURCES` DistSQL, add `customPoolProps` in result, and add unit test.
Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on a change in pull request #12144:
URL: https://github.com/apache/shardingsphere/pull/12144#discussion_r699991508
##########
File path: shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/distsql/rql/DataSourceQueryResultSet.java
##########
@@ -81,6 +81,7 @@ public boolean next() {
result.put("maxPoolSize", dataSourceParameter.getMaxPoolSize());
result.put("minPoolSize", dataSourceParameter.getMinPoolSize());
result.put("readOnly", dataSourceParameter.isReadOnly());
+ result.put("customPoolProps", dataSourceParameter.getCustomPoolProps());
Review comment:
It's OK now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] codecov-commenter commented on pull request #12144: Fix `SHOW RESOURCES` DistSQL, add `customPoolProps` in result, and add unit test.
Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on pull request #12144:
URL: https://github.com/apache/shardingsphere/pull/12144#issuecomment-909955895
# [Codecov](https://codecov.io/gh/apache/shardingsphere/pull/12144?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#12144](https://codecov.io/gh/apache/shardingsphere/pull/12144?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (965d655) into [master](https://codecov.io/gh/apache/shardingsphere/commit/56bfd11ba6a83e45a70db92f42c3284406fb147c?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (56bfd11) will **increase** coverage by `0.14%`.
> The diff coverage is `66.66%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/shardingsphere/pull/12144/graphs/tree.svg?width=650&height=150&src=pr&token=ZvlXpWa7so&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)](https://codecov.io/gh/apache/shardingsphere/pull/12144?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## master #12144 +/- ##
============================================
+ Coverage 63.80% 63.95% +0.14%
- Complexity 1250 1252 +2
============================================
Files 2320 2322 +2
Lines 35274 35296 +22
Branches 6134 6140 +6
============================================
+ Hits 22508 22574 +66
+ Misses 10955 10902 -53
- Partials 1811 1820 +9
```
| [Impacted Files](https://codecov.io/gh/apache/shardingsphere/pull/12144?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [...lserver/ddl/SQLServerCreateProcedureStatement.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc3FsLXBhcnNlci9zaGFyZGluZ3NwaGVyZS1zcWwtcGFyc2VyLXN0YXRlbWVudC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvc3FsL3BhcnNlci9zcWwvZGlhbGVjdC9zdGF0ZW1lbnQvc3Fsc2VydmVyL2RkbC9TUUxTZXJ2ZXJDcmVhdGVQcm9jZWR1cmVTdGF0ZW1lbnQuamF2YQ==) | `0.00% <0.00%> (ø)` | |
| [...end/text/distsql/rql/DataSourceQueryResultSet.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtcHJveHkvc2hhcmRpbmdzcGhlcmUtcHJveHktYmFja2VuZC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvcHJveHkvYmFja2VuZC90ZXh0L2Rpc3RzcWwvcnFsL0RhdGFTb3VyY2VRdWVyeVJlc3VsdFNldC5qYXZh) | `95.83% <100.00%> (+65.39%)` | :arrow_up: |
| [...tatement/impl/SQLServerDDLStatementSQLVisitor.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc3FsLXBhcnNlci9zaGFyZGluZ3NwaGVyZS1zcWwtcGFyc2VyLWRpYWxlY3Qvc2hhcmRpbmdzcGhlcmUtc3FsLXBhcnNlci1zcWxzZXJ2ZXIvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NxbC9wYXJzZXIvc3Fsc2VydmVyL3Zpc2l0b3Ivc3RhdGVtZW50L2ltcGwvU1FMU2VydmVyRERMU3RhdGVtZW50U1FMVmlzaXRvci5qYXZh) | `83.09% <100.00%> (+0.11%)` | :arrow_up: |
| [...d/text/distsql/ral/common/hint/HintSourceType.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtcHJveHkvc2hhcmRpbmdzcGhlcmUtcHJveHktYmFja2VuZC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvcHJveHkvYmFja2VuZC90ZXh0L2Rpc3RzcWwvcmFsL2NvbW1vbi9oaW50L0hpbnRTb3VyY2VUeXBlLmphdmE=) | `0.00% <0.00%> (-42.86%)` | :arrow_down: |
| [...e/spring/boot/ShardingSphereAutoConfiguration.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtamRiYy9zaGFyZGluZ3NwaGVyZS1qZGJjLXNwcmluZy9zaGFyZGluZ3NwaGVyZS1qZGJjLWNvcmUtc3ByaW5nL3NoYXJkaW5nc3BoZXJlLWpkYmMtY29yZS1zcHJpbmctYm9vdC1zdGFydGVyL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zaGFyZGluZ3NwaGVyZS9zcHJpbmcvYm9vdC9TaGFyZGluZ1NwaGVyZUF1dG9Db25maWd1cmF0aW9uLmphdmE=) | `75.00% <0.00%> (-12.50%)` | :arrow_down: |
| [...nce/ShardingSphereGovernanceAutoConfiguration.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtamRiYy9zaGFyZGluZ3NwaGVyZS1qZGJjLXNwcmluZy9zaGFyZGluZ3NwaGVyZS1qZGJjLWdvdmVybmFuY2Utc3ByaW5nL3NoYXJkaW5nc3BoZXJlLWpkYmMtZ292ZXJuYW5jZS1zcHJpbmctYm9vdC1zdGFydGVyL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zaGFyZGluZ3NwaGVyZS9zcHJpbmcvYm9vdC9nb3Zlcm5hbmNlL1NoYXJkaW5nU3BoZXJlR292ZXJuYW5jZUF1dG9Db25maWd1cmF0aW9uLmphdmE=) | `87.50% <0.00%> (-12.50%)` | :arrow_down: |
| [...dingsphere/scaling/core/config/ScalingContext.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvY29yZS9jb25maWcvU2NhbGluZ0NvbnRleHQuamF2YQ==) | `100.00% <0.00%> (ø)` | |
| [...sphere/proxy/initializer/BootstrapInitializer.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtcHJveHkvc2hhcmRpbmdzcGhlcmUtcHJveHktYm9vdHN0cmFwL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9zaGFyZGluZ3NwaGVyZS9wcm94eS9pbml0aWFsaXplci9Cb290c3RyYXBJbml0aWFsaXplci5qYXZh) | `0.00% <0.00%> (ø)` | |
| [...phere/scaling/core/config/ServerConfiguration.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvY29yZS9jb25maWcvU2VydmVyQ29uZmlndXJhdGlvbi5qYXZh) | `100.00% <0.00%> (ø)` | |
| [...ng/core/executor/job/FinishedCheckJobExecutor.java](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvY29yZS9leGVjdXRvci9qb2IvRmluaXNoZWRDaGVja0pvYkV4ZWN1dG9yLmphdmE=) | `0.00% <0.00%> (ø)` | |
| ... and [140 more](https://codecov.io/gh/apache/shardingsphere/pull/12144/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/shardingsphere/pull/12144?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/shardingsphere/pull/12144?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [e2f97f3...965d655](https://codecov.io/gh/apache/shardingsphere/pull/12144?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] yx9o commented on a change in pull request #12144: Fix `SHOW RESOURCES` DistSQL, add `customPoolProps` in result, and add unit test.
Posted by GitBox <gi...@apache.org>.
yx9o commented on a change in pull request #12144:
URL: https://github.com/apache/shardingsphere/pull/12144#discussion_r699976465
##########
File path: shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/distsql/rql/DataSourceQueryResultSet.java
##########
@@ -81,6 +81,7 @@ public boolean next() {
result.put("maxPoolSize", dataSourceParameter.getMaxPoolSize());
result.put("minPoolSize", dataSourceParameter.getMinPoolSize());
result.put("readOnly", dataSourceParameter.isReadOnly());
+ result.put("customPoolProps", dataSourceParameter.getCustomPoolProps());
Review comment:
> The result of dataSourceParameter.getCustomPoolProps() may be NULL or EMPTY, so a check is needed.
Has been updated, please review, thank you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] RaigorJiang commented on a change in pull request #12144: Fix `SHOW RESOURCES` DistSQL, add `customPoolProps` in result, and add unit test.
Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on a change in pull request #12144:
URL: https://github.com/apache/shardingsphere/pull/12144#discussion_r699892167
##########
File path: shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/distsql/rql/DataSourceQueryResultSet.java
##########
@@ -81,6 +81,7 @@ public boolean next() {
result.put("maxPoolSize", dataSourceParameter.getMaxPoolSize());
result.put("minPoolSize", dataSourceParameter.getMinPoolSize());
result.put("readOnly", dataSourceParameter.isReadOnly());
+ result.put("customPoolProps", dataSourceParameter.getCustomPoolProps());
Review comment:
The result of dataSourceParameter.getCustomPoolProps() may be NULL or EMPTY, so a check is needed.
##########
File path: shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/distsql/rql/DataSourceQueryResultSet.java
##########
@@ -81,6 +81,7 @@ public boolean next() {
result.put("maxPoolSize", dataSourceParameter.getMaxPoolSize());
result.put("minPoolSize", dataSourceParameter.getMinPoolSize());
result.put("readOnly", dataSourceParameter.isReadOnly());
+ result.put("customPoolProps", dataSourceParameter.getCustomPoolProps());
Review comment:
It's OK now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org