Skip to content

Latest commit

 

History

History
448 lines (438 loc) · 31.2 KB

CODELINES.md

File metadata and controls

448 lines (438 loc) · 31.2 KB

Generated by tools/gen-codelines-md.py

Code Lines

Code line count in DataFlux Func project.

Total

Total Lines
111,288

By Type

Type Lines
js 39,100
vue 34,223
py 18,679
yaml 12,286
css 2,433
ejs 1,420
sh 1,344
md 658
go 519
json 264
yml 122
txt 83
tpl 62
html 62
service 33

By Folder

Folder Lines
client 43,728
server 41,665
worker 14,617
. 3,552
test 1,931
sdk 1,735
charts 1,734
tools 1,093
portable 1,006
init-scripts 205
db 22

By File

File Lines
server/route.yaml 7,625
worker/tasks/func/__init__.py 2,819
server/utils/toolkit.js 2,653
server/controllers/mainAPICtrl.js 2,342
server/controllers/scriptMarketAPICtrl.js 2,200
client/src/toolkit.js 2,005
client/src/components/Development/CodeEditor.vue 1,842
server/utils/extraHelpers/redisHelper.js 1,655
worker/tasks/internal.py 1,625
client/src/components/Development/AsideScript.vue 1,623
client/src/components/ScriptMarket/ScriptMarketContents.vue 1,608
upgrade-info.yaml 1,543
client/src/components/Development/ConnectorSetup.vue 1,485
client/src/components/Blueprint/BlueprintCanvas.vue 1,459
server/utils/modelHelper.js 1,381
client/src/const.js 1,370
server/utils/extraHelpers/sqlBuilder.js 1,332
server/views/setup.ejs 1,317
client/src/components/Development/ConnectorSimpleGUIWindow.vue 1,312
client/src/App.vue 1,209
client/public/theme-auto.css 1,201
server/setup.js 1,046
worker/utils/toolkit.py 1,042
client/src/components/Management/CronJobSetup.vue 1,026
server/models/scriptSetMod.js 1,008
worker/utils/extra_helpers/sql_builder.py 1,003
client/public/theme-dark.css 994
server/controllers/scriptSetAPICtrl.js 889
server/controllers/indexAPICtrl.js 877
worker/utils/extra_helpers/redis_helper.py 851
client/src/components/Management/FileManage.vue 780
worker/utils/extra_helpers/datakit.py 759
server/utils/responseInitialize.js 754
client/src/components/Management/CronJobList.vue 747
client/src/components/Development/CodeViewer.vue 700
server/guanceWebSocket.js 671
client/src/components/Management/SystemMetrics.vue 662
client/src/store/index.js 658
server/utils/routeLoader.js 657
client/src/components/Management/Overview.vue 651
worker/tasks/__init__.py 648
client/src/components/APIExampleDialog.vue 610
client/src/components/Management/TaskRecordFuncList.vue 606
server/controllers/blueprintAPICtrl.js 605
client/src/components/Management/SystemSetting.vue 597
client/src/components/Management/SyncAPISetup.vue 590
client/src/assets/yaml/locales.yaml 575
server/utils/extraHelpers/postgresqlHelper.js 571
client/src/components/ScriptMarket/ScriptMarketSetup.vue 552
server/utils/extraHelpers/mysqlHelper.js 548
client/src/components/Management/APIAuthSetup.vue 546
server/controllers/connectorAPICtrl.js 529
client/src/components/Development/AsideConnector.vue 529
portable/run-portable.sh 526
client/src/views/Index.vue 522
client/src/common.js 509
client/src/components/ScriptMarket/ScriptMarketList.vue 509
sdk/dataflux_func_sdk.js 502
client/src/components/Management/AsyncAPISetup.vue 492
client/src/components/Management/PIPTool.vue 480
client/src/components/Development/Intro.vue 479
client/src/components/Development/AsideEnvVariable.vue 472
client/src/components/Management/SyncAPIList.vue 459
worker/utils/extra_helpers/mysql_helper.py 458
client/src/components/Development/ScriptSetup.vue 457
client/src/components/Management/AsyncAPIList.vue 449
config.yaml 448
server/utils/logHelper.js 446
sdk/dataflux_func_sdk/dataflux_func_sdk.go 435
worker/utils/extra_helpers/postgresql_helper.py 431
client/src/components/Management/About.vue 428
sdk/dataflux_func_sdk.py 409
client/src/components/Management/ScriptSetExport.vue 404
server/app.js 401
worker/tasks/cron_job_starter.py 401
test/test_auth_link.py 401
test/test_sync_api.py 401
server/appInit.js 391
worker/tasks/func/runner.py 390
server/controllers/cronJobAPICtrl.js 377
server/controllers/scriptAPICtrl.js 371
client/src/components/Development/ScriptSetLockConfig.vue 361
server/middlewares/builtinAuthMid.js 356
client/src/router/index.js 353
client/src/components/Development/ScriptLockConfig.vue 350
server/utils/common.js 344
server/models/monitorMod.js 341
worker/utils/log_helper.py 340
client/src/components/Development/ScriptSetSetup.vue 337
server/sub.js 335
server/controllers/resourceAPICtrl.js 332
test/__init__.py 330
client/src/components/Navi.vue 324
client/src/components/Management/FileServiceSetup.vue 312
server/utils/auth.js 309
server/messageHandlers/socketIOHandler.js 304
server/models/scriptMod.js 303
admin-tool.py 293
client/src/components/Management/ExperimentalFeatures.vue 292
client/src/components/Setting/PasswordSetup.vue 291
client/src/components/Development/QuickViewWindow.vue 291
tools/gen-opensource-md.py 282
client/src/components/Development/EnvVariableSetup.vue 279
worker/__init__.py 278
server/controllers/funcCacheAPICtrl.js 277
portable/docker-stack.example.yaml 276
server/controllers/authAPICtrl.js 264
client/src/components/Management/UserList.vue 264
client/src/components/Management/APIAuthList.vue 262
client/src/components/Management/ScriptSetImport.vue 261
client/src/components/Management/OperationRecordList.vue 261
client/src/components/Management/FuncCacheManage.vue 259
server/controllers/syncAPICtrl.js 258
server/controllers/asyncAPICtrl.js 258
server/utils/yamlResources.js 258
client/src/views/Management.vue 258
client/src/components/Management/UserSetup.vue 255
client/src/components/Management/FileServiceList.vue 254
server/models/funcMod.js 252
client/src/components/Management/FuncStoreManage.vue 250
client/src/components/Blueprint/BlueprintSetup.vue 246
client/src/components/Management/AbnormalRequestList.vue 245
charts/func/values.yaml 243
worker/utils/extra_helpers/__init__.py 243
server/controllers/pythonPackageAPICtrl.js 242
tools/aliyun_sdk.py 238
server/utils/extraHelpers/kafkaHelper.js 230
client/src/views/FuncAPIDoc.vue 227
worker/utils/extra_helpers/influxdb_helper.py 225
server/models/scriptMarketMod.js 224
client/src/main.js 216
client/src/components/Management/AccessKeyList.vue 215
client/src/components/Blueprint/BlueprintList.vue 215
client/src/components/Setting/ClearCache.vue 206
worker/utils/extra_helpers/aliyun_sls_helper.py 204
client/public/theme-light.css 202
client/src/components/Management/ScriptRecoverPointList.vue 199
server/models/apiAuthMod.js 196
client/src/views/Development.vue 196
worker/utils/yaml_resources.py 195
client/src/views/FuncDoc.vue 193
server/models/connectorMod.js 192
tools/gen-codelines-md.py 192
worker/utils/extra_helpers/oracle_database_helper.py 192
worker/utils/extra_helpers/sqlserver_helper.py 189
server/utils/extraHelpers/mqttHelper.js 187
client/src/components/Management/ScriptSetExportHistoryList.vue 186
client/src/components/Management/ScriptSetImportHistoryList.vue 186
worker/beat.py 186
client/src/components/Development/CodeEditorSetting.vue 184
client/src/assets/js/dff-anyword.js 179
client/src/components/Management/SystemLogs.vue 178
server/controllers/userAPICtrl.js 177
server/models/operationRecordMod.js 175
tools/gen-zht.py 174
server/controllers/debugAPICtrl.js 172
portable/download-portable.sh 171
charts/func/README.md 169
worker/utils/extra_helpers/ding_helper.py 166
server/models/syncAPIMod.js 164
client/src/components/Setting/ProfileSetup.vue 164
server/models/accessKeyMod.js 163
server/models/cronJobMod.js 157
server/models/asyncAPIMod.js 155
worker/utils/extra_helpers/nsqlookupd_helper.py 155
server/guanceDataSource.yaml 153
worker/utils/extra_helpers/guance_openapi.py 152
sdk/README.zh.md 147
sdk/README.en.md 147
server/models/taskRecordFuncMod.js 145
worker/utils/extra_helpers/prometheus_helper.py 145
server/models/scriptRecoverPointMod.js 144
server/utils/captcha.js 144
client/src/pathTool.js 144
server/models/envVariableMod.js 143
client/src/components/JSONViewerDialog.vue 141
client/src/components/TimeDuration.vue 141
tools/gen-latest-ddl-postgresql.py 141
server/controllers/envVariableAPICtrl.js 140
const.yaml 139
server/utils/extraHelpers/fileSystemHelper.js 138
client/src/components/FeatureNoticeDialog.vue 137
client/src/components/Management/ScriptRecoverPointAdd.vue 137
client/src/components/FuncInfo.vue 135
server/routers/mainAPIRouter.js 133
client/src/components/Management/AccessKeySetup.vue 130
client/src/assets/yaml/messages.yaml 129
guance-node-urls.json 128
server/models/userMod.js 128
server/models/systemSettingMod.js 125
worker/utils/extra_helpers/sidecar_helper.py 123
charts/func/questions.yml 122
worker/utils/extra_helpers/shell_helper.py 121
server/models/blueprintMod.js 120
server/utils/requestValidator.js 119
worker/app.py 117
test/datakit.py 115
client/src/components/LongTextDialog.vue 112
worker/utils/extra_helpers/clickhouse_helper.py 108
client/src/components/CopyButton.vue 107
deploy-saas.sh 104
client/src/components/FuzzySearchInput.vue 104
worker/tasks/func/debugger.py 104
server/controllers/operationRecordAPICtrl.js 103
worker/utils/extra_helpers/dataway.py 103
mysql-tool.sh 101
server/privilege.yaml 101
test/test_api_auth.py 101
server/utils/extraHelpers/socketIOServerHelper.js 100
init-scripts/install_official_core_script_sets.py 100
test/test_script.py 99
server/models/fileServiceMod.js 98
client/src/components/Logo.vue 98
client/src/views/SignOut.vue 97
charts/func/templates/server.yaml 96
redis-tool.sh 95
client/src/views/Setting.vue 91
server/controllers/fileServiceAPICtrl.js 90
charts/func/templates/worker-0.yaml 90
server/middlewares/operationRecordMid.js 89
charts/func/templates/mysql.yaml 87
client/src/components/GotoFuncButton.vue 87
worker/utils/extra_helpers/memcached_helper.py 85
worker/utils/extra_helpers/mongodb_helper.py 85
worker/utils/extra_helpers/mqtt_helper.py 85
sdk/dataflux_func_sdk_demo.go 84
server/utils/requestDumper.js 84
charts/func/templates/redis.yaml 84
server/models/scriptSetExportHistoryMod.js 83
server/models/scriptSetImportHistoryMod.js 83
worker/utils/extra_helpers/elasticsearch_helper.py 82
charts/func/templates/worker-1.yaml 81
charts/func/templates/worker-2.yaml 81
charts/func/templates/worker-3.yaml 81
charts/func/templates/worker-6.yaml 80
charts/func/templates/worker-5.yaml 80
server/utils/uploads.js 79
worker/utils/extra_helpers/kafka_helper.py 79
worker/app_init.py 77
charts/func/templates/beat.yaml 76
client/src/components/CaptchaImage.vue 74
worker/utils/extra_helpers/guance_helper.py 74
README.md 73
server/controllers/tempFlagAPICtrl.js 73
client/src/views/Dream.vue 71
server/models/funcStoreMod.js 67
server/utils/extraHelpers/dingTalkRobotHelper.js 67
test/test_async_api.py 65
test/test_batch.py 65
package.json 63
server/models/scriptPublishHistoryMod.js 63
worker/utils/extra_helpers/dataway_helper.py 63
test/test_user.py 63
server/utils/serverError.js 62
charts/func/templates/_helpers.tpl 62
client/public/index.html 62
charts/func/app-readme.md 61
script-example.py 60
server/controllers/systemSettingAPICtrl.js 60
charts/func/templates/ingress.yaml 60
worker/utils/extra_helpers/file_system_helper.py 60
worker/utils/extra_helpers/datakit_helper.py 60
init-scripts/add_local_datakit.py 60
client/vue.config.js 59
postgresql-tool.sh 58
server/controllers/taskRecordFuncAPICtrl.js 58
server/routers/indexAPIRouter.js 55
client/src/components/Blueprint/Nodes/BaseLine.js 55
tools/cdn-refresh-tool.py 55
server/views/file-service.ejs 54
client/package.json 53
client/src/components/Pager.vue 53
client/src/components/Blueprint/Nodes/SwitchLine.js 53
client/src/components/ImageDialog.vue 52
test/test_crontab_config.py 52
test/test_cron_job.py 52
server/routers/scriptMarketAPIRouter.js 51
client/src/components/InfoBlock.vue 51
server/views/error.ejs 49
client/src/components/Blueprint/Nodes/BuiltinRandomNode.js 49
client/src/components/PageLoading.vue 48
release.sh 47
client/src/i18n.js 47
server/controllers/scriptRecoverPointAPICtrl.js 46
server/controllers/funcAPICtrl.js 46
client/src/components/Blueprint/Nodes/BaseNode.js 46
client/src/components/Blueprint/Nodes/BuiltinBase64Node.js 45
client/src/components/Blueprint/Nodes/BuiltinJSONNode.js 45
client/src/components/Blueprint/Nodes/BuiltinYAMLNode.js 45
client/src/components/Blueprint/Nodes/BuiltinDingTalkNode.js 45
init-scripts/import_builtin_script_sets.py 45
test/sample_code.py 45
requirements.txt 43
server/routers/scriptSetAPIRouter.js 43
client/src/components/RelativeDateTime.vue 43
_config.py 42
echo-image-info.py 41
server/controllers/monitorAPICtrl.js 40
server/routers/crontabConfigAPIRouter.js 40
server/routers/cronJobAPIRouter.js 39
client/src/thanks.js 39
client/src/components/Blueprint/Nodes/BuiltinHashNode.js 39
client/src/components/Blueprint/Nodes/BuiltinHTTPNode.js 39
test/test_env_variable.py 39
server/models/taskRecordMod.js 38
server/controllers/apiAuthAPICtrl.js 38
test/test_script_set.py 37
server/routers/authLinkAPIRouter.js 36
server/routers/batchAPIRouter.js 36
server/utils/apiDelay.js 36
client/src/assets/css/dff-hint.css 36
run-worker.sh 35
server/routers/syncAPIRouter.js 35
server/routers/asyncAPIRouter.js 35
charts/func/Chart.yaml 35
test/README.md 35
_check_setup.py 34
run-server.sh 33
server/routers/authAPIRouter.js 33
client/src/components/Blueprint/Nodes/FuncNode.js 33
client/src/components/Blueprint/Nodes/SwitchNode.js 33
client/src/components/Blueprint/Nodes/EntryNode.js 33
client/src/components/Blueprint/Nodes/CodeNode.js 33
worker/utils/extra_helpers/http_helper.py 33
worker/tasks/example.py 33
portable/docker.service 33
server/routers/connectorAPIRouter.js 31
server/routers/accessKeyAPIRouter.js 31
server/controllers/accessKeyAPICtrl.js 30
build-charts.sh 29
server/routers/resourceAPIRouter.js 28
server/utils/favicon.js 28
charts/func/templates/user-config-configmap.yaml 28
client/src/components/HelloWorld.vue 28
server/routers/debugAPIRouter.js 27
server/routers/blueprintAPIRouter.js 27
server/routers/scriptAPIRouter.js 27
server/routers/userAPIRouter.js 27
worker/utils/colors.py 27
test/test_access_key.py 27
run-beat.sh 26
pre-run-scripts.sh 25
server/routers/pythonPackageAPIRouter.js 25
server/controllers/funcStoreAPICtrl.js 23
server/routers/envVariableAPIRouter.js 23
server/routers/apiAuthAPIRouter.js 23
server/routers/fileServiceAPIRouter.js 23
charts/func/templates/NOTES.txt 23
charts/func/templates/server-svc.yaml 22
db/db-dump-tool.sh 22
client/README.md 21
server/controllers/scriptSetExportHistoryAPICtrl.js 20
server/controllers/taskRecordAPICtrl.js 20
server/controllers/scriptPublishHistoryAPICtrl.js 20
server/controllers/scriptSetImportHistoryAPICtrl.js 20
server/routers/scriptRecoverPointAPIRouter.js 20
server/routers/funcCacheAPIRouter.js 19
server/routers/tempFlagAPIRouter.js 19
server/routers/funcStoreAPIRouter.js 19
server/routers/systemSettingAPIRouter.js 19
client/src/components/Blueprint/Nodes/BaseHalfNode.js 19
charts/func/templates/mysql-pvc.yaml 18
client/src/preventReClick.js 18
charts/func/templates/redis-pvc.yaml 17
client/src/components/Blueprint/Nodes/SimpleLine.js 16
server/routers/taskRecordFuncAPIRouter.js 15
server/routers/monitorAPIRouter.js 15
charts/func/templates/tests/test-connection.yaml 15
build-client.sh 14
charts/func/templates/resources.yaml 14
gen-localhost-auth-token.sh 12
blueprint-example.json 11
sdk/run-tests.sh 11
server/routers/operationRecordAPIRouter.js 11
server/routers/scriptSetExportHistoryAPIRouter.js 11
server/routers/funcAPIRouter.js 11
server/routers/taskRecordAPIRouter.js 11
server/routers/scriptSetImportHistoryAPIRouter.js 11
server/routers/scriptPublishHistoryAPIRouter.js 11
run-client-dev.sh 9
image-info.json 9
charts/func/templates/redis-cm.yaml 9
run-base.sh 8
tools/requirements.txt 8
server/monkeyPatch.js 7
requirements-test.txt 6
run-test.sh 6
run-worker-by-queue.sh 5
CHANGE_LOG.md 5
client/babel.config.js 5
docker-entrypoint.sh 4
test/conftest.py 4
clear-pyc.sh 3
tools/requirements-ci.txt 3
client/src/components/Blueprint/Nodes/common.js 2
worker/utils/__init__.py 1