shardingsphere
shardingsphere copied to clipboard
Consider formatting algorithm props output to JSON
Query rules through RQL or RAL, and the format of algorithm props in the results obtained is as follows:
+-------------------------------------------------------+
| encryptor_props |
+-------------------------------------------------------+
| aes-key-value=BA,FF=AB3,digest-algorithm-name=SHA-512 |
+-------------------------------------------------------+
The problem is that if the parameter value contains characters such as "=", "," etc., it may cause misunderstanding.
Using JSON format eliminates misunderstandings
+-----------------------------------------------------------------+
| encryptor_props |
+-----------------------------------------------------------------+
| {"aes-key-value"="BA,FF=AB3","digest-algorithm-name"="SHA-512"} |
+-----------------------------------------------------------------+
I'm going to replace the output of algorithm props into JSON format, which will involve the following RQL and RAL implementation changes
TASK LIST:
- [x] Refactor PropertiesConverter
- [x] Unit tests
- [x] E2E
- [ ] Documention
Good idea 👍
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.