update sharding-proxy 5.3.2 => 5.4.0 配置文件写法升级

This commit is contained in:
疯狂的狮子Li
2023-08-02 12:26:27 +08:00
parent 6d8cc3495c
commit 83743b04b0
11 changed files with 313 additions and 228 deletions

View File

@@ -16,13 +16,13 @@
#
######################################################################################################
#
#
# Here you can configure the rules for the proxy.
# This example is configuration of encrypt rule.
#
#
######################################################################################################
#
#schemaName: encrypt_db
#databaseName: encrypt_db
#
#dataSources:
# ds_0:
@@ -51,18 +51,21 @@
# type: AES
# props:
# aes-key-value: 123456abc
# md5_encryptor:
# type: MD5
# rc4_encryptor:
# type: RC4
# props:
# rc4-key-value: 123456abc
# tables:
# t_encrypt:
# columns:
# user_id:
# plainColumn: user_plain
# cipherColumn: user_cipher
# encryptorName: aes_encryptor
# cipher:
# name: user_cipher
# encryptorName: aes_encryptor
# order_id:
# cipherColumn: order_encrypt
# encryptorName: md5_encryptor
# cipher:
# name: order_encrypt
# encryptorName: rc4_encryptor
######################################################################################################
#
@@ -70,7 +73,7 @@
#
######################################################################################################
#
#schemaName: encrypt_db
#databaseName: encrypt_db
#
#dataSources:
# ds_0:
@@ -99,15 +102,18 @@
# type: AES
# props:
# aes-key-value: 123456abc
# md5_encryptor:
# type: MD5
# rc4_encryptor:
# type: RC4
# props:
# rc4-key-value: 123456abc
# tables:
# t_encrypt:
# columns:
# user_id:
# plainColumn: user_plain
# cipherColumn: user_cipher
# encryptorName: aes_encryptor
# cipher:
# name: user_cipher
# encryptorName: aes_encryptor
# order_id:
# cipherColumn: order_cipher
# encryptorName: md5_encryptor
# cipher:
# name: order_encrypt
# encryptorName: rc4_encryptor