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 2022/05/29 07:20:02 UTC
[GitHub] [shardingsphere] zhaoguhong opened a new issue, #18044: EncryptColumnRuleConfigurationYamlSwapper swapToYamlConfiguration method loss of the logicColumn
zhaoguhong opened a new issue, #18044:
URL: https://github.com/apache/shardingsphere/issues/18044
EncryptColumnRuleConfigurationYamlSwapper swapToYamlConfiguration method loss of the logicColumn
`org.apache.shardingsphere.encrypt.yaml.swapper.rule.EncryptColumnRuleConfigurationYamlSwapper#swapToYamlConfiguration`
## now
```java
@Override
public YamlEncryptColumnRuleConfiguration swapToYamlConfiguration(final EncryptColumnRuleConfiguration data) {
YamlEncryptColumnRuleConfiguration result = new YamlEncryptColumnRuleConfiguration();
result.setPlainColumn(data.getPlainColumn());
result.setCipherColumn(data.getCipherColumn());
result.setAssistedQueryColumn(data.getAssistedQueryColumn());
result.setEncryptorName(data.getEncryptorName());
result.setQueryWithCipherColumn(data.getQueryWithCipherColumn());
return result;
}
```
## after repair
```java
@Override
public YamlEncryptColumnRuleConfiguration swapToYamlConfiguration(final EncryptColumnRuleConfiguration data) {
YamlEncryptColumnRuleConfiguration result = new YamlEncryptColumnRuleConfiguration();
result.setLogicColumn(data.getLogicColumn());
result.setPlainColumn(data.getPlainColumn());
result.setCipherColumn(data.getCipherColumn());
result.setAssistedQueryColumn(data.getAssistedQueryColumn());
result.setEncryptorName(data.getEncryptorName());
result.setQueryWithCipherColumn(data.getQueryWithCipherColumn());
return result;
}
```
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] strongduanmu closed issue #18044: EncryptColumnRuleConfigurationYamlSwapper swapToYamlConfiguration method loss of the logicColumn
Posted by GitBox <gi...@apache.org>.
strongduanmu closed issue #18044: EncryptColumnRuleConfigurationYamlSwapper swapToYamlConfiguration method loss of the logicColumn
URL: https://github.com/apache/shardingsphere/issues/18044
--
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