You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because property names in the graviton.conf.template file need to be kept consistent with com/datastrato/graviton/Configs.java and com/datastrato/graviton/server/ServerConfig.java, Otherwise Graviton will not be able to read graviton.conf file correctly.
How should we improve?
We need to add test cases to keep them consistent.
I think we can use all property name variants of the config.java and ServerConfig.java to check in the graviton.conf.
The text was updated successfully, but these errors were encountered:
### What changes were proposed in this pull request?
+ Add ServerConfigTest to keep consistency check in the graviton.conf
file.
+ Use the JAVA reflect method to get all property names from
`ServerConfig.java` and `Configs.java` files.
### Why are the changes needed?
Because property names in the `graviton.conf.template` file need to be
kept consistent with `com/datastrato/graviton/Configs.java` and
`com/datastrato/graviton/server/ServerConfig.java`,
Otherwise, Graviton will not be able to read `graviton.conf` file
correctly.
Fix: #390
### Does this PR introduce _any_ user-facing change?
N/A
### How was this patch tested?
Added `ServerConfigTest` in the test cases.
What would you like to be improved?
Because property names in the
graviton.conf.template
file need to be kept consistent withcom/datastrato/graviton/Configs.java
andcom/datastrato/graviton/server/ServerConfig.java
, Otherwise Graviton will not be able to readgraviton.conf
file correctly.How should we improve?
We need to add test cases to keep them consistent.
I think we can use all
property name
variants of theconfig.java
andServerConfig.java
to check in thegraviton.conf
.The text was updated successfully, but these errors were encountered: