summaryrefslogtreecommitdiff
path: root/groot-common
diff options
context:
space:
mode:
authordoufenghu <[email protected]>2024-11-06 09:39:06 +0800
committerdoufenghu <[email protected]>2024-11-06 09:39:06 +0800
commit625b40a8b0618eddc5eb9aab0f04eb9bc9d6b489 (patch)
tree074b9694c0843448ddd619f2df43249724bffe5b /groot-common
parent696802a16602a54604373d529e0cdf0ffaa3afab (diff)
[Improve][HMAC] A nullable value not output an HMAC value.
Diffstat (limited to 'groot-common')
-rw-r--r--groot-common/src/main/java/com/geedgenetworks/common/config/UDFContextConfigOptions.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/groot-common/src/main/java/com/geedgenetworks/common/config/UDFContextConfigOptions.java b/groot-common/src/main/java/com/geedgenetworks/common/config/UDFContextConfigOptions.java
index 92417da..87bbf36 100644
--- a/groot-common/src/main/java/com/geedgenetworks/common/config/UDFContextConfigOptions.java
+++ b/groot-common/src/main/java/com/geedgenetworks/common/config/UDFContextConfigOptions.java
@@ -49,6 +49,11 @@ public interface UDFContextConfigOptions {
.noDefaultValue()
.withDescription("The identifier for the parameters of function.");
+ Option<String> PARAMETERS_SECRET_KEY = Options.key("secret_key")
+ .stringType()
+ .noDefaultValue()
+ .withDescription("The secret key for the function.");
+
Option<String> FUNCTION = Options.key("function")
.stringType()
.noDefaultValue()