Skip to content

Commit

Permalink
feat:定时触发器支持设置启动变量 TencentBlueKing#10617
Browse files Browse the repository at this point in the history
  • Loading branch information
hejieehe committed Dec 4, 2024
1 parent 132556e commit c401bf7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ data class SchedulesRule(
@JsonIgnore
var advanceExpression: List<String>? = null,
@get:Schema(title = "start-params")
@JsonProperty("start-params")
val startParams: Map<String, String>? = null
) {
data class Interval(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@
},
"always" : {
"type" : "boolean"
},
"start-params" : {
"type" : "object"
}
}
}
Expand Down Expand Up @@ -374,6 +377,9 @@
},
"always" : {
"type" : "boolean"
},
"start-params" : {
"type" : "object"
}
}
} ]
Expand Down Expand Up @@ -1009,6 +1015,9 @@
},
"always" : {
"type" : "boolean"
},
"start-params" : {
"type" : "object"
}
}
}
Expand Down Expand Up @@ -1065,6 +1074,9 @@
},
"always" : {
"type" : "boolean"
},
"start-params" : {
"type" : "object"
}
}
} ]
Expand Down

0 comments on commit c401bf7

Please sign in to comment.