Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jz-dmp-cmdexectool
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姚本章
jz-dmp-cmdexectool
Commits
94fc3085
Commit
94fc3085
authored
Mar 10, 2021
by
sml
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码提交
parent
512bdbc5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
SqlParameters.java
.../cmdexectool/scheduler/common/task/sql/SqlParameters.java
+1
-1
sink_api.ftl
src/main/resources/templates/sink_api.ftl
+3
-0
sink_kafka.ftl
src/main/resources/templates/sink_kafka.ftl
+3
-0
No files found.
src/main/java/com/jz/dmp/cmdexectool/scheduler/common/task/sql/SqlParameters.java
View file @
94fc3085
...
@@ -210,7 +210,7 @@ public class SqlParameters extends AbstractParameters {
...
@@ -210,7 +210,7 @@ public class SqlParameters extends AbstractParameters {
sinkApiModel
.
put
(
"method"
,
apiObj
.
getString
(
"method"
));
sinkApiModel
.
put
(
"method"
,
apiObj
.
getString
(
"method"
));
sinkApiModel
.
put
(
"signType"
,
apiObj
.
getString
(
"signType"
));
sinkApiModel
.
put
(
"signType"
,
apiObj
.
getString
(
"signType"
));
sinkApiModel
.
put
(
"authCode"
,
apiObj
.
getString
(
"authCode"
));
sinkApiModel
.
put
(
"authCode"
,
apiObj
.
getString
(
"authCode"
));
sinkApiModel
.
put
(
"s
lat"
,
apiObj
.
getString
(
"sla
t"
));
sinkApiModel
.
put
(
"s
alt"
,
apiObj
.
getString
(
"sal
t"
));
sink
=
FreeMarkerUtils
.
freemakerJson
(
CommConstant
.
WATERDROP_FTL_SINK_API
,
sinkApiModel
,
freeMarkerConfig
);
sink
=
FreeMarkerUtils
.
freemakerJson
(
CommConstant
.
WATERDROP_FTL_SINK_API
,
sinkApiModel
,
freeMarkerConfig
);
}
}
...
...
src/main/resources/templates/sink_api.ftl
View file @
94fc3085
Api {
Api {
<#if source_table_name??>
source_table_name="${source_table_name!}"
</#if>
<#if url??>
<#if url??>
url = "${url!}"
url = "${url!}"
</#if>
</#if>
...
...
src/main/resources/templates/sink_kafka.ftl
View file @
94fc3085
Kafka {
Kafka {
<#if source_table_name??>
source_table_name="${source_table_name!}"
</#if>
<#if topic??>
<#if topic??>
# Kafka 主题
# Kafka 主题
topic = "${topic!}"
topic = "${topic!}"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment