1 Star 9 Fork 1

DataFlux / dataflux-func

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
const.yaml 4.22 KB
一键复制 编辑 原始数据 按行查看 历史
respCodeMap:
OK : 200
EUser : 400.10 ## Common user operation error.
EUserPassword : 400.12 # Invalid username or password
EUserCaptcha : 400.13 # Wrong captcha
EUserAuth : 401.14 # Not signed in or x-auth-token is not sent.
EUserPrivilege : 401.15 # No privilege to execute current operation.
EUserDisabled : 401.16 # User is disabled.
EUserLocked : 401.17 # User is locked.
EBiz : 403.20 ## Common business error.
EBizCondition : 403.21 # Condition is not satisfied.
EBizNotOwner : 403.22 # Try to access data belongs to others.
EBizBadData : 403.23 # Bad data found.
EBizBadDataStatus : 403.24 # Bad status found.
EBizRequestConflict : 409.25 # Request conflict.
EClient : 400.40 ## Common client error.
EClientNotFound : 404.41 # No such data.
EClientDuplicated : 409.42 # Duplicated request.
EClientBadRequest : 400.43 # Bad request.
EClientUnsupported : 400.44 # Unsupported operation.
EClientIP : 400.45 # Bad client IP.
EClientRateLimit : 429.46 # Reach rate limit
ESys : 500.50 ## Common system error.
ESysWebServer : 500.51 # Web server error.
ESysDB : 500.52 # DB error.
ESysCache : 500.53 # Cache error.
ESysLimitReached : 503.10 # Limit reached error.
ESysAsyncTaskFailed : 503.20 # Async task failed error.
ESysAsyncTaskTimeout: 503.21 # Async task timeout error.
ESysNetwork : 503.22 # Network error.
EOuterSystem : 500.60 ## Common outer system error.
EOuterSystemNotFound: 500.61 # No such data in outer system.
ENotImplemented : 500.98 # Not implemented
EAssert : 500.99 # For Assert
EAPIAuth : 401.99 # API 认证失败
EScriptPublishFailed : 400.90 # 脚本发布失败
EStartupScriptDeployFailed: 400.91 # 启动脚本部署失败
EBlueprintDeployFailed : 400.92 # 蓝图部署失败
EFuncFailed : 599.10 # 函数执行失败
EFuncTimeout : 599.20 # 函数执行超时
EFuncResultParsingFailed : 599.98 # 函数返回值无法解析
EWorkerNoResponse : 599.99 # 工作单元无响应
# File icon for extension
fileIcon:
apk : android
pdf : file-pdf-o
7z : file-zip-o
zip : file-zip-o
rar : file-zip-o
txt : file-text-o
doc : file-word-o
docx: file-word-o
xls : file-excel-o
xlsx: file-excel-o
ppt : file-powerpoint-o
pptx: file-powerpoint-o
jpg : file-image-o
jpeg: file-image-o
bmp : file-image-o
png : file-image-o
gif : file-image-o
avi : file-video-o
mp4 : file-video-o
mov : file-video-o
wav : ile-audio-o
json: file-code-o
xml : file-code-o
csv : file-code-o
# System Settings and defaults
systemSettings:
# DataFlux Func ID
DATAFLUX_FUNC_ID: null
# 是否启用自定义网站标题
CUSTOM_SITE_TITLE_ENABLED: false
# 自定义网站标题文案
CUSTOM_SITE_TITLE_TEXT: null
# 是否启用自定义网站 favicon
CUSTOM_FAVICON_ENABLED: false
# 自定义网站 favicon 数据(Base64)
CUSTOM_FAVICON_IMAGE_SRC: null
# 是否启用自定义网站 Logo
CUSTOM_LOGO_ENABLED: false
# 自定义网站 Logo 数据(Base64)
CUSTOM_LOGO_IMAGE_SRC: null
# 是否启用提示栏
NOTICE_BAR_ENABLED: false
# 提示栏文案
NOTICE_BAR_TEXT: null
# 提示栏颜色
NOTICE_BAR_COLOR: '#FF6600'
# 是否启用导航栏文档链接
NAVI_DOC_LINK_ENABLED: true
# 导航文档地址
NAVI_DOC_LINK_URL: 'https://func.guance.com/#/doc-index'
# 是否启用本地函数任务记录
LOCAL_FUNC_TASK_RECORD_ENABLED: true
# 是否启用观测云数据上传
GUANCE_DATA_UPLOAD_ENABLED: false
# 观测云数据上传地址
GUANCE_DATA_UPLOAD_URL: null
# 观测云数据上传附带的 tags.site_name
GUANCE_DATA_SITE_NAME: null
# 是否启用官方脚本市场
OFFICIAL_SCRIPT_MARKET_ENABLED: true
# 脚本集隐藏
SCRIPT_SET_HIDDEN_OFFICIAL_SCRIPT_MARKET: true
SCRIPT_SET_HIDDEN_BUILTIN : true
SCRIPT_SET_HIDDEN_BLUEPRINT : true
# Temporary Flags
tempFlags:
- restartAllServers
- restartAllWorkersAndBeat
- pauseAllCrontabConfigs
1
https://gitee.com/dataflux/dataflux-func.git
git@gitee.com:dataflux/dataflux-func.git
dataflux
dataflux-func
dataflux-func
dev

搜索帮助