diff --git a/src/main/java/neatlogic/module/deploy/dao/mapper/DeployAppConfigMapper.xml b/src/main/java/neatlogic/module/deploy/dao/mapper/DeployAppConfigMapper.xml
index bfd9eeee1dddce6fb76a7172b34b71f5974151eb..a4d6e3ec05b036d57f4d6a31c5eac6da74a36b6b 100644
--- a/src/main/java/neatlogic/module/deploy/dao/mapper/DeployAppConfigMapper.xml
+++ b/src/main/java/neatlogic/module/deploy/dao/mapper/DeployAppConfigMapper.xml
@@ -1387,7 +1387,7 @@ along with this program. If not, see .-->
- UPDATE `deploy_app_config` SET `config` = #{configStr} WHERE `id` = #{id}
+ UPDATE `deploy_app_config` SET `config` = #{configStr, typeHandler=CompressHandler} WHERE `id` = #{id}
@@ -1432,7 +1432,7 @@ along with this program. If not, see .-->
(`app_system_id`,`app_module_id`,`env_id`,`instance_id`,`key`,`type`,`value`,`is_empty`,`lcd`,`lcu`)
VALUES
- #{appSystemId},#{appModuleId},#{envId},#{instanceId},#{keyValue.key},#{keyValue.type},#{keyValue.value},#{keyValue.isEmpty},#{lcd},#{lcu}
+ #{appSystemId},#{appModuleId},#{envId},#{instanceId},#{keyValue.key},#{keyValue.type},#{keyValue.value, typeHandler=CompressHandler},#{keyValue.isEmpty},#{lcd},#{lcu}
ON DUPLICATE KEY UPDATE `key` = VALUES(`key`),`type` = VALUES(`type`),`value` = VALUES(`value`),`is_empty` = VALUES(`is_empty`),`lcd`= VALUES(`lcd`),`lcu` =
VALUES(`lcu`)
@@ -1454,7 +1454,7 @@ along with this program. If not, see .-->
(`app_system_id`,`app_module_id`,`env_id`,`instance_id`,`key`,`value`,`is_empty`,`lcd`,`lcu`)
VALUES
- #{appSystemId},#{appModuleId},#{envId},#{instanceId},#{keyValue.key},#{keyValue.value},#{keyValue.isEmpty},now(3),#{lcu}
+ #{appSystemId},#{appModuleId},#{envId},#{instanceId},#{keyValue.key},#{keyValue.value, typeHandler=CompressHandler},#{keyValue.isEmpty},now(3),#{lcu}
ON DUPLICATE KEY UPDATE `key` = VALUES(`key`)
@@ -1465,7 +1465,7 @@ along with this program. If not, see .-->
VALUES
- #{vo.appSystemId},#{vo.appModuleId},#{vo.envId},#{vo.instanceId},#{keyValue.key},#{keyValue.type},#{keyValue.value},#{keyValue.isEmpty},now(3),#{vo.lcu}
+ #{vo.appSystemId},#{vo.appModuleId},#{vo.envId},#{vo.instanceId},#{keyValue.key},#{keyValue.type},#{keyValue.value, typeHandler=CompressHandler},#{keyValue.isEmpty},now(3),#{vo.lcu}
ON DUPLICATE KEY UPDATE `key` = VALUES(`key`)
@@ -1492,14 +1492,14 @@ along with this program. If not, see .-->
#{instanceId},
#{key},
#{type},
- #{value},
+ #{value, typeHandler=CompressHandler},
#{isEmpty},
#{lcu},
NOW(3)
)
ON DUPLICATE KEY UPDATE
`type` = #{type},
- `value` = #{value},
+ `value` = #{value, typeHandler=CompressHandler},
`is_empty` = #{isEmpty},
`lcu` = #{lcu},
`lcd` = NOW(3)
@@ -1543,7 +1543,7 @@ along with this program. If not, see .-->
#{appSystemId},
#{appModuleId},
#{envId},
- #{configStr},
+ #{configStr, typeHandler=CompressHandler},
NOW(3),
#{fcu},
NOW(3),
@@ -1566,7 +1566,7 @@ along with this program. If not, see .-->
#{vo.appSystemId},
#{vo.appModuleId},
#{vo.envId},
- #{vo.configStr},
+ #{vo.configStr, typeHandler=CompressHandler},
NOW(3),
#{vo.fcu},
NOW(3),
@@ -1587,7 +1587,7 @@ along with this program. If not, see .-->
VALUES (#{appSystemId},
#{appModuleId},
#{envId},
- #{configStr},
+ #{configStr, typeHandler=CompressHandler},
NOW(3),
#{fcu},
NOW(3),
@@ -1628,7 +1628,7 @@ along with this program. If not, see .-->
#{envId},
#{dbResourceId},
#{accountId},
- #{configStr})
+ #{configStr, typeHandler=CompressHandler})
@@ -1643,7 +1643,7 @@ along with this program. If not, see .-->
#{dbConfigVo.appSystemId},
#{dbConfigVo.appModuleId},
#{dbConfigVo.envId},
- #{dbConfigVo.configStr}
+ #{dbConfigVo.configStr, typeHandler=CompressHandler}
)
ON DUPLICATE KEY UPDATE `db_schema` = VALUES ( db_schema ),
@@ -1672,7 +1672,7 @@ along with this program. If not, see .-->
UPDATE `deploy_app_config`
- SET `config` = #{configStr},
+ SET `config` = #{configStr, typeHandler=CompressHandler},
`lcu` = #{lcu},
`lcd` = NOW(3)
WHERE `app_system_id` = #{appSystemId}
@@ -1682,7 +1682,7 @@ along with this program. If not, see .-->
UPDATE `deploy_app_config_draft`
- SET `config` = #{configStr},
+ SET `config` = #{configStr, typeHandler=CompressHandler},
`lcu` = #{lcu},
`lcd` = NOW(3)
WHERE `app_system_id` = #{appSystemId}
@@ -1695,7 +1695,7 @@ along with this program. If not, see .-->
set db_schema= #{dbSchema},
db_resource_id = #{dbResourceId},
account_id = #{accountId},
- config = #{configStr}
+ config = #{configStr, typeHandler=CompressHandler}
where id = #{id}
diff --git a/src/main/java/neatlogic/module/deploy/dao/mapper/DeployCi.xml b/src/main/java/neatlogic/module/deploy/dao/mapper/DeployCi.xml
index 1e5707e73cb4f447948469385b142026071db8df..fff1c8e887a1a1caf83ef5f0baf212a817e1fe68 100644
--- a/src/main/java/neatlogic/module/deploy/dao/mapper/DeployCi.xml
+++ b/src/main/java/neatlogic/module/deploy/dao/mapper/DeployCi.xml
@@ -226,7 +226,7 @@ along with this program. If not, see .-->
#{triggerTime},
#{delayTime},
#{versionRuleStr},
- #{configStr},
+ #{configStr, typeHandler=CompressHandler},
#{hookId},
#{fcu},
now(3),
@@ -246,7 +246,7 @@ along with this program. If not, see .-->
`trigger_time` = #{triggerTime},
`delay_time` = #{delayTime},
`version_rule` = #{versionRuleStr},
- `config` = #{configStr},
+ `config` = #{configStr, typeHandler=CompressHandler},
`hook_id` = #{hookId},
`lcu` = #{lcu},
`lcd` = now(3)
diff --git a/src/main/java/neatlogic/module/deploy/dao/mapper/DeployJobWebhookMapper.xml b/src/main/java/neatlogic/module/deploy/dao/mapper/DeployJobWebhookMapper.xml
index e8ede83bed4ec14f0845b21bac33f6532b5458de..330dc0baffae6e386f47910510d89c749b4dc268 100644
--- a/src/main/java/neatlogic/module/deploy/dao/mapper/DeployJobWebhookMapper.xml
+++ b/src/main/java/neatlogic/module/deploy/dao/mapper/DeployJobWebhookMapper.xml
@@ -137,7 +137,7 @@ along with this program. If not, see .-->
#{type},
#{pipelineType},
#{buildNoPolicy},
- #{configStr},
+ #{configStr, typeHandler=CompressHandler},
NOW(),
#{lcu})
@@ -172,7 +172,7 @@ along with this program. If not, see .-->
`type` = #{type},
`pipeline_type` = #{pipelineType},
`build_no_policy` = #{buildNoPolicy},
- `config` = #{configStr},
+ `config` = #{configStr, typeHandler=CompressHandler},
`lcd` = NOW(3),
`lcu` = #{lcu}
where `id` = #{id}
@@ -200,4 +200,4 @@ along with this program. If not, see .-->
from deploy_job_webhook_app_module
where webhook_id = #{value}
-
\ No newline at end of file
+
diff --git a/src/main/java/neatlogic/module/deploy/dao/mapper/DeployScheduleMapper.xml b/src/main/java/neatlogic/module/deploy/dao/mapper/DeployScheduleMapper.xml
index dac88fd559c04f41f5c282fcdc8d69dd43d9b7b6..0d42e09636bf0c95ca7e28c0d65dbd9478396698 100644
--- a/src/main/java/neatlogic/module/deploy/dao/mapper/DeployScheduleMapper.xml
+++ b/src/main/java/neatlogic/module/deploy/dao/mapper/DeployScheduleMapper.xml
@@ -219,7 +219,7 @@ along with this program. If not, see .-->
#{endTime},
#{cron},
#{isActive},
- #{configStr},
+ #{configStr, typeHandler=CompressHandler},
NOW(3),
#{fcu},
NOW(3),
@@ -239,7 +239,7 @@ along with this program. If not, see .-->
`end_time` = #{endTime},
`cron` = #{cron},
`is_active` = #{isActive},
- `config` = #{configStr},
+ `config` = #{configStr, typeHandler=CompressHandler},
`lcd` = NOW(3),
`lcu` = #{lcu}
WHERE `id` = #{id}
@@ -254,4 +254,4 @@ along with this program. If not, see .-->
DELETE FROM `deploy_schedule` WHERE `id` = #{value}
-
\ No newline at end of file
+
diff --git a/src/main/java/neatlogic/module/deploy/dao/mapper/DeployVersionMapper.xml b/src/main/java/neatlogic/module/deploy/dao/mapper/DeployVersionMapper.xml
index acb8a98695557d70dcc39484e2d7398fe7b71f81..a0b00c84a485bc8103037e683433ba592a730d31 100644
--- a/src/main/java/neatlogic/module/deploy/dao/mapper/DeployVersionMapper.xml
+++ b/src/main/java/neatlogic/module/deploy/dao/mapper/DeployVersionMapper.xml
@@ -955,7 +955,7 @@ along with this program. If not, see .-->
runner_map_id = #{runnerMapId},
- runner_group = #{runnerGroupStr},
+ runner_group = #{runnerGroupStr, typeHandler=CompressHandler},
@@ -979,7 +979,7 @@ along with this program. If not, see .-->
runner_map_id = #{runnerMapId},
- runner_group = #{runnerGroupStr},
+ runner_group = #{runnerGroupStr, typeHandler=CompressHandler},
end_rev = #{endRev},
@@ -1001,7 +1001,7 @@ along with this program. If not, see .-->
runner_map_id = #{runnerMapId},
- runner_group = #{runnerGroupStr},
+ runner_group = #{runnerGroupStr, typeHandler=CompressHandler},
build_no = #{buildNo},
@@ -1084,7 +1084,7 @@ along with this program. If not, see .-->
#{version},
#{appSystemId},
#{appModuleId},
- #{description},
+ #{description, typeHandler=CompressHandler},
#{isFreeze},
#{repoType},
@@ -1114,7 +1114,7 @@ along with this program. If not, see .-->
#{runnerMapId},
- #{runnerGroupStr},
+ #{runnerGroupStr, typeHandler=CompressHandler},
#{compileSuccessCount},
@@ -1145,7 +1145,7 @@ along with this program. If not, see .-->
#{jobId},
#{status},
#{runnerMapId},
- #{runnerGroupStr},
+ #{runnerGroupStr, typeHandler=CompressHandler},
#{buildNo},
#{isMirror},
#{lcu},
@@ -1179,7 +1179,7 @@ along with this program. If not, see .-->
#{runnerMapId},
- #{runnerGroupStr},
+ #{runnerGroupStr, typeHandler=CompressHandler},
#{endRev},
@@ -1194,7 +1194,7 @@ along with this program. If not, see .-->
`runner_map_id` = #{runnerMapId},
- `runner_group` = #{runnerGroupStr},
+ `runner_group` = #{runnerGroupStr, typeHandler=CompressHandler},
`end_rev` = #{endRev},
@@ -1373,7 +1373,7 @@ along with this program. If not, see .-->
#{reopenedIssues},
#{wontFixIssues},
#{alertStatus},
- #{qualityGateDetails},
+ #{qualityGateDetails, typeHandler=CompressHandler},
#{newMaintainabilityRating})
@@ -1549,9 +1549,9 @@ along with this program. If not, see .-->
insert into deploy_version_thead ( `config`,`user_uuid`)
- values (#{configStr}, #{userUuid})
+ values (#{configStr, typeHandler=CompressHandler}, #{userUuid})
ON DUPLICATE KEY
- UPDATE `config` = #{configStr}
+ UPDATE `config` = #{configStr, typeHandler=CompressHandler}