diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 28487e19e3..5533c30503 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -23,15 +23,15 @@ on: - dev paths: - '.github/workflows/frontend.yml' - - 'dolphinscheduler-ui-next/**' + - 'dolphinscheduler-ui/**' pull_request: paths: - '.github/workflows/frontend.yml' - - 'dolphinscheduler-ui-next/**' + - 'dolphinscheduler-ui/**' defaults: run: - working-directory: dolphinscheduler-ui-next + working-directory: dolphinscheduler-ui concurrency: group: frontend-${{ github.event.pull_request.number || github.ref }} diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 985ebfb404..b32fc5f6c6 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -23,7 +23,6 @@ on: paths-ignore: - '**/*.md' - 'dolphinscheduler-ui' - - 'dolphinscheduler-ui-next' - 'dolphinscheduler-python/pydolphinscheduler' branches: - dev @@ -93,7 +92,7 @@ jobs: -Dsonar.core.codeCoveragePlugin=jacoco -Dsonar.projectKey=apache-dolphinscheduler -Dsonar.login=e4058004bc6be89decf558ac819aa1ecbee57682 - -Dsonar.exclusions=dolphinscheduler-ui/src/**/i18n/locale/*.js,dolphinscheduler-ui-next/src/**/i18n/locale/*.js,dolphinscheduler-microbench/src/**/* + -Dsonar.exclusions=,dolphinscheduler-ui/src/**/i18n/locale/*.js,dolphinscheduler-microbench/src/**/* -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index 765259a5b0..2452b3ecc1 100644 --- a/.gitignore +++ b/.gitignore @@ -45,7 +45,6 @@ dolphinscheduler-alert/src/main/resources/logback.xml dolphinscheduler-server/src/main/resources/logback.xml dolphinscheduler-ui/dist dolphinscheduler-ui/node -dolphinscheduler-ui-next/node dolphinscheduler-common/sql dolphinscheduler-common/test dolphinscheduler-worker/logs diff --git a/docs/docs/en/development/development-environment-setup.md b/docs/docs/en/development/development-environment-setup.md index 02e4058e23..a270b8e5c4 100644 --- a/docs/docs/en/development/development-environment-setup.md +++ b/docs/docs/en/development/development-environment-setup.md @@ -55,7 +55,7 @@ Find the class `org.apache.dolphinscheduler.server.StandaloneServer` in Intellij Install frontend dependencies and run it ```shell -cd dolphinscheduler-ui-next +cd dolphinscheduler-ui pnpm install pnpm run dev ``` @@ -152,7 +152,7 @@ There are three services that need to be started, including MasterServer, Worker Install frontend dependencies and run it ```shell -cd dolphinscheduler-ui-next +cd dolphinscheduler-ui pnpm install pnpm run dev ``` diff --git a/docs/docs/zh/development/development-environment-setup.md b/docs/docs/zh/development/development-environment-setup.md index 8a13d5a16b..f6dba9a6db 100644 --- a/docs/docs/zh/development/development-environment-setup.md +++ b/docs/docs/zh/development/development-environment-setup.md @@ -52,7 +52,7 @@ DolphinScheduler 开发环境配置有两个方式,分别是standalone模式 安装前端依赖并运行前端组件 ```shell -cd dolphinscheduler-ui-next +cd dolphinscheduler-ui pnpm install pnpm run dev ``` @@ -147,7 +147,7 @@ DolphinScheduler 的元数据存储在关系型数据库中,目前支持的关 安装前端依赖并运行前端组件 ```shell -cd dolphinscheduler-ui-next +cd dolphinscheduler-ui pnpm install pnpm run dev ``` diff --git a/dolphinscheduler-api/pom.xml b/dolphinscheduler-api/pom.xml index a047a33c25..b5dd813843 100644 --- a/dolphinscheduler-api/pom.xml +++ b/dolphinscheduler-api/pom.xml @@ -58,7 +58,7 @@ org.apache.dolphinscheduler - dolphinscheduler-ui-next + dolphinscheduler-ui diff --git a/dolphinscheduler-api/src/main/assembly/dolphinscheduler-api-server.xml b/dolphinscheduler-api/src/main/assembly/dolphinscheduler-api-server.xml index 3fe7fb705b..ed7d421009 100644 --- a/dolphinscheduler-api/src/main/assembly/dolphinscheduler-api-server.xml +++ b/dolphinscheduler-api/src/main/assembly/dolphinscheduler-api-server.xml @@ -56,7 +56,7 @@ conf - ${basedir}/../dolphinscheduler-ui-next/dist + ${basedir}/../dolphinscheduler-ui/dist ./ui diff --git a/dolphinscheduler-dist/pom.xml b/dolphinscheduler-dist/pom.xml index 1639ab7660..ba14b46576 100644 --- a/dolphinscheduler-dist/pom.xml +++ b/dolphinscheduler-dist/pom.xml @@ -58,7 +58,7 @@ org.apache.dolphinscheduler - dolphinscheduler-ui-next + dolphinscheduler-ui diff --git a/dolphinscheduler-dist/release-docs/LICENSE b/dolphinscheduler-dist/release-docs/LICENSE index 41ee59184a..30fb7ac3a5 100644 --- a/dolphinscheduler-dist/release-docs/LICENSE +++ b/dolphinscheduler-dist/release-docs/LICENSE @@ -554,6 +554,7 @@ CC0-1.0 licenses HdrHistogram 2.1.12: https://github.com/HdrHistogram/HdrHistogram , CC0-1.0 and BSD 2-Clause + ======================================================================== UI related licenses ======================================================================== @@ -561,52 +562,6 @@ UI related licenses The following components are used in UI.See project link for details. The text of each license is also included at licenses/ui-licenses/LICENSE-[project].txt. -======================================== -MIT licenses -======================================== - @form-create/element-ui 1.0.18: https://github.com/xaboy/form-create MIT - axios 0.16.2: https://github.com/axios/axios MIT - bootstrap 3.3.7: https://github.com/twbs/bootstrap MIT - canvg 1.5.1: https://github.com/canvg/canvg MIT - clipboard 2.0.1: https://github.com/zenorocha/clipboard.js MIT - codemirror 5.43.0: https://github.com/codemirror/CodeMirror MIT - dayjs 1.7.8: https://github.com/iamkun/dayjs MIT - element-ui 2.13.2: https://github.com/ElemeFE/element MIT - html2canvas 0.5.0-beta4: https://github.com/niklasvh/html2canvas MIT - jquery 3.3.1: https://github.com/jquery/jquery MIT - jquery-ui 1.12.1: https://github.com/jquery/jquery-ui MIT - js-cookie 2.2.1: https://github.com/js-cookie/js-cookie MIT - jsplumb 2.8.6: https://github.com/jsplumb/jsplumb MIT and GPLv2 - lodash 4.17.11: https://github.com/lodash/lodash MIT - moment-timezone 0.5.33: https://github.com/moment/moment-timezone MIT - vue-treeselect 0.4.0: https://github.com/riophae/vue-treeselect MIT - vue 2.5.17: https://github.com/vuejs/vue MIT - vue-router 2.7.0: https://github.com/vuejs/vue-router MIT - vuex 3.0.0: https://github.com/vuejs/vuex MIT - vuex-router-sync 4.1.2: https://github.com/vuejs/vuex-router-sync MIT - dagre 0.8.5: https://github.com/dagrejs/dagre MIT - js-cookie 3.0.1 https://github.com/js-cookie/js-cookie MIT - @types/js-cookie 3.0.1 https://github.com/DefinitelyTyped/DefinitelyTyped MIT - -======================================== -Apache 2.0 licenses -======================================== - echarts 4.1.0: https://github.com/apache/incubator-echarts Apache-2.0 - remixicon 2.5.0 https://github.com/Remix-Design/remixicon Apache-2.0 - -======================================== -BSD licenses -======================================== - d3 3.5.17: https://github.com/d3/d3 BSD-3-Clause - - -======================================================================== -UI-Next related licenses -======================================================================== - -The following components are used in UI-Next.See project link for details. -The text of each license is also included at licenses/ui-next-licenses/LICENSE-[project].txt. - ======================================== MIT licenses ======================================== @@ -660,7 +615,7 @@ BSD licenses ======================================================================== The following components are provided under a BSD license. See project link for details. -The text of each license is also included at licenses/ui-next-licenses/LICENSE-[project].txt. +The text of each license is also included at licenses/ui-licenses/LICENSE-[project].txt. qs 6.10.3: https://github.com/ljharb/qs BSD 3-Clause @typescript-eslint/eslint-plugin 5.12.1: https://github.com/typescript-eslint/typescript-eslint BSD 2-clause @typescript-eslint/parser 5.12.1: https://github.com/typescript-eslint/typescript-eslint BSD 2-clause diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@antv-layout b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@antv-layout similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@antv-layout rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@antv-layout diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@antv-x6 b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@antv-x6 similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@antv-x6 rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@antv-x6 diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@form-create-element-ui b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@form-create-element-ui deleted file mode 100644 index 468a05fc1d..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@form-create-element-ui +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2018 xaboy - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@types-js-cookie b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@types-js-cookie similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@types-js-cookie rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@types-js-cookie diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@types-lodash b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@types-lodash similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@types-lodash rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@types-lodash diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@types-node b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@types-node similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@types-node rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@types-node diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@types-nprogress b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@types-nprogress similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@types-nprogress rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@types-nprogress diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@types-qs b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@types-qs similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@types-qs rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@types-qs diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@typescript-eslint-eslint-plugin b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@typescript-eslint-eslint-plugin similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@typescript-eslint-eslint-plugin rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@typescript-eslint-eslint-plugin diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@typescript-eslint-parser b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@typescript-eslint-parser similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@typescript-eslint-parser rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@typescript-eslint-parser diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@vitejs-plugin-vue b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@vitejs-plugin-vue similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@vitejs-plugin-vue rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@vitejs-plugin-vue diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@vitejs-plugin-vue-jsx b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@vitejs-plugin-vue-jsx similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@vitejs-plugin-vue-jsx rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@vitejs-plugin-vue-jsx diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@vueuse-core b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@vueuse-core similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-@vueuse-core rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-@vueuse-core diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-axios b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-axios index d2c1a12e4c..2d8d66aa4e 100644 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-axios +++ b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-axios @@ -1,4 +1,4 @@ -Copyright (c) 2014 Matt Zabriskie +Copyright (c) 2014-present Matt Zabriskie Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-bootstrap b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-bootstrap deleted file mode 100644 index a80e8c2b33..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-bootstrap +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2011-2016 Twitter, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-canvg b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-canvg deleted file mode 100644 index 40f19bd70a..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-canvg +++ /dev/null @@ -1,22 +0,0 @@ -Copyright (c) 2010-2011 Gabe Lerner (gabelerner@gmail.com) - http://code.google.com/p/canvg/ - - Permission is hereby granted, free of charge, to any person - obtaining a copy of this software and associated documentation - files (the "Software"), to deal in the Software without - restriction, including without limitation the rights to use, - copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the - Software is furnished to do so, subject to the following - conditions: - - The above copyright notice and this permission notice shall be - included in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT - HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-clipboard b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-clipboard deleted file mode 100644 index 153e3f61aa..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-clipboard +++ /dev/null @@ -1,8 +0,0 @@ -The MIT License (MIT) -Copyright © 2019 Zeno Rocha - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-codemirror b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-codemirror deleted file mode 100644 index 0fa30f7e5c..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-codemirror +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (C) 2017 by Marijn Haverbeke and others - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-d3 b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-d3 deleted file mode 100644 index a31bde4473..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-d3 +++ /dev/null @@ -1,26 +0,0 @@ -Copyright (c) 2010-2016, Michael Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* The name Michael Bostock may not be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL MICHAEL BOSTOCK BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY -OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, -EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-dagre b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-dagre deleted file mode 100644 index e3c8f95557..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-dagre +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2012-2014 Chris Pettitt - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-dart-sass b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-dart-sass similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-dart-sass rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-dart-sass diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-date-fns b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-date-fns similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-date-fns rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-date-fns diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-date-fns-tz b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-date-fns-tz similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-date-fns-tz rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-date-fns-tz diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-dayjs b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-dayjs deleted file mode 100644 index 4c15796322..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-dayjs +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2018 iamkun - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-echarts b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-echarts index 989e2c59e9..3baabfc921 100644 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-echarts +++ b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-echarts @@ -1,4 +1,4 @@ -Apache License + Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -198,4 +198,24 @@ Apache License distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file + limitations under the License. + + + + + +======================================================================== +Apache ECharts Subcomponents: + +The Apache ECharts project contains subcomponents with separate copyright +notices and license terms. Your use of the source code for these +subcomponents is also subject to the terms and conditions of the following +licenses. + +BSD 3-Clause (d3.js): +The following files embed [d3.js](https://github.com/d3/d3) BSD 3-Clause: + `/src/chart/treemap/treemapLayout.ts`, + `/src/chart/tree/layoutHelper.ts`, + `/src/chart/graph/forceHelper.ts`, + `/src/util/number.ts` +See `/licenses/LICENSE-d3` for details of the license. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-element-ui b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-element-ui deleted file mode 100644 index 4b275d033b..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-element-ui +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016-present ElemeFE - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-eslint b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-eslint similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-eslint rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-eslint diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-eslint-config-prettier b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-eslint-config-prettier similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-eslint-config-prettier rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-eslint-config-prettier diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-eslint-plugin-prettier b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-eslint-plugin-prettier similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-eslint-plugin-prettier rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-eslint-plugin-prettier diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-eslint-plugin-vue b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-eslint-plugin-vue similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-eslint-plugin-vue rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-eslint-plugin-vue diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-fira-code b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-fira-code similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-fira-code rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-fira-code diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-fira-sans b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-fira-sans similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-fira-sans rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-fira-sans diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-html2canvas b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-html2canvas deleted file mode 100644 index a73ffc9143..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-html2canvas +++ /dev/null @@ -1,22 +0,0 @@ -Copyright (c) 2012 Niklas von Hertzen - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-ibm-plex b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-ibm-plex similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-ibm-plex rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-ibm-plex diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-inter b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-inter similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-inter rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-inter diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-jquery b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-jquery deleted file mode 100644 index 3dd4e447a4..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-jquery +++ /dev/null @@ -1,36 +0,0 @@ -Copyright JS Foundation and other contributors, https://js.foundation/ - -This software consists of voluntary contributions made by many -individuals. For exact contribution history, see the revision history -available at https://github.com/jquery/jquery - -The following license applies to all parts of this software except as -documented below: - -==== - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -==== - -All files located in the node_modules and external directories are -externally maintained libraries used by this software which have their -own licenses; we recommend you read them, as their terms may differ from -the terms above. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-jquery-ui b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-jquery-ui deleted file mode 100644 index a685832390..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-jquery-ui +++ /dev/null @@ -1,43 +0,0 @@ -Copyright jQuery Foundation and other contributors, https://jquery.org/ - -This software consists of voluntary contributions made by many -individuals. For exact contribution history, see the revision history -available at https://github.com/jquery/jquery-ui - -The following license applies to all parts of this software except as -documented below: - -==== - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -==== - -Copyright and related rights for sample code are waived via CC0. Sample -code is defined as all source code contained within the demos directory. - -CC0: http://creativecommons.org/publicdomain/zero/1.0/ - -==== - -All files located in the node_modules and external directories are -externally maintained libraries used by this software which have their -own licenses; we recommend you read them, as their terms may differ from -the terms above. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-js-cookie b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-js-cookie index 69ed677563..3c581cad4e 100644 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-js-cookie +++ b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-js-cookie @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file +SOFTWARE. diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-jsplumb b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-jsplumb deleted file mode 100644 index f48895213d..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-jsplumb +++ /dev/null @@ -1,305 +0,0 @@ -All 1.x.x and 2.x.x versions of jsPlumb Community edition are dual-licensed -under both MIT and GPLv2. - - MIT LICENSE - -Copyright (c) 2010 - 2014 jsPlumb, http://jsplumbtoolkit.com/ - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -=============================================================================== - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-lato b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-lato similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-lato rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-lato diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-lodash b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-lodash index 4b5cedae97..5b807415bb 100644 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-lodash +++ b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-lodash @@ -1,3 +1,5 @@ +The MIT License + Copyright JS Foundation and other contributors Based on Underscore.js, copyright Jeremy Ashkenas, diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-moment-timezone b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-moment-timezone deleted file mode 100644 index f0bb3b4bb4..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-moment-timezone +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-monaco-editor b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-monaco-editor similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-monaco-editor rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-monaco-editor diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-naive-ui b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-naive-ui similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-naive-ui rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-naive-ui diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-nprogress b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-nprogress similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-nprogress rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-nprogress diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-open-sans b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-open-sans similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-open-sans rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-open-sans diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-pinia b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-pinia similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-pinia rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-pinia diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-pinia-plugin-persistedstate b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-pinia-plugin-persistedstate similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-pinia-plugin-persistedstate rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-pinia-plugin-persistedstate diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-prettier b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-prettier similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-prettier rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-prettier diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-qs b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-qs similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-qs rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-qs diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-remixicon b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-remixicon deleted file mode 100644 index 989e2c59e9..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-remixicon +++ /dev/null @@ -1,201 +0,0 @@ -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-roboto b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-roboto similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-roboto rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-roboto diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-sass b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-sass similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-sass rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-sass diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-sass-loader b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-sass-loader similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-sass-loader rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-sass-loader diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-screenfull b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-screenfull similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-screenfull rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-screenfull diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-typescript b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-typescript similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-typescript rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-typescript diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-typescript-plugin-css-modules b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-typescript-plugin-css-modules similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-typescript-plugin-css-modules rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-typescript-plugin-css-modules diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-vite b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vite similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-vite rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vite diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-vite-plugin-compression b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vite-plugin-compression similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-vite-plugin-compression rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vite-plugin-compression diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vue b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vue index 51e3f9f426..04600aaba8 100644 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vue +++ b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vue @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2013-present, Yuxi (Evan) You +Copyright (c) 2018-present, Yuxi (Evan) You Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-vue-i18n b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vue-i18n similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-vue-i18n rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vue-i18n diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vue-router b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vue-router index bbfcc77b00..8a8c7c2492 100644 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vue-router +++ b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vue-router @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2013-2016 Evan You +Copyright (c) 2013-present Evan You Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vue-treeselect b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vue-treeselect deleted file mode 100644 index f7d8cc3ebd..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vue-treeselect +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2017-present Riophae Lee - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-vue-tsc b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vue-tsc similarity index 100% rename from dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-vue-tsc rename to dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vue-tsc diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vuex b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vuex deleted file mode 100644 index fa6dd9ba37..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vuex +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015-2016 Evan You - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vuex-router-sync b/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vuex-router-sync deleted file mode 100644 index 27cf310a28..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-licenses/LICENSE-vuex-router-sync +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Evan You - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-axios b/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-axios deleted file mode 100644 index 2d8d66aa4e..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-axios +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2014-present Matt Zabriskie - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-echarts b/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-echarts deleted file mode 100644 index 3baabfc921..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-echarts +++ /dev/null @@ -1,221 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - - - - -======================================================================== -Apache ECharts Subcomponents: - -The Apache ECharts project contains subcomponents with separate copyright -notices and license terms. Your use of the source code for these -subcomponents is also subject to the terms and conditions of the following -licenses. - -BSD 3-Clause (d3.js): -The following files embed [d3.js](https://github.com/d3/d3) BSD 3-Clause: - `/src/chart/treemap/treemapLayout.ts`, - `/src/chart/tree/layoutHelper.ts`, - `/src/chart/graph/forceHelper.ts`, - `/src/util/number.ts` -See `/licenses/LICENSE-d3` for details of the license. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-js-cookie b/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-js-cookie deleted file mode 100644 index 3c581cad4e..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-js-cookie +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2018 Copyright 2018 Klaus Hartl, Fagner Brack, GitHub Contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-lodash b/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-lodash deleted file mode 100644 index 5b807415bb..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-lodash +++ /dev/null @@ -1,49 +0,0 @@ -The MIT License - -Copyright JS Foundation and other contributors - -Based on Underscore.js, copyright Jeremy Ashkenas, -DocumentCloud and Investigative Reporters & Editors - -This software consists of voluntary contributions made by many -individuals. For exact contribution history, see the revision history -available at https://github.com/lodash/lodash - -The following license applies to all parts of this software except as -documented below: - -==== - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -==== - -Copyright and related rights for sample code are waived via CC0. Sample -code is defined as all source code displayed within the prose of the -documentation. - -CC0: http://creativecommons.org/publicdomain/zero/1.0/ - -==== - -Files located in the node_modules and vendor directories are externally -maintained libraries used by this software which have their own -licenses; we recommend you read them, as their terms may differ from the -terms above. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-vue b/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-vue deleted file mode 100644 index 04600aaba8..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-vue +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2018-present, Yuxi (Evan) You - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-vue-router b/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-vue-router deleted file mode 100644 index 8a8c7c2492..0000000000 --- a/dolphinscheduler-dist/release-docs/licenses/ui-next-licenses/LICENSE-vue-router +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2013-present Evan You - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/dolphinscheduler-dist/src/main/assembly/dolphinscheduler-bin.xml b/dolphinscheduler-dist/src/main/assembly/dolphinscheduler-bin.xml index a3447ee487..6dd55fca46 100644 --- a/dolphinscheduler-dist/src/main/assembly/dolphinscheduler-bin.xml +++ b/dolphinscheduler-dist/src/main/assembly/dolphinscheduler-bin.xml @@ -75,7 +75,7 @@ - ${basedir}/../dolphinscheduler-ui-next/dist + ${basedir}/../dolphinscheduler-ui/dist ./ui diff --git a/dolphinscheduler-dist/src/main/assembly/dolphinscheduler-src.xml b/dolphinscheduler-dist/src/main/assembly/dolphinscheduler-src.xml index c33d2569e8..05d54871c7 100644 --- a/dolphinscheduler-dist/src/main/assembly/dolphinscheduler-src.xml +++ b/dolphinscheduler-dist/src/main/assembly/dolphinscheduler-src.xml @@ -56,9 +56,6 @@ **/dolphinscheduler-ui/dist/** **/dolphinscheduler-ui/node/** **/dolphinscheduler-ui/node_modules/** - **/dolphinscheduler-ui-next/dist/** - **/dolphinscheduler-ui-next/node/** - **/dolphinscheduler-ui-next/node_modules/** **/dolphinscheduler-python/pydolphinscheduler/.pytest_cache/** diff --git a/dolphinscheduler-standalone-server/src/main/assembly/dolphinscheduler-standalone-server.xml b/dolphinscheduler-standalone-server/src/main/assembly/dolphinscheduler-standalone-server.xml index de9dbb71fd..3857cf75fe 100644 --- a/dolphinscheduler-standalone-server/src/main/assembly/dolphinscheduler-standalone-server.xml +++ b/dolphinscheduler-standalone-server/src/main/assembly/dolphinscheduler-standalone-server.xml @@ -87,7 +87,7 @@ conf - ${basedir}/../dolphinscheduler-ui-next/dist + ${basedir}/../dolphinscheduler-ui/dist ./ui diff --git a/dolphinscheduler-ui-next/.eslintignore b/dolphinscheduler-ui-next/.eslintignore deleted file mode 100644 index adb3fad90a..0000000000 --- a/dolphinscheduler-ui-next/.eslintignore +++ /dev/null @@ -1,18 +0,0 @@ - # Licensed to the Apache Software Foundation (ASF) under one or more - # contributor license agreements. See the NOTICE file distributed with - # this work for additional information regarding copyright ownership. - # The ASF licenses this file to You under the Apache License, Version 2.0 - # (the "License"); you may not use this file except in compliance with - # the License. You may obtain a copy of the License at - # - # http://www.apache.org/licenses/LICENSE-2.0 - # - # Unless required by applicable law or agreed to in writing, software - # distributed under the License is distributed on an "AS IS" BASIS, - # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - # See the License for the specific language governing permissions and - # limitations under the License. - -node_modules -dist -public diff --git a/dolphinscheduler-ui-next/package.json b/dolphinscheduler-ui-next/package.json deleted file mode 100644 index cf2fbcf443..0000000000 --- a/dolphinscheduler-ui-next/package.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "name": "dolphinscheduler-ui-next", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build:prod": "vue-tsc --noEmit && vite build --mode production", - "preview": "vite preview", - "lint": "eslint src --fix --ext .ts,.tsx,.vue", - "prettier": "prettier --write \"src/**/*.{vue,ts,tsx}\"" - }, - "dependencies": { - "@antv/layout": "^0.1.31", - "@antv/x6": "^1.30.1", - "@vueuse/core": "^7.6.2", - "axios": "^0.24.0", - "date-fns": "^2.28.0", - "date-fns-tz": "^1.3.0", - "echarts": "^5.3.0", - "js-cookie": "^3.0.1", - "lodash": "^4.17.21", - "monaco-editor": "^0.31.1", - "naive-ui": "^2.27.0", - "nprogress": "^0.2.0", - "pinia": "^2.0.11", - "pinia-plugin-persistedstate": "^1.2.2", - "qs": "^6.10.3", - "screenfull": "^6.0.1", - "vfonts": "^0.1.0", - "vue": "^3.2.31", - "vue-i18n": "^9.2.0-beta.30", - "vue-router": "^4.0.12" - }, - "devDependencies": { - "@types/js-cookie": "^3.0.1", - "@types/lodash": "^4.14.182", - "@types/node": "^16.11.25", - "@types/nprogress": "^0.2.0", - "@types/qs": "^6.9.7", - "@typescript-eslint/eslint-plugin": "^5.12.1", - "@typescript-eslint/parser": "^5.12.1", - "@vicons/antd": "^0.11.0", - "@vitejs/plugin-vue": "^1.10.2", - "@vitejs/plugin-vue-jsx": "^1.3.7", - "dart-sass": "^1.25.0", - "eslint": "^8.9.0", - "eslint-config-prettier": "^8.4.0", - "eslint-plugin-prettier": "^4.0.0", - "eslint-plugin-vue": "^8.5.0", - "prettier": "^2.5.1", - "sass": "^1.49.8", - "sass-loader": "^12.6.0", - "typescript": "^4.5.5", - "typescript-plugin-css-modules": "^3.4.0", - "vite": "^2.8.4", - "vite-plugin-compression": "^0.3.6", - "vue-tsc": "^0.28.10" - } -} diff --git a/dolphinscheduler-ui-next/pom.xml b/dolphinscheduler-ui-next/pom.xml deleted file mode 100644 index 849189a20d..0000000000 --- a/dolphinscheduler-ui-next/pom.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - dolphinscheduler - org.apache.dolphinscheduler - dev-SNAPSHOT - - 4.0.0 - - dolphinscheduler-ui-next - - ${project.artifactId} - - - v16.13.1 - v6.32.6 - src - - - - - release - - - - com.github.eirslett - frontend-maven-plugin - ${frontend-maven-plugin.version} - - - install node and pnpm - - install-node-and-pnpm - - - ${node.version} - ${pnpm.version} - - - - pnpm install - - pnpm - - generate-resources - - install - - - - pnpm run build:prod - - pnpm - - - run build:prod - - - - - - - - - - diff --git a/dolphinscheduler-ui/.babelrc b/dolphinscheduler-ui/.babelrc deleted file mode 100644 index 613d2cd669..0000000000 --- a/dolphinscheduler-ui/.babelrc +++ /dev/null @@ -1,35 +0,0 @@ -{ - "presets": [ - ["env", { - "loose": true, - "debug": false, - "useBuiltIns": true, - "targets": { - "browsers": [ - "> 1%", - "last 2 versions", - "ie >= 10", - "edge >= 12", - "firefox >= 28", - "chrome >= 29", - "opera >= 17" - ] - }, - "production": { - "plugins": ["transform-remove-console"] - } - }] - ], - "plugins": [ - [ "transform-runtime", { - "helpers": false, - "polyfill": false, - "regenerator": true } ], - [ "transform-class-properties", { "spec": true } ], - [ "transform-object-rest-spread", { "useBuiltIns": true } ], - [ "transform-vue-jsx" ], - [ "syntax-dynamic-import" ] - ], - "comments": false - } - \ No newline at end of file diff --git a/dolphinscheduler-ui/.editorconfig b/dolphinscheduler-ui/.editorconfig deleted file mode 100644 index beb8ed2185..0000000000 --- a/dolphinscheduler-ui/.editorconfig +++ /dev/null @@ -1,35 +0,0 @@ - # Licensed to the Apache Software Foundation (ASF) under one or more - # contributor license agreements. See the NOTICE file distributed with - # this work for additional information regarding copyright ownership. - # The ASF licenses this file to You under the Apache License, Version 2.0 - # (the "License"); you may not use this file except in compliance with - # the License. You may obtain a copy of the License at - # - # http://www.apache.org/licenses/LICENSE-2.0 - # - # Unless required by applicable law or agreed to in writing, software - # distributed under the License is distributed on an "AS IS" BASIS, - # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - # See the License for the specific language governing permissions and - # limitations under the License. - - -root = true - -[*] -indent_style = space -indent_size = 2 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.py] -indent_style = space -indent_size = 4 - -[*.md] -trim_trailing_whitespace = false - -[COMMIT_EDITMSG] -max_line_length = 80 diff --git a/dolphinscheduler-ui/.env b/dolphinscheduler-ui/.env deleted file mode 100644 index bd768bcd47..0000000000 --- a/dolphinscheduler-ui/.env +++ /dev/null @@ -1,21 +0,0 @@ - # Licensed to the Apache Software Foundation (ASF) under one or more - # contributor license agreements. See the NOTICE file distributed with - # this work for additional information regarding copyright ownership. - # The ASF licenses this file to You under the Apache License, Version 2.0 - # (the "License"); you may not use this file except in compliance with - # the License. You may obtain a copy of the License at - # - # http://www.apache.org/licenses/LICENSE-2.0 - # - # Unless required by applicable law or agreed to in writing, software - # distributed under the License is distributed on an "AS IS" BASIS, - # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - # See the License for the specific language governing permissions and - # limitations under the License. - -# back end interface address -API_BASE = http://127.0.0.1:12345 - -# host and port for local development -# DEV_HOST = 127.0.0.1 -# DEV_PORT = 8888 diff --git a/dolphinscheduler-ui-next/.env.development b/dolphinscheduler-ui/.env.development similarity index 100% rename from dolphinscheduler-ui-next/.env.development rename to dolphinscheduler-ui/.env.development diff --git a/dolphinscheduler-ui-next/.env.production b/dolphinscheduler-ui/.env.production similarity index 100% rename from dolphinscheduler-ui-next/.env.production rename to dolphinscheduler-ui/.env.production diff --git a/dolphinscheduler-ui/.eslintignore b/dolphinscheduler-ui/.eslintignore index cd1b8213b3..adb3fad90a 100644 --- a/dolphinscheduler-ui/.eslintignore +++ b/dolphinscheduler-ui/.eslintignore @@ -1,7 +1,18 @@ -/_test_/ -/build/ -/dist/ -/node/ -/node_modules/ -/target/ -/*.js + # Licensed to the Apache Software Foundation (ASF) under one or more + # contributor license agreements. See the NOTICE file distributed with + # this work for additional information regarding copyright ownership. + # The ASF licenses this file to You under the Apache License, Version 2.0 + # (the "License"); you may not use this file except in compliance with + # the License. You may obtain a copy of the License at + # + # http://www.apache.org/licenses/LICENSE-2.0 + # + # Unless required by applicable law or agreed to in writing, software + # distributed under the License is distributed on an "AS IS" BASIS, + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + # See the License for the specific language governing permissions and + # limitations under the License. + +node_modules +dist +public diff --git a/dolphinscheduler-ui-next/.eslintrc.js b/dolphinscheduler-ui/.eslintrc.js similarity index 100% rename from dolphinscheduler-ui-next/.eslintrc.js rename to dolphinscheduler-ui/.eslintrc.js diff --git a/dolphinscheduler-ui/.eslintrc.yml b/dolphinscheduler-ui/.eslintrc.yml deleted file mode 100644 index 64c83e6ac0..0000000000 --- a/dolphinscheduler-ui/.eslintrc.yml +++ /dev/null @@ -1,44 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -env: - browser: true - es6: true - jquery: true -extends: - - 'plugin:vue/essential' - - standard -globals: - Atomics: readonly - SharedArrayBuffer: readonly - PUBLIC_PATH: readonly - $t: readonly -parserOptions: - ecmaVersion: 2018 - sourceType: module -plugins: - - vue -rules: - vue/script-indent: ['error', 2, { 'baseIndent': 1, 'switchCase': 1 }] - prefer-promise-reject-errors: 'off' - no-prototype-builtins: 'off' - no-mixed-operators: 'off' - no-extend-native: 'off' - prefer-const: 'off' - no-var: 'error' -overrides: - - { 'files': ['*.vue'], 'rules': { 'indent': 'off' }} diff --git a/dolphinscheduler-ui-next/.gitignore b/dolphinscheduler-ui/.gitignore similarity index 100% rename from dolphinscheduler-ui-next/.gitignore rename to dolphinscheduler-ui/.gitignore diff --git a/dolphinscheduler-ui-next/.prettierignore b/dolphinscheduler-ui/.prettierignore similarity index 100% rename from dolphinscheduler-ui-next/.prettierignore rename to dolphinscheduler-ui/.prettierignore diff --git a/dolphinscheduler-ui-next/.prettierrc.js b/dolphinscheduler-ui/.prettierrc.js similarity index 100% rename from dolphinscheduler-ui-next/.prettierrc.js rename to dolphinscheduler-ui/.prettierrc.js diff --git a/dolphinscheduler-ui-next/README.md b/dolphinscheduler-ui/README.md similarity index 100% rename from dolphinscheduler-ui-next/README.md rename to dolphinscheduler-ui/README.md diff --git a/dolphinscheduler-ui/_test_/.babelrc b/dolphinscheduler-ui/_test_/.babelrc deleted file mode 100644 index bae693584c..0000000000 --- a/dolphinscheduler-ui/_test_/.babelrc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "presets": [["env", { "modules": false }]], - "env": { - "test": { - "presets": [["env", { "targets": { "node": "current" } }]] - } - } - } \ No newline at end of file diff --git a/dolphinscheduler-ui/_test_/Counter.spec.js b/dolphinscheduler-ui/_test_/Counter.spec.js deleted file mode 100644 index 9530d76300..0000000000 --- a/dolphinscheduler-ui/_test_/Counter.spec.js +++ /dev/null @@ -1,55 +0,0 @@ - -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { mount } from '@vue/test-utils' -import Counter from '../src/components/Counter.vue' - -describe("Counter.vue", () => { - it("渲染Counter组件", () => { - const wrapper = mount(Counter) - expect(wrapper.element).toMatchSnapshot() - }) - - it("初始化之为0", () => { - const wrapper = mount(Counter) - expect(wrapper.vm.count).toEqual(0) - }) - - it("加1", () => { - const wrapper = mount(Counter) - wrapper.vm.inc() - expect(wrapper.vm.count).toEqual(1) - }) - - it("减1", () => { - const wrapper = mount(Counter) - wrapper.vm.dec() - expect(wrapper.vm.count).toEqual(-1) - }) - - it("重置", () => { - const wrapper = mount(Counter) - wrapper.vm.reset() - expect(wrapper.vm.count).toEqual(0) - }) - - it("因数为10加1操作", () => { - const wrapper = mount(Counter, { propsData: { factor: 10 } }) - wrapper.vm.inc() - expect(wrapper.vm.computedCount).toEqual(10) - }) -}) \ No newline at end of file diff --git a/dolphinscheduler-ui/_test_/package.json b/dolphinscheduler-ui/_test_/package.json deleted file mode 100644 index 0848d1c185..0000000000 --- a/dolphinscheduler-ui/_test_/package.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "testjest", - "description": "jest", - "version": "1.0.0", - "author": "xiangcaibiao", - "private": true, - "scripts": { - "test": "jest --coverage" - }, - "dependencies": { - "vue": "^2.4.4" - }, - "jest": { - "moduleFileExtensions": [ - "js", - "vue" - ], - "moduleNameMapper": { - "^@/(.*)$": "/src/$1" - }, - "transform": { - "^.+\\.js$": "/_test_/node_modules/babel-jest", - ".*\\.(vue)$": "/_test_/node_modules/vue-jest" - }, - "snapshotSerializers": [ - "/_test_/node_modules/jest-serializer-vue" - ], - "collectCoverage": true, - "collectCoverageFrom": [ - "src/**/*.{js,vue}", - "!**/node_modules/**" - ], - "rootDir": "../" - }, - "devDependencies": { - "@vue/test-utils": "^1.0.0-beta.30", - "babel-jest": "^24.9.0", - "babel-preset-env": "^1.7.0", - "jest": "^24.9.0", - "jest-serializer-vue": "^2.0.2", - "vue-jest": "^3.0.5" - } -} diff --git a/dolphinscheduler-ui/_test_/test.spec.js b/dolphinscheduler-ui/_test_/test.spec.js deleted file mode 100644 index 27b863fe8a..0000000000 --- a/dolphinscheduler-ui/_test_/test.spec.js +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { shallowMount } from '@vue/test-utils' -import Message from '../src/components/Message.vue' - -describe('Message', () => { - it('renders props.msg when passed', () => { - const msg = 'new message' - const wrapper = shallowMount(Message, { - propsData: { msg } - }) - expect(wrapper.text()).toBe(msg) - }) - - it('renders default message if not passed a prop', () => { - const defaultMessage = 'default message' - const wrapper = shallowMount(Message) - expect(wrapper.text()).toBe(defaultMessage) - }) -}) diff --git a/dolphinscheduler-ui/build/config.js b/dolphinscheduler-ui/build/config.js deleted file mode 100644 index 1186066e7f..0000000000 --- a/dolphinscheduler-ui/build/config.js +++ /dev/null @@ -1,237 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -const path = require('path') -const glob = require('globby') -const webpack = require('webpack') -const VueLoaderPlugin = require('vue-loader/lib/plugin') -const HtmlWebpackPlugin = require('html-webpack-plugin') -const MiniCssExtractPlugin = require('mini-css-extract-plugin') -const isProduction = process.env.NODE_ENV !== 'development' - -const resolve = dir => path.join(__dirname, '..', dir) - -const assetsDir = resolve('src') -const distDir = resolve('dist') -const viewDir = resolve('src/view') - - -function moduleName (modules) { - let filename = path.basename(modules) - let parts = filename.split('.') - parts.pop() - filename = parts.join('.') - return path.dirname(modules) + '/' + filename -} - -const jsEntry = (() => { - const obj = {} - const files = glob.sync(['js/conf/*/!(_*).js'], { cwd: assetsDir }) - files.forEach(val => { - let parts = val.split(/[\\/]/) - parts.shift() - parts.shift() - let modules = parts.join('/') - let entry = moduleName(modules) - obj[entry] = ['babel-polyfill', val] - }) - return obj -})() - -const minifierConfig = isProduction ? { - removeComments: true, - removeCommentsFromCDATA: true, - collapseWhitespace: true, - collapseBooleanAttributes: true, - removeRedundantAttributes: true, - useShortDoctype: true, - minifyJS: true, - removeScriptTypeAttributes: true, - maxLineLength: 1024 -} : false - -const getPageEntry = view => jsEntry[view] ? view : '' - -// Redirect output page -const pageRewriter = { - 'view/home/index.*': 'index.html' -} - -const isEmpty = o => { - for (let k in o) { - if (o.hasOwnProperty(k)) { - return - } - } - return true -} - -const unixPath = v => v.replace(/\\/g, '/') - -const rewriterPath = p => { - if (isEmpty(pageRewriter)) { - return - } - - for (let k in pageRewriter) { - let regx = new RegExp(k) - - if (regx.test(unixPath(p))) { - return pageRewriter[k] - } - } -} -const version = new Date().getTime(); -const pages = glob.sync(['*/!(_*).html'], { cwd: viewDir }).map(p => { - let pagePath = `${path.join(viewDir, p)}` - let newPagePath = rewriterPath(pagePath) - - let entry = getPageEntry(p.replace('.html', '')) - let chunks = ['common'] - if (entry) { - chunks.push(entry) - } - return new HtmlWebpackPlugin({ - filename: newPagePath || path.join('view', p), - template: `${path.join('src/view', p)}`, - cache: true, - favicon:'./favicon.png', - inject: true, - hash: version, - chunks: chunks, - minify: minifierConfig - }) -}) -const baseConfig = { - entry: jsEntry, - output: { - path: distDir, - publicPath: '/', - filename: 'js/[name].[chunkhash:7]'+version+'.js' - }, - module: { - rules: [ - { - test: /\.(js|vue)$/, - loader: 'eslint-loader', - enforce: 'pre', - include: [resolve('src')], - options: { - formatter: require('eslint-friendly-formatter'), - emitWarning: true - } - }, - { - test: /\.vue$/, - loader: 'vue-loader', - options: { - hotReload: !isProduction - } - }, - { - test: /\.js$/, - exclude: /(node_modules|bower_components)/, - use: [ - { - loader: 'babel-loader', - options: { - cacheDirectory: true, - cacheIdentifier: true - } - } - ] - }, - { - test: /\.(sa|sc|c)ss$/, - use: [ - { - loader: MiniCssExtractPlugin.loader, - options: { - hmr: !isProduction, - }, - }, - 'css-loader', - { - loader: 'postcss-loader', - options: { - plugins: (loader) => [ - require('autoprefixer')({ - overrideBrowserslist: [ - "Android 4.1", - "iOS 7.1", - "Chrome > 31", - "ff > 31", - "ie >= 8" - ] - }), - require('cssnano') - ] - } - }, - 'sass-loader' - ] - }, - { - test: /\.(png|jpe?g|gif|svg|cur)(\?.*)?$/, - loader: 'file-loader', - options: { - esModule: false, - name: 'images/[name].[ext]?[hash]' - } - }, - { - test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/, - loader: 'url-loader', - options: { - esModule: false, - limit: 10000, - // publicPath: distDir, - name: 'font/[name].[hash:7].[ext]' - } - } - ] - }, - resolve: { - modules: [ - resolve('node_modules'), - resolve('src'), - resolve('src/js') - ], - alias: { - '@': resolve('src/js'), - '~': resolve('src/lib'), - 'jquery':'jquery/dist/jquery.min.js', - 'jquery-ui': 'jquery-ui' - }, - extensions: ['*', '.js', 'json', '.vue', '.scss'] - }, - plugins: [ - new VueLoaderPlugin(), - new webpack.ProvidePlugin({ vue: 'Vue', _: 'lodash',jQuery:"jquery/dist/jquery.min.js",$:"jquery/dist/jquery.min.js" }), - new webpack.DefinePlugin({ - PUBLIC_PATH: JSON.stringify(process.env.PUBLIC_PATH ? process.env.PUBLIC_PATH : '') - }), - ...pages - ] -} - -module.exports = { - isProduction, - assetsDir, - distDir, - baseConfig -} diff --git a/dolphinscheduler-ui/build/webpack.config.dev.js b/dolphinscheduler-ui/build/webpack.config.dev.js deleted file mode 100644 index 0513789812..0000000000 --- a/dolphinscheduler-ui/build/webpack.config.dev.js +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const webpack = require('webpack') -const merge = require('webpack-merge') -const { assetsDir, baseConfig } = require('./config') -const MiniCssExtractPlugin = require('mini-css-extract-plugin') -const ProgressPlugin = require('progress-bar-webpack-plugin') -const FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin') -const portfinder = require('portfinder') -const getEnv = require('env-parse').getEnv - -const config = merge.smart(baseConfig, { - devtool: 'eval-source-map', - output: { - filename: 'js/[name].js' - }, - devServer: { - hot: true, - contentBase: assetsDir, - publicPath: baseConfig.output.publicPath, - host: getEnv('DEV_HOST', 'localhost'), - port: getEnv('DEV_PORT', 8888), - noInfo: false, - overlay: { warnings: false, errors: true }, - historyApiFallback: true, - disableHostCheck: true, - proxy: { - '/dolphinscheduler': { - timeout: 1800000, - target: getEnv('API_BASE', 'http://local.dev:8080/backend'), - changeOrigin: true - } - }, - progress: true, - quiet: true, - stats: { - colors: true - }, - clientLogLevel: 'warning' - }, - plugins: [ - new ProgressPlugin(), - new webpack.HotModuleReplacementPlugin(), - new MiniCssExtractPlugin({ filename: 'css/[name].css' }) - ], - mode: 'development' -}) - -module.exports = new Promise((resolve, reject) => { - portfinder.basePort = process.env.PORT || config.devServer.port - portfinder.getPort((err, port) => { - if (err) { - reject(err) - } else { - // publish the new Port, necessary for e2e tests - process.env.PORT = port - // add port to devServer config - config.devServer.port = port - // Add FriendlyErrorsPlugin - config.plugins.push(new FriendlyErrorsPlugin({ - compilationSuccessInfo: { - messages: [`Your application is running here: http://${config.devServer.host}:${port}`], - }, - onErrors: () => { - const notifier = require('node-notifier') - return (severity, errors) => { - if (severity !== 'error') return - const error = errors[0] - const filename = error.file && error.file.split('!').pop() - notifier.notify({ - title: packageConfig.name, - message: severity + ': ' + error.name, - subtitle: filename || '' - }) - } - } - })) - resolve(config) - } - }) -}) diff --git a/dolphinscheduler-ui/build/webpack.config.prod.js b/dolphinscheduler-ui/build/webpack.config.prod.js deleted file mode 100644 index 1024ac6724..0000000000 --- a/dolphinscheduler-ui/build/webpack.config.prod.js +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const path = require('path') -const webpack = require('webpack') -const merge = require('webpack-merge') -const CopyWebpackPlugin = require('copy-webpack-plugin') -const { baseConfig } = require('./config') -const TerserPlugin = require('terser-webpack-plugin') -const MiniCssExtractPlugin = require('mini-css-extract-plugin') -const ProgressPlugin = require('progress-bar-webpack-plugin') - -const resolve = dir => - path.resolve(__dirname, '..', dir) - -const config = merge.smart(baseConfig, { - devtool: 'source-map', - output: { - filename: 'js/[name].[chunkhash:7].js' - }, - plugins: [ - new ProgressPlugin(), - new MiniCssExtractPlugin({ filename: 'css/[name].[contenthash:7].css' }), - new webpack.optimize.OccurrenceOrderPlugin(), - new CopyWebpackPlugin([ - { - from: resolve('src/lib'), - to: resolve('dist/lib') - }, - { - from: resolve('src/images'), - to: resolve('dist/images') - }, - ]), - ], - optimization: { - minimize: true, - minimizer: [ - new TerserPlugin({ - terserOptions: { - compress: {} - }, - cache: true, - parallel: true, - sourceMap: false, - exclude: /node_modules/, - extractComments: (astNode, comment) => { - if (/^!|@preserve|@license|@cc_on|MIT/i.test(comment.value)) { - return true - } - return false - } - }), - ], - sideEffects: true - }, - mode: 'production' -}) - -module.exports = config diff --git a/dolphinscheduler-ui/build/webpack.config.release.js b/dolphinscheduler-ui/build/webpack.config.release.js deleted file mode 100644 index 9f41c3973f..0000000000 --- a/dolphinscheduler-ui/build/webpack.config.release.js +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const merge = require('webpack-merge') -const prodConfig = require('./webpack.config.prod') - -const config = merge.smart(prodConfig, { - output: { - publicPath: '/dolphinscheduler/ui/' - } -}) - -module.exports = config diff --git a/dolphinscheduler-ui/favicon.png b/dolphinscheduler-ui/favicon.png deleted file mode 100644 index acf4cf74c8..0000000000 Binary files a/dolphinscheduler-ui/favicon.png and /dev/null differ diff --git a/dolphinscheduler-ui-next/index.html b/dolphinscheduler-ui/index.html similarity index 100% rename from dolphinscheduler-ui-next/index.html rename to dolphinscheduler-ui/index.html diff --git a/dolphinscheduler-ui/package.json b/dolphinscheduler-ui/package.json index fe21c592c5..c240fa06d9 100644 --- a/dolphinscheduler-ui/package.json +++ b/dolphinscheduler-ui/package.json @@ -1,107 +1,58 @@ { - "name": "dolphinscheduler-ui-frontend", - "version": "1.0.0", - "description": "A vue.js project", - "author": "DolphinScheduler", - "repository": "https://github.com/apache/dolphinscheduler", - "license": "Apache-2.0", + "name": "dolphinscheduler-ui", + "version": "0.0.0", "scripts": { - "build": "npm run clean && cross-env NODE_ENV=production webpack --config ./build/webpack.config.prod.js", - "dev": "cross-env NODE_ENV=development webpack-dev-server --config ./build/webpack.config.dev.js", - "clean": "rimraf dist", - "start": "npm run dev", - "lint": "eslint --ext .js,.vue ./src", - "lint:fix": "eslint --ext .js,.vue --fix ./src", - "build:release": "npm run clean && cross-env NODE_ENV=production PUBLIC_PATH=/dolphinscheduler/ui webpack --config ./build/webpack.config.release.js" + "dev": "vite", + "build:prod": "vue-tsc --noEmit && vite build --mode production", + "preview": "vite preview", + "lint": "eslint src --fix --ext .ts,.tsx,.vue", + "prettier": "prettier --write \"src/**/*.{vue,ts,tsx}\"" }, "dependencies": { - "@antv/layout": "^0.1.18", - "@antv/x6": "^1.25.5", - "@form-create/element-ui": "^1.0.18", - "@riophae/vue-treeselect": "^0.4.0", - "axios": "^0.16.2", - "bootstrap": "3.3.7", - "canvg": "1.5.1", - "clipboard": "^2.0.1", - "codemirror": "^5.43.0", - "d3": "^3.5.17", - "dagre": "^0.8.5", - "dayjs": "^1.7.8", - "echarts": "4.1.0", - "element-ui": "2.13.2", - "html2canvas": "^0.5.0-beta4", - "jquery": "3.3.1", - "jquery-ui": "^1.12.1", - "js-cookie": "^2.2.1", - "jsplumb": "^2.8.6", - "lodash": "^4.17.11", - "moment-timezone": "^0.5.33", - "normalize.css": "^8.0.1", - "remixicon": "^2.5.0", - "vue": "^2.5.17", - "vue-router": "^3.0.0", - "vuex": "^3.0.0", - "vuex-router-sync": "^5.0.0" + "@antv/layout": "^0.1.31", + "@antv/x6": "^1.30.1", + "@vueuse/core": "^7.6.2", + "axios": "^0.24.0", + "date-fns": "^2.28.0", + "date-fns-tz": "^1.3.0", + "echarts": "^5.3.0", + "js-cookie": "^3.0.1", + "lodash": "^4.17.21", + "monaco-editor": "^0.31.1", + "naive-ui": "^2.27.0", + "nprogress": "^0.2.0", + "pinia": "^2.0.11", + "pinia-plugin-persistedstate": "^1.2.2", + "qs": "^6.10.3", + "screenfull": "^6.0.1", + "vfonts": "^0.1.0", + "vue": "^3.2.31", + "vue-i18n": "^9.2.0-beta.30", + "vue-router": "^4.0.12" }, "devDependencies": { - "acorn": "^7.4.1", - "autoprefixer": "^9.1.0", - "babel-core": "^6.25.0", - "babel-helper-vue-jsx-merge-props": "^2.0.2", - "babel-loader": "^7.1.1", - "babel-plugin-syntax-dynamic-import": "^6.18.0", - "babel-plugin-syntax-jsx": "^6.18.0", - "babel-plugin-transform-class-properties": "^6.24.1", - "babel-plugin-transform-object-rest-spread": "^6.26.0", - "babel-plugin-transform-runtime": "^6.23.0", - "babel-plugin-transform-vue-jsx": "^3.5.0", - "babel-polyfill": "^6.26.0", - "babel-preset-env": "^1.6.1", - "copy-webpack-plugin": "^4.5.2", - "cross-env": "^5.2.0", - "css-loader": "^0.28.8", - "cssnano": "4.1.10", - "env-parse": "^1.0.5", - "eslint": "^6.8.0", - "eslint-config-standard": "^14.1.1", - "eslint-friendly-formatter": "^4.0.1", - "eslint-loader": "^4.0.2", - "eslint-plugin-import": "^2.20.2", - "eslint-plugin-node": "^11.1.0", - "eslint-plugin-promise": "^4.2.1", - "eslint-plugin-standard": "^4.0.1", - "eslint-plugin-vue": "^7.2.0", - "file-loader": "^5.0.2", - "friendly-errors-webpack-plugin": "^1.7.0", - "globby": "^8.0.1", - "html-loader": "^0.5.5", - "html-webpack-plugin": "^3.2.0", - "mini-css-extract-plugin": "^0.8.2", - "node-notifier": "^8.0.0", - "node-sass": "^4.14.1", - "pack": "^2.2.0", - "portfinder": "^1.0.28", - "postcss-loader": "^3.0.0", - "progress-bar-webpack-plugin": "^1.12.1", - "rimraf": "^2.6.2", - "sass-loader": "^8.0.0", - "terser-webpack-plugin": "^2.1.3", - "url-loader": "^3.0.0", - "vue-loader": "^15.8.3", - "vue-style-loader": "^4.1.1", - "vue-template-compiler": "^2.5.16", - "webpack": "^4.41.3", - "webpack-cli": "^3.3.10", - "webpack-dev-server": "^3.9.0", - "webpack-merge": "^4.2.2" - }, - "browserslist": [ - "> 1%", - "last 2 versions", - "ie >= 10", - "edge >= 12", - "firefox >= 28", - "chrome >= 29", - "opera >= 17" - ] + "@types/js-cookie": "^3.0.1", + "@types/lodash": "^4.14.182", + "@types/node": "^16.11.25", + "@types/nprogress": "^0.2.0", + "@types/qs": "^6.9.7", + "@typescript-eslint/eslint-plugin": "^5.12.1", + "@typescript-eslint/parser": "^5.12.1", + "@vicons/antd": "^0.11.0", + "@vitejs/plugin-vue": "^1.10.2", + "@vitejs/plugin-vue-jsx": "^1.3.7", + "dart-sass": "^1.25.0", + "eslint": "^8.9.0", + "eslint-config-prettier": "^8.4.0", + "eslint-plugin-prettier": "^4.0.0", + "eslint-plugin-vue": "^8.5.0", + "prettier": "^2.5.1", + "sass": "^1.49.8", + "sass-loader": "^12.6.0", + "typescript": "^4.5.5", + "typescript-plugin-css-modules": "^3.4.0", + "vite": "^2.8.4", + "vite-plugin-compression": "^0.3.6", + "vue-tsc": "^0.28.10" + } } diff --git a/dolphinscheduler-ui-next/pnpm-lock.yaml b/dolphinscheduler-ui/pnpm-lock.yaml similarity index 100% rename from dolphinscheduler-ui-next/pnpm-lock.yaml rename to dolphinscheduler-ui/pnpm-lock.yaml diff --git a/dolphinscheduler-ui/pom.xml b/dolphinscheduler-ui/pom.xml index 628e8c0481..9d22622417 100644 --- a/dolphinscheduler-ui/pom.xml +++ b/dolphinscheduler-ui/pom.xml @@ -29,8 +29,8 @@ ${project.artifactId} - v14.15.1 - 6.14.11 + v16.13.1 + v6.32.6 src @@ -45,29 +45,19 @@ ${frontend-maven-plugin.version} - install node and npm + install node and pnpm - install-node-and-npm + install-node-and-pnpm ${node.version} - ${npm.version} + ${pnpm.version} - npm install node-sass --unsafe-perm + pnpm install - npm - - generate-resources - - install node-sass --unsafe-perm - - - - npm install - - npm + pnpm generate-resources @@ -75,12 +65,12 @@ - npm run build:release + pnpm run build:prod - npm + pnpm - run build:release + run build:prod diff --git a/dolphinscheduler-ui-next/public/favicon.ico b/dolphinscheduler-ui/public/favicon.ico similarity index 100% rename from dolphinscheduler-ui-next/public/favicon.ico rename to dolphinscheduler-ui/public/favicon.ico diff --git a/dolphinscheduler-ui-next/public/images/task-icons/conditions.png b/dolphinscheduler-ui/public/images/task-icons/conditions.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/conditions.png rename to dolphinscheduler-ui/public/images/task-icons/conditions.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/conditions_hover.png b/dolphinscheduler-ui/public/images/task-icons/conditions_hover.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/conditions_hover.png rename to dolphinscheduler-ui/public/images/task-icons/conditions_hover.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/data_quality.png b/dolphinscheduler-ui/public/images/task-icons/data_quality.png similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/data_quality.png rename to dolphinscheduler-ui/public/images/task-icons/data_quality.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/data_quality_hover.png b/dolphinscheduler-ui/public/images/task-icons/data_quality_hover.png similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/data_quality_hover.png rename to dolphinscheduler-ui/public/images/task-icons/data_quality_hover.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/datax.png b/dolphinscheduler-ui/public/images/task-icons/datax.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/datax.png rename to dolphinscheduler-ui/public/images/task-icons/datax.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/datax_hover.png b/dolphinscheduler-ui/public/images/task-icons/datax_hover.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/datax_hover.png rename to dolphinscheduler-ui/public/images/task-icons/datax_hover.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/dependent.png b/dolphinscheduler-ui/public/images/task-icons/dependent.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/dependent.png rename to dolphinscheduler-ui/public/images/task-icons/dependent.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/dependent_hover.png b/dolphinscheduler-ui/public/images/task-icons/dependent_hover.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/dependent_hover.png rename to dolphinscheduler-ui/public/images/task-icons/dependent_hover.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/emr.png b/dolphinscheduler-ui/public/images/task-icons/emr.png similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/emr.png rename to dolphinscheduler-ui/public/images/task-icons/emr.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/emr_hover.png b/dolphinscheduler-ui/public/images/task-icons/emr_hover.png similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/emr_hover.png rename to dolphinscheduler-ui/public/images/task-icons/emr_hover.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/flink.png b/dolphinscheduler-ui/public/images/task-icons/flink.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/flink.png rename to dolphinscheduler-ui/public/images/task-icons/flink.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/flink_hover.png b/dolphinscheduler-ui/public/images/task-icons/flink_hover.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/flink_hover.png rename to dolphinscheduler-ui/public/images/task-icons/flink_hover.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/http.png b/dolphinscheduler-ui/public/images/task-icons/http.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/http.png rename to dolphinscheduler-ui/public/images/task-icons/http.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/http_hover.png b/dolphinscheduler-ui/public/images/task-icons/http_hover.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/http_hover.png rename to dolphinscheduler-ui/public/images/task-icons/http_hover.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/mr.png b/dolphinscheduler-ui/public/images/task-icons/mr.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/mr.png rename to dolphinscheduler-ui/public/images/task-icons/mr.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/mr_hover.png b/dolphinscheduler-ui/public/images/task-icons/mr_hover.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/mr_hover.png rename to dolphinscheduler-ui/public/images/task-icons/mr_hover.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/pigeon.png b/dolphinscheduler-ui/public/images/task-icons/pigeon.png similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/pigeon.png rename to dolphinscheduler-ui/public/images/task-icons/pigeon.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/pigeon_hover.png b/dolphinscheduler-ui/public/images/task-icons/pigeon_hover.png similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/pigeon_hover.png rename to dolphinscheduler-ui/public/images/task-icons/pigeon_hover.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/procedure.png b/dolphinscheduler-ui/public/images/task-icons/procedure.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/procedure.png rename to dolphinscheduler-ui/public/images/task-icons/procedure.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/procedure_hover.png b/dolphinscheduler-ui/public/images/task-icons/procedure_hover.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/procedure_hover.png rename to dolphinscheduler-ui/public/images/task-icons/procedure_hover.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/python.png b/dolphinscheduler-ui/public/images/task-icons/python.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/python.png rename to dolphinscheduler-ui/public/images/task-icons/python.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/python_hover.png b/dolphinscheduler-ui/public/images/task-icons/python_hover.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/python_hover.png rename to dolphinscheduler-ui/public/images/task-icons/python_hover.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/seatunnel.png b/dolphinscheduler-ui/public/images/task-icons/seatunnel.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/seatunnel.png rename to dolphinscheduler-ui/public/images/task-icons/seatunnel.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/seatunnel_hover.png b/dolphinscheduler-ui/public/images/task-icons/seatunnel_hover.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/seatunnel_hover.png rename to dolphinscheduler-ui/public/images/task-icons/seatunnel_hover.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/shell.png b/dolphinscheduler-ui/public/images/task-icons/shell.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/shell.png rename to dolphinscheduler-ui/public/images/task-icons/shell.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/shell_hover.png b/dolphinscheduler-ui/public/images/task-icons/shell_hover.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/shell_hover.png rename to dolphinscheduler-ui/public/images/task-icons/shell_hover.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/spark.png b/dolphinscheduler-ui/public/images/task-icons/spark.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/spark.png rename to dolphinscheduler-ui/public/images/task-icons/spark.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/spark_hover.png b/dolphinscheduler-ui/public/images/task-icons/spark_hover.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/spark_hover.png rename to dolphinscheduler-ui/public/images/task-icons/spark_hover.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/sql.png b/dolphinscheduler-ui/public/images/task-icons/sql.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/sql.png rename to dolphinscheduler-ui/public/images/task-icons/sql.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/sql_hover.png b/dolphinscheduler-ui/public/images/task-icons/sql_hover.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/sql_hover.png rename to dolphinscheduler-ui/public/images/task-icons/sql_hover.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/sqoop.png b/dolphinscheduler-ui/public/images/task-icons/sqoop.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/sqoop.png rename to dolphinscheduler-ui/public/images/task-icons/sqoop.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/sqoop_hover.png b/dolphinscheduler-ui/public/images/task-icons/sqoop_hover.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/sqoop_hover.png rename to dolphinscheduler-ui/public/images/task-icons/sqoop_hover.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/sub_process.png b/dolphinscheduler-ui/public/images/task-icons/sub_process.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/sub_process.png rename to dolphinscheduler-ui/public/images/task-icons/sub_process.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/sub_process_hover.png b/dolphinscheduler-ui/public/images/task-icons/sub_process_hover.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/sub_process_hover.png rename to dolphinscheduler-ui/public/images/task-icons/sub_process_hover.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/switch.png b/dolphinscheduler-ui/public/images/task-icons/switch.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/switch.png rename to dolphinscheduler-ui/public/images/task-icons/switch.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/switch_hover.png b/dolphinscheduler-ui/public/images/task-icons/switch_hover.png old mode 100755 new mode 100644 similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/switch_hover.png rename to dolphinscheduler-ui/public/images/task-icons/switch_hover.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/zeppelin.png b/dolphinscheduler-ui/public/images/task-icons/zeppelin.png similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/zeppelin.png rename to dolphinscheduler-ui/public/images/task-icons/zeppelin.png diff --git a/dolphinscheduler-ui-next/public/images/task-icons/zeppelin_hover.png b/dolphinscheduler-ui/public/images/task-icons/zeppelin_hover.png similarity index 100% rename from dolphinscheduler-ui-next/public/images/task-icons/zeppelin_hover.png rename to dolphinscheduler-ui/public/images/task-icons/zeppelin_hover.png diff --git a/dolphinscheduler-ui-next/public/lodash.min.js b/dolphinscheduler-ui/public/lodash.min.js similarity index 100% rename from dolphinscheduler-ui-next/public/lodash.min.js rename to dolphinscheduler-ui/public/lodash.min.js diff --git a/dolphinscheduler-ui-next/src/App.tsx b/dolphinscheduler-ui/src/App.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/App.tsx rename to dolphinscheduler-ui/src/App.tsx diff --git a/dolphinscheduler-ui-next/src/assets/images/logo-dark.svg b/dolphinscheduler-ui/src/assets/images/logo-dark.svg similarity index 100% rename from dolphinscheduler-ui-next/src/assets/images/logo-dark.svg rename to dolphinscheduler-ui/src/assets/images/logo-dark.svg diff --git a/dolphinscheduler-ui-next/src/assets/images/logo-light.svg b/dolphinscheduler-ui/src/assets/images/logo-light.svg similarity index 100% rename from dolphinscheduler-ui-next/src/assets/images/logo-light.svg rename to dolphinscheduler-ui/src/assets/images/logo-light.svg diff --git a/dolphinscheduler-ui-next/src/assets/styles/default.scss b/dolphinscheduler-ui/src/assets/styles/default.scss similarity index 100% rename from dolphinscheduler-ui-next/src/assets/styles/default.scss rename to dolphinscheduler-ui/src/assets/styles/default.scss diff --git a/dolphinscheduler-ui-next/src/common/column-width-config.ts b/dolphinscheduler-ui/src/common/column-width-config.ts similarity index 100% rename from dolphinscheduler-ui-next/src/common/column-width-config.ts rename to dolphinscheduler-ui/src/common/column-width-config.ts diff --git a/dolphinscheduler-ui-next/src/common/common.ts b/dolphinscheduler-ui/src/common/common.ts similarity index 100% rename from dolphinscheduler-ui-next/src/common/common.ts rename to dolphinscheduler-ui/src/common/common.ts diff --git a/dolphinscheduler-ui-next/src/common/timezone.ts b/dolphinscheduler-ui/src/common/timezone.ts similarity index 100% rename from dolphinscheduler-ui-next/src/common/timezone.ts rename to dolphinscheduler-ui/src/common/timezone.ts diff --git a/dolphinscheduler-ui-next/src/common/types.ts b/dolphinscheduler-ui/src/common/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/common/types.ts rename to dolphinscheduler-ui/src/common/types.ts diff --git a/dolphinscheduler-ui/src/components/Counter.vue b/dolphinscheduler-ui/src/components/Counter.vue deleted file mode 100644 index 74dbfcd8de..0000000000 --- a/dolphinscheduler-ui/src/components/Counter.vue +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/components/Message.vue b/dolphinscheduler-ui/src/components/Message.vue deleted file mode 100644 index aba5ea6a56..0000000000 --- a/dolphinscheduler-ui/src/components/Message.vue +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui-next/src/components/button-link/index.module.scss b/dolphinscheduler-ui/src/components/button-link/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/components/button-link/index.module.scss rename to dolphinscheduler-ui/src/components/button-link/index.module.scss diff --git a/dolphinscheduler-ui-next/src/components/button-link/index.tsx b/dolphinscheduler-ui/src/components/button-link/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/components/button-link/index.tsx rename to dolphinscheduler-ui/src/components/button-link/index.tsx diff --git a/dolphinscheduler-ui-next/src/components/card/index.tsx b/dolphinscheduler-ui/src/components/card/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/components/card/index.tsx rename to dolphinscheduler-ui/src/components/card/index.tsx diff --git a/dolphinscheduler-ui-next/src/components/chart/index.ts b/dolphinscheduler-ui/src/components/chart/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/chart/index.ts rename to dolphinscheduler-ui/src/components/chart/index.ts diff --git a/dolphinscheduler-ui-next/src/components/chart/modules/Bar.tsx b/dolphinscheduler-ui/src/components/chart/modules/Bar.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/components/chart/modules/Bar.tsx rename to dolphinscheduler-ui/src/components/chart/modules/Bar.tsx diff --git a/dolphinscheduler-ui-next/src/components/chart/modules/Gauge.tsx b/dolphinscheduler-ui/src/components/chart/modules/Gauge.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/components/chart/modules/Gauge.tsx rename to dolphinscheduler-ui/src/components/chart/modules/Gauge.tsx diff --git a/dolphinscheduler-ui-next/src/components/chart/modules/Pie.tsx b/dolphinscheduler-ui/src/components/chart/modules/Pie.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/components/chart/modules/Pie.tsx rename to dolphinscheduler-ui/src/components/chart/modules/Pie.tsx diff --git a/dolphinscheduler-ui-next/src/components/chart/modules/Tree.tsx b/dolphinscheduler-ui/src/components/chart/modules/Tree.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/components/chart/modules/Tree.tsx rename to dolphinscheduler-ui/src/components/chart/modules/Tree.tsx diff --git a/dolphinscheduler-ui-next/src/components/chart/modules/types.ts b/dolphinscheduler-ui/src/components/chart/modules/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/chart/modules/types.ts rename to dolphinscheduler-ui/src/components/chart/modules/types.ts diff --git a/dolphinscheduler-ui-next/src/components/crontab/common.ts b/dolphinscheduler-ui/src/components/crontab/common.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/crontab/common.ts rename to dolphinscheduler-ui/src/components/crontab/common.ts diff --git a/dolphinscheduler-ui-next/src/components/crontab/index.module.scss b/dolphinscheduler-ui/src/components/crontab/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/components/crontab/index.module.scss rename to dolphinscheduler-ui/src/components/crontab/index.module.scss diff --git a/dolphinscheduler-ui-next/src/components/crontab/index.tsx b/dolphinscheduler-ui/src/components/crontab/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/components/crontab/index.tsx rename to dolphinscheduler-ui/src/components/crontab/index.tsx diff --git a/dolphinscheduler-ui-next/src/components/crontab/modules/day.tsx b/dolphinscheduler-ui/src/components/crontab/modules/day.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/components/crontab/modules/day.tsx rename to dolphinscheduler-ui/src/components/crontab/modules/day.tsx diff --git a/dolphinscheduler-ui-next/src/components/crontab/modules/time.tsx b/dolphinscheduler-ui/src/components/crontab/modules/time.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/components/crontab/modules/time.tsx rename to dolphinscheduler-ui/src/components/crontab/modules/time.tsx diff --git a/dolphinscheduler-ui-next/src/components/crontab/types.ts b/dolphinscheduler-ui/src/components/crontab/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/crontab/types.ts rename to dolphinscheduler-ui/src/components/crontab/types.ts diff --git a/dolphinscheduler-ui-next/src/components/form/fields/checkbox.ts b/dolphinscheduler-ui/src/components/form/fields/checkbox.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/form/fields/checkbox.ts rename to dolphinscheduler-ui/src/components/form/fields/checkbox.ts diff --git a/dolphinscheduler-ui-next/src/components/form/fields/custom-parameters.ts b/dolphinscheduler-ui/src/components/form/fields/custom-parameters.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/form/fields/custom-parameters.ts rename to dolphinscheduler-ui/src/components/form/fields/custom-parameters.ts diff --git a/dolphinscheduler-ui-next/src/components/form/fields/get-field.ts b/dolphinscheduler-ui/src/components/form/fields/get-field.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/form/fields/get-field.ts rename to dolphinscheduler-ui/src/components/form/fields/get-field.ts diff --git a/dolphinscheduler-ui-next/src/components/form/fields/index.ts b/dolphinscheduler-ui/src/components/form/fields/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/form/fields/index.ts rename to dolphinscheduler-ui/src/components/form/fields/index.ts diff --git a/dolphinscheduler-ui-next/src/components/form/fields/input-number.ts b/dolphinscheduler-ui/src/components/form/fields/input-number.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/form/fields/input-number.ts rename to dolphinscheduler-ui/src/components/form/fields/input-number.ts diff --git a/dolphinscheduler-ui-next/src/components/form/fields/input.ts b/dolphinscheduler-ui/src/components/form/fields/input.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/form/fields/input.ts rename to dolphinscheduler-ui/src/components/form/fields/input.ts diff --git a/dolphinscheduler-ui-next/src/components/form/fields/monaco-editor.ts b/dolphinscheduler-ui/src/components/form/fields/monaco-editor.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/form/fields/monaco-editor.ts rename to dolphinscheduler-ui/src/components/form/fields/monaco-editor.ts diff --git a/dolphinscheduler-ui-next/src/components/form/fields/multi-condition.ts b/dolphinscheduler-ui/src/components/form/fields/multi-condition.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/form/fields/multi-condition.ts rename to dolphinscheduler-ui/src/components/form/fields/multi-condition.ts diff --git a/dolphinscheduler-ui-next/src/components/form/fields/multi-input.ts b/dolphinscheduler-ui/src/components/form/fields/multi-input.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/form/fields/multi-input.ts rename to dolphinscheduler-ui/src/components/form/fields/multi-input.ts diff --git a/dolphinscheduler-ui-next/src/components/form/fields/radio.ts b/dolphinscheduler-ui/src/components/form/fields/radio.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/form/fields/radio.ts rename to dolphinscheduler-ui/src/components/form/fields/radio.ts diff --git a/dolphinscheduler-ui-next/src/components/form/fields/select.ts b/dolphinscheduler-ui/src/components/form/fields/select.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/form/fields/select.ts rename to dolphinscheduler-ui/src/components/form/fields/select.ts diff --git a/dolphinscheduler-ui-next/src/components/form/fields/switch.ts b/dolphinscheduler-ui/src/components/form/fields/switch.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/form/fields/switch.ts rename to dolphinscheduler-ui/src/components/form/fields/switch.ts diff --git a/dolphinscheduler-ui-next/src/components/form/fields/tree-select.ts b/dolphinscheduler-ui/src/components/form/fields/tree-select.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/form/fields/tree-select.ts rename to dolphinscheduler-ui/src/components/form/fields/tree-select.ts diff --git a/dolphinscheduler-ui-next/src/components/form/get-elements-by-json.ts b/dolphinscheduler-ui/src/components/form/get-elements-by-json.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/form/get-elements-by-json.ts rename to dolphinscheduler-ui/src/components/form/get-elements-by-json.ts diff --git a/dolphinscheduler-ui-next/src/components/form/index.tsx b/dolphinscheduler-ui/src/components/form/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/components/form/index.tsx rename to dolphinscheduler-ui/src/components/form/index.tsx diff --git a/dolphinscheduler-ui-next/src/components/form/types.ts b/dolphinscheduler-ui/src/components/form/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/form/types.ts rename to dolphinscheduler-ui/src/components/form/types.ts diff --git a/dolphinscheduler-ui-next/src/components/form/use-form.ts b/dolphinscheduler-ui/src/components/form/use-form.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/form/use-form.ts rename to dolphinscheduler-ui/src/components/form/use-form.ts diff --git a/dolphinscheduler-ui-next/src/components/form/utils.ts b/dolphinscheduler-ui/src/components/form/utils.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/form/utils.ts rename to dolphinscheduler-ui/src/components/form/utils.ts diff --git a/dolphinscheduler-ui-next/src/components/log-modal/index.tsx b/dolphinscheduler-ui/src/components/log-modal/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/components/log-modal/index.tsx rename to dolphinscheduler-ui/src/components/log-modal/index.tsx diff --git a/dolphinscheduler-ui-next/src/components/modal/index.module.scss b/dolphinscheduler-ui/src/components/modal/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/components/modal/index.module.scss rename to dolphinscheduler-ui/src/components/modal/index.module.scss diff --git a/dolphinscheduler-ui-next/src/components/modal/index.tsx b/dolphinscheduler-ui/src/components/modal/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/components/modal/index.tsx rename to dolphinscheduler-ui/src/components/modal/index.tsx diff --git a/dolphinscheduler-ui-next/src/components/modal/types.ts b/dolphinscheduler-ui/src/components/modal/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/modal/types.ts rename to dolphinscheduler-ui/src/components/modal/types.ts diff --git a/dolphinscheduler-ui-next/src/components/monaco-editor/index.tsx b/dolphinscheduler-ui/src/components/monaco-editor/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/components/monaco-editor/index.tsx rename to dolphinscheduler-ui/src/components/monaco-editor/index.tsx diff --git a/dolphinscheduler-ui-next/src/components/monaco-editor/types.ts b/dolphinscheduler-ui/src/components/monaco-editor/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/components/monaco-editor/types.ts rename to dolphinscheduler-ui/src/components/monaco-editor/types.ts diff --git a/dolphinscheduler-ui-next/src/components/result/index.tsx b/dolphinscheduler-ui/src/components/result/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/components/result/index.tsx rename to dolphinscheduler-ui/src/components/result/index.tsx diff --git a/dolphinscheduler-ui-next/src/env.d.ts b/dolphinscheduler-ui/src/env.d.ts similarity index 100% rename from dolphinscheduler-ui-next/src/env.d.ts rename to dolphinscheduler-ui/src/env.d.ts diff --git a/dolphinscheduler-ui/src/images/favicon.ico b/dolphinscheduler-ui/src/images/favicon.ico deleted file mode 100644 index acf4cf74c8..0000000000 Binary files a/dolphinscheduler-ui/src/images/favicon.ico and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/App.vue b/dolphinscheduler-ui/src/js/conf/home/App.vue deleted file mode 100644 index c510931488..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/App.vue +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/index.js b/dolphinscheduler-ui/src/js/conf/home/index.js deleted file mode 100644 index c1bcdff63d..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/index.js +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// The Vue build version to load with the `import` command -// (runtime-only or standalone) has been set in webpack.base.conf with an alias. -import 'babel-polyfill' -import Vue from 'vue' -import ElementUI from 'element-ui' -import locale from 'element-ui/lib/locale/lang/en' -import 'element-ui/lib/theme-chalk/index.css' -import App from './App' -import router from './router' -import store from './store' -import i18n from '@/module/i18n' -import { sync } from 'vuex-router-sync' -import Chart from '@/module/ana-charts' -import '@/module/filter/formatDate' -import '@/module/filter/filterNull' -import themeData from '@/module/echarts/themeData.json' -import Permissions from '@/module/permissions' -import 'sass/conf/home/index.scss' -import 'bootstrap/dist/css/bootstrap.min.css' - -import 'bootstrap/dist/js/bootstrap.min.js' -import 'canvg/dist/browser/canvg.min.js' -import 'remixicon/fonts/remixicon.css' -import formCreate from '@form-create/element-ui' - -// Component internationalization -const useOpt = i18n.globalScope.LOCALE === 'en_US' ? { locale: locale } : {} - -i18n.globalScope.LOCALE === 'en_US' ? Vue.use(ElementUI, { locale }) : Vue.use(ElementUI) - -// Vue.use(ans) -Vue.use(useOpt) -Vue.use(formCreate) - -sync(store, router) - -Vue.config.devtools = true -Vue.config.productionTip = true -Vue.config.silent = true - -Chart.config({ - theme: { - name: 'themeName', - data: themeData, - default: true - } -}) - -/* eslint-disable no-new */ -Permissions.request().then(res => { - // instance - new Vue({ - el: '#app', - router, - store, - render: h => h(App), - mounted () { - document.addEventListener('click', (e) => { - $('#contextmenu').css('visibility', 'hidden') - }) - }, - methods: { - initApp () { - $('.global-loading').hide() - const bootstrapTooltip = $.fn.tooltip.noConflict() - $.fn.tooltip = bootstrapTooltip - $('body').tooltip({ - selector: '[data-toggle="tooltip"]', - trigger: 'hover' - }) - // init - i18n.init() - } - }, - created () { - this.initApp() - } - }) -}) diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/canvas.scss b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/canvas.scss deleted file mode 100644 index ea15323d40..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/canvas.scss +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -.dag-canvas { - display: flex; - overflow: hidden; - height: calc(100% - 50px); - padding: 10px 0 0 0; - box-sizing: border-box; - - .dag-container { - height: 100%; - flex: 1; - overflow: hidden; - position: relative; - - .paper { - width: 100%; - height: 100%; - } - - .minimap { - position: absolute; - right: 0px; - bottom: 0px; - border: dashed 1px #e4e4e4; - z-index: 9; - } - - .scale-slider{ - position: absolute; - height: 140px; - width: 70px; - right: 0px; - bottom: 140px; - z-index: 9; - display: flex; - justify-content: center; - - ::v-deep .el-slider__runway{ - background-color: #fff; - } - - .scale-title{ - position: absolute; - top: -30px; - left: 22px; - font-size: 12px; - color: #666; - } - } - - .context-menu{ - position: absolute; - left: 100px; - top: 100px; - } - - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/canvas.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/canvas.vue deleted file mode 100644 index 38fb849361..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/canvas.vue +++ /dev/null @@ -1,821 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/contextMenu.scss b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/contextMenu.scss deleted file mode 100644 index 8872b623cc..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/contextMenu.scss +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -.dag-context-menu{ - position: fixed; - left: 0; - top: 0; - width: 100px; - background-color: #ffffff; - box-shadow: 0 2px 10px rgba(0,0,0,0.12); - - .menu-item{ - padding: 5px 10px; - border-bottom: solid 1px #f2f3f7; - cursor: pointer; - color: rgb(89, 89, 89); - font-size: 12px; - - &:hover:not(.disabled){ - color: #262626; - background-color: #f5f5f5; - } - - &.disabled{ - cursor: not-allowed; - color: rgba(89, 89, 89, .4); - } - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/contextMenu.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/contextMenu.vue deleted file mode 100644 index 7f251c54c6..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/contextMenu.vue +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/draggableBox.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/draggableBox.vue deleted file mode 100644 index cf824da362..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/draggableBox.vue +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/edgeEditModel.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/edgeEditModel.vue deleted file mode 100644 index 686ac4ef51..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/edgeEditModel.vue +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/layoutConfigModal.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/layoutConfigModal.vue deleted file mode 100644 index d13bd6877c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/layoutConfigModal.vue +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/menuItem.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/menuItem.vue deleted file mode 100644 index 127a025112..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/menuItem.vue +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/nodeStatus.js b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/nodeStatus.js deleted file mode 100644 index 0ff7264048..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/nodeStatus.js +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Vue from 'vue' -import './nodeStatus.scss' -import i18n from '@/module/i18n' -import { formatDate } from '@/module/filter/filter' - -const nodeStatus = ({ stateProps, taskInstance }) => { - const Instance = new Vue({ - data: {}, - methods: {}, - render (h) { - return ( - -
-
    -
  • {i18n.$t('Name')}:{taskInstance.name}
  • -
  • {i18n.$t('State')}:{stateProps.desc}
  • -
  • {i18n.$t('type')}:{taskInstance.taskType}
  • -
  • {i18n.$t('host')}:{taskInstance.host || '-'}
  • -
  • {i18n.$t('Retry Count')}:{taskInstance.retryTimes}
  • -
  • {i18n.$t('Submit Time')}:{formatDate(taskInstance.submitTime)}
  • -
  • {i18n.$t('Start Time')}:{formatDate(taskInstance.startTime)}
  • -
  • {i18n.$t('End Time')}:{taskInstance.endTime ? formatDate(taskInstance.endTime) : '-'}
  • -
-
- -
- ) - } - }) - return Instance -} - -export default nodeStatus diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/nodeStatus.scss b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/nodeStatus.scss deleted file mode 100644 index 798f308d64..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/nodeStatus.scss +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -.status-icon { - width: 100%; - height: 100%; - display: block; - font-size: 18px; -} - -.status-info { - margin-bottom: 0; - li { - margin-bottom: 5px; - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/taskbar.scss b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/taskbar.scss deleted file mode 100644 index 640c86640d..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/taskbar.scss +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -.dag-taskbar { - width: 190px; - height: 100%; - background-color: #fff; - margin-right: 20px; - - .taskbar-title { - display: flex; - border-bottom: dashed 1px #e5e5e5; - height: 42px; - padding: 0 20px; - align-items: center; - - h4 { - color: #666; - font-size: 14px; - } - } - - .tasks { - width: 100%; - padding: 10px 20px; - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - max-height: calc(100% - 42px); - overflow: auto; - - .draggable-box { - cursor: move; - width: 100%; - height: 32px; - margin-bottom: 10px; - - .task-item { - width: 100%; - height: 100%; - display: flex; - align-items: center; - border: 1px dashed #e4e4e4; - padding: 0 10px; - border-radius: 4px; - - em { - margin-right: 10px; - display: block; - width: 18px; - height: 18px; - background-size: 100% 100%; - &.icos-shell { - background-image: url("../images/task-icos/shell.png"); - } - &.icos-sub_process { - background-image: url("../images/task-icos/sub_process.png"); - } - &.icos-procedure { - background-image: url("../images/task-icos/procedure.png"); - } - &.icos-sql { - background-image: url("../images/task-icos/sql.png"); - } - &.icos-flink { - background-image: url("../images/task-icos/flink.png"); - } - &.icos-mr { - background-image: url("../images/task-icos/mr.png"); - } - &.icos-python { - background-image: url("../images/task-icos/python.png"); - } - &.icos-dependent { - background-image: url("../images/task-icos/dependent.png"); - } - &.icos-http { - background-image: url("../images/task-icos/http.png"); - } - &.icos-datax { - background-image: url("../images/task-icos/datax.png"); - } - &.icos-pigeon { - background-image: url("../images/task-icos/pigeon.png"); - } - &.icos-sqoop { - background-image: url("../images/task-icos/sqoop.png"); - } - &.icos-conditions { - background-image: url("../images/task-icos/conditions.png"); - } - &.icos-seatunnel { - background-image: url("../images/task-icos/seatunnel.png"); - } - &.icos-spark { - background-image: url("../images/task-icos/spark.png"); - } - &.icos-switch { - background-image: url("../images/task-icos/switch.png"); - } - &.icos-data_quality { - background-image: url("../images/task-icos/data_quality.png"); - } - } - - span { - font-size: 12px; - } - - &:hover { - color: #288fff; - border: 1px dashed #288fff; - background-color: rgba(40, 143, 255, 0.1); - - em { - &.icos-shell { - background-image: url("../images/task-icos/shell_hover.png"); - } - &.icos-sub_process { - background-image: url("../images/task-icos/sub_process_hover.png"); - } - &.icos-procedure { - background-image: url("../images/task-icos/procedure_hover.png"); - } - &.icos-sql { - background-image: url("../images/task-icos/sql_hover.png"); - } - &.icos-flink { - background-image: url("../images/task-icos/flink_hover.png"); - } - &.icos-mr { - background-image: url("../images/task-icos/mr_hover.png"); - } - &.icos-python { - background-image: url("../images/task-icos/python_hover.png"); - } - &.icos-dependent { - background-image: url("../images/task-icos/dependent_hover.png"); - } - &.icos-http { - background-image: url("../images/task-icos/http_hover.png"); - } - &.icos-datax { - background-image: url("../images/task-icos/datax_hover.png"); - } - &.icos-pigeon { - background-image: url("../images/task-icos/pigeon_hover.png"); - } - &.icos-sqoop { - background-image: url("../images/task-icos/sqoop_hover.png"); - } - &.icos-conditions { - background-image: url("../images/task-icos/conditions_hover.png"); - } - &.icos-seatunnel { - background-image: url("../images/task-icos/seatunnel_hover.png"); - } - &.icos-spark { - background-image: url("../images/task-icos/spark_hover.png"); - } - &.icos-switch { - background-image: url("../images/task-icos/switch_hover.png"); - } - &.icos-data_quality { - background-image: url("../images/task-icos/data_quality_hover.png"); - } - } - } - } - - &.disabled{ - cursor: default - } - } - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/taskbar.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/taskbar.vue deleted file mode 100644 index 5a46aca5a2..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/taskbar.vue +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/toolbar.scss b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/toolbar.scss deleted file mode 100644 index 155083c0fc..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/toolbar.scss +++ /dev/null @@ -1,127 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -.dag-toolbar { - width: 100%; - height: 50px; - background-color: #fff; - padding: 0 20px; - display: flex; - align-items: center; - box-sizing: border-box; - - h3 { - font-size: 14px; - font-weight: bold; - margin: 0 10px 0 0; - } - - .transparent { - width: 1px; - height: 1px; - opacity: 0; - } - - .toolbar-operation { - font-size: 18px; - cursor: pointer; - margin-left: 20px; - color: #666666; - &:hover { - color: #288fff; - } - &.last{ - margin-right: 10px; - } - } - - .toolbar-btn { - font-size: 16px; - } - - .toolbar-left { - flex: 1; - display: flex; - align-items: center; - } - - .toolbar-right { - justify-self: flex-end; - display: flex; - align-items: center; - } - - .toolbar-el-btn{ - margin-right: 0; - margin-left: 10px; - } - - .custom-ico{ - display: block; - width: 18px; - height: 18px; - background-size: 100% 100%; - - &.view-variables{ - background-image: url('../images/view-variables.png'); - &:hover{ - background-image: url('../images/view-variables_hover.png'); - } - } - - &.startup-parameters{ - background-image: url('../images/startup-params.png'); - &:hover{ - background-image: url('../images/startup-params_hover.png'); - } - } - - &.full-screen-open{ - background-image: url('../images/full-screen-open.png'); - &:hover{ - background-image: url('../images/full-screen-open_hover.png'); - } - } - - &.full-screen-close{ - background-image: url('../images/full-screen-close.png'); - &:hover{ - background-image: url('../images/full-screen-close_hover.png'); - } - } - - &.graph-format{ - background-image: url('../images/graph-format.png'); - &:hover{ - background-image: url('../images/graph-format_hover.png'); - } - } - } - - .process-online-tag{ - margin-left: 10px; - } - - .search-box{ - width: 0; - overflow: hidden; - transition: all 0.5s; - - &.visible{ - width: 200px; - } - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/toolbar.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/toolbar.vue deleted file mode 100644 index 95f83bbbcf..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/toolbar.vue +++ /dev/null @@ -1,269 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/x6-helper.js b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/x6-helper.js deleted file mode 100644 index 1be067f86b..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/x6-helper.js +++ /dev/null @@ -1,338 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export const X6_NODE_NAME = 'dag-task' -export const X6_EDGE_NAME = 'dag-edge' -export const X6_PORT_OUT_NAME = 'dag-port-out' - -const EDGE_COLOR = '#999999' -const BG_BLUE = '#DFE9F7' -const BG_WHITE = '#FFFFFF' -const NODE_BORDER = '#CCCCCC' -const TITLE = '#333333' -const STROKE_BLUE = '#288FFF' -const NODE_SHADOW = 'drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.2))' -const EDGE_SHADOW = 'drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.2))' - -export const PORT = { - groups: { - [X6_PORT_OUT_NAME]: { - position: { - name: 'absolute', - args: { - x: 200, - y: 24 - } - }, - markup: [ - { - tagName: 'g', - selector: 'body', - children: [ - { - tagName: 'circle', - selector: 'circle-outer' - }, - { - tagName: 'text', - selector: 'plus-text' - }, - { - tagName: 'circle', - selector: 'circle-inner' - } - ] - } - ], - attrs: { - body: { - magnet: true - }, - 'plus-text': { - fontSize: 12, - fill: NODE_BORDER, - text: '+', - textAnchor: 'middle', - x: 0, - y: 3 - }, - 'circle-outer': { - stroke: NODE_BORDER, - strokeWidth: 1, - r: 6, - fill: BG_WHITE - }, - 'circle-inner': { - r: 4, - fill: 'transparent' - } - } - } - } -} - -export const PORT_HOVER = { - groups: { - [X6_PORT_OUT_NAME]: { - attrs: { - 'circle-outer': { - stroke: STROKE_BLUE, - fill: BG_BLUE, - r: 8 - }, - 'circle-inner': { - fill: STROKE_BLUE, - r: 6 - } - } - } - } -} - -export const PORT_SELECTED = { - groups: { - [X6_PORT_OUT_NAME]: { - attrs: { - 'plus-text': { - fill: STROKE_BLUE - }, - 'circle-outer': { - stroke: STROKE_BLUE, - fill: BG_WHITE - } - } - } - } -} - -export const NODE_STATUS_MARKUP = [{ - tagName: 'foreignObject', - selector: 'fo', - children: [ - { - tagName: 'body', - selector: 'fo-body', - ns: 'http://www.w3.org/1999/xhtml', - children: [{ - tagName: 'div', - selector: 'status' - }] - } - ] -}] - -export const NODE = { - width: 220, - height: 48, - markup: [ - { - tagName: 'rect', - selector: 'body', - className: 'dag-task-body' - }, - { - tagName: 'image', - selector: 'image' - }, - { - tagName: 'text', - selector: 'title' - } - ], - attrs: { - body: { - refWidth: '100%', - refHeight: '100%', - rx: 6, - ry: 6, - pointerEvents: 'visiblePainted', - fill: BG_WHITE, - stroke: NODE_BORDER, - strokeWidth: 1, - strokeDasharray: 'none', - filter: 'none' - }, - image: { - width: 30, - height: 30, - refX: 12, - refY: 9 - }, - title: { - refX: 45, - refY: 18, - fontFamily: 'Microsoft Yahei', - fontSize: 12, - fontWeight: 'bold', - fill: TITLE, - strokeWidth: 0 - }, - fo: { - refX: '46%', - refY: -25, - width: 18, - height: 18 - } - }, - ports: { - ...PORT, - items: [ - { - id: X6_PORT_OUT_NAME, - group: X6_PORT_OUT_NAME - } - ] - } -} - -export const NODE_HOVER = { - attrs: { - body: { - fill: BG_BLUE, - stroke: STROKE_BLUE, - strokeDasharray: '5,2' - }, - title: { - fill: STROKE_BLUE - } - } -} - -export const NODE_SELECTED = { - attrs: { - body: { - filter: NODE_SHADOW, - fill: BG_WHITE, - stroke: STROKE_BLUE, - strokeDasharray: '5,2', - strokeWidth: '1.5' - }, - title: { - fill: STROKE_BLUE - } - } -} - -export const EDGE = { - attrs: { - line: { - stroke: EDGE_COLOR, - strokeWidth: 1, - targetMarker: { - tagName: 'path', - fill: EDGE_COLOR, - strokeWidth: 0, - d: 'M 6 -3 0 0 6 3 Z' - }, - filter: 'none' - } - }, - connector: { - name: 'rounded' - }, - router: { - name: 'manhattan', - args: { - endDirections: ['top', 'bottom', 'left'] - } - }, - defaultLabel: { - markup: [ - { - tagName: 'rect', - selector: 'body' - }, - { - tagName: 'text', - selector: 'label' - } - ], - attrs: { - label: { - fill: EDGE_COLOR, - fontSize: 14, - textAnchor: 'middle', - textVerticalAnchor: 'middle', - pointerEvents: 'none' - }, - body: { - ref: 'label', - fill: BG_WHITE, - stroke: EDGE_COLOR, - strokeWidth: 1, - rx: 4, - ry: 4, - refWidth: '140%', - refHeight: '140%', - refX: '-20%', - refY: '-20%' - } - }, - position: { - distance: 0.5, - options: { - absoluteDistance: true, - reverseDistance: true - } - } - } -} - -export const EDGE_HOVER = { - attrs: { - line: { - stroke: STROKE_BLUE, - targetMarker: { - fill: STROKE_BLUE - } - } - }, - defaultLabel: { - attrs: { - label: { - fill: STROKE_BLUE - }, - body: { - fill: BG_WHITE, - stroke: STROKE_BLUE - } - } - } -} - -export const EDGE_SELECTED = { - attrs: { - line: { - stroke: STROKE_BLUE, - targetMarker: { - fill: STROKE_BLUE - }, - strokeWidth: 2, - filter: EDGE_SHADOW - } - }, - defaultLabel: { - attrs: { - label: { - fill: STROKE_BLUE - }, - body: { - fill: BG_WHITE, - stroke: STROKE_BLUE - } - } - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/x6-style-mixin.js b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/x6-style-mixin.js deleted file mode 100644 index d5f9f7b3a5..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/x6-style-mixin.js +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { - NODE, - EDGE, - PORT, - NODE_HOVER, - PORT_HOVER, - EDGE_HOVER, - PORT_SELECTED, - NODE_SELECTED, - EDGE_SELECTED, - X6_PORT_OUT_NAME -} from './x6-helper' -import _ from 'lodash' - -export default { - data () { - return { - hoverCell: null - } - }, - methods: { - bindStyleEvent (graph) { - // nodes and edges hover - graph.on('cell:mouseenter', (data) => { - const { cell, e } = data - const isStatusIcon = (tagName) => - tagName && - (tagName.toLocaleLowerCase() === 'em' || - tagName.toLocaleLowerCase() === 'body') - if (!isStatusIcon(e.target.tagName)) { - this.hoverCell = cell - this.updateCellStyle(cell, graph) - } - }) - graph.on('cell:mouseleave', ({ cell }) => { - this.hoverCell = null - this.updateCellStyle(cell, graph) - }) - // select - graph.on('cell:selected', ({ cell }) => { - this.updateCellStyle(cell, graph) - }) - graph.on('cell:unselected', ({ cell }) => { - this.updateCellStyle(cell, graph) - }) - }, - updateCellStyle (cell, graph) { - if (cell.isEdge()) { - this.setEdgeStyle(cell, graph) - } else if (cell.isNode()) { - this.setNodeStyle(cell, graph) - } - }, - /** - * Set node style - * @param {Node} node - * @param {Graph} graph - */ - setNodeStyle (node, graph) { - const isHover = node === this.hoverCell - const isSelected = graph.isSelected(node) - const portHover = _.cloneDeep(PORT_HOVER.groups[X6_PORT_OUT_NAME].attrs) - const portSelected = _.cloneDeep(PORT_SELECTED.groups[X6_PORT_OUT_NAME].attrs) - const portDefault = _.cloneDeep(PORT.groups[X6_PORT_OUT_NAME].attrs) - const nodeHover = _.merge(_.cloneDeep(NODE.attrs), NODE_HOVER.attrs) - const nodeSelected = _.merge(_.cloneDeep(NODE.attrs), NODE_SELECTED.attrs) - - let img = null - let nodeAttrs = null - let portAttrs = null - - if (isHover || isSelected) { - img = require(`../images/task-icos/${node.data.taskType.toLocaleLowerCase()}_hover.png`) - if (isHover) { - nodeAttrs = nodeHover - portAttrs = _.merge(portDefault, portHover) - } else { - nodeAttrs = nodeSelected - portAttrs = _.merge(portDefault, portSelected) - } - } else { - img = require(`../images/task-icos/${node.data.taskType.toLocaleLowerCase()}.png`) - nodeAttrs = NODE.attrs - portAttrs = portDefault - } - node.setAttrByPath('image/xlink:href', img) - node.setAttrs(nodeAttrs) - node.setPortProp( - X6_PORT_OUT_NAME, - 'attrs', - portAttrs - ) - }, - /** - * Set edge style - * @param {Edge} edge - * @param {Graph} graph - */ - setEdgeStyle (edge, graph) { - const isHover = edge === this.hoverCell - const isSelected = graph.isSelected(edge) - const labelName = this.getEdgeLabelName ? this.getEdgeLabelName(edge) : '' - let edgeProps = null - - if (isHover) { - edgeProps = _.merge(_.cloneDeep(EDGE), EDGE_HOVER) - } else if (isSelected) { - edgeProps = _.merge(_.cloneDeep(EDGE), EDGE_SELECTED) - } else { - edgeProps = _.cloneDeep(EDGE) - } - - edge.setAttrs(edgeProps.attrs) - edge.setLabels([ - { - ..._.merge( - { - attrs: _.cloneDeep(edgeProps.defaultLabel.attrs) - }, - { - attrs: { label: { text: labelName } } - } - ) - } - ]) - } - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/x6-style.scss b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/x6-style.scss deleted file mode 100644 index bc56d51b35..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/x6-style.scss +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -$STROKE_BLUE: #288fff; -$BG_WHITE: #ffffff; - -.x6-node[data-shape="dag-task"] { - &.available { - .dag-task-body { - stroke: $STROKE_BLUE; - stroke-width: 1; - stroke-dasharray: 5, 2; - } - &.adsorbed { - .dag-task-body { - stroke-width: 3; - } - } - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/config.js b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/config.js deleted file mode 100755 index 9d583ea8e5..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/config.js +++ /dev/null @@ -1,353 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import i18n from '@/module/i18n' - -/** - * Operation bar config - * @code code - * @icon icon - * @disable disable - * @desc tooltip - */ -const toolOper = (dagThis) => { - const disabled = !!dagThis.$store.state.dag.isDetails// Permissions.getAuth() === false ? false : !dagThis.$store.state.dag.isDetails - return [ - { - code: 'pointer', - icon: 'el-icon-thumb', - disable: disabled, - desc: `${i18n.$t('Drag Nodes and Selected Items')}` - }, - { - code: 'line', - icon: 'el-icon-top-right', - disable: disabled, - desc: `${i18n.$t('Select Line Connection')}` - }, - { - code: 'remove', - icon: 'el-icon-delete', - disable: disabled, - desc: `${i18n.$t('Delete selected lines or nodes')}` - }, - { - code: 'download', - icon: 'el-icon-download', - disable: !dagThis.type, - desc: `${i18n.$t('Download')}` - }, - { - code: 'screen', - icon: 'el-icon-full-screen', - disable: false, - desc: `${i18n.$t('Full Screen')}` - } - ] -} - -/** - * Post status - * @id Front end definition id - * @desc tooltip - * @code Backend definition identifier - */ -const publishStatus = [ - { - id: 0, - desc: `${i18n.$t('Unpublished')}`, - code: 'NOT_RELEASE' - }, - { - id: 1, - desc: `${i18n.$t('online')}`, - code: 'ONLINE' - }, - { - id: 2, - desc: `${i18n.$t('offline')}`, - code: 'OFFLINE' - } -] - -/** - * Operation type - * @desc tooltip - * @code identifier - */ -const runningType = [ - { - desc: `${i18n.$t('Start Process')}`, - code: 'START_PROCESS' - }, - { - desc: `${i18n.$t('Execute from the current node')}`, - code: 'START_CURRENT_TASK_PROCESS' - }, - { - desc: `${i18n.$t('Recover tolerance fault process')}`, - code: 'RECOVER_TOLERANCE_FAULT_PROCESS' - }, - { - desc: `${i18n.$t('Resume the suspension process')}`, - code: 'RECOVER_SUSPENDED_PROCESS' - }, - { - desc: `${i18n.$t('Execute from the failed nodes')}`, - code: 'START_FAILURE_TASK_PROCESS' - }, - { - desc: `${i18n.$t('Complement Data')}`, - code: 'COMPLEMENT_DATA' - }, - { - desc: `${i18n.$t('Scheduling execution')}`, - code: 'SCHEDULER' - }, - { - desc: `${i18n.$t('Rerun')}`, - code: 'REPEAT_RUNNING' - }, - { - desc: `${i18n.$t('Pause')}`, - code: 'PAUSE' - }, - { - desc: `${i18n.$t('Stop')}`, - code: 'STOP' - }, - { - desc: `${i18n.$t('Recovery waiting thread')}`, - code: 'RECOVER_WAITING_THREAD' - }, - { - desc: `${i18n.$t('Recover serial wait')}`, - code: 'RECOVER_SERIAL_WAIT' - } -] - -/** - * Task status - * @key key - * @id id - * @desc tooltip - * @color color - * @icoUnicode iconfont - * @isSpin is loading (Need to execute the code block to write if judgment) - */ -const tasksState = { - SUBMITTED_SUCCESS: { - id: 0, - desc: `${i18n.$t('Submitted successfully')}`, - color: '#A9A9A9', - icoUnicode: 'ri-record-circle-fill', - isSpin: false, - classNames: 'submitted' - }, - RUNNING_EXECUTION: { - id: 1, - desc: `${i18n.$t('Executing')}`, - color: '#0097e0', - icoUnicode: 'el-icon-s-tools', - isSpin: true, - classNames: 'executing' - }, - READY_PAUSE: { - id: 2, - desc: `${i18n.$t('Ready to pause')}`, - color: '#07b1a3', - icoUnicode: 'ri-settings-3-line', - isSpin: false, - classNames: 'submitted' - }, - PAUSE: { - id: 3, - desc: `${i18n.$t('Pause')}`, - color: '#057c72', - icoUnicode: 'el-icon-video-pause', - isSpin: false, - classNames: 'pause' - }, - READY_STOP: { - id: 4, - desc: `${i18n.$t('Ready to stop')}`, - color: '#FE0402', - icoUnicode: 'ri-stop-circle-fill', - isSpin: false - }, - STOP: { - id: 5, - desc: `${i18n.$t('Stop')}`, - color: '#e90101', - icoUnicode: 'ri-stop-circle-line', - isSpin: false - }, - FAILURE: { - id: 6, - desc: `${i18n.$t('Failed')}`, - color: '#000000', - icoUnicode: 'el-icon-circle-close', - isSpin: false, - classNames: 'failed' - }, - SUCCESS: { - id: 7, - desc: `${i18n.$t('Success')}`, - color: '#33cc00', - icoUnicode: 'el-icon-circle-check', - isSpin: false, - classNames: 'success' - }, - NEED_FAULT_TOLERANCE: { - id: 8, - desc: `${i18n.$t('Need fault tolerance')}`, - color: '#FF8C00', - icoUnicode: 'el-icon-edit', - isSpin: false - }, - KILL: { - id: 9, - desc: `${i18n.$t('Kill')}`, - color: '#a70202', - icoUnicode: 'el-icon-remove-outline', - isSpin: false - }, - WAITING_THREAD: { - id: 10, - desc: `${i18n.$t('Waiting for thread')}`, - color: '#912eed', - icoUnicode: 'ri-time-line', - isSpin: false - }, - WAITING_DEPEND: { - id: 11, - desc: `${i18n.$t('Waiting for dependence')}`, - color: '#5101be', - icoUnicode: 'ri-send-to-back', - isSpin: false - }, - DELAY_EXECUTION: { - id: 12, - desc: `${i18n.$t('Delay execution')}`, - color: '#5102ce', - icoUnicode: 'ri-pause-circle-fill', - isSpin: false - }, - FORCED_SUCCESS: { - id: 13, - desc: `${i18n.$t('Forced success')}`, - color: '#5102ce', - icoUnicode: 'el-icon-success', - isSpin: false - }, - SERIAL_WAIT: { - id: 14, - desc: `${i18n.$t('Serial wait')}`, - color: '#5102ce', - icoUnicode: 'el-icon-loading', - isSpin: false - } -} - -/** - * Node type - * @key key - * @desc tooltip - * @color color (tree and gantt) - */ -const tasksType = { - SHELL: { - desc: 'SHELL', - color: '#646464' - }, - SUB_PROCESS: { - desc: 'SUB_PROCESS', - color: '#0097e0' - }, - PROCEDURE: { - desc: 'PROCEDURE', - color: '#525CCD', - helperLinkDisable: true - }, - SQL: { - desc: 'SQL', - color: '#7A98A1' - }, - SPARK: { - desc: 'SPARK', - color: '#E46F13' - }, - FLINK: { - desc: 'FLINK', - color: '#E46F13' - }, - MR: { - desc: 'MapReduce', - color: '#A0A5CC', - helperLinkDisable: true - }, - PYTHON: { - desc: 'PYTHON', - color: '#FED52D' - }, - DEPENDENT: { - desc: 'DEPENDENT', - color: '#2FBFD8' - }, - HTTP: { - desc: 'HTTP', - color: '#E46F13' - }, - DATAX: { - desc: 'DataX', - color: '#1fc747' - }, - PIGEON: { - desc: 'PIGEON', - color: '#1fc747' - }, - SQOOP: { - desc: 'SQOOP', - color: '#E46F13', - helperLinkDisable: true - }, - CONDITIONS: { - desc: 'CONDITIONS', - color: '#E46F13' - }, - DATA_QUALITY: { - desc: 'DATA_QUALITY', - color: '#E46F13' - }, - SWITCH: { - desc: 'SWITCH', - color: '#E46F13' - }, - SEATUNNEL: { - desc: 'SEATUNNEL', - color: '#646465', - helperLinkDisable: true - } -} - -export { - toolOper, - publishStatus, - runningType, - tasksState, - tasksType -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.scss b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.scss deleted file mode 100755 index 49eed5361f..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.scss +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -.dag-chart { - width: 100%; - height: calc(100vh - 100px); - padding: 10px; - background: #f2f3f7; - - &.full-screen { - position: fixed; - width: 100%; - height: 100%; - top: 0; - left: 0; - z-index: 10000; - } -} - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue deleted file mode 100644 index 4ba540ecef..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue +++ /dev/null @@ -1,718 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/dependentTimeout.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/dependentTimeout.vue deleted file mode 100644 index a87b666331..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/dependentTimeout.vue +++ /dev/null @@ -1,249 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/referenceFromTask.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/referenceFromTask.vue deleted file mode 100644 index be631908ba..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/referenceFromTask.vue +++ /dev/null @@ -1,232 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/relatedEnvironment.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/relatedEnvironment.vue deleted file mode 100644 index ff5d0da2bc..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/relatedEnvironment.vue +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/selectInput.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/selectInput.vue deleted file mode 100644 index 0af6729f8d..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/selectInput.vue +++ /dev/null @@ -1,130 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/taskGroups.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/taskGroups.vue deleted file mode 100644 index 75b042c5ab..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/taskGroups.vue +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/timeoutAlarm.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/timeoutAlarm.vue deleted file mode 100644 index 18b7314877..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/timeoutAlarm.vue +++ /dev/null @@ -1,144 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/workerGroups.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/workerGroups.vue deleted file mode 100644 index de2b2c73c2..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/workerGroups.vue +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formLineModel.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formLineModel.vue deleted file mode 100644 index 7c5933467b..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formLineModel.vue +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.scss b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.scss deleted file mode 100644 index 05216321e7..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.scss +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -.form-model-wrapper { - width: 720px; - height: 100vh; - position: relative; - .title-box { - height: 61px; - border-bottom: 1px solid #DCDEDC; - position: relative; - .name { - position: absolute; - left: 24px; - top: 18px; - font-size: 16px; - .helper-link { - font-size: 12px; - display: inline-block; - margin-left: 10px; - } - } - .go-subtask { - position: absolute; - right: 30px; - top: 17px; - a { - font-size: 14px; - color: #0097e0; - margin-left: 10px; - i.ansicon { - font-size: 18px; - vertical-align: middle; - } - em { - color: #333; - vertical-align: middle; - font-style: normal; - vertical-align: middle; - padding-left: 2px; - } - &:hover { - em { - text-decoration: underline; - } - } - } - } - } - .bottom-box { - position: absolute; - bottom: 0; - left: 0; - width: 100%; - text-align: right; - height: 60px; - line-height: 60px; - border-top: 1px solid #DCDEDC; - background: #fff; - .submit { - padding-right: 20px; - position: relative; - z-index: 9; - } - } - .content-box { - overflow-y: scroll; - height: calc(100vh - 121px); - } -} -.form-model { - padding-top: 26px; - padding-bottom: 10px; - >div { - clear: both; - } - .list { - display: flex; - margin-right: 25px; - margin-bottom: 10px; - .text-box { - width: 130px; - text-align: right; - margin-right: 8px; - flex-shrink: 0; - >span { - font-size: 14px; - color: #777; - display: inline-block; - padding-top: 6px; - } - } - .cont-box { - flex: 1; - max-width: calc(100% - 138px); - .label-box { - width: 100%; - } - .text-b { - font-size: 14px; - color: #777; - display: inline-block; - padding:0 6px 0 20px; - } - .cont-extra { - margin-left: 15px; - flex: 1; - } - .el-radio-group { - vertical-align: sub; - padding-top: 6px; - margin-top: 3px; - } - .user-def-params-model { - padding-top: 3px; - } - } - .cont-box + .text-box { - margin-left: 30px; - } - .display-flex { - display: flex; - } - .flex-1 { - flex: 1; - } - .add { - line-height: 32px; - a { - color: #0097e0; - } - } - .list-t { - width: 50%; - float: left; - } - } - .requiredIcon { - color: #ff0000; - padding-right: 4px; - } - .ans-modal-box-max { - position: absolute; - right: -12px; - top: -16px; - } - .vue-treeselect--disabled { - .vue-treeselect__control { - background-color: #ecf3f8; - .vue-treeselect__single-value { - color: #6d859e; - } - } - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue deleted file mode 100644 index 1fd09de08b..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue +++ /dev/null @@ -1,1204 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/log.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/log.vue deleted file mode 100644 index 6704237e88..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/log.vue +++ /dev/null @@ -1,375 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/commcon.js b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/commcon.js deleted file mode 100755 index ea9fea63eb..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/commcon.js +++ /dev/null @@ -1,267 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import i18n from '@/module/i18n' - -/** - * cycle - */ -const cycleList = [ - { - value: 'month', - label: `${i18n.$t('month')}` - }, - { - value: 'week', - label: `${i18n.$t('week')}` - }, - { - value: 'day', - label: `${i18n.$t('day')}` - }, - { - value: 'hour', - label: `${i18n.$t('hour')}` - } -] - -/** - * cycle value - */ -const dateValueList = { - hour: [ - { - value: 'currentHour', - label: `${i18n.$t('CurrentHour')}` - }, - { - value: 'last1Hour', - label: `${i18n.$t('Last1Hour')}` - }, - { - value: 'last2Hours', - label: `${i18n.$t('Last2Hours')}` - }, - { - value: 'last3Hours', - label: `${i18n.$t('Last3Hours')}` - }, - { - value: 'last24Hours', - label: `${i18n.$t('Last24Hours')}` - } - ], - day: [ - { - value: 'today', - label: `${i18n.$t('today')}` - }, - { - value: 'last1Days', - label: `${i18n.$t('Last1Days')}` - }, - { - value: 'last2Days', - label: `${i18n.$t('Last2Days')}` - }, - { - value: 'last3Days', - label: `${i18n.$t('Last3Days')}` - }, - { - value: 'last7Days', - label: `${i18n.$t('Last7Days')}` - } - ], - week: [ - { - value: 'thisWeek', - label: `${i18n.$t('ThisWeek')}` - }, - { - value: 'lastWeek', - label: `${i18n.$t('LastWeek')}` - }, - { - value: 'lastMonday', - label: `${i18n.$t('LastMonday')}` - }, - { - value: 'lastTuesday', - label: `${i18n.$t('LastTuesday')}` - }, - { - value: 'lastWednesday', - label: `${i18n.$t('LastWednesday')}` - }, - { - value: 'lastThursday', - label: `${i18n.$t('LastThursday')}` - }, - { - value: 'lastFriday', - label: `${i18n.$t('LastFriday')}` - }, - { - value: 'lastSaturday', - label: `${i18n.$t('LastSaturday')}` - }, - { - value: 'lastSunday', - label: `${i18n.$t('LastSunday')}` - } - ], - month: [ - { - value: 'thisMonth', - label: `${i18n.$t('ThisMonth')}` - }, - { - value: 'lastMonth', - label: `${i18n.$t('LastMonth')}` - }, - { - value: 'lastMonthBegin', - label: `${i18n.$t('LastMonthBegin')}` - }, - { - value: 'lastMonthEnd', - label: `${i18n.$t('LastMonthEnd')}` - } - ] -} - -/** - * direct - */ -const directList = [ - { - id: 1, - code: 'IN', - disabled: false - }, - { - id: 2, - code: 'OUT', - disabled: false - } -] - -/** - * type - */ -const typeList = [ - { - id: 1, - code: 'VARCHAR', - disabled: false - }, - { - id: 2, - code: 'INTEGER', - disabled: false - }, - { - id: 3, - code: 'LONG', - disabled: false - }, - { - id: 4, - code: 'FLOAT', - disabled: false - }, - { - id: 5, - code: 'DOUBLE', - disabled: false - }, - { - id: 6, - code: 'DATE', - disabled: false - }, - { - id: 7, - code: 'TIME', - disabled: false - }, - { - id: 8, - code: 'TIMESTAMP', - disabled: false - }, - { - id: 9, - code: 'BOOLEAN', - disabled: false - }, - { - id: 10, - code: 'LIST', - disabled: false - } -] - -/** - * sqlType - */ -const sqlTypeList = [ - { - id: '0', - code: `${i18n.$t('Query')}` - }, - { - id: '1', - code: `${i18n.$t('Non Query')}` - } -] - -const positionList = [ - { - id: 'PARAMETER', - code: 'Parameter' - }, - { - id: 'BODY', - code: 'Body' - }, - { - id: 'HEADERS', - code: 'Headers' - } -] -const nodeStatusList = [ - { - value: 'SUCCESS', - label: `${i18n.$t('Success')}` - }, - { - value: 'FAILURE', - label: `${i18n.$t('Failed')}` - } -] - -export { - cycleList, - dateValueList, - typeList, - directList, - sqlTypeList, - positionList, - nodeStatusList -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/datasource.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/datasource.vue deleted file mode 100644 index 3a57023ce5..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/datasource.vue +++ /dev/null @@ -1,169 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/dependItemList.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/dependItemList.vue deleted file mode 100644 index 643bac89c6..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/dependItemList.vue +++ /dev/null @@ -1,364 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/httpParams.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/httpParams.vue deleted file mode 100644 index 3b470d4c88..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/httpParams.vue +++ /dev/null @@ -1,248 +0,0 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/jsonBox.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/jsonBox.vue deleted file mode 100644 index a8f7951fb2..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/jsonBox.vue +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/list4Box.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/list4Box.vue deleted file mode 100644 index f4d3f767a4..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/list4Box.vue +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/listBox.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/listBox.vue deleted file mode 100644 index 351e55d100..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/listBox.vue +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/localParams.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/localParams.vue deleted file mode 100644 index b468cf9d56..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/localParams.vue +++ /dev/null @@ -1,252 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/nodeStatus.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/nodeStatus.vue deleted file mode 100644 index 3e2889b89a..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/nodeStatus.vue +++ /dev/null @@ -1,226 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/resourceTree.js b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/resourceTree.js deleted file mode 100644 index 3f03bf900d..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/resourceTree.js +++ /dev/null @@ -1,44 +0,0 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ -export function diGuiTree (items) { // Recursive convenience tree structure - items.forEach(item => { - item.children === '' || item.children === undefined || item.children === null || item.children.length === 0 - ? operationTree(item) : diGuiTree(item.children) - }) -} - -export function operationTree (item) { - if (item.dirctory) { - item.isDisabled = true - } - delete item.children -} - -export function searchTree (element, id) { - // 根据id查找节点 - if (element.id === id) { - return element - } else if (element.children) { - let i - let result = null - for (i = 0; result === null && i < element.children.length; i++) { - result = searchTree(element.children[i], id) - } - return result - } - return null -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/resources.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/resources.vue deleted file mode 100644 index 99c28164e7..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/resources.vue +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/scriptBox.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/scriptBox.vue deleted file mode 100644 index f503e8bf7c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/scriptBox.vue +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/sqlType.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/sqlType.vue deleted file mode 100644 index ec20f82e7e..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/sqlType.vue +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/statementList.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/statementList.vue deleted file mode 100644 index d9860c240a..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/statementList.vue +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/udfs.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/udfs.vue deleted file mode 100644 index 9c83b878f8..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/udfs.vue +++ /dev/null @@ -1,136 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/warningGroups.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/warningGroups.vue deleted file mode 100644 index 30bcc522fb..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/warningGroups.vue +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/conditions.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/conditions.vue deleted file mode 100644 index e310e51d67..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/conditions.vue +++ /dev/null @@ -1,277 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/dataquality.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/dataquality.vue deleted file mode 100644 index 760cd1a3c5..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/dataquality.vue +++ /dev/null @@ -1,621 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/datax.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/datax.vue deleted file mode 100755 index fa6c40e5a4..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/datax.vue +++ /dev/null @@ -1,528 +0,0 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/dependent.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/dependent.vue deleted file mode 100644 index 5f03ba6d53..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/dependent.vue +++ /dev/null @@ -1,315 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/flink.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/flink.vue deleted file mode 100644 index 2dc804ad8e..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/flink.vue +++ /dev/null @@ -1,589 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/http.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/http.vue deleted file mode 100644 index e3122347d2..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/http.vue +++ /dev/null @@ -1,259 +0,0 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/mr.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/mr.vue deleted file mode 100644 index d9f91f3a18..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/mr.vue +++ /dev/null @@ -1,437 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/pigeon.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/pigeon.vue deleted file mode 100644 index 195024d7c6..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/pigeon.vue +++ /dev/null @@ -1,225 +0,0 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/pre_tasks.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/pre_tasks.vue deleted file mode 100644 index 05d1178079..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/pre_tasks.vue +++ /dev/null @@ -1,130 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/procedure.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/procedure.vue deleted file mode 100644 index af12806f9e..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/procedure.vue +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue deleted file mode 100644 index cfe81192a8..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue +++ /dev/null @@ -1,349 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/seatunnel.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/seatunnel.vue deleted file mode 100644 index 31536185cb..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/seatunnel.vue +++ /dev/null @@ -1,389 +0,0 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/shell.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/shell.vue deleted file mode 100644 index de1693e9bd..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/shell.vue +++ /dev/null @@ -1,361 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/spark.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/spark.vue deleted file mode 100644 index 6674d1f250..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/spark.vue +++ /dev/null @@ -1,609 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sql.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sql.vue deleted file mode 100644 index f8bf9ede60..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sql.vue +++ /dev/null @@ -1,441 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sqoop.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sqoop.vue deleted file mode 100644 index 55c6eecc94..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sqoop.vue +++ /dev/null @@ -1,1292 +0,0 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sub_process.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sub_process.vue deleted file mode 100644 index 5e31b51357..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sub_process.vue +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/switch.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/switch.vue deleted file mode 100644 index ac56e2d39c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/switch.vue +++ /dev/null @@ -1,226 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/full-screen-close.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/full-screen-close.png deleted file mode 100755 index 316fff7a86..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/full-screen-close.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/full-screen-close_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/full-screen-close_hover.png deleted file mode 100755 index 5ad88040f9..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/full-screen-close_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/full-screen-open.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/full-screen-open.png deleted file mode 100755 index 2443cc7d00..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/full-screen-open.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/full-screen-open_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/full-screen-open_hover.png deleted file mode 100755 index d33ba6734e..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/full-screen-open_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/graph-format.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/graph-format.png deleted file mode 100755 index ce0ca79686..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/graph-format.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/graph-format_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/graph-format_hover.png deleted file mode 100755 index 97d359aa0c..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/graph-format_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/startup-params.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/startup-params.png deleted file mode 100755 index 987e1f9085..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/startup-params.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/startup-params_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/startup-params_hover.png deleted file mode 100755 index 83b9a829e1..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/startup-params_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/conditions.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/conditions.png deleted file mode 100755 index 0849964310..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/conditions.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/conditions_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/conditions_hover.png deleted file mode 100755 index a0c4551be3..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/conditions_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/data_quality.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/data_quality.png deleted file mode 100644 index bf2f83e206..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/data_quality.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/data_quality_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/data_quality_hover.png deleted file mode 100644 index e6affd6ff1..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/data_quality_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/datax.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/datax.png deleted file mode 100755 index 22519a98ec..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/datax.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/datax_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/datax_hover.png deleted file mode 100755 index 986470d993..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/datax_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/dependent.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/dependent.png deleted file mode 100755 index 3f0b732c40..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/dependent.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/dependent_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/dependent_hover.png deleted file mode 100755 index 4b4b8669f9..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/dependent_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/flink.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/flink.png deleted file mode 100755 index 568efbef22..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/flink.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/flink_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/flink_hover.png deleted file mode 100755 index 7c8e521553..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/flink_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/http.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/http.png deleted file mode 100755 index 1d80cd08d0..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/http.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/http_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/http_hover.png deleted file mode 100755 index 31403be5e5..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/http_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/mr.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/mr.png deleted file mode 100755 index 59d082f98e..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/mr.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/mr_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/mr_hover.png deleted file mode 100755 index e4cfd96972..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/mr_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/pigeon.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/pigeon.png deleted file mode 100644 index 6fe21d2b1e..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/pigeon.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/pigeon_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/pigeon_hover.png deleted file mode 100644 index d9d651bf5d..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/pigeon_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/procedure.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/procedure.png deleted file mode 100755 index e681c288d8..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/procedure.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/procedure_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/procedure_hover.png deleted file mode 100755 index 82ad43d08b..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/procedure_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/python.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/python.png deleted file mode 100755 index 8bc4d516aa..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/python.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/python_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/python_hover.png deleted file mode 100755 index f94a4f7c64..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/python_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/seatunnel.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/seatunnel.png deleted file mode 100755 index bf2f83e206..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/seatunnel.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/seatunnel_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/seatunnel_hover.png deleted file mode 100755 index e6affd6ff1..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/seatunnel_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/shell.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/shell.png deleted file mode 100755 index 4e40b6eb20..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/shell.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/shell_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/shell_hover.png deleted file mode 100755 index b615f5532e..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/shell_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/spark.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/spark.png deleted file mode 100755 index e9ff012d4d..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/spark.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/spark_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/spark_hover.png deleted file mode 100755 index b0fbc56050..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/spark_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/sql.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/sql.png deleted file mode 100755 index 34154861d5..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/sql.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/sql_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/sql_hover.png deleted file mode 100755 index fabce22545..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/sql_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/sqoop.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/sqoop.png deleted file mode 100755 index 2c754d365f..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/sqoop.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/sqoop_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/sqoop_hover.png deleted file mode 100755 index dd64890207..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/sqoop_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/sub_process.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/sub_process.png deleted file mode 100755 index fb12061507..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/sub_process.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/sub_process_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/sub_process_hover.png deleted file mode 100755 index d6b4abc2cd..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/sub_process_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/switch.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/switch.png deleted file mode 100755 index 02717ea0f9..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/switch.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/switch_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/switch_hover.png deleted file mode 100755 index 0f9f0c152f..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/task-icos/switch_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/view-variables.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/view-variables.png deleted file mode 100755 index 44cbc907e8..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/view-variables.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/view-variables_hover.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/view-variables_hover.png deleted file mode 100755 index 7f8e08cce4..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/images/view-variables_hover.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/jumpAffirm/index.js b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/jumpAffirm/index.js deleted file mode 100644 index 0d019d5fb8..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/jumpAffirm/index.js +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import Vue from 'vue' -import store from '@/conf/home/store' -import i18n from '@/module/i18n' -import router from '@/conf/home/router' -import { uuid, findComponentDownward } from '@/module/util/' - -const Affirm = {} -let $root = {} -let $routerType = '' -let $isPop = true - -/** - * Listen for route changes - */ -router.beforeEach((to, from, next) => { - if (from.name === 'projects-definition-details' || from.name === 'projects-instance-details' || from.name === 'definition-create') { - if (!Affirm.paramVerification(from.name)) { - Affirm.isPop(() => { - next() - }) - } else { - next() - } - } else { - next() - } -}) - -/** - * Get judgment initialization data - */ -Affirm.init = (root) => { - $isPop = true - $root = root - $routerType = router.history.current.name -} - -/** - * Parameter verification - */ -Affirm.paramVerification = (name) => { - if (!$isPop) { - return true - } - const dagStore = store.state.dag - let flag = false - if ($routerType === 'definition-create') { - // No nodes jump out directly - if (dagStore.tasks.length) { - if (!dagStore.name) { - store.commit('dag/setName', `${uuid('dag_')}${uuid() + uuid()}`) - } - } else { - flag = true - } - } else { - // View history direct jump - flag = name === 'projects-instance-details' ? true : !dagStore.isEditDag - } - return flag -} - -/** - * Pop-up judgment - */ -Affirm.isPop = (fn) => { - Vue.prototype.$confirm(`${i18n.$t('Whether to save the DAG graph')}`, '', { - confirmButtonText: `${i18n.$t('Save')}`, - cancelButtonText: `${i18n.$t('Cancel')}`, - type: 'warning' - }).then(() => { - findComponentDownward($root, 'dag-chart').onSave('affirm').then(() => { - fn() - }).catch(() => { - fn() - }) - }).catch(() => { - fn() - }) -} - -/** - * Whether the external setting pops up - */ -Affirm.setIsPop = (is) => { - $isPop = is -} - -export default Affirm diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/jumpAffirm/jumpAffirm.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/jumpAffirm/jumpAffirm.vue deleted file mode 100644 index 552ed142a2..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/jumpAffirm/jumpAffirm.vue +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/loading.scss b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/loading.scss deleted file mode 100644 index e590184362..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/loading.scss +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -.dag-fullscreen-loading{ - .el-loading-spinner i { - color: #fff; - font-size: 18px; - } - .el-loading-text{ - color: #fff; - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/startingParam/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/startingParam/index.vue deleted file mode 100644 index de42199a1a..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/startingParam/index.vue +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/_source/selectTenant.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/_source/selectTenant.vue deleted file mode 100644 index 31637389d1..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/_source/selectTenant.vue +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue deleted file mode 100644 index 054dcfaade..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue +++ /dev/null @@ -1,360 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/variable/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/variable/index.vue deleted file mode 100644 index 9f6ed83d4a..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/variable/index.vue +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/variable/variablesView.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/variable/variablesView.vue deleted file mode 100644 index 3d52ccdb80..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/variable/variablesView.vue +++ /dev/null @@ -1,184 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/definitionDetails.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/definitionDetails.vue deleted file mode 100644 index ff8e562550..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/definitionDetails.vue +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/dag_bg.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/dag_bg.png deleted file mode 100644 index d9fa09817e..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/dag_bg.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_CONDITIONS.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_CONDITIONS.png deleted file mode 100644 index e8c5e38339..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_CONDITIONS.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_DATAX.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_DATAX.png deleted file mode 100644 index b59c759208..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_DATAX.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_DATA_QUALITY.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_DATA_QUALITY.png deleted file mode 100644 index 931438a383..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_DATA_QUALITY.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_DEPENDENT.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_DEPENDENT.png deleted file mode 100644 index b54411722e..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_DEPENDENT.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_ETL.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_ETL.png deleted file mode 100755 index 913af420c6..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_ETL.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_FLINK.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_FLINK.png deleted file mode 100755 index 3aab0231fa..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_FLINK.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_HTTP.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_HTTP.png deleted file mode 100644 index a0ca7bd141..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_HTTP.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_MR.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_MR.png deleted file mode 100644 index f63677b254..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_MR.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_PROCEDURE.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_PROCEDURE.png deleted file mode 100644 index 67c9dd66ee..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_PROCEDURE.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_PYTHON.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_PYTHON.png deleted file mode 100644 index 98be26deeb..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_PYTHON.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SEATUNNEL.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SEATUNNEL.png deleted file mode 100644 index 8a09c569b1..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SEATUNNEL.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SHELL.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SHELL.png deleted file mode 100644 index a7ef988641..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SHELL.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SPARK.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SPARK.png deleted file mode 100644 index 074506479b..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SPARK.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SQL.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SQL.png deleted file mode 100644 index 131a5edd37..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SQL.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SQOOP.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SQOOP.png deleted file mode 100644 index 2ab3b6bd4a..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SQOOP.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SUB_PROCESS.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SUB_PROCESS.png deleted file mode 100644 index fc8311deec..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SUB_PROCESS.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SWITCH.png b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SWITCH.png deleted file mode 100644 index c3066632f5..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_SWITCH.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_TIS.svg b/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_TIS.svg deleted file mode 100644 index 3c1b452b22..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/img/toolbar_TIS.svg +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/index.vue deleted file mode 100644 index 482793e669..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/index.vue +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/instanceDetails.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/instanceDetails.vue deleted file mode 100644 index 3534b4878d..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/instanceDetails.vue +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/_source/common.js b/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/_source/common.js deleted file mode 100644 index 83658d30c2..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/_source/common.js +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import i18n from '@/module/i18n' - -const dataQualityTaskState = [ - { - code: '', - label: `${i18n.$t('All')}` - }, - { - code: 0, - label: `${i18n.$t('Default')}` - }, - { - code: 1, - label: `${i18n.$t('Success')}` - }, - { - code: 2, - label: `${i18n.$t('Failure')}` - } -] - -const operator = [ - { - label: '=', - code: 0 - }, - { - label: '<', - code: 1 - }, - { - label: '<=', - code: 2 - }, - { - label: '>', - code: 3 - }, - { - label: '>=', - code: 4 - }, - { - label: '!=', - code: 5 - } -] - -const ruleType = [ - { - code: -1, - label: `${i18n.$t('All')}` - }, - { - code: 0, - label: `${i18n.$t('Single Table')}` - }, - { - code: 1, - label: `${i18n.$t('Single Table Custom Sql')}` - }, - { - code: 2, - label: `${i18n.$t('Multi Table Accuracy')}` - }, - { - code: 3, - label: `${i18n.$t('Multi Table Comparison')}` - } -] - -const checkType = [ - { - label: `${i18n.$t('Expected - Actual')}`, - code: 0 - }, - { - label: `${i18n.$t('Actual - Expected')}`, - code: 1 - }, - { - label: `${i18n.$t('Actual / Expected')}`, - code: 2 - }, - { - label: `${i18n.$t('(Expected - Actual) / Expected')}`, - code: 3 - } -] - -const failureStrategy = [ - { - label: `${i18n.$t('Alert')}`, - code: 0 - }, - { - label: `${i18n.$t('Block')}`, - code: 1 - } -] - -export { - dataQualityTaskState, - operator, - ruleType, - checkType, - failureStrategy -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/_source/conditions/result.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/_source/conditions/result.vue deleted file mode 100644 index a530d33bcc..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/_source/conditions/result.vue +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/_source/conditions/rule.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/_source/conditions/rule.vue deleted file mode 100644 index cf603513ca..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/_source/conditions/rule.vue +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/index.vue deleted file mode 100644 index 2bf6c326e6..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/index.vue +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/pages/result/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/pages/result/_source/list.vue deleted file mode 100644 index beeca3500a..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/pages/result/_source/list.vue +++ /dev/null @@ -1,133 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/pages/result/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/pages/result/index.vue deleted file mode 100644 index 4f016ab1b3..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/pages/result/index.vue +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/pages/rule/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/pages/rule/_source/list.vue deleted file mode 100644 index 13ccb70d80..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/pages/rule/_source/list.vue +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/pages/rule/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/pages/rule/index.vue deleted file mode 100644 index 4347f7a6d9..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dataquality/pages/rule/index.vue +++ /dev/null @@ -1,176 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/datasource/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/datasource/index.vue deleted file mode 100644 index c616b7ba40..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/datasource/index.vue +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/createDataSource.vue b/dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/createDataSource.vue deleted file mode 100644 index d26c175d2e..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/createDataSource.vue +++ /dev/null @@ -1,600 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/list.vue deleted file mode 100644 index c3bd87c238..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/list.vue +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/index.vue deleted file mode 100644 index 010ee267fa..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/index.vue +++ /dev/null @@ -1,163 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/home/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/home/index.vue deleted file mode 100644 index 71cff27092..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/home/index.vue +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/index.vue deleted file mode 100644 index 60af1187f7..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/index.vue +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/_source/conditions/audit/auditLog.vue b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/_source/conditions/audit/auditLog.vue deleted file mode 100644 index 407fdfcffd..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/_source/conditions/audit/auditLog.vue +++ /dev/null @@ -1,127 +0,0 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/_source/conditions/audit/common.js b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/_source/conditions/audit/common.js deleted file mode 100644 index 2929bc5139..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/_source/conditions/audit/common.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import i18n from '@/module/i18n' - -/** - * Module code table - */ -const resourceType = [ - { - code: '', - label: `${i18n.$t('Resource Type')}` - }, { - code: 'USER_MODULE', - label: `${i18n.$t('User Audit')}` - }, { - code: 'PROJECT_MODULE', - label: `${i18n.$t('Project Audit')}` - } -] - -/** - * Operation code table - */ -const operationType = [ - { - code: '', - label: `${i18n.$t('All Operations')}` - }, { - code: 'CREATE', - label: `${i18n.$t('Create Operation')}` - }, { - code: 'UPDATE', - label: `${i18n.$t('Update Operation')}` - }, { - code: 'DELETE', - label: `${i18n.$t('Delete Operation')}` - }, { - code: 'READ', - label: `${i18n.$t('Read Operation')}` - } -] - -export { - resourceType, operationType -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/_source/conditions/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/_source/conditions/index.vue deleted file mode 100644 index d5d1ad8451..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/_source/conditions/index.vue +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/log/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/log/_source/list.vue deleted file mode 100644 index 63182d871f..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/log/_source/list.vue +++ /dev/null @@ -1,72 +0,0 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/log/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/log/index.vue deleted file mode 100644 index 2678551487..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/log/index.vue +++ /dev/null @@ -1,157 +0,0 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/_source/gauge.vue b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/_source/gauge.vue deleted file mode 100644 index ee560d6f04..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/_source/gauge.vue +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/_source/gaugeOption.js b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/_source/gaugeOption.js deleted file mode 100644 index a61f80f530..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/_source/gaugeOption.js +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import echarts from 'echarts' -export default function (value) { - return { - series: [ - { - type: 'gauge', - center: ['50%', '45%'], // Instrument position - radius: '80%', // Instrument size - startAngle: 200, // Starting angle - endAngle: -20, // End angle - axisLine: { - show: false, - lineStyle: { // Property linestyle controls line style - color: [ - [ 0.5, new echarts.graphic.LinearGradient(0, 0, 1, 0, [{ // eslint-disable-line - offset: 1, - color: '#1CAD52'// 50% Color in place - }, { - offset: 0.8, - color: '#1CAD52'// 40% Color in place - }], false)], // 100% Color in place - [ 0.7, new echarts.graphic.LinearGradient(0, 0, 1, 0, [{ // eslint-disable-line - offset: 1, - color: '#FFC539'// 70% Color in place - }, { - offset: 0.8, - color: '#FEEC49'// 66% Color in place - }, { - offset: 0, - color: '#C7DD6B'// 50% Color in place - }], false)], - [ 0.9, new echarts.graphic.LinearGradient(0, 0, 0, 1, [{ // eslint-disable-line - offset: 1, - color: '#E75F25' // 90% Color in place - }, { - offset: 0.8, - color: '#FE951E' // 86% Color in place - }, { - offset: 0, - color: '#FFC539' // 70% Color in place - }], false)], - [1, new echarts.graphic.LinearGradient(0, 0, 0, 1, [ { // eslint-disable-line - offset: 0.2, - color: '#E75F25' // 92% Color in place - }, { - offset: 0, - color: '#D9452C' // 90% Color in place - }], false)] - ], - width: 10 - } - }, - splitLine: { - show: false - }, - axisTick: { - show: false - }, - axisLabel: { - show: false - }, - pointer: { // Pointer style - length: '45%' - }, - detail: { - show: false - } - }, - { - type: 'gauge', - center: ['50%', '45%'], // Default global center - radius: '70%', - startAngle: 200, - endAngle: -20, - axisLine: { - show: true, - lineStyle: { // Property linestyle controls line style - color: [ // Dial Color - [0.5, '#20AE51'], // 0-50%Color in place - [0.7, '#FFED44'], // 51%-70%Color in place - [0.9, '#FF9618'], // 70%-90%Color in place - [1, '#DA462C']// 90%-100%Color in place - ], - width: 30// Dial width - } - }, - splitLine: { // Split line style (and 10, 20 equal length line style) - length: 30, - lineStyle: { // Property linestyle controls line style - width: 2 - } - }, - axisTick: { // Tick mark style (and short line style) - length: 20 - }, - axisLabel: { // Text style (and text styles such as "10", "20") - color: 'black', - distance: 5 // Distance between text and dial - }, - detail: { - formatter: '{score|{value}%}', - offsetCenter: [0, '50%'], - backgroundColor: '#2D8BF0', - height: 30, - rich: { - score: { - color: 'white', - fontFamily: 'Microsoft YaHei', - fontSize: 32 - } - } - }, - data: [{ - value: value || 0, - label: { - textStyle: { - fontSize: 12 - } - } - }] - } - ] - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/_source/zookeeperDirectories.vue b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/_source/zookeeperDirectories.vue deleted file mode 100644 index 088063b01e..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/_source/zookeeperDirectories.vue +++ /dev/null @@ -1,93 +0,0 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/_source/zookeeperList.vue b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/_source/zookeeperList.vue deleted file mode 100644 index 46cde99551..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/_source/zookeeperList.vue +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/alert.vue b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/alert.vue deleted file mode 100644 index 4f2ddfdf5c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/alert.vue +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/apiserver.vue b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/apiserver.vue deleted file mode 100644 index 4241bbfd26..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/apiserver.vue +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/db.vue b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/db.vue deleted file mode 100755 index fa55ba548c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/db.vue +++ /dev/null @@ -1,136 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/master.vue b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/master.vue deleted file mode 100644 index 3f257e5fe8..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/master.vue +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/rpcserver.vue b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/rpcserver.vue deleted file mode 100644 index a9de88f53b..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/rpcserver.vue +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/servers.scss b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/servers.scss deleted file mode 100644 index fd3c6c4378..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/servers.scss +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -.servers-wrapper { - padding: 16px; - .gauge-model { - width: 100%; - height: 360px; - overflow: hidden; - margin: 0 auto; - .gauge-echart { - width: 350px; - margin: auto; - margin-bottom: -80px; - } - .text-1 { - width: 100%; - margin: 0 auto; - font-size: 32px; - text-align: center; - } - } - .text-num-model { - &.text { - width: 100%; - height: 380px; - overflow: hidden; - border: 1px solid #E8E8E8; - margin: 0 auto; - margin-bottom: 16px; - >.title { - height: 36px; - line-height: 36px; - background: #F9F9F9; - border-bottom: 1px solid #E8E8E8; - padding-left: 10px; - span { - width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - display: block; - } - } - } - .value-p { - height: 276px; - line-height: 276px; - text-align: center; - >strong { - font-size: 100px; - color: #333; - } - } - .text-1 { - width: 100%; - margin: 0 auto; - font-size: 32px; - text-align: center; - } - } - &.mysql-model { - .text-num-model { - height: 250px; - .text-1 { - font-size: 18px; - } - .value-p { - height: 150px; - line-height: 150px; - >b { - font-size: 72px; - } - >.state { - >em { - font-size: 50px; - } - .success { - color: #33cc00; - } - .error { - color: #ff0000; - } - } - } - } - } - .row-box { - width: 100%; - height: 380px; - overflow: hidden; - border: 1px solid #E8E8E8; - margin: 0 auto; - margin-bottom: 16px; - .row-title { - height: 36px; - line-height: 36px; - background: #F9F9F9; - border-bottom: 1px solid #E8E8E8; - position: relative; - span { - font-size: 12px; - color: #444; - &.sp { - margin-right: 6px; - } - } - .left { - position: absolute; - left: 10px; - top: 0; - } - .right { - position: absolute; - right: 10px; - top: 0; - } - } - } -} - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/statistics.vue b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/statistics.vue deleted file mode 100644 index baf1b35120..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/statistics.vue +++ /dev/null @@ -1,131 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/worker.vue b/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/worker.vue deleted file mode 100644 index 2d853ae701..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/monitor/pages/servers/worker.vue +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/index.vue deleted file mode 100644 index cbf4a728e6..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/index.vue +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/index.vue deleted file mode 100644 index 8abf07d1cc..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/index.vue +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/common.js b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/common.js deleted file mode 100644 index 7275b3bf37..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/common.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import i18n from '@/module/i18n' - -/** - * State code table - */ -const stateType = [ - { - code: '', - label: `${i18n.$t('AllStatus')}` - }, { - code: 'SUBMITTED_SUCCESS', - label: `${i18n.$t('Submitted successfully')}` - }, { - code: 'RUNNING_EXECUTION', - label: `${i18n.$t('Running')}` - }, { - code: 'READY_PAUSE', - label: `${i18n.$t('Ready to pause')}` - }, { - code: 'PAUSE', - label: `${i18n.$t('Pause')}` - }, { - code: 'READY_STOP', - label: `${i18n.$t('Ready to stop')}` - }, { - code: 'STOP', - label: `${i18n.$t('Stop')}` - }, { - code: 'FAILURE', - label: `${i18n.$t('Failed')}` - }, { - code: 'SUCCESS', - label: `${i18n.$t('Success')}` - }, { - code: 'NEED_FAULT_TOLERANCE', - label: `${i18n.$t('Need fault tolerance')}` - }, { - code: 'KILL', - label: `${i18n.$t('Kill')}` - }, { - code: 'WAITING_THREAD', - label: `${i18n.$t('Waiting for thread')}` - }, { - code: 'WAITING_DEPEND', - label: `${i18n.$t('Waiting for dependency to complete')}` - }, { - code: 'DELAY_EXECUTION', - label: `${i18n.$t('Delay execution')}` - }, { - code: 'FORCED_SUCCESS', - label: `${i18n.$t('Forced success')}` - }, { - code: 'SERIAL_WAIT', - label: `${i18n.$t('Serial wait')}` - } -] - -export { - stateType -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/processInstance.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/processInstance.vue deleted file mode 100644 index a9f0864d11..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/processInstance.vue +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/taskInstance.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/taskInstance.vue deleted file mode 100644 index 64898b342d..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/taskInstance.vue +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/taskRecordList/_source/conditions.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/taskRecordList/_source/conditions.vue deleted file mode 100644 index e261730aaf..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/taskRecordList/_source/conditions.vue +++ /dev/null @@ -1,151 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/taskRecordList/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/taskRecordList/_source/list.vue deleted file mode 100644 index 5e71cb3667..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/taskRecordList/_source/list.vue +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/taskRecordList/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/taskRecordList/index.vue deleted file mode 100644 index 08c476f2fe..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/taskRecordList/index.vue +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/index.vue deleted file mode 100644 index c276acaf46..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/index.vue +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/create/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/create/index.vue deleted file mode 100644 index 912e62a115..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/create/index.vue +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/details/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/details/index.vue deleted file mode 100644 index 12bb2e95ed..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/details/index.vue +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/email.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/email.vue deleted file mode 100755 index 24c7f1648d..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/email.vue +++ /dev/null @@ -1,378 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue deleted file mode 100644 index a1e8bcc39e..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue +++ /dev/null @@ -1,542 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/relatedItems.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/relatedItems.vue deleted file mode 100644 index 58f398528b..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/relatedItems.vue +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/start.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/start.vue deleted file mode 100644 index 8b7c9fe30f..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/start.vue +++ /dev/null @@ -1,437 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/timing.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/timing.vue deleted file mode 100644 index 0430cfa120..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/timing.vue +++ /dev/null @@ -1,440 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/util.js b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/util.js deleted file mode 100644 index 877f349803..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/util.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import i18n from '@/module/i18n' - -const warningTypeList = [ - { - id: 'NONE', - code: `${i18n.$t('none_1')}` - }, - { - id: 'SUCCESS', - code: `${i18n.$t('success_1')}` - }, - { - id: 'FAILURE', - code: `${i18n.$t('failure_1')}` - }, - { - id: 'ALL', - code: `${i18n.$t('All_1')}` - } -] - -const isEmial = (val) => { - let regEmail = /^([a-zA-Z0-9]+[_|\-|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\-|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,}$/ // eslint-disable-line - return regEmail.test(val) -} - -const fuzzyQuery = (list, keyWord) => { - const len = list.length - const arr = [] - const reg = new RegExp(keyWord) - for (let i = 0; i < len; i++) { - if (list[i].match(reg)) { - arr.push(list[i]) - } - } - return arr -} - -export { - warningTypeList, - isEmial, - fuzzyQuery -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/versions.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/versions.vue deleted file mode 100644 index 2fc9f211ac..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/versions.vue +++ /dev/null @@ -1,206 +0,0 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/index.vue deleted file mode 100644 index ec1e8988e3..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/index.vue +++ /dev/null @@ -1,184 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/tree/_source/tree.js b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/tree/_source/tree.js deleted file mode 100644 index af2d26831b..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/tree/_source/tree.js +++ /dev/null @@ -1,293 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import * as d3 from 'd3' -import { rtInstancesTooltip, rtCountMethod } from './util' -import { tasksType, tasksState } from '@/conf/home/pages/dag/_source/config' - -let self = this - -const Tree = function () { - self = this - this.selfTree = {} - this.tree = function () {} - // basic configuration - this.config = { - barHeight: 26, - axisHeight: 40, - squareSize: 10, - squarePading: 4, - taskNum: 25, - nodesMax: 0 - } - // Margin configuration - this.config.margin = { - top: this.config.barHeight / 2 + this.config.axisHeight, - right: 0, - bottom: 0, - left: this.config.barHeight / 2 - } - // width - this.config.margin.width = 960 - this.config.margin.left - this.config.margin.right - // bar width - this.config.barWidth = parseInt(this.config.margin.width * 0.9) -} - -/** - * init - */ -Tree.prototype.init = function ({ data, limit, selfTree }) { - return new Promise((resolve, reject) => { - this.selfTree = selfTree - this.config.taskNum = limit - this.duration = 400 - this.i = 0 - this.tree = d3.layout.tree().nodeSize([0, 46]) - const tasks = this.tree.nodes(data) - - this.diagonal = d3.svg - .diagonal() - .projection(d => [d.y, d.x]) - - this.svg = d3.select('svg') - .append('g') - .attr('class', 'level') - .attr('transform', 'translate(' + this.config.margin.left + ',' + this.config.margin.top + ')') - - data.x0 = 0 - data.y0 = 0 - - this.squareNum = tasks[tasks.length === 1 ? 0 : 1].instances.length - - // Calculate the maximum node length - this.config.nodesMax = rtCountMethod(data.children) - - this.treeUpdate(this.root = data).then(() => { - this.treeTooltip() - selfTree.isLoading = false - resolve() - }) - }) -} - -/** - * tasks - */ -Tree.prototype.nodesClass = function (d) { - let sclass = 'node' - if (d.children === undefined && d._children === undefined) { - sclass += ' leaf' - } else { - sclass += ' parent' - if (d.children === undefined) { sclass += ' collapsed' } else { sclass += ' expanded' } - } - return sclass -} - -/** - * toottip handle - */ -Tree.prototype.treeTooltip = function () { - $('rect.state').tooltip({ - html: true, - container: 'body' - }) - $('circle.task').tooltip({ - html: true, - container: 'body' - }) -} - -/** - * tree Expand hidden - */ -Tree.prototype.treeToggles = function (clicked_d) { // eslint-disable-line - - self.removeTooltip() - - d3.selectAll("[task_id='" + clicked_d.uuid + "']").each((d) => { - if (clicked_d !== d && d.children) { // eslint-disable-line - d._children = d.children - d.children = null - self.treeUpdate(d) - } - }) - if (clicked_d._children) { - clicked_d.children = clicked_d._children - clicked_d._children = null - } else { - clicked_d._children = clicked_d.children - clicked_d.children = null - } - self.treeUpdate(clicked_d) - self.treeTooltip() -} - -/** - * update tree - */ -Tree.prototype.treeUpdate = function (source) { - return new Promise((resolve, reject) => { - const tasks = this.tree.nodes(this.root) - const height = Math.max(500, tasks.length * this.config.barHeight + this.config.margin.top + this.config.margin.bottom) - const width = (this.config.nodesMax * 70) + (this.squareNum * (this.config.squareSize + this.config.squarePading)) + this.config.margin.left + this.config.margin.right + 50 - - d3.select('svg') - .transition() - .duration(this.duration) - .attr('height', height) - .attr('width', width) - - tasks.forEach((n, i) => { - n.x = i * this.config.barHeight - }) - - const task = this.svg.selectAll('g.node') - .data(tasks, (d) => { - return d.id || (d.id = ++this.i) - }) - - const nodeEnter = task.enter() - .append('g') - .attr('class', this.nodesClass) - .attr('transform', () => 'translate(' + source.y0 + ',' + source.x0 + ')') - .style('opacity', 1e-6) - - // Node circle - nodeEnter.append('circle') - .attr('r', (this.config.barHeight / 3)) - .attr('class', 'task') - .attr('data-toggle', 'tooltip') - .attr('title', d => d.type ? d.type : '') - .attr('height', this.config.barHeight) - .attr('width', d => this.config.barWidth - d.y) - .style('fill', d => d.type ? tasksType[d.type].color : '#fff') - .attr('task_id', d => d.name) - .on('click', this.treeToggles) - - // Node text - nodeEnter.append('text') - .attr('dy', 3.5) - .attr('dx', this.config.barHeight / 2) - .text((d) => { - return d.name - }) - - // Right node information - nodeEnter.append('g') - .attr('class', 'stateboxes') - .attr('transform', (d, i) => 'translate(' + ((this.config.nodesMax * 60) - d.y) + ',0)') - .selectAll('rect').data((d) => d.instances) - .enter() - .append('rect') - .on('click', d => { - this.removeTooltip() - if (d.type === 'SUB_PROCESS') { - this.selfTree._subProcessHandle(d.subflowId) - } - }) - .attr('class', 'state') - .style('fill', d => (d.state && tasksState[d.state].color) || '#ffffff') - .attr('data-toggle', 'tooltip') - .attr('rx', d => d.type ? 0 : 12) - .attr('ry', d => d.type ? 0 : 12) - .style('shape-rendering', d => d.type ? 'crispEdges' : 'auto') - .attr('title', data => rtInstancesTooltip(data)) - .attr('x', (d, i) => (i * (this.config.squareSize + this.config.squarePading))) - .attr('y', -(this.config.squareSize / 2)) - .attr('width', 10) - .attr('height', 10) - .on('mouseover', () => { - d3.select(this).transition() - }) - .on('mouseout', () => { - d3.select(this).transition() - }) - - // Convert nodes to their new location。 - nodeEnter.transition() - .duration(this.duration) - .attr('transform', d => 'translate(' + d.y + ',' + d.x + ')') - .style('opacity', 1) - - // Node line - task.transition() - .duration(this.duration) - .attr('class', this.nodesClass) - .attr('transform', d => 'translate(' + d.y + ',' + d.x + ')') - .style('opacity', 1) - - // Convert the exit node to the new location of the parent node。 - task.exit().transition() - .duration(this.duration) - .attr('transform', d => 'translate(' + source.y + ',' + source.x + ')') - .style('opacity', 1e-6) - .remove() - - // Update link - const link = this.svg.selectAll('path.link') - .data(this.tree.links(tasks), d => d.target.id) - - // Enter any new links in the previous location of the parent node。 - link.enter().insert('path', 'g') - .attr('class', 'link') - .attr('d', (d) => { - const o = { x: source.x0, y: source.y0 } - return this.diagonal({ source: o, target: o }) - }) - .transition() - .duration(this.duration) - .attr('d', this.diagonal) - - // Transition link - link.transition() - .duration(this.duration) - .attr('d', this.diagonal) - - // Convert the exit node to the new location of the parent node - link.exit().transition() - .duration(this.duration) - .attr('d', (d) => { - const o = { x: source.x, y: source.y } - return this.diagonal({ source: o, target: o }) - }) - .remove() - - // Hide the old position for a transition. - tasks.forEach((d) => { - d.x0 = d.x - d.y0 = d.y - }) - resolve() - }) -} - -/** - * reset - */ -Tree.prototype.reset = function () { - $('.d3-tree .tree').html('') -} - -/** - * Manually clear tooltip - */ -Tree.prototype.removeTooltip = function () { - $('body').find('.tooltip.fade.top.in').remove() -} - -export default new Tree() diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/tree/_source/util.js b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/tree/_source/util.js deleted file mode 100644 index 2df1783593..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/tree/_source/util.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { formatDate } from '@/module/filter/filter' -import { tasksState } from '@/conf/home/pages/dag/_source/config' - -/** - * Node prompt dom - */ -const rtInstancesTooltip = (data) => { - let str = '
' - str += `id : ${data.id}
` - str += `host : ${data.host}
` - str += `name : ${data.name}
` - str += `state : ${data.state ? tasksState[data.state].desc : '-'}(${data.state})
` - if (data.type) { - str += `type : ${data.type}
` - } - str += `startTime : ${data.startTime ? formatDate(data.startTime) : '-'}
` - str += `endTime : ${data.endTime ? formatDate(data.endTime) : '-'}
` - str += `duration : ${data.duration}
` - str += '
' - return str -} - -/** - * Calculate the maximum node length - * Easy to calculate the width dynamically - */ -const rtCountMethod = list => { - const arr = [] - function count (list, t) { - let toggle = false - list.forEach(v => { - if (v.children && v.children.length > 0) { - if (!toggle) { - toggle = true - t += '*' - arr.push(t) - } - count(v.children, t) - } - }) - } - count(list, '*') - let num = 6 - arr.forEach(v => { - if (v.length > num) { - num = v.length - } - }) - return num -} - -export { - rtInstancesTooltip, - rtCountMethod -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/tree/img/dag_bg.png b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/tree/img/dag_bg.png deleted file mode 100644 index d9fa09817e..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/tree/img/dag_bg.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/tree/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/tree/index.vue deleted file mode 100644 index 430ff49fe5..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/tree/index.vue +++ /dev/null @@ -1,270 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/timing/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/timing/_source/list.vue deleted file mode 100644 index fca6630ecb..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/timing/_source/list.vue +++ /dev/null @@ -1,255 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/timing/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/timing/index.vue deleted file mode 100644 index d38434510f..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/timing/index.vue +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/historyTaskRecord/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/historyTaskRecord/index.vue deleted file mode 100644 index 574f96bf4f..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/historyTaskRecord/index.vue +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/chartConfig.js b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/chartConfig.js deleted file mode 100644 index 9fb18eaa91..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/chartConfig.js +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import _ from 'lodash' -import { tasksState } from '@/conf/home/pages/dag/_source/config' - -const pie = { - series: [ - { - type: 'pie', - clickable: true, // Whether to open clicks - minAngle: 5, // The smallest sector angle (0 ~ 360), used to prevent a value from being too small, causing the sector to be too small to affect the interaction - avoidLabelOverlap: true, // Whether to prevent the label overlap policy - hoverAnimation: true, // Whether to enable hover to enlarge the animation on the sector. - radius: ['30%', '60%'], - center: ['53%', '60%'], - label: { - align: 'left', - normal: { - } - } - } - ] -} - -const bar = { - title: { - text: '' - }, - grid: { - right: '2%' - }, - xAxis: { - splitLine: { - show: false - }, - axisLabel: { - formatter (v) { - return `${v.split(',')[0]} (${v.split(',')[2]})` - } - } - }, - tooltip: { - formatter (v) { - const val = v[0].name.split(',') - return `${val[0]} (${v[0].value})` - } - }, - series: [{ - type: 'bar', - barWidth: 30 - }] -} - -const simple = { - xAxis: { - splitLine: { - show: false - }, - axisLabel: { - interval: 0, - showMaxLabel: true, - formatter (v) { - return tasksState[v].desc - } - } - }, - tooltip: { - formatter (data) { - let str = '' - _.map(data, (v, i) => { - if (i === 0) { - str += `${tasksState[v.name].desc}
` - } - str += `
${v.seriesName} : ${v.data}
` - }) - return str - } - }, - color: ['#D5050B', '#0398E1'] - -} - -export { pie, bar, simple } diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/defineUserCount.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/defineUserCount.vue deleted file mode 100644 index be4304f934..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/defineUserCount.vue +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/processStateCount.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/processStateCount.vue deleted file mode 100644 index b6fedbd791..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/processStateCount.vue +++ /dev/null @@ -1,144 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/taskStatusCount.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/taskStatusCount.vue deleted file mode 100644 index d83c0c2b3e..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/taskStatusCount.vue +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/index.vue deleted file mode 100644 index e482ed6b0a..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/index.vue +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/index.vue deleted file mode 100644 index b02b297709..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/index.vue +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/details/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/details/index.vue deleted file mode 100644 index ac67c25c63..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/details/index.vue +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/gantt/_source/gantt.js b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/gantt/_source/gantt.js deleted file mode 100644 index 5a4366b06f..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/gantt/_source/gantt.js +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import _ from 'lodash' -import * as d3 from 'd3' -import { formatDate } from '@/module/filter/filter' -import { tasksState } from '@/conf/home/pages/dag/_source/config' - -const Gantt = function () { - this.el = '' - this.tasks = [] - this.width = null - this.height = null - this.taskNames = [] - this.tickFormat = '%H:%M:%S' - this.margin = { - top: 10, - right: 40, - bottom: 10, - left: 300 - } - this.startTimeXAxis = d3.time.day.offset(new Date(), -3) - this.endTimeXAxis = d3.time.hour.offset(new Date(), +3) -} - -Gantt.prototype.init = function ({ el, tasks }) { - this.el = el - this.tasks = tasks - this.taskNames = _.map(_.cloneDeep(tasks), v => v.taskName) - this.taskNames = this.taskNames.reduce(function (prev, cur) { - prev.indexOf(cur) === -1 && prev.push(cur) - return prev - }, []) - this.height = parseInt(this.taskNames.length * 30) - this.width = $(this.el).width() - this.margin.right - this.margin.left - 5 - - this.x = d3.time.scale() - .domain([this.startTimeXAxis, this.endTimeXAxis]) - .range([0, this.width]) - .clamp(true) - - this.y = d3.scale.ordinal() - .domain(this.taskNames) - .rangeRoundBands([0, this.height - this.margin.top - this.margin.bottom], 0.1) - - this.xAxis = d3.svg.axis() - .scale(this.x) - .orient('bottom') - .tickFormat(d3.time.format(this.tickFormat)) - .tickSubdivide(true) - .tickSize(8) - .tickPadding(8) - - this.yAxis = d3.svg.axis() - .scale(this.x) - .orient('left') - .tickSize(0) - - // time dimension - this.compXAxisTimes() - // Timescale calculation - this.initializeXAxis() - // Drawing charts - this.drawChart() -} - -/** - * Calculate time latitude - */ -Gantt.prototype.compXAxisTimes = function () { - if (this.tasks === undefined || this.tasks.length < 1) { - this.startTimeXAxis = d3.time.day.offset(new Date(), -3) - this.endTimeXAxis = d3.time.hour.offset(new Date(), +3) - return - } - this.tasks.sort((a, b) => a.endDate - b.endDate) - this.endTimeXAxis = this.tasks[this.tasks.length - 1].endDate - this.tasks.sort((a, b) => a.startDate - b.startDate) - this.startTimeXAxis = this.tasks[0].startDate -} - -/** - * Timescale processing - */ -Gantt.prototype.initializeXAxis = function () { - this.x = d3.time.scale() - .domain([this.startTimeXAxis, this.endTimeXAxis]) - .range([0, this.width]) - .clamp(true) - - this.y = d3.scale.ordinal() - .domain(this.taskNames) - .rangeRoundBands([0, this.height - this.margin.top - this.margin.bottom], 0.1) - - this.xAxis = d3.svg.axis() - .scale(this.x) - .orient('bottom') - .tickFormat(d3.time.format(this.tickFormat)) - .tickSubdivide(true) - .tickSize(8).tickPadding(8) - - this.yAxis = d3.svg.axis() - .scale(this.y) - .orient('left') - .tickSize(0) -} - -/** - * Drawing charts - */ -Gantt.prototype.drawChart = function () { - const svg = d3.select(this.el) - .append('svg') - .attr('class', 'chart') - .attr('width', this.width + this.margin.left + this.margin.right) - .attr('height', this.height + this.margin.top + this.margin.bottom + 150) - .append('g') - .attr('class', 'gantt-chart') - .attr('width', this.width + this.margin.left + this.margin.right) - .attr('height', this.height + this.margin.top + this.margin.bottom + 150) - .attr('transform', 'translate(' + this.margin.left + ', ' + this.margin.top + ')') - - svg.selectAll('.chart') - .data(this.tasks, d => d.startDate + d.taskName + d.endDate).enter() - .append('rect') - .attr('fill', d => d.status ? tasksState[d.status].color : '#000') - .attr('data-toggle', 'tooltip') - .attr('class', 'nodesp') - .attr('data-container', 'body') - .attr('title', this.tip) - .attr('y', 0) - .attr('transform', d => 'translate(' + this.x(d.startDate) + ',' + this.y(d.taskName) + ')') - .attr('height', () => this.y.rangeBand()) - .attr('width', d => d3.max([this.x(d.endDate) - this.x(d.startDate), 1])) - - svg.append('g') - .attr('class', 'x axis') - .attr('transform', 'translate(0, ' + (this.height - this.margin.top - this.margin.bottom) + ')') - .transition() - .call(this.xAxis) - .selectAll('text') - .attr('transform', `rotate(-${this.width / ($('.tick').length - 1) > 50 ? 0 : Math.acos(this.width / ($('.tick').length - 1) / 50) * 57})`) - .style('text-anchor', `${this.width / ($('.tick').length - 1) > 50 ? 'middle' : 'end'}`) - - svg.append('g') - .attr('class', 'y axis') - .transition() - .call(this.yAxis) - - $('rect.nodesp').tooltip({ - html: true, - container: 'body' - }) -} -/** - * Tip prompt - */ -Gantt.prototype.tip = function (d) { - let str = '
' - str += `taskName : ${d.taskName}
` - str += `status : ${tasksState[d.status].desc} (${d.status})
` - str += `startTime : ${formatDate(d.isoStart)}
` - str += `endTime : ${formatDate(d.isoEnd)}
` - str += `duration : ${d.duration}
` - str += '
' - return str -} - -export default new Gantt() diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/gantt/img/dag_bg.png b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/gantt/img/dag_bg.png deleted file mode 100644 index d9fa09817e..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/gantt/img/dag_bg.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/gantt/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/gantt/index.vue deleted file mode 100644 index c9389485d8..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/gantt/index.vue +++ /dev/null @@ -1,178 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue deleted file mode 100644 index db1da2a578..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue +++ /dev/null @@ -1,496 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/index.vue deleted file mode 100644 index d4c7ca3ca6..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/index.vue +++ /dev/null @@ -1,228 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGrid.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGrid.vue deleted file mode 100644 index d674b1d13a..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGrid.vue +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js deleted file mode 100644 index 4d9e050976..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js +++ /dev/null @@ -1,154 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import _ from 'lodash' -import i18n from '@/module/i18n/index.js' -import dayjs from 'dayjs' - -const getCategory = (categoryDic, { workFlowPublishStatus, schedulePublishStatus, code }, sourceWorkFlowCode) => { - if (code === sourceWorkFlowCode) return categoryDic.active - switch (true) { - case workFlowPublishStatus === '0': - return categoryDic['0'] - case workFlowPublishStatus === '1' && schedulePublishStatus === '0': - return categoryDic['10'] - case workFlowPublishStatus === '1' && schedulePublishStatus === '1': - default: - return categoryDic['1'] - } -} - -const formatName = (str) => { - if (typeof str !== 'string') return '' - - return str.slice(0, 6) + (str.length > 6 ? '\n...' : '') -} - -const publishStatusFormat = (status) => { - return status === 0 || status === '0' ? i18n.$t('offline') : status === 1 || status === '1' ? i18n.$t('online') : '-' -} - -export default function (locations, links, sourceWorkFlowCode, isShowLabel) { - const categoryDic = { - active: { color: '#2D8DF0', category: i18n.$t('KinshipStateActive') }, - 1: { color: '#00C800', category: i18n.$t('KinshipState1') }, - 0: { color: '#999999', category: i18n.$t('KinshipState0') }, - 10: { color: '#FF8F05', category: i18n.$t('KinshipState10') } - } - const newData = _.map(locations, (item) => { - const { color, category } = getCategory(categoryDic, item, sourceWorkFlowCode) - return { - ...item, - id: item.code, - emphasis: { - itemStyle: { - color - } - }, - category - } - }) - - const categories = [ - { name: categoryDic.active.category }, - { name: categoryDic['1'].category }, - { name: categoryDic['0'].category }, - { name: categoryDic['10'].category } - ] - const option = { - tooltip: { - trigger: 'item', - triggerOn: 'mousemove', - backgroundColor: '#2D303A', - padding: [8, 12], - formatter: (params) => { - if (!params.data.name) return '' - const { name, scheduleStartTime, scheduleEndTime, crontab, workFlowPublishStatus, schedulePublishStatus } = params.data - return ` - ${i18n.$t('workflowName')}:${name}
- ${i18n.$t('scheduleStartTime')}:${dayjs(scheduleStartTime).format('YYYY-MM-DD HH:mm:ss')}
- ${i18n.$t('scheduleEndTime')}:${dayjs(scheduleEndTime).format('YYYY-MM-DD HH:mm:ss')}
- ${i18n.$t('crontabExpression')}:${crontab}
- ${i18n.$t('workflowPublishStatus')}:${publishStatusFormat(workFlowPublishStatus)}
- ${i18n.$t('schedulePublishStatus')}:${publishStatusFormat(schedulePublishStatus)}
- ` - }, - color: '#2D303A', - textStyle: { - rich: { - a: { - fontSize: 12, - color: '#2D303A', - lineHeight: 12, - align: 'left', - padding: [4, 4, 4, 4] - } - } - } - }, - color: [categoryDic.active.color, categoryDic['1'].color, categoryDic['0'].color, categoryDic['10'].color], - legend: [{ - orient: 'horizontal', - top: 6, - left: 6, - data: categories - }], - series: [{ - type: 'graph', - layout: 'force', - nodeScaleRatio: 1.2, - draggable: true, - animation: false, - data: newData, - roam: true, - symbol: 'roundRect', - symbolSize: 70, - categories, - label: { - show: isShowLabel, - position: 'inside', - formatter: (params) => { - if (!params.data.name) return '' - return formatName(params.data.name) - }, - color: '#222222', - textStyle: { - rich: { - a: { - fontSize: 12, - color: '#222222', - lineHeight: 12, - align: 'left', - padding: [4, 4, 4, 4] - } - } - } - }, - edgeSymbol: ['circle', 'arrow'], - edgeSymbolSize: [4, 12], - force: { - repulsion: 1000, - edgeLength: 300 - }, - links: links, - lineStyle: { - color: '#999999' - } - }] - } - - return option -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/img/dag_bg.png b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/img/dag_bg.png deleted file mode 100644 index d9fa09817e..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/img/dag_bg.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/index.vue deleted file mode 100644 index c2404dc1ad..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/index.vue +++ /dev/null @@ -1,169 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/list/_source/createProject.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/list/_source/createProject.vue deleted file mode 100644 index fef3aa3901..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/list/_source/createProject.vue +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/list/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/list/_source/list.vue deleted file mode 100644 index b1bf025b5f..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/list/_source/list.vue +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/list/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/list/index.vue deleted file mode 100644 index 1cc9f8f871..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/list/index.vue +++ /dev/null @@ -1,142 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/_source/list.vue deleted file mode 100644 index 36d24560f9..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/_source/list.vue +++ /dev/null @@ -1,277 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/_source/taskDeleteModal.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/_source/taskDeleteModal.vue deleted file mode 100644 index 9d90ad5b68..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/_source/taskDeleteModal.vue +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/_source/taskMoveModel.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/_source/taskMoveModel.vue deleted file mode 100644 index 23c9c2e9a4..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/_source/taskMoveModel.vue +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/_source/versions.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/_source/versions.vue deleted file mode 100644 index 9b0974122a..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/_source/versions.vue +++ /dev/null @@ -1,253 +0,0 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/index.vue deleted file mode 100644 index a09f16f4ea..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/index.vue +++ /dev/null @@ -1,542 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/_source/list.vue deleted file mode 100644 index 306e757449..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/_source/list.vue +++ /dev/null @@ -1,173 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/index.vue deleted file mode 100644 index f6ad9f8bcc..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/index.vue +++ /dev/null @@ -1,212 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskRecord/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskRecord/index.vue deleted file mode 100644 index d0227eb180..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskRecord/index.vue +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/timing/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/timing/index.vue deleted file mode 100644 index 71c2569b9b..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/timing/index.vue +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/index.vue deleted file mode 100644 index ce4e3bbc5e..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/index.vue +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/index.vue deleted file mode 100644 index 2eb4e6b441..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/index.vue +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/_source/codemirror.js b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/_source/codemirror.js deleted file mode 100644 index d085be66a1..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/_source/codemirror.js +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import CodeMirror from 'codemirror/lib/codemirror' -import 'codemirror/lib/codemirror.css' -import 'codemirror/addon/hint/show-hint' -import 'codemirror/addon/hint/sql-hint' -import 'codemirror/addon/hint/xml-hint' -import 'codemirror/mode/python/python' -import 'codemirror/mode/sql/sql' -import 'codemirror/mode/xml/xml' -import 'codemirror/mode/textile/textile' -import 'codemirror/mode/shell/shell' -import 'codemirror/theme/mdn-like.css' -import 'codemirror/addon/hint/show-hint.css' - -export default (id, o) => { - return CodeMirror.fromTextArea(document.getElementById(id), Object.assign({ - lineNumbers: true, - theme: 'mdn-like', - readOnly: true - }, {}, o)) -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/_source/common.js b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/_source/common.js deleted file mode 100755 index 9bc68af081..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/_source/common.js +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * Create file type - */ -const filtTypeArr = ['txt', 'log', 'sh', 'bat', 'conf', 'cfg', 'py', 'java', 'sql', 'xml', 'hql', 'properties', 'json', 'yml', 'yaml', 'ini', 'js'] - -export { filtTypeArr } diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/create/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/create/index.vue deleted file mode 100644 index d6b2db4049..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/create/index.vue +++ /dev/null @@ -1,196 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/createFolder/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/createFolder/index.vue deleted file mode 100644 index 8affc61e06..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/createFolder/index.vue +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/createUdfFolder/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/createUdfFolder/index.vue deleted file mode 100755 index 60ae18e7b2..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/createUdfFolder/index.vue +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/_source/down_error.png b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/_source/down_error.png deleted file mode 100644 index 09af1cee8b..0000000000 Binary files a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/_source/down_error.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/_source/noType.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/_source/noType.vue deleted file mode 100644 index 659db9755f..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/_source/noType.vue +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/_source/utils.js b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/_source/utils.js deleted file mode 100644 index 283931edc3..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/_source/utils.js +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * Processing suffix - */ -const handlerSuffix = { - '.txt': 'textile', - '.log': 'textile', - '.sh': 'shell', - '.conf': 'textile', - '.cfg': 'textile', - '.py': 'python', - '.java': 'textile', - '.sql': 'sql', - '.hql': 'sql', - '.xml': 'xml', - '.properties': 'textile' -} - -export { - handlerSuffix -} diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/index.vue deleted file mode 100644 index 40c19ce503..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/index.vue +++ /dev/null @@ -1,259 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/edit/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/edit/index.vue deleted file mode 100644 index a3629067a7..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/edit/index.vue +++ /dev/null @@ -1,236 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/list.vue deleted file mode 100755 index 12d1ae05c2..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/list.vue +++ /dev/null @@ -1,193 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/rename.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/rename.vue deleted file mode 100644 index 156e6a01f8..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/rename.vue +++ /dev/null @@ -1,122 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/index.vue deleted file mode 100755 index e07b1f2df3..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/index.vue +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subFile/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subFile/index.vue deleted file mode 100644 index 13b538876f..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subFile/index.vue +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subFileFolder/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subFileFolder/index.vue deleted file mode 100755 index e9734daa29..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subFileFolder/index.vue +++ /dev/null @@ -1,127 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subdirectory/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subdirectory/_source/list.vue deleted file mode 100755 index 9fcd941474..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subdirectory/_source/list.vue +++ /dev/null @@ -1,201 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subdirectory/_source/rename.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subdirectory/_source/rename.vue deleted file mode 100755 index d649a1551d..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subdirectory/_source/rename.vue +++ /dev/null @@ -1,122 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subdirectory/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subdirectory/index.vue deleted file mode 100755 index 3f2bf0bc7c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subdirectory/index.vue +++ /dev/null @@ -1,191 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/index.vue deleted file mode 100644 index 02e700ebb4..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/index.vue +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/taskGroupOption/_source/createTaskGroup.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/taskGroupOption/_source/createTaskGroup.vue deleted file mode 100644 index 3fea8b772c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/taskGroupOption/_source/createTaskGroup.vue +++ /dev/null @@ -1,202 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/taskGroupOption/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/taskGroupOption/_source/list.vue deleted file mode 100644 index 0b57bcdc7d..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/taskGroupOption/_source/list.vue +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/taskGroupOption/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/taskGroupOption/index.vue deleted file mode 100644 index 76cbc3afb0..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/taskGroupOption/index.vue +++ /dev/null @@ -1,176 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/taskGroupQueue/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/taskGroupQueue/_source/list.vue deleted file mode 100644 index 30f8c695cd..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/taskGroupQueue/_source/list.vue +++ /dev/null @@ -1,154 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/taskGroupQueue/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/taskGroupQueue/index.vue deleted file mode 100644 index 57a9f1d590..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/taskGroupQueue/index.vue +++ /dev/null @@ -1,212 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/index.vue deleted file mode 100644 index c85c2ad375..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/index.vue +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/createUdfFolder/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/createUdfFolder/index.vue deleted file mode 100755 index a6ed93fca7..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/createUdfFolder/index.vue +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/createUdf.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/createUdf.vue deleted file mode 100644 index c5b5f8cf86..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/createUdf.vue +++ /dev/null @@ -1,325 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue deleted file mode 100644 index d7e85336bc..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/index.vue deleted file mode 100644 index f6efaa619f..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/index.vue +++ /dev/null @@ -1,151 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/list.vue deleted file mode 100644 index 6b85690f3c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/list.vue +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/rename.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/rename.vue deleted file mode 100644 index 5b7fbd1cd3..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/rename.vue +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/index.vue deleted file mode 100644 index de02c75c85..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/index.vue +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/_source/list.vue deleted file mode 100755 index d341e3a854..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/_source/list.vue +++ /dev/null @@ -1,169 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/_source/rename.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/_source/rename.vue deleted file mode 100755 index 2aa7b9fb6f..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/_source/rename.vue +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/index.vue deleted file mode 100755 index 6111210e00..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/index.vue +++ /dev/null @@ -1,192 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfFolder/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfFolder/index.vue deleted file mode 100755 index aca8885d50..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfFolder/index.vue +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/index.vue deleted file mode 100644 index d756dd44eb..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/index.vue +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/environment/_source/createEnvironment.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/environment/_source/createEnvironment.vue deleted file mode 100644 index 192760f8f9..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/environment/_source/createEnvironment.vue +++ /dev/null @@ -1,228 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/environment/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/environment/_source/list.vue deleted file mode 100644 index 7cf489668e..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/environment/_source/list.vue +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/environment/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/environment/index.vue deleted file mode 100644 index f3d8482d4d..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/environment/index.vue +++ /dev/null @@ -1,163 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/namespace/_source/createNamespace.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/namespace/_source/createNamespace.vue deleted file mode 100644 index 42e2459307..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/namespace/_source/createNamespace.vue +++ /dev/null @@ -1,204 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/namespace/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/namespace/_source/list.vue deleted file mode 100644 index ee4e571b7c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/namespace/_source/list.vue +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/namespace/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/namespace/index.vue deleted file mode 100644 index b4c91c6c10..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/namespace/index.vue +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/createQueue.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/createQueue.vue deleted file mode 100644 index 9344cda28b..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/createQueue.vue +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/list.vue deleted file mode 100644 index 72c656c407..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/list.vue +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/index.vue deleted file mode 100644 index 3ade7c2b93..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/index.vue +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/_source/createTenement.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/_source/createTenement.vue deleted file mode 100644 index 042a1d5b9a..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/_source/createTenement.vue +++ /dev/null @@ -1,179 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/_source/list.vue deleted file mode 100644 index e42f34828c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/_source/list.vue +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/index.vue deleted file mode 100644 index 54bfa57740..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/index.vue +++ /dev/null @@ -1,162 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/token/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/token/index.vue deleted file mode 100644 index 4cf01d7616..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/token/index.vue +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue deleted file mode 100644 index 59b973d951..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue +++ /dev/null @@ -1,355 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue deleted file mode 100644 index 4978a27289..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue +++ /dev/null @@ -1,455 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/index.vue deleted file mode 100644 index 44f8adc5f1..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/index.vue +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/createWarning.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/createWarning.vue deleted file mode 100644 index 74e53f3e43..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/createWarning.vue +++ /dev/null @@ -1,156 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/list.vue deleted file mode 100644 index 251716018e..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/list.vue +++ /dev/null @@ -1,180 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/index.vue deleted file mode 100644 index 50704a37b7..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/index.vue +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue deleted file mode 100644 index 0d6a8829db..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue +++ /dev/null @@ -1,207 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/list.vue deleted file mode 100644 index 350c6010cc..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/list.vue +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/index.vue deleted file mode 100644 index 3b676e846b..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/index.vue +++ /dev/null @@ -1,169 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/_source/createWorker.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/_source/createWorker.vue deleted file mode 100644 index 5264965b42..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/_source/createWorker.vue +++ /dev/null @@ -1,127 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/_source/list.vue deleted file mode 100644 index 3745db74c8..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/_source/list.vue +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/index.vue deleted file mode 100644 index 980c7556f6..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/index.vue +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/user/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/user/index.vue deleted file mode 100644 index 8219a5f17f..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/user/index.vue +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/account/_source/info.vue b/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/account/_source/info.vue deleted file mode 100644 index 3a48b53a65..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/account/_source/info.vue +++ /dev/null @@ -1,148 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/account/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/account/index.vue deleted file mode 100644 index 69796705fb..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/account/index.vue +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/password/_source/info.vue b/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/password/_source/info.vue deleted file mode 100644 index e0a8370efd..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/password/_source/info.vue +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/password/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/password/index.vue deleted file mode 100644 index 2ec45785fc..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/password/index.vue +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/token/_source/createToken.vue b/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/token/_source/createToken.vue deleted file mode 100644 index f8cab2cb3f..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/token/_source/createToken.vue +++ /dev/null @@ -1,191 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/token/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/token/_source/list.vue deleted file mode 100644 index d3b397b39f..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/token/_source/list.vue +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/token/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/token/index.vue deleted file mode 100644 index 76fa9d2d62..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/pages/user/pages/token/index.vue +++ /dev/null @@ -1,163 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/conf/home/router/index.js b/dolphinscheduler-ui/src/js/conf/home/router/index.js deleted file mode 100644 index da3068658b..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/router/index.js +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Vue from 'vue' -import Router from 'vue-router' -import home from './module/home' -import datasource from './module/datasource' -import monitor from './module/monitor' -import projects from './module/projects' -import resource from './module/resource' -import security from './module/security' -import user from './module/user' -import dataquality from './module/dataquality' - -Vue.use(Router) - -const router = new Router({ - routes: [ - { - path: '/', - name: 'index', - redirect: { - name: 'home' - } - }, - ...home, - ...projects, - ...resource, - ...datasource, - ...dataquality, - ...security, - ...user, - ...monitor - ] -}) - -const VueRouterPush = Router.prototype.push -Router.prototype.push = function push (to) { - return VueRouterPush.call(this, to).catch(err => err) -} - -router.beforeEach((to, from, next) => { - const $body = $('body') - $body.find('.tooltip.fade.top.in').remove() - if (to.meta.title) { - document.title = `${to.meta.title} - DolphinScheduler` - } - next() -}) - -export default router diff --git a/dolphinscheduler-ui/src/js/conf/home/router/module/dataquality.js b/dolphinscheduler-ui/src/js/conf/home/router/module/dataquality.js deleted file mode 100644 index ea2c9c8c09..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/router/module/dataquality.js +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import i18n from '@/module/i18n/index.js' - -const dataquality = [ - { - path: '/dataquality', - name: 'dataquality', - component: resolve => require(['../../pages/dataquality/index'], resolve), - meta: { - title: `${i18n.$t('DataQuality')}` - }, - redirect: { - name: 'data-quality-result' - }, - children: [ - { - path: '/dataquality/result', - name: 'data-quality-result', - component: resolve => require(['../../pages/dataquality/pages/result/index'], resolve), - meta: { - title: `${i18n.$t('DataQuality Result')}` - } - }, - { - path: '/dataquality/rule', - name: 'data-quality-rule', - component: resolve => require(['../../pages/dataquality/pages/rule/index'], resolve), - meta: { - title: `${i18n.$t('DataQuality Rule')}` - } - } - ] - } -] - -export default dataquality diff --git a/dolphinscheduler-ui/src/js/conf/home/router/module/datasource.js b/dolphinscheduler-ui/src/js/conf/home/router/module/datasource.js deleted file mode 100644 index 20507ca585..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/router/module/datasource.js +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import i18n from '@/module/i18n/index.js' - -const datasource = [ - { - path: '/datasource', - name: 'datasource', - component: resolve => require(['../../pages/datasource'], resolve), - meta: { - title: `${i18n.$t('Datasource')}` - }, - redirect: { - name: 'datasource-list' - }, - children: [ - { - path: '/datasource/list', - name: 'datasource-list', - component: resolve => require(['../../pages/datasource/pages/list'], resolve), - meta: { - title: `${i18n.$t('Datasource')}` - } - } - ] - } -] - -export default datasource diff --git a/dolphinscheduler-ui/src/js/conf/home/router/module/home.js b/dolphinscheduler-ui/src/js/conf/home/router/module/home.js deleted file mode 100644 index 28516e16d3..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/router/module/home.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import i18n from '@/module/i18n/index.js' -import config from '~/external/config' - -const home = [ - { - path: '/home', - name: 'home', - component: resolve => require(['../../pages/home'], resolve), - meta: { - title: `${i18n.$t('Home')} - DolphinScheduler`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - } -] - -export default home diff --git a/dolphinscheduler-ui/src/js/conf/home/router/module/monitor.js b/dolphinscheduler-ui/src/js/conf/home/router/module/monitor.js deleted file mode 100644 index dd7ae4f448..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/router/module/monitor.js +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import i18n from '@/module/i18n/index.js' -import config from '~/external/config' - -const monitor = [ - { - path: '/monitor', - name: 'monitor', - component: resolve => require(['../../pages/monitor'], resolve), - meta: { - title: 'monitor' - }, - redirect: { - name: 'servers-master' - }, - children: [ - { - path: '/monitor/servers/master', - name: 'servers-master', - component: resolve => require(['../../pages/monitor/pages/servers/master'], resolve), - meta: { - title: `${i18n.$t('Service-Master')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/monitor/servers/worker', - name: 'servers-worker', - component: resolve => require(['../../pages/monitor/pages/servers/worker'], resolve), - meta: { - title: `${i18n.$t('Service-Worker')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/monitor/servers/alert', - name: 'servers-alert', - component: resolve => require(['../../pages/monitor/pages/servers/alert'], resolve), - meta: { - title: 'Alert', - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/monitor/servers/rpcserver', - name: 'servers-rpcserver', - component: resolve => require(['../../pages/monitor/pages/servers/rpcserver'], resolve), - meta: { - title: 'Rpcserver', - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/monitor/servers/apiserver', - name: 'servers-apiserver', - component: resolve => require(['../../pages/monitor/pages/servers/apiserver'], resolve), - meta: { - title: 'Apiserver', - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/monitor/servers/db', - name: 'servers-db', - component: resolve => require(['../../pages/monitor/pages/servers/db'], resolve), - meta: { - title: 'DB', - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/monitor/servers/statistics', - name: 'statistics', - component: resolve => require(['../../pages/monitor/pages/servers/statistics'], resolve), - meta: { - title: 'statistics', - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/monitor/audit/log', - name: 'audit-log', - component: resolve => require(['../../pages/monitor/pages/log/index'], resolve), - meta: { - title: 'audit-log', - refreshInSwitchedTab: config.refreshInSwitchedTab - } - } - ] - } -] - -export default monitor diff --git a/dolphinscheduler-ui/src/js/conf/home/router/module/projects.js b/dolphinscheduler-ui/src/js/conf/home/router/module/projects.js deleted file mode 100644 index ffefbdc162..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/router/module/projects.js +++ /dev/null @@ -1,221 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import i18n from '@/module/i18n/index.js' -import config from '~/external/config' -import store from '@/conf/home/store' -import localStore from '@/module/util/localStorage' - -const projects = [ - { - path: '/projects', - name: 'projects', - component: resolve => require(['../../pages/projects'], resolve), - meta: { - title: `${i18n.$t('Project')}` - }, - redirect: { - name: 'projects-list' - }, - beforeEnter: (to, from, next) => { - const blacklist = ['projects', 'projects-list'] - const { projectCode } = to.params || {} - if (!blacklist.includes(to.name) && projectCode && projectCode !== localStore.getItem('projectCode')) { - store.dispatch('projects/getProjectByCode', projectCode).then(res => { - store.commit('dag/setProjectId', res.id) - store.commit('dag/setProjectCode', res.code) - store.commit('dag/setProjectName', res.name) - localStore.setItem('projectId', res.id) - localStore.setItem('projectCode', res.code) - localStore.setItem('projectName', res.name) - next() - }).catch(e => { - next({ name: 'projects-list' }) - }) - } else { - next() - } - }, - children: [ - { - path: '/projects/list', - name: 'projects-list', - component: resolve => require(['../../pages/projects/pages/list'], resolve), - meta: { - title: `${i18n.$t('Project')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/projects/:projectCode/index', - name: 'projects-index', - component: resolve => require(['../../pages/projects/pages/index'], resolve), - meta: { - title: `${i18n.$t('Project Home')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/projects/:projectCode/kinship', - name: 'projects-kinship', - component: resolve => require(['../../pages/projects/pages/kinship'], resolve), - meta: { - title: `${i18n.$t('Kinship')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/projects/:projectCode/definition', - name: 'definition', - component: resolve => require(['../../pages/projects/pages/definition'], resolve), - meta: { - title: `${i18n.$t('Process definition')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - }, - redirect: { - name: 'projects-definition-list' - }, - children: [ - { - path: '/projects/:projectCode/definition/list', - name: 'projects-definition-list', - component: resolve => require(['../../pages/projects/pages/definition/pages/list'], resolve), - meta: { - title: `${i18n.$t('Process definition')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/projects/:projectCode/definition/list/:code', - name: 'projects-definition-details', - component: resolve => require(['../../pages/projects/pages/definition/pages/details'], resolve), - meta: { - title: `${i18n.$t('Process definition details')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/projects/:projectCode/definition/create', - name: 'definition-create', - component: resolve => require(['../../pages/projects/pages/definition/pages/create'], resolve), - meta: { - title: `${i18n.$t('Create process definition')}` - } - }, - { - path: '/projects/:projectCode/definition/tree/:code', - name: 'definition-tree-view-index', - component: resolve => require(['../../pages/projects/pages/definition/pages/tree'], resolve), - meta: { - title: `${i18n.$t('TreeView')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/projects/:projectCode/definition/list/timing/:code', - name: 'definition-timing-details', - component: resolve => require(['../../pages/projects/pages/definition/timing'], resolve), - meta: { - title: `${i18n.$t('Scheduled task list')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - } - ] - }, - { - path: '/projects/:projectCode/instance', - name: 'instance', - component: resolve => require(['../../pages/projects/pages/instance'], resolve), - meta: { - title: `${i18n.$t('Process Instance')}` - }, - redirect: { - name: 'projects-instance-list' - }, - children: [ - { - path: '/projects/:projectCode/instance/list', - name: 'projects-instance-list', - component: resolve => require(['../../pages/projects/pages/instance/pages/list'], resolve), - meta: { - title: `${i18n.$t('Process Instance')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/projects/:projectCode/instance/list/:id', - name: 'projects-instance-details', - component: resolve => require(['../../pages/projects/pages/instance/pages/details'], resolve), - meta: { - title: `${i18n.$t('Process instance details')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/projects/:projectCode/instance/gantt/:id', - name: 'instance-gantt-index', - component: resolve => require(['../../pages/projects/pages/instance/pages/gantt'], resolve), - meta: { - title: `${i18n.$t('Gantt')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - } - ] - }, - { - path: '/projects/:projectCode/task-instance', - name: 'task-instance', - component: resolve => require(['../../pages/projects/pages/taskInstance'], resolve), - meta: { - title: `${i18n.$t('Task Instance')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - - }, - { - path: '/projects/:projectCode/task-definition', - name: 'task-definition', - component: resolve => require(['../../pages/projects/pages/taskDefinition'], resolve), - meta: { - title: `${i18n.$t('Task Definition')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/projects/:projectCode/task-record', - name: 'task-record', - component: resolve => require(['../../pages/projects/pages/taskRecord'], resolve), - meta: { - title: `${i18n.$t('Task record')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/projects/:projectCode/history-task-record', - name: 'history-task-record', - component: resolve => require(['../../pages/projects/pages/historyTaskRecord'], resolve), - meta: { - title: `${i18n.$t('History task record')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - - } - ] - } -] - -export default projects diff --git a/dolphinscheduler-ui/src/js/conf/home/router/module/resource.js b/dolphinscheduler-ui/src/js/conf/home/router/module/resource.js deleted file mode 100644 index 0d262cec4f..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/router/module/resource.js +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import i18n from '@/module/i18n/index.js' -import config from '~/external/config' - -const resource = [ - { - path: '/resource', - name: 'resource', - component: resolve => require(['../../pages/resource'], resolve), - redirect: { - name: 'file' - }, - meta: { - title: `${i18n.$t('Resources')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - }, - children: [ - { - path: '/resource/file', - name: 'file', - component: resolve => require(['../../pages/resource/pages/file/pages/list'], resolve), - meta: { - title: `${i18n.$t('File Manage')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/resource/file/create', - name: 'resource-file-create', - component: resolve => require(['../../pages/resource/pages/file/pages/create'], resolve), - meta: { - title: `${i18n.$t('Create Resource')}` - } - }, - { - path: '/resource/file/createFolder', - name: 'resource-file-createFolder', - component: resolve => require(['../../pages/resource/pages/file/pages/createFolder'], resolve), - meta: { - title: `${i18n.$t('Create Resource')}` - } - }, - { - path: '/resource/file/subFileFolder/:id', - name: 'resource-file-subFileFolder', - component: resolve => require(['../../pages/resource/pages/file/pages/subFileFolder'], resolve), - meta: { - title: `${i18n.$t('Create Resource')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/resource/file/subFile/:id', - name: 'resource-file-subFile', - component: resolve => require(['../../pages/resource/pages/file/pages/subFile'], resolve), - meta: { - title: `${i18n.$t('Create Resource')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/resource/file/list/:id', - name: 'resource-file-details', - component: resolve => require(['../../pages/resource/pages/file/pages/details'], resolve), - meta: { - title: `${i18n.$t('File Details')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/resource/file/subdirectory/:id', - name: 'resource-file-subdirectory', - component: resolve => require(['../../pages/resource/pages/file/pages/subdirectory'], resolve), - meta: { - title: `${i18n.$t('File Manage')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/resource/file/edit/:id', - name: 'resource-file-edit', - component: resolve => require(['../../pages/resource/pages/file/pages/edit'], resolve), - meta: { - title: `${i18n.$t('File Details')}` - } - }, - { - path: '/resource/udf', - name: 'udf', - component: resolve => require(['../../pages/resource/pages/udf'], resolve), - meta: { - title: `${i18n.$t('UDF manage')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - }, - children: [ - { - path: '/resource/udf', - name: 'resource-udf', - component: resolve => require(['../../pages/resource/pages/udf/pages/resource'], resolve), - meta: { - title: `${i18n.$t('UDF Resources')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/resource/udf/subUdfDirectory/:id', - name: 'resource-udf-subUdfDirectory', - component: resolve => require(['../../pages/resource/pages/udf/pages/subUdfDirectory'], resolve), - meta: { - title: `${i18n.$t('UDF Resources')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/resource/udf/createUdfFolder', - name: 'resource-udf-createUdfFolder', - component: resolve => require(['../../pages/resource/pages/udf/pages/createUdfFolder'], resolve), - meta: { - title: `${i18n.$t('Create Resource')}` - } - }, - { - path: '/resource/udf/subCreateUdfFolder/:id', - name: 'resource-udf-subCreateUdfFolder', - component: resolve => require(['../../pages/resource/pages/udf/pages/subUdfFolder'], resolve), - meta: { - title: `${i18n.$t('Create Resource')}` - } - }, - { - path: '/resource/func', - name: 'resource-func', - component: resolve => require(['../../pages/resource/pages/udf/pages/function'], resolve), - meta: { - title: `${i18n.$t('UDF Function')}` - } - } - ] - }, - { - path: '/resource/task-group', - name: 'task-group-manage', - component: resolve => require(['../../pages/resource/pages/taskGroups'], resolve), - meta: { - title: `${i18n.$t('Task group manage')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - }, - children: [ - { - path: '/resource/task-group', - name: 'task-group-option', - component: resolve => require(['../../pages/resource/pages/taskGroups/taskGroupOption'], resolve), - meta: { - title: `${i18n.$t('Task group option')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/resource/task-group-queue', - name: 'task-group-queue', - component: resolve => require(['../../pages/resource/pages/taskGroups/taskGroupQueue'], resolve), - meta: { - title: `${i18n.$t('Task group queue')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - } - ] - } - ] - } -] - -export default resource diff --git a/dolphinscheduler-ui/src/js/conf/home/router/module/security.js b/dolphinscheduler-ui/src/js/conf/home/router/module/security.js deleted file mode 100644 index cac6e4821f..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/router/module/security.js +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import i18n from '@/module/i18n/index.js' -import config from '~/external/config' - -const security = [ - { - path: '/security', - name: 'security', - component: resolve => require(['../../pages/security'], resolve), - meta: { - title: `${i18n.$t('Security')}` - }, - redirect: { - name: 'tenement-manage' - }, - children: [ - { - path: '/security/tenant', - name: 'tenement-manage', - component: resolve => require(['../../pages/security/pages/tenement'], resolve), - meta: { - title: `${i18n.$t('Tenant Manage')}` - } - }, - { - path: '/security/users', - name: 'users-manage', - component: resolve => require(['../../pages/security/pages/users'], resolve), - meta: { - title: `${i18n.$t('User Manage')}`, - refreshInSwitchedTab: config.refreshInSwitchedTab - } - }, - { - path: '/security/warning-groups', - name: 'warning-groups-manage', - component: resolve => require(['../../pages/security/pages/warningGroups'], resolve), - meta: { - title: `${i18n.$t('Warning group manage')}` - } - }, - { - path: '/security/warning-instance', - name: 'warning-instance-manage', - component: resolve => require(['../../pages/security/pages/warningInstance'], resolve), - meta: { - title: `${i18n.$t('Warning instance manage')}` - } - }, - { - path: '/security/queue', - name: 'queue-manage', - component: resolve => require(['../../pages/security/pages/queue'], resolve), - meta: { - title: `${i18n.$t('Queue manage')}` - } - }, - { - path: '/security/worker-groups', - name: 'worker-groups-manage', - component: resolve => require(['../../pages/security/pages/workerGroups'], resolve), - meta: { - title: `${i18n.$t('Worker group manage')}` - } - }, - { - path: '/security/environments', - name: 'environment-manage', - component: resolve => require(['../../pages/security/pages/environment'], resolve), - meta: { - title: `${i18n.$t('Environment manage')}` - } - }, - { - path: '/security/token', - name: 'token-manage', - component: resolve => require(['../../pages/security/pages/token'], resolve), - meta: { - title: `${i18n.$t('Token manage')}` - } - }, - { - path: '/security/namespace', - name: 'namespace', - component: resolve => require(['../../pages/security/pages/namespace'], resolve), - meta: { - title: `${i18n.$t('K8s Namespace')}` - } - } - ] - } -] - -export default security diff --git a/dolphinscheduler-ui/src/js/conf/home/router/module/user.js b/dolphinscheduler-ui/src/js/conf/home/router/module/user.js deleted file mode 100644 index 9dd29a46e8..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/router/module/user.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import i18n from '@/module/i18n/index.js' - -const user = [ - { - path: '/user', - name: 'user', - component: resolve => require(['../../pages/user'], resolve), - meta: { - title: `${i18n.$t('User Center')}` - }, - redirect: { - name: 'account' - }, - children: [ - { - path: '/user/account', - name: 'account', - component: resolve => require(['../../pages/user/pages/account'], resolve), - meta: { - title: `${i18n.$t('User Information')}` - } - }, - { - path: '/user/password', - name: 'password', - component: resolve => require(['../../pages/user/pages/password'], resolve), - meta: { - title: `${i18n.$t('Edit password')}` - } - }, - { - path: '/user/token', - name: 'token', - component: resolve => require(['../../pages/user/pages/token'], resolve), - meta: { - title: `${i18n.$t('Token manage')}` - } - } - ] - } -] - -export default user diff --git a/dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js b/dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js deleted file mode 100644 index e4928514bc..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js +++ /dev/null @@ -1,1087 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import _ from 'lodash' -import io from '@/module/io' - -// Avoid passing in illegal values when users directly call third-party interfaces -const convertLocations = (locationStr) => { - let locations = null - if (!locationStr) return locations - try { - locations = JSON.parse(locationStr) - } catch (error) { } - return Array.isArray(locations) ? locations : null -} - -export default { - /** - * Task status acquisition - */ - getTaskState ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/process-instances/${payload}/tasks`, { - processInstanceId: payload - }, res => { - res.list = _.map(res.data.taskList, v => { - return _.cloneDeep({ - code: v.taskCode, - taskType: v.taskType, - dependentResult: v.dependentResult - }) - }) - state.taskInstances = res.data.taskList - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Update process definition status - */ - editProcessState ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(`projects/${state.projectCode}/process-definition/${payload.code}/release`, { - name: payload.name, - releaseState: payload.releaseState - }, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - - /** - * get process definition versions pagination info - */ - getProcessDefinitionVersionsPage ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/process-definition/${payload.code}/versions`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - - /** - * switch process definition version - */ - switchProcessDefinitionVersion ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/process-definition/${payload.code}/versions/${payload.version}`, {}, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - - /** - * delete process definition version - */ - deleteProcessDefinitionVersion ({ state }, payload) { - return new Promise((resolve, reject) => { - io.delete(`projects/${state.projectCode}/process-definition/${payload.code}/versions/${payload.version}`, {}, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - - /** - * Update process instance status - */ - editExecutorsState ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(`projects/${state.projectCode}/executors/execute`, { - processInstanceId: payload.processInstanceId, - executeType: payload.executeType - }, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Verify that the DGA map name exists - */ - verifDAGName ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/process-definition/verify-name`, { - name: payload - }, res => { - state.name = payload - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - - /** - * Get process definition DAG diagram details - */ - getProcessDetails ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/process-definition/${payload}`, { - }, res => { - // process definition code - state.code = res.data.processDefinition.code - // version - state.version = res.data.processDefinition.version - // name - state.name = res.data.processDefinition.name - // releaseState - state.releaseState = res.data.processDefinition.releaseState - // description - state.description = res.data.processDefinition.description - // taskRelationJson - state.connects = res.data.processTaskRelationList - // locations - state.locations = convertLocations(res.data.processDefinition.locations) - // global params - state.globalParams = res.data.processDefinition.globalParamList - // timeout - state.timeout = res.data.processDefinition.timeout - // executionType - state.executionType = res.data.processDefinition.executionType - // tenantCode - state.tenantCode = res.data.processDefinition.tenantCode || 'default' - // tasks info - state.tasks = res.data.taskDefinitionList.map(task => _.pick(task, [ - 'code', - 'name', - 'version', - 'description', - 'delayTime', - 'taskType', - 'taskParams', - 'flag', - 'taskPriority', - 'workerGroup', - 'failRetryTimes', - 'failRetryInterval', - 'timeoutFlag', - 'timeoutNotifyStrategy', - 'timeout', - 'environmentCode', - 'taskGroupId', - 'taskGroupPriority' - ])) - - resolve(res.data) - }).catch(res => { - reject(res) - }) - }) - }, - - /** - * Get process definition DAG diagram details - */ - copyProcess ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(`projects/${state.projectCode}/process-definition/batch-copy`, { - codes: payload.codes, - targetProjectCode: payload.targetProjectCode - }, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - - /** - * Get process definition DAG diagram details - */ - moveProcess ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(`projects/${state.projectCode}/process-definition/batch-move`, { - codes: payload.codes, - targetProjectCode: payload.targetProjectCode - }, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - - /** - * Get all the items created by the logged in user - */ - getAllItems ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('projects/created-and-authed', {}, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - - /** - * Get the process instance DAG diagram details - */ - getInstancedetail ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/process-instances/${payload}`, { - }, res => { - const { processDefinition, processTaskRelationList, taskDefinitionList } = res.data.dagData - // code - state.code = processDefinition.code - // version - state.version = processDefinition.version - // name - state.name = res.data.name - // desc - state.description = processDefinition.description - // connects - state.connects = processTaskRelationList - // locations - state.locations = convertLocations(processDefinition.locations) - // global params - state.globalParams = processDefinition.globalParamList - // timeout - state.timeout = processDefinition.timeout - // executionType - state.executionType = processDefinition.executionType - // tenantCode - state.tenantCode = res.data.tenantCode || 'default' - // tasks info - state.tasks = taskDefinitionList.map(task => _.pick(task, [ - 'code', - 'name', - 'version', - 'description', - 'delayTime', - 'taskType', - 'taskParams', - 'flag', - 'taskPriority', - 'workerGroup', - 'failRetryTimes', - 'failRetryInterval', - 'timeoutFlag', - 'timeoutNotifyStrategy', - 'timeout', - 'environmentCode' - ])) - // startup parameters - state.startup = _.assign(state.startup, _.pick(res.data, ['commandType', 'failureStrategy', 'processInstancePriority', 'workerGroup', 'warningType', 'warningGroupId', 'receivers', 'receiversCc'])) - state.startup.commandParam = JSON.parse(res.data.commandParam) - - resolve(res.data) - }).catch(res => { - reject(res) - }) - }) - }, - /** - * Create process definition - */ - saveDAGchart ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(`projects/${state.projectCode}/process-definition`, { - locations: JSON.stringify(state.locations), - name: _.trim(state.name), - taskDefinitionJson: JSON.stringify(state.tasks), - taskRelationJson: JSON.stringify(state.connects), - tenantCode: state.tenantCode, - executionType: state.executionType, - description: _.trim(state.description), - globalParams: JSON.stringify(state.globalParams), - timeout: state.timeout - }, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Process definition update - */ - updateDefinition ({ state }, payload) { - return new Promise((resolve, reject) => { - io.put(`projects/${state.projectCode}/process-definition/${payload}`, { - locations: JSON.stringify(state.locations), - name: _.trim(state.name), - taskDefinitionJson: JSON.stringify(state.tasks), - taskRelationJson: JSON.stringify(state.connects), - tenantCode: state.tenantCode, - executionType: state.executionType, - description: _.trim(state.description), - globalParams: JSON.stringify(state.globalParams), - timeout: state.timeout, - releaseState: state.releaseState - }, res => { - resolve(res) - state.isEditDag = false - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Process instance update - */ - updateInstance ({ state }, instanceId) { - return new Promise((resolve, reject) => { - io.put(`projects/${state.projectCode}/process-instances/${instanceId}`, { - syncDefine: state.syncDefine, - globalParams: JSON.stringify(state.globalParams), - locations: JSON.stringify(state.locations), - taskDefinitionJson: JSON.stringify(state.tasks), - taskRelationJson: JSON.stringify(state.connects), - tenantCode: state.tenantCode, - timeout: state.timeout - }, res => { - resolve(res) - state.isEditDag = false - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Get a list of process definitions (sub-workflow usage is not paged) - */ - getProcessList ({ state }, payload) { - return new Promise((resolve, reject) => { - if (state.processListS.length) { - resolve() - return - } - io.get(`projects/${state.projectCode}/process-definition/simple-list`, payload, res => { - state.processListS = res.data - resolve(res.data) - }).catch(res => { - reject(res) - }) - }) - }, - /** - * Get a list of process definitions (list page usage with pagination) - */ - getProcessListP ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/process-definition`, payload, res => { - resolve(res.data) - }).catch(res => { - reject(res) - }) - }) - }, - /** - * Get a list of project - */ - getProjectList ({ state }, payload) { - return new Promise((resolve, reject) => { - if (state.projectListS.length) { - resolve() - return - } - io.get('projects/created-and-authed', payload, res => { - state.projectListS = res.data - resolve(res.data) - }).catch(res => { - reject(res) - }) - }) - }, - /** - * Get a list of process definitions by project code - */ - getProcessByProjectCode ({ state }, code) { - return new Promise((resolve, reject) => { - io.get(`projects/${code}/process-definition/all`, res => { - resolve(res.data) - }).catch(res => { - reject(res) - }) - }) - }, - /** - * get datasource - */ - getDatasourceList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('datasources/list', { - type: payload - }, res => { - resolve(res) - }).catch(res => { - reject(res) - }) - }) - }, - /** - * get resources - */ - getResourcesList ({ state }) { - return new Promise((resolve, reject) => { - if (state.resourcesListS.length) { - resolve() - return - } - io.get('resources/list', { - type: 'FILE' - }, res => { - state.resourcesListS = res.data - resolve(res.data) - }).catch(res => { - reject(res) - }) - }) - }, - /** - * get jar - */ - getResourcesListJar ({ state }, programType) { - return new Promise((resolve, reject) => { - io.get('resources/query-by-type', { - type: 'FILE', - programType - }, res => { - resolve(res.data) - }).catch(res => { - reject(res) - }) - }) - }, - /** - * Get process instance - */ - getProcessInstance ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/process-instances`, payload, res => { - state.instanceListS = res.data.totalList - resolve(res.data) - }).catch(res => { - reject(res) - }) - }) - }, - /** - * Get alarm list - */ - getNotifyGroupList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('alert-groups/list', res => { - state.notifyGroupListS = _.map(res.data, v => { - return { - id: v.id, - code: v.groupName, - disabled: false - } - }) - resolve(_.cloneDeep(state.notifyGroupListS)) - }).catch(res => { - reject(res) - }) - }) - }, - /** - * Process definition startup interface - */ - processStart ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(`projects/${state.projectCode}/executors/start-process-instance`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * View log - */ - getLog ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('log/detail', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Get the process instance id according to the process definition id - * @param taskId - */ - getSubProcessId ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/process-instances/query-sub-by-parent`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Called before the process definition starts - */ - getStartCheck ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(`projects/${state.projectCode}/executors/start-check`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Create timing - */ - createSchedule ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(`projects/${state.projectCode}/schedules`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Preview timing - */ - previewSchedule ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(`projects/${state.projectCode}/schedules/preview`, payload, res => { - resolve(res.data) - // alert(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Timing list paging - */ - getScheduleList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/schedules`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Timing online - */ - scheduleOffline ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(`projects/${state.projectCode}/schedules/${payload.id}/offline`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Timed offline - */ - scheduleOnline ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(`projects/${state.projectCode}/schedules/${payload.id}/online`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Edit timing - */ - updateSchedule ({ state }, payload) { - return new Promise((resolve, reject) => { - io.put(`projects/${state.projectCode}/schedules/${payload.id}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Delete process instance - */ - deleteInstance ({ state }, payload) { - return new Promise((resolve, reject) => { - io.delete(`projects/${state.projectCode}/process-instances/${payload.processInstanceId}`, {}, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Batch delete process instance - */ - batchDeleteInstance ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(`projects/${state.projectCode}/process-instances/batch-delete`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Delete definition - */ - deleteDefinition ({ state }, payload) { - return new Promise((resolve, reject) => { - io.delete(`projects/${state.projectCode}/process-definition/${payload.code}`, {}, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Batch delete definition - */ - batchDeleteDefinition ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(`projects/${state.projectCode}/process-definition/batch-delete`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * export definition - */ - exportDefinition ({ state }, payload) { - const downloadBlob = (data, fileNameS = 'json') => { - if (!data) { - return - } - const blob = new Blob([data]) - const fileName = `${fileNameS}.json` - if ('download' in document.createElement('a')) { // 不是IE浏览器 - const url = window.URL.createObjectURL(blob) - const link = document.createElement('a') - link.style.display = 'none' - link.href = url - link.setAttribute('download', fileName) - document.body.appendChild(link) - link.click() - document.body.removeChild(link) // 下载完成移除元素 - window.URL.revokeObjectURL(url) // 释放掉blob对象 - } else { // IE 10+ - window.navigator.msSaveBlob(blob, fileName) - } - } - - io.post(`projects/${state.projectCode}/process-definition/batch-export`, { codes: payload.codes }, res => { - downloadBlob(res, payload.fileName) - }, e => { - - }, { - responseType: 'blob' - }) - }, - - /** - * Process instance get variable - */ - getViewvariables ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/process-instances/${payload.processInstanceId}/view-variables`, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Get udfs function based on data source - */ - getUdfList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('resources/udf-func/list', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Query task instance list - */ - getTaskInstanceList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/task-instances`, payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Force fail/kill/need_fault_tolerance task success - */ - forceTaskSuccess ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(`projects/${state.projectCode}/task-instances/${payload.taskInstanceId}/force-success`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Query task record list - */ - getTaskRecordList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('projects/task-record/list-paging', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Query history task record list - */ - getHistoryTaskRecordList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('projects/task-record/history-list-paging', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * tree chart - */ - getViewTree ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/process-definition/${payload.code}/view-tree`, { limit: payload.limit }, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * gantt chart - */ - getViewGantt ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/process-instances/${payload.processInstanceId}/view-gantt`, payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Query task node list - */ - getProcessTasksList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/process-definition/${payload.code}/tasks`, payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - getTaskListDefIdAll ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/process-definition/batch-query-tasks`, payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * remove timing - */ - deleteTiming ({ state }, payload) { - return new Promise((resolve, reject) => { - io.delete(`projects/${state.projectCode}/schedules/${payload.scheduleId}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - getResourceId ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`resources/${payload.id}`, payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - genTaskCodeList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/task-definition/gen-task-codes`, payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Query Task Definitions List Paging - */ - getTaskDefinitionsList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/task-definition`, payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - - getRuleInputEntryList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('data-quality/getRuleFormCreateJson', { - ruleId: payload - }, res => { - resolve(res) - }).catch(res => { - reject(res) - }) - }) - }, - - getRuleList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('data-quality/ruleList', {}, res => { - resolve(res) - }).catch(res => { - reject(res) - }) - }) - }, - - getDatasourceOptionsById ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('data-quality/getDatasourceOptionsById', { - datasourceId: payload - }, res => { - resolve(res) - }).catch(res => { - reject(res) - }) - }) - }, - - getTablesById ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('datasources/tables', payload, res => { - resolve(res) - }).catch(res => { - reject(res) - }) - }) - }, - - getTableColumnsByIdAndName ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('datasources/tableColumns', payload, res => { - resolve(res) - }).catch(res => { - reject(res) - }) - }) - }, - /** - * Delete Task Definition by code - */ - deleteTaskDefinition ({ state }, payload) { - return new Promise((resolve, reject) => { - io.delete(`projects/${state.projectCode}/task-definition/${payload.taskCode}`, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Save Task Definition - */ - saveTaskDefinition ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(`projects/${state.projectCode}/task-definition`, { - taskDefinitionJson: JSON.stringify(payload.taskDefinitionJson) - }, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Save Task Definition with upstreams - * @param {Object} taskDefinition - * @param {number[]} prevTasks - * @param {number} processDefinitionCode - */ - saveTaskDefinitionWithUpstreams ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(`projects/${state.projectCode}/task-definition/save-single`, { - taskDefinitionJsonObj: JSON.stringify(payload.taskDefinition), - upstreamCodes: payload.prevTasks.join(','), - processDefinitionCode: payload.processDefinitionCode - }, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * - * @param {Object} taskDefinition - * @param {number[]} taskDefinition - * @returns - */ - updateTaskDefinition ({ state }, payload) { - return new Promise((resolve, reject) => { - io.put(`projects/${state.projectCode}/task-definition/${payload.taskDefinition.code}/with-upstream`, { - taskDefinitionJsonObj: JSON.stringify(payload.taskDefinition), - upstreamCodes: payload.prevTasks.join(',') - }, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Query taskDefinition by code - * @param {*} param0 - */ - getTaskDefinition ({ state }, taskDefinitionCode) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/task-definition/${taskDefinitionCode}`, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Get process definition detail - * @param {numbetr} code - */ - getProcessDefinition ({ state }, code) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/process-definition/${code}`, res => { - resolve(res.data) - }).catch(res => { - reject(res) - }) - }) - }, - /** - * Move task - */ - moveTaskToProcess ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(`projects/${state.projectCode}/process-task-relation/move`, { - processDefinitionCode: payload.processDefinitionCode, - targetProcessDefinitionCode: payload.targetProcessDefinitionCode, - taskCode: payload.taskCode - }, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Delete relation - */ - deleteRelation ({ state }, payload) { - return new Promise((resolve, reject) => { - io.delete(`projects/${state.projectCode}/process-task-relation/${payload.taskCode}`, { - processDefinitionCode: payload.processDefinitionCode - }, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Query task versions - * @param {number} taskCode - * @param {number} pageNo - * @param {number} pageSize - */ - getTaskVersions ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/task-definition/${payload.taskCode}/versions`, { - pageNo: payload.pageNo, - pageSize: payload.pageSize - }, res => { - resolve(res.data) - }).catch(res => { - reject(res) - }) - }) - }, - /** - * Switch task version - * @param {number} taskCode - * @param {number} version - */ - switchTaskVersion ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${state.projectCode}/task-definition/${payload.taskCode}/versions/${payload.version}`, res => { - resolve(res) - }).catch(res => { - reject(res) - }) - }) - }, - /** - * Delete task version - * @param {number} taskCode - * @param {number} version - */ - deleteTaskVersion ({ state }, payload) { - return new Promise((resolve, reject) => { - io.delete(`projects/${state.projectCode}/task-definition/${payload.taskCode}/versions/${payload.version}`, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/dag/getters.js b/dolphinscheduler-ui/src/js/conf/home/store/dag/getters.js deleted file mode 100644 index e84c864c3c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/dag/getters.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/dag/index.js b/dolphinscheduler-ui/src/js/conf/home/store/dag/index.js deleted file mode 100644 index 24abd1ccaa..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/dag/index.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import actions from './actions' -import getters from './getters' -import mutations from './mutations' -import state from './state' - -export default { - strict: true, - namespaced: true, - state, - getters, - mutations, - actions -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/dag/mutations.js b/dolphinscheduler-ui/src/js/conf/home/store/dag/mutations.js deleted file mode 100755 index ad5e2a620c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/dag/mutations.js +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import _ from 'lodash' - -export default { - setProjectId (state, payload) { - state.projectId = payload - }, - setProjectCode (state, payload) { - state.projectCode = payload - }, - setProjectName (state, payload) { - state.projectName = payload - }, - /** - * set tasks - * */ - setTasks (state, payload) { - state.tasks = payload - }, - /** - * set locations - * */ - setLocations (state, payload) { - state.locations = payload - }, - /** - * add locations - * */ - addLocations (state, payload) { - state.locations = Object.assign(state.locations, {}, payload) - }, - /** - * set connects - * */ - setConnects (state, payload) { - state.connects = payload - }, - /** - * set dag name - */ - setName (state, payload) { - state.name = payload - }, - /** - * set timeout - */ - setTimeout (state, payload) { - state.timeout = payload - }, - /** - * set executionType - */ - setExecutionType (state, payload) { - state.executionType = payload - }, - /** - * set tenantCode - */ - setTenantCode (state, payload) { - state.tenantCode = payload - }, - /** - * set global params - */ - setGlobalParams (state, payload) { - state.globalParams = payload - }, - /** - * set description - */ - setDesc (state, payload) { - state.description = payload - }, - setReleaseState (state, payload) { - state.releaseState = payload - }, - /** - * Whether to update the process definition - */ - setSyncDefine (state, payload) { - state.syncDefine = payload - }, - /** - * Whether to edit the parameters - */ - setIsEditDag (state, payload) { - state.isEditDag = payload - }, - - /** - * edit state - */ - setIsDetails (state, payload) { - state.isDetails = payload - }, - - /** - * set depend result - */ - setDependResult (state, payload) { - state.dependResult = Object.assign(state.dependResult, {}, payload) - }, - - /** - * reset params - */ - resetParams (state, payload) { - state.globalParams = (payload && payload.globalParams) || [] - state.tasks = (payload && payload.tasks) || [] - state.name = (payload && payload.name) || '' - state.description = (payload && payload.description) || '' - state.timeout = (payload && payload.timeout) || 0 - state.executionType = (payload && payload.executionType) || 'PARALLEL' - state.tenantCode = (payload && payload.tenantCode) || 'default' - state.processListS = (payload && payload.processListS) || [] - state.resourcesListS = (payload && payload.resourcesListS) || [] - state.resourcesListJar = (payload && payload.resourcesListJar) || [] - state.projectListS = (payload && payload.projectListS) || [] - state.isDetails = (payload && payload.isDetails) || false - state.runFlag = (payload && payload.runFlag) || '' - state.locations = (payload && payload.locations) || {} - state.connects = (payload && payload.connects) || [] - state.dependResult = (payload && payload.dependResult) || {} - }, - /** - * add task - * @param {Task} task - */ - addTask (state, task) { - state.isEditDag = true - const i = _.findIndex(state.tasks, v => v.code === task.code) - if (i !== -1) { - state.tasks[i] = Object.assign(state.tasks[i], {}, task) - } else { - state.tasks.push(task) - } - }, - /** - * remove task - * @param {object} state - * @param {string} code - */ - removeTask (state, code) { - state.isEditDag = true - state.tasks = state.tasks.filter(task => task.code !== code) - }, - resetLocalParam (state, payload) { - const tasks = state.tasks - tasks.forEach((task, index) => { - payload.forEach(p => { - if (p.id === task.id) { - tasks[index].params.localParams = p.localParam - } - }) - }) - state.tasks = tasks - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/dag/state.js b/dolphinscheduler-ui/src/js/conf/home/store/dag/state.js deleted file mode 100644 index 416dccb6d9..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/dag/state.js +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import localStore from '@/module/util/localStorage' - -// Get the project currently clicked -const projectId = localStore.getItem('projectId') -const projectCode = localStore.getItem('projectCode') -const projectName = localStore.getItem('projectName') - -export default { - // process definition code - code: '', - // process definition version - version: '', - // name - name: '', - // description - description: '', - // Node global parameter - globalParams: [], - // Node information - tasks: [], - // Timeout alarm - timeout: 0, - // process execute type - executionType: 'PARALLEL', - // tenant code - tenantCode: 'default', - // Node location information - locations: {}, - // Node relations - connects: [], - // Running sign - runFlag: '', - // Whether to edit - isEditDag: false, - // Current project id - projectId: projectId, - // Current project code - projectCode: projectCode, - // Current project name - projectName: projectName || '', - // Whether to go online the process definition - releaseState: 'ONLINE', - // Whether to update the process definition - syncDefine: true, - // tasks processList - processListS: [], - // projectList - projectListS: [], - // tasks resourcesList - resourcesListS: [], - // tasks resourcesListJar - resourcesListJar: [], - // tasks datasource Type - dsTypeListS: [ - { - id: 0, - code: 'MYSQL', - disabled: false - }, - { - id: 1, - code: 'POSTGRESQL', - disabled: false - }, - { - id: 2, - code: 'HIVE', - disabled: false - }, - { - id: 3, - code: 'SPARK', - disabled: false - }, - { - id: 4, - code: 'CLICKHOUSE', - disabled: false - }, - { - id: 5, - code: 'ORACLE', - disabled: false - }, - { - id: 6, - code: 'SQLSERVER', - disabled: false - }, - { - id: 7, - code: 'DB2', - disabled: false - }, - { - id: 8, - code: 'PRESTO', - disabled: false - }, - { - id: 9, - code: 'REDSHIFT', - disabled: false - } - ], - // Alarm interface - notifyGroupListS: [], - // Process instance list{ view a single record } - instanceListS: [], - // Operating state - isDetails: false, - startup: {}, - taskInstances: [], - dependResult: {} -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/dataquality/actions.js b/dolphinscheduler-ui/src/js/conf/home/store/dataquality/actions.js deleted file mode 100644 index c922a372d1..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/dataquality/actions.js +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import io from '@/module/io' - -export default { - - /** - * get result list pages - */ - getResultListPage ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('data-quality/result/page', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - - /** - * get rule list pages - */ - getDataQualityRuleListPage ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('data-quality/rule/page', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/dataquality/getters.js b/dolphinscheduler-ui/src/js/conf/home/store/dataquality/getters.js deleted file mode 100644 index 4213c7dd07..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/dataquality/getters.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/dataquality/index.js b/dolphinscheduler-ui/src/js/conf/home/store/dataquality/index.js deleted file mode 100644 index c7d4488633..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/dataquality/index.js +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import actions from './actions' -import getters from './getters' -import mutations from './mutations' -import state from './state' - -export default { - strict: true, - namespaced: true, - state, - getters, - mutations, - actions -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/dataquality/mutations.js b/dolphinscheduler-ui/src/js/conf/home/store/dataquality/mutations.js deleted file mode 100644 index e84c864c3c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/dataquality/mutations.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/dataquality/state.js b/dolphinscheduler-ui/src/js/conf/home/store/dataquality/state.js deleted file mode 100644 index 4213c7dd07..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/dataquality/state.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/datasource/actions.js b/dolphinscheduler-ui/src/js/conf/home/store/datasource/actions.js deleted file mode 100644 index a8b4529c73..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/datasource/actions.js +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import io from '@/module/io' - -export default { - /** - * Data source creation - * @param "type": string,//MYSQL, POSTGRESQL, HIVE, SPARK, CLICKHOUSE, ORACLE, SQLSERVER, PRESTO, REDSHIFT - * @param "name": string, - * @param "desc": string, - * @param "parameter":string //{"address":"jdbc:hive2://192.168.220.189:10000","autoReconnect":"true","characterEncoding":"utf8","database":"default","initialTimeout":3000,"jdbcUrl":"jdbc:hive2://192.168.220.189:10000/default","maxReconnect":10,"password":"","useUnicode":true,"user":"hive"} - */ - createDatasources ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('datasources', payload, res => { - resolve(res) - }, () => { - // do nothing - }, { emulateJSON: false }).catch(e => { - reject(e) - }) - }) - }, - /** - * Test connection - * @param "id": int - */ - connectDatasources ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('datasources/connect', payload, res => { - resolve(res) - }, () => { - // do nothing - }, { emulateJSON: false }).catch(e => { - reject(e) - }) - }) - }, - /** - * Query data source list - no paging - * @param "type": string//MYSQL, POSTGRESQL, HIVE, SPARK, CLICKHOUSE, ORACLE, SQLSERVER, PRESTO, REDSHIFT - */ - getDatasourcesList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('datasources/list', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Query data source list - paging - * @param "searchVal": string, - * @param "pageNo": int, - * @param "pageSize": int - */ - getDatasourcesListP ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('datasources', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Delete data source - */ - deleteDatasource ({ state }, payload) { - return new Promise((resolve, reject) => { - io.delete(`datasources/${payload.id}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Data source editing - */ - updateDatasource ({ state }, payload) { - return new Promise((resolve, reject) => { - io.put(`datasources/${payload.id}`, payload, res => { - resolve(res) - }, () => { - // do nothing - }, { emulateJSON: false }).catch(e => { - reject(e) - }) - }) - }, - getEditDatasource ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`datasources/${payload.id}`, payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - verifyName ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('datasources/verify-name', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - getKerberosStartupState ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('datasources/kerberos-startup-state', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/datasource/getters.js b/dolphinscheduler-ui/src/js/conf/home/store/datasource/getters.js deleted file mode 100644 index e84c864c3c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/datasource/getters.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/datasource/index.js b/dolphinscheduler-ui/src/js/conf/home/store/datasource/index.js deleted file mode 100644 index 24abd1ccaa..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/datasource/index.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import actions from './actions' -import getters from './getters' -import mutations from './mutations' -import state from './state' - -export default { - strict: true, - namespaced: true, - state, - getters, - mutations, - actions -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/datasource/mutations.js b/dolphinscheduler-ui/src/js/conf/home/store/datasource/mutations.js deleted file mode 100644 index e84c864c3c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/datasource/mutations.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/datasource/state.js b/dolphinscheduler-ui/src/js/conf/home/store/datasource/state.js deleted file mode 100644 index e1f41525f7..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/datasource/state.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { - -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/index.js b/dolphinscheduler-ui/src/js/conf/home/store/index.js deleted file mode 100644 index 0f8172ae79..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/index.js +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import Vue from 'vue' -import Vuex from 'vuex' -import dag from './dag' -import kinship from './kinship' -import projects from './projects' -import resource from './resource' -import security from './security' -import datasource from './datasource' -import user from './user' -import monitor from './monitor' -import dataquality from './dataquality' -Vue.use(Vuex) -export default new Vuex.Store({ - modules: { - dag, - projects, - kinship, - resource, - security, - datasource, - user, - monitor, - dataquality - } -}) diff --git a/dolphinscheduler-ui/src/js/conf/home/store/kinship/actions.js b/dolphinscheduler-ui/src/js/conf/home/store/kinship/actions.js deleted file mode 100644 index a36316213b..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/kinship/actions.js +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import _ from 'lodash' -import io from '@/module/io' -import localStore from '@/module/util/localStorage' - -/** - * build locations by workFlowList - */ -const buildLocations = (workFlowList) => { - return _.uniqBy(workFlowList, 'workFlowCode').map((item) => ({ - code: `${item.workFlowCode}`, - name: item.workFlowName, - workFlowPublishStatus: item.workFlowPublishStatus, - scheduleStartTime: item.scheduleStartTime, - scheduleEndTime: item.scheduleEndTime, - crontab: item.crontab, - schedulePublishStatus: item.schedulePublishStatus - })) -} - -/** - * build connects by workFlowRelationList - */ -const buildConnects = (workFlowRelationList) => { - return _.map(workFlowRelationList, (item) => ({ - source: `${item.sourceWorkFlowCode}`, // should be string, or connects will not show by echarts - target: `${item.targetWorkFlowCode}` // should be string, or connects will not show by echarts - })) -} - -export default { - /** - * Get workFlow DAG - */ - getWorkFlowList ({ state }, payload) { - const projectCode = localStore.getItem('projectCode') - return new Promise((resolve, reject) => { - const url = `projects/${projectCode}/lineages/query-by-name` - io.get(url, { - searchVal: payload - }, res => { - const workList = [] - if (res.data) { - _.map(res.data, (item) => { - workList.push({ - code: `${item.workFlowCode}`, - name: item.workFlowName - }) - }) - } - state.workList = workList /* JSON.parse(connects) */ - resolve(res.data) - }).catch(res => { - reject(res) - }) - }) - }, - /** - * Get workFlow DAG - */ - getWorkFlowDAG ({ state }, code) { - const projectCode = localStore.getItem('projectCode') - return new Promise((resolve, reject) => { - const url = `projects/${projectCode}/lineages/${code}` - io.get(url, res => { - let locations = [] - let connects = [] - if (res.data.workFlowList) { - locations = buildLocations(res.data.workFlowList) - } - if (res.data.workFlowRelationList) { - connects = buildConnects(res.data.workFlowRelationList) - } - state.sourceWorkFlowCode = code || '' - // locations - state.locations = locations /* JSON.parse(locations) */ - // connects - state.connects = connects /* JSON.parse(connects) */ - resolve(res.data) - }).catch(res => { - reject(res) - }) - }) - }, - /** - * Get all workFlow DAG - */ - getWorkFlowDAGAll ({ state }, payload) { - const projectCode = localStore.getItem('projectCode') - return new Promise((resolve, reject) => { - const url = `projects/${projectCode}/lineages/list` - io.get(url, res => { - let locations = [] - let connects = [] - if (res.data.workFlowList) { - locations = buildLocations(res.data.workFlowList) - } - if (res.data.workFlowRelationList) { - connects = buildConnects(res.data.workFlowRelationList) - } - state.sourceWorkFlowCode = '' - state.locations = locations - state.connects = connects - resolve(res.data) - }).catch(res => { - reject(res) - }) - }) - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/kinship/getters.js b/dolphinscheduler-ui/src/js/conf/home/store/kinship/getters.js deleted file mode 100644 index e84c864c3c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/kinship/getters.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/kinship/index.js b/dolphinscheduler-ui/src/js/conf/home/store/kinship/index.js deleted file mode 100644 index 24abd1ccaa..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/kinship/index.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import actions from './actions' -import getters from './getters' -import mutations from './mutations' -import state from './state' - -export default { - strict: true, - namespaced: true, - state, - getters, - mutations, - actions -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/kinship/mutations.js b/dolphinscheduler-ui/src/js/conf/home/store/kinship/mutations.js deleted file mode 100644 index 2d71cd834f..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/kinship/mutations.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default {} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/kinship/state.js b/dolphinscheduler-ui/src/js/conf/home/store/kinship/state.js deleted file mode 100644 index 8f07de5c70..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/kinship/state.js +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { - sourceWorkFlowCode: '', - workList: [], - locations: [], - connects: [] -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/monitor/actions.js b/dolphinscheduler-ui/src/js/conf/home/store/monitor/actions.js deleted file mode 100644 index 163549bcd0..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/monitor/actions.js +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import io from '@/module/io' - -export default { - getMasterData ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('monitor/masters', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - getWorkerData ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('monitor/workers', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - getDatabaseData ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('monitor/databases', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/monitor/getters.js b/dolphinscheduler-ui/src/js/conf/home/store/monitor/getters.js deleted file mode 100644 index e84c864c3c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/monitor/getters.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/monitor/index.js b/dolphinscheduler-ui/src/js/conf/home/store/monitor/index.js deleted file mode 100644 index 24abd1ccaa..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/monitor/index.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import actions from './actions' -import getters from './getters' -import mutations from './mutations' -import state from './state' - -export default { - strict: true, - namespaced: true, - state, - getters, - mutations, - actions -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/monitor/mutations.js b/dolphinscheduler-ui/src/js/conf/home/store/monitor/mutations.js deleted file mode 100644 index e84c864c3c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/monitor/mutations.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/monitor/state.js b/dolphinscheduler-ui/src/js/conf/home/store/monitor/state.js deleted file mode 100644 index 4213c7dd07..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/monitor/state.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/projects/actions.js b/dolphinscheduler-ui/src/js/conf/home/store/projects/actions.js deleted file mode 100644 index bf3a48a45c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/projects/actions.js +++ /dev/null @@ -1,153 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import io from '@/module/io' - -export default { - /** - * Get item list - */ - getProjectsList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('projects', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Get project by code - */ - getProjectByCode ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`projects/${payload}`, {}, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Create project - */ - createProjects ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('projects', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Delete Project - */ - deleteProjects ({ state }, payload) { - return new Promise((resolve, reject) => { - io.delete(`projects/${payload.projectCode}`, {}, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * edit Project - */ - updateProjects ({ state }, payload) { - return new Promise((resolve, reject) => { - io.put(`projects/${payload.projectCode}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Task status statistics - */ - getTaskStatusCount ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('projects/analysis/task-state-count', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * get command state count - */ - getCommandStateCount ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('projects/analysis/command-state-count', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * get command state count - */ - getQueueCount ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('projects/analysis/queue-count', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Process status statistics - */ - getProcessStateCount ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('projects/analysis/process-state-count', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Process definition statistics - */ - getDefineUserCount ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('projects/analysis/define-user-count', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Get audit log list - */ - getAuditLogList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('projects/audit/audit-log-list', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/projects/getters.js b/dolphinscheduler-ui/src/js/conf/home/store/projects/getters.js deleted file mode 100644 index e84c864c3c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/projects/getters.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/projects/index.js b/dolphinscheduler-ui/src/js/conf/home/store/projects/index.js deleted file mode 100644 index c7d4488633..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/projects/index.js +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import actions from './actions' -import getters from './getters' -import mutations from './mutations' -import state from './state' - -export default { - strict: true, - namespaced: true, - state, - getters, - mutations, - actions -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/projects/mutations.js b/dolphinscheduler-ui/src/js/conf/home/store/projects/mutations.js deleted file mode 100644 index ebb80c92b0..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/projects/mutations.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { - /** - * set sideBar - * */ - setSideBar (state, payload) { - state.sideBar = payload - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/projects/state.js b/dolphinscheduler-ui/src/js/conf/home/store/projects/state.js deleted file mode 100644 index e5263050dc..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/projects/state.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - sideBar: 1 -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/resource/actions.js b/dolphinscheduler-ui/src/js/conf/home/store/resource/actions.js deleted file mode 100755 index 06e2835c0e..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/resource/actions.js +++ /dev/null @@ -1,305 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import io from '@/module/io' - -export default { - /** - * Get a list of udf files - */ - getResourcesListP ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('resources', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - getResourceId ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`resources/${payload.id}`, payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - getResourcesList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('resources/list', payload, res => { - resolve(res) - }).catch(res => { - reject(res) - }) - }) - }, - /** - * Delete resource - */ - deleteResource ({ state }, payload) { - return new Promise((resolve, reject) => { - io.delete(`resources/${payload.id}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Verify that the upload name exists - */ - resourceVerifyName ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('resources/verify-name', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Resource file online view - */ - getViewResources ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`resources/${payload.id}/view`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * UDF function creation - */ - createUdfFunc ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(`resources/${payload.resourceId}/udf-func`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * UDF function editing - */ - updateUdfFunc ({ state }, payload) { - return new Promise((resolve, reject) => { - io.put(`resources/${payload.resourceId}/udf-func/${payload.id}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Verify that the UDF function name exists - */ - verifyUdfFuncName ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('resources/udf-func/verify-name', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Delete udf function - * @param id int - */ - deleteUdf ({ state }, payload) { - return new Promise((resolve, reject) => { - io.delete(`resources/udf-func/${payload.id}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Query UDF function list - paging - */ - getUdfFuncListP ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('resources/udf-func', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Update document - */ - updateContent ({ state }, payload) { - return new Promise((resolve, reject) => { - io.put(`resources/${payload.id}/update-content`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Resource online creation - */ - createResourceFile ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('resources/online-create', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Resource online create folder - */ - createResourceFolder ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('resources/directory', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Resource rename - */ - resourceRename ({ state }, payload) { - return new Promise((resolve, reject) => { - io.put(`resources/${payload.id}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * get task group list pages - */ - getTaskGroupListPaging ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('task-group/list-paging', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * get task group list pages - */ - getTaskGroupListPagingByProjectCode ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('task-group/query-list-by-projectCode', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * create task group - */ - createTaskGroup ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('task-group/create', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * update task group - */ - updateTaskGroup ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('task-group/update', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * close task group - */ - closeTaskGroup ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('task-group/close-task-group', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * start task group - */ - startTaskGroup ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('task-group/start-task-group', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * query the details of task group through group id - */ - getTaskListInTaskGroupQueueById ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('task-group/query-list-by-group-id', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * modify the priority of the task in the queue - */ - modifyPriority ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('task-group/modifyPriority', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * force to start the task in the queue - */ - forceStartTaskInQueue ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('task-group/forceStart', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - } - -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/resource/getters.js b/dolphinscheduler-ui/src/js/conf/home/store/resource/getters.js deleted file mode 100644 index 4213c7dd07..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/resource/getters.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/resource/index.js b/dolphinscheduler-ui/src/js/conf/home/store/resource/index.js deleted file mode 100644 index c7d4488633..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/resource/index.js +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import actions from './actions' -import getters from './getters' -import mutations from './mutations' -import state from './state' - -export default { - strict: true, - namespaced: true, - state, - getters, - mutations, - actions -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/resource/mutations.js b/dolphinscheduler-ui/src/js/conf/home/store/resource/mutations.js deleted file mode 100644 index e84c864c3c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/resource/mutations.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/resource/state.js b/dolphinscheduler-ui/src/js/conf/home/store/resource/state.js deleted file mode 100644 index 4213c7dd07..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/resource/state.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/security/actions.js b/dolphinscheduler-ui/src/js/conf/home/store/security/actions.js deleted file mode 100644 index 07cc6c9643..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/security/actions.js +++ /dev/null @@ -1,777 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import io from '@/module/io' - -export default { - /** - * verify Name - * @param alertgroup/verifyGroupName - * @param users/verifyUserName - * @param tenant/verifyTenantCode - */ - verifyName ({ state }, payload) { - const o = { - user: { - param: { - userName: payload.userName - }, - api: 'users/verify-user-name' - }, - tenant: { - param: { - tenantCode: payload.tenantCode - }, - api: 'tenants/verify-code' - }, - alertgroup: { - param: { - groupName: payload.groupName - }, - api: 'alert-groups/verify-name' - }, - alarmInstance: { - param: { - alertInstanceName: payload.instanceName - }, - api: 'alert-plugin-instances/verify-name' - } - } - - return new Promise((resolve, reject) => { - io.get(o[payload.type].api, o[payload.type].param, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Create user - * @param "userName":string - * @param "userPassword": string - * @param "tenantId":int - * @param "email":string - * @param "phone":string - */ - createUser ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('users/create', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Verify that the username exists - * @param userName - */ - verifyUserName ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('users/verify-user-name', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Paging query user list - * @param "pageNo":int, - * @param "searchVal":string, - * @param "pageSize":int - */ - getUsersListP ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('users/list-paging', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * user list expect admin - */ - getUsersList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('users/list', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * user all list - */ - getUsersAll ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('users/list-all', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Update user - * @param "id":int, - * @param "userName":string, - * @param "userPassword": string, - * @param "tenantId":int, - * @param "email":string, - * @param "phone":string - */ - updateUser ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('users/update', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * delete users - * @param "id":int - */ - deleteUser ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('users/delete', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Obtain authorized and unauthorized items - */ - getAuthList ({ state }, payload) { - const o = { - type: payload.type, - category: payload.category - } - - const param = {} - // Manage user - if (o.type === 'user') { - param.alertgroupId = payload.id - } else { - param.userId = payload.id - } - - // Authorized project - const p1 = new Promise((resolve, reject) => { - io.get(`${o.category}/unauth-${o.type}`, param, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - // Unauthorized project - const p2 = new Promise((resolve, reject) => { - io.get(`${o.category}/authed-${o.type}`, param, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - return new Promise((resolve, reject) => { - Promise.all([p1, p2]).then(a => { - resolve(a) - }).catch(e => { - reject(e) - }) - }) - }, - - getResourceList ({ state }, payload) { - const o = { - type: payload.type, - category: payload.category - } - - const param = {} - // Manage user - if (o.type === 'user') { - param.alertgroupId = payload.id - } else { - param.userId = payload.id - } - - // Authorized project - const p1 = new Promise((resolve, reject) => { - io.get(`${o.category}/authed-resource-tree`, param, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - // Unauthorized project - const p2 = new Promise((resolve, reject) => { - io.get(`${o.category}/authed-${o.type}`, param, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - return new Promise((resolve, reject) => { - Promise.all([p1, p2]).then(a => { - resolve(a) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Authorization [project, resource, data source] - * @param Project,Resources,Datasource - */ - grantAuthorization ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post(payload.api, payload.param, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - - /** - * Query user details - * @param "userId":int - */ - getUsersDetails ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('users/select-by-id', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Tenant list - pagination - */ - getTenantListP ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('tenants', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Tenant list - no paging - */ - getTenantList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('tenants/list', payload, res => { - const list = res.data - list.unshift({ - id: -1, - tenantCode: 'default' - }) - state.tenantAllList = list - resolve(list) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Queue interface - */ - getQueueList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('queues/list', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Create Queue - */ - createQueue ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('tenants', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * update Queue - */ - updateQueue ({ state }, payload) { - return new Promise((resolve, reject) => { - io.put(`tenants/${payload.id}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * delete Queue - */ - deleteQueue ({ state }, payload) { - return new Promise((resolve, reject) => { - io.delete(`tenants/${payload.id}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * queryAlertGroupListPaging - */ - queryAlertGroupListPaging ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('alert-groups', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * queryAlertPluginInstanceListPaging - */ - queryAlertPluginInstanceListPaging ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('alert-plugin-instances', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * queryUiPlugins - */ - getPlugins ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('ui-plugins/query-by-type', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * queryUiPluginById - */ - getUiPluginById ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get(`ui-plugins/${payload.pluginId}`, payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * queryAll alert-plugin-instance - */ - queryAllAlertPluginInstance ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('alert-plugin-instances/list', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Alarm group list - */ - getAlertgroup ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('alert-groups/list', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Create an alarm group. - */ - createAlertgrou ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('alert-groups', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * create alert plugin instance operation - */ - createAlertPluginInstance ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('alert-plugin-instances', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * update alert plugin instance operation - */ - updateAlertPluginInstance ({ state }, payload) { - return new Promise((resolve, reject) => { - io.put(`alert-plugin-instances/${payload.alertPluginInstanceId}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * update an alarm group. - */ - updateAlertgrou ({ state }, payload) { - return new Promise((resolve, reject) => { - io.put(`alert-groups/${payload.id}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * delete alarm group. - */ - deleteAlertgrou ({ state }, payload) { - return new Promise((resolve, reject) => { - io.delete(`alert-groups/${payload.id}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * delete alert plugin instance operation - */ - deletAelertPluginInstance ({ state }, payload) { - return new Promise((resolve, reject) => { - io.delete(`alert-plugin-instances/${payload.id}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Master list - */ - getProcessMasterList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('process/master/list', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * Worker list - */ - getProcessWorkerList ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('process/worker/list', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * get queue list pages - */ - getQueueListP ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('queues', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * create queue - */ - createQueueQ ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('queues', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * update queue - */ - updateQueueQ ({ state }, payload) { - return new Promise((resolve, reject) => { - io.put(`queues/${payload.id}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * update queue - */ - verifyQueueQ ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('queues/verify', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * get worker groups - */ - getWorkerGroups ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('worker-groups', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * get worker groups all - */ - getWorkerGroupsAll ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('worker-groups/all', payload, res => { - let list = res.data - if (list.length > 0) { - list = list.map(item => { - return { - id: item, - name: item - } - }) - } else { - list.unshift({ - id: 'default', - name: 'default' - }) - } - state.workerGroupsListAll = list - resolve(list) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * get alarm groups all - */ - getAlarmGroupsAll ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('alert-groups/list', payload, res => { - state.alarmGroupsListAll = res.data - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - saveWorkerGroups ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('worker-groups', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - deleteWorkerGroups ({ state }, payload) { - return new Promise((resolve, reject) => { - io.delete(`worker-groups/${payload.id}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - getWorkerAddresses ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('worker-groups/worker-address-list', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * get environment list pages - */ - getEnvironmentListPaging ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('environment/list-paging', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * create environment - */ - createEnvironment ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('environment/create', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * update environment - */ - updateEnvironment ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('environment/update', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * delete environment - */ - deleteEnvironment ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('environment/delete', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - verifyEnvironment ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('environment/verify-environment', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * get all environment - */ - getEnvironmentAll ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('environment/query-environment-list', payload, res => { - let list = res.data - state.environmentListAll = list - resolve(list) - }).catch(e => { - reject(e) - }) - }) - }, - - /** - * create namespace - */ - createNamespace ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('k8s-namespace', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * update namespace - */ - updateNamespace ({ state }, payload) { - return new Promise((resolve, reject) => { - io.put(`k8s-namespace/${payload.id}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * update namespace k8s - */ - verifyNamespaceK8s ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('k8s-namespace/verify', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - - /** - * delete namespace - * @param "id":int - */ - deleteNamespace ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('k8s-namespace/delete', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * get namespace list pages - */ - getNamespaceListP ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('k8s-namespace', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/security/getters.js b/dolphinscheduler-ui/src/js/conf/home/store/security/getters.js deleted file mode 100644 index e84c864c3c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/security/getters.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/security/index.js b/dolphinscheduler-ui/src/js/conf/home/store/security/index.js deleted file mode 100644 index c7d4488633..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/security/index.js +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import actions from './actions' -import getters from './getters' -import mutations from './mutations' -import state from './state' - -export default { - strict: true, - namespaced: true, - state, - getters, - mutations, - actions -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/security/mutations.js b/dolphinscheduler-ui/src/js/conf/home/store/security/mutations.js deleted file mode 100644 index e84c864c3c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/security/mutations.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/security/state.js b/dolphinscheduler-ui/src/js/conf/home/store/security/state.js deleted file mode 100644 index 35f27ce437..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/security/state.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - workerGroupsListAll: [], - environmentListAll: [], - alarmGroupsListAll: [], - tenantAllList: [] -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/user/actions.js b/dolphinscheduler-ui/src/js/conf/home/store/user/actions.js deleted file mode 100644 index 3931d2dda5..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/user/actions.js +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import io from '@/module/io' - -export default { - /** - * get userInfo - */ - getUserInfo ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('users/get-user-info', payload, res => { - state.userInfo = res.data - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * sign out - */ - signOut () { - io.post('signOut', res => { - setTimeout(() => { - window.location.href = `${PUBLIC_PATH}/view/login/index.html` - }, 100) - }).catch(e => { - console.log(e) - }) - }, - /** - * get token list - * User loginUser, - * Integer pageNo, - * String searchVal, - * Integer pageSize - */ - getTokenListP ({ state }, payload) { - return new Promise((resolve, reject) => { - io.get('access-tokens', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * create token - * User loginUser, - * int userId, - * String expireTime, - * String token - */ - createToken ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('access-tokens', payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * update token - * User loginUser, - * int userId, - * String expireTime, - * String token - */ - updateToken ({ state }, payload) { - return new Promise((resolve, reject) => { - io.put(`access-tokens/${payload.id}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * create token - * User loginUser, - * int userId, - * String expireTime - */ - generateToken ({ state }, payload) { - return new Promise((resolve, reject) => { - io.post('access-tokens/generate', payload, res => { - resolve(res.data) - }).catch(e => { - reject(e) - }) - }) - }, - /** - * delete token - * User loginUser, - * int id - */ - deleteToken ({ state }, payload) { - return new Promise((resolve, reject) => { - io.delete(`access-tokens/${payload.id}`, payload, res => { - resolve(res) - }).catch(e => { - reject(e) - }) - }) - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/user/getters.js b/dolphinscheduler-ui/src/js/conf/home/store/user/getters.js deleted file mode 100644 index e84c864c3c..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/user/getters.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/user/index.js b/dolphinscheduler-ui/src/js/conf/home/store/user/index.js deleted file mode 100644 index 24abd1ccaa..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/user/index.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import actions from './actions' -import getters from './getters' -import mutations from './mutations' -import state from './state' - -export default { - strict: true, - namespaced: true, - state, - getters, - mutations, - actions -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/user/mutations.js b/dolphinscheduler-ui/src/js/conf/home/store/user/mutations.js deleted file mode 100644 index e7974152a1..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/user/mutations.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { - /** - * set userInfo - */ - setUserInfo (state, payload) { - state.userInfo = Object.assign(state.userInfo, {}, payload) - } -} diff --git a/dolphinscheduler-ui/src/js/conf/home/store/user/state.js b/dolphinscheduler-ui/src/js/conf/home/store/user/state.js deleted file mode 100644 index 1ea02f0f70..0000000000 --- a/dolphinscheduler-ui/src/js/conf/home/store/user/state.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - userInfo: {} -} diff --git a/dolphinscheduler-ui/src/js/conf/login/App.vue b/dolphinscheduler-ui/src/js/conf/login/App.vue deleted file mode 100644 index 930fe1f82a..0000000000 --- a/dolphinscheduler-ui/src/js/conf/login/App.vue +++ /dev/null @@ -1,204 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/conf/login/img/login-logo.svg b/dolphinscheduler-ui/src/js/conf/login/img/login-logo.svg deleted file mode 100755 index 6e50bd02d7..0000000000 --- a/dolphinscheduler-ui/src/js/conf/login/img/login-logo.svg +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dolphinscheduler-ui/src/js/conf/login/index.js b/dolphinscheduler-ui/src/js/conf/login/index.js deleted file mode 100644 index c96a9666f7..0000000000 --- a/dolphinscheduler-ui/src/js/conf/login/index.js +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// The Vue build version to load with the `import` command -// (runtime-only or standalone) has been set in webpack.base.conf with an alias. -// import $ from 'jquery' -import 'babel-polyfill' -import Vue from 'vue' -import ElementUI from 'element-ui' -import locale from 'element-ui/lib/locale/lang/en' -import 'element-ui/lib/theme-chalk/index.css' -import App from './App' -import i18n from '@/module/i18n' - -import 'sass/conf/login/index.scss' -import 'bootstrap/dist/js/bootstrap.min.js' - -i18n.globalScope.LOCALE === 'en_US' ? Vue.use(ElementUI, { locale }) : Vue.use(ElementUI) - -Vue.config.devtools = true -Vue.config.productionTip = true -Vue.config.silent = true - -/* eslint-disable no-new */ -new Vue({ - el: '#app', - render: h => h(App), - mounted () { - }, - methods: { - initApp () { - const bootstrapTooltip = $.fn.tooltip.noConflict() - $.fn.tooltip = bootstrapTooltip - $('body').tooltip({ - selector: '[data-toggle="tooltip"]', - trigger: 'hover' - }) - // Component internationalization - i18n.init() - } - }, - created () { - this.initApp() - } -}) diff --git a/dolphinscheduler-ui/src/js/module/ana-charts/common.js b/dolphinscheduler-ui/src/js/module/ana-charts/common.js deleted file mode 100755 index 018f63849e..0000000000 --- a/dolphinscheduler-ui/src/js/module/ana-charts/common.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * Find the container and initialize the chart according to the parameters, and then return one or a group of chart instances - * @param {*} Target Chart component class - * @param {*} el Selector or DOM object - * @param {*} data data source - * @param {*} options Optional - */ -export const init = (Target, el, data, options) => { - const list = getChartContainers(el) - const settings = Object.assign({}, { data }, options) - const charts = list.map(element => { - return new Target(element, settings) - }) - return charts.length === 1 ? charts[0] : charts -} - -/** - * Unified chart container is an array of DOM elements - * @param {*} el Selector or DOM object - */ -function getChartContainers (el) { - // Parameter not transmitted, return directly - if (!el) { - return - } - if (typeof el === 'string') { - if (el.startsWith('#')) { - el = document.getElementById(el.slice(1)) - } else if (el.startsWith('.')) { - el = document.getElementsByClassName(el.slice(1)) - } else { - return - } - } - if (!el) { - throw new Error('No corresponding DOM object found!') - } - let list - if (Object.prototype.isPrototypeOf.call(HTMLElement.prototype, el)) { - list = new Array(el) - } else { - list = Array.from(el) - } - if (!list) { - throw new Error('No corresponding DOM object found!') - } - return list -} - -/** - * Detects whether the specified property name exists in the specified object - * @param {Object} model Model to be tested - * @param {...any} params Property name to be tested - */ -export const checkKeyInModel = (model, ...params) => { - for (const key of params) { - if (!Object.prototype.hasOwnProperty.call(model, key)) { - throw new Error('Data format error! The specified property was not found:' + key) - } - } -} diff --git a/dolphinscheduler-ui/src/js/module/ana-charts/index.js b/dolphinscheduler-ui/src/js/module/ana-charts/index.js deleted file mode 100755 index 8189cca762..0000000000 --- a/dolphinscheduler-ui/src/js/module/ana-charts/index.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import echarts from 'echarts' - -import Line from './packages/line' -import Bar from './packages/bar' -import Pie from './packages/pie' -import Radar from './packages/radar' -import Funnel from './packages/funnel' -import Scatter from './packages/scatter' -import { checkKeyInModel, init } from './common' - -const components = { - Line, - Bar, - Pie, - Radar, - Funnel, - Scatter -} - -const Chart = { - // Default configuration - settings: {}, - /** - * Configure global properties - * @param {Object} options Global configuration item - */ - config (options) { - const { theme } = options - // Registration theme - if (theme) { - checkKeyInModel(theme, 'name', 'data') - echarts.registerTheme(theme.name, theme.data) - if (theme.default) { - Chart.settings.defaultTheme = theme.name - } - } - } -} - -// Corresponding methods for injection of different components -for (const key in components) { - if (Object.prototype.hasOwnProperty.call(components, key)) { - Chart[key.toLowerCase()] = (el, data, options) => { - return init(components[key], el, data, options) - } - } -} - -export { - Line, - Bar, - Pie, - Radar, - Funnel, - Scatter -} - -export default Chart - -if (typeof window !== 'undefined') { - window.Chart = Chart -} diff --git a/dolphinscheduler-ui/src/js/module/ana-charts/packages/bar/index.js b/dolphinscheduler-ui/src/js/module/ana-charts/packages/bar/index.js deleted file mode 100755 index 42639fd561..0000000000 --- a/dolphinscheduler-ui/src/js/module/ana-charts/packages/bar/index.js +++ /dev/null @@ -1,326 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import Base from '../base' -import { checkKeyInModel, init } from '../../common' - -const TYPE = 'bar' - -/** - * Histogram - */ -export default class Bar extends Base { - /** - * Initialization method called on separate export - * @param {*} el Selector or DOM object - * @param {*} data data source - * @param {*} options Optional - */ - static init (el, data, options) { - return init(Bar, el, data, options) - } - - /** - * Convert user configuration to a configuration format that conforms to the format of echarts API - */ - transform () { - const { data = [] } = this.settings - - if (data.length === 0) { - throw new Error('Data source is empty!') - } - - if (Object.keys(data[0]).length > 2) { - return this.setMultipleBars() - } else { - this.simple = true - return this.setSingleBar() - } - } - - /** - * Single column - */ - setSingleBar () { - const { - // data - data = [], - // Attribute dictionary - keyMap = { - xAxisKey: 'key', - dataKey: 'value' - }, - // Chart title - title = 'Single bar histogram' - } = this.settings - - // X axis corresponds to attribute name, data value corresponds to attribute name - const { xAxisKey, dataKey } = keyMap - checkKeyInModel(data[0], xAxisKey, dataKey) - - const series = [{ - type: TYPE, - data: [] - }] - const xAxis = { - type: 'category', - data: [] - } - - for (let i = 0; i < data.length; i++) { - xAxis.data.push(data[i][xAxisKey]) - series[0].data.push(data[i][dataKey]) - } - - return { title, xAxis, series } - } - - /** - * Multiple columns - */ - setMultipleBars () { - const { - // data - data = [], - // Attribute dictionary - keyMap = { - xAxisKey: 'key', - legendKey: 'typeName', - dataKey: 'value' - }, - // Chart title - title = 'Multiple histogram', - // The specified index of polyline data when the column is mixed - lineTypes - } = this.settings - - // Attribute name corresponding to X axis, legend and data value - const { xAxisKey, legendKey, dataKey } = keyMap - // Use timeline data or not - const timeline = Object.keys(data[0]).length === 4 - const timelineKey = keyMap.timelineKey || 'timeline' - if (timeline) { - checkKeyInModel(data[0], xAxisKey, legendKey, dataKey, timelineKey) - } else { - checkKeyInModel(data[0], xAxisKey, legendKey, dataKey) - } - - // Standard mixed index of folded columns - let lineTypeList = [] - if (lineTypes) { - if (!Array.isArray(lineTypes)) { - lineTypeList = [lineTypes] - } else { - lineTypeList = lineTypes - } - } - - // Timeline default configuration - const timelineOptions = { - timeline: { - axisType: 'category', - autoPlay: true, - playInterval: 1000, - data: [] - }, - options: [] - } - - // Initial value - const legendData = [] - const series = [] - const xAxis = { - type: 'category', - data: [] - } - for (let i = 0; i < data.length; i++) { - const legendItem = data[i][legendKey] - const xAxisItem = data[i][xAxisKey] - const dataItem = data[i][dataKey] - - // Legend - if (!legendData.includes(legendItem)) { - legendData.push(legendItem) - } - - // x axis - if (!xAxis.data.includes(xAxisItem)) { - xAxis.data.push(xAxisItem) - } - - // time axis - if (timeline) { - const timelineItem = data[i][timelineKey] - // Set timeline label - if (!timelineOptions.timeline.data.includes(timelineItem)) { - timelineOptions.timeline.data.push(timelineItem) - } - // Universal family configuration - if (!series.some(s => s.name === legendItem)) { - let seriesType = TYPE - if (lineTypeList.length !== 0 && lineTypeList.includes(legendItem)) { - seriesType = 'line' - } - series.push({ - name: legendItem, - type: seriesType - }) - } - // Series data - let targetOptions = timelineOptions.options.find(o => o._helpName === timelineItem) - if (!targetOptions) { - // Initialization option - targetOptions = { - _helpName: timelineItem, - title: { text: title.replace('$timeline', timelineItem) }, - series: [] - } - timelineOptions.options.push(targetOptions) - } - let targetSeries = targetOptions.series.find(d => d._helpName === legendItem) - if (!targetSeries) { - // Initialize series data - targetSeries = { - _helpName: legendItem, - data: [] - } - targetOptions.series.push(targetSeries) - } - targetSeries.data.push(dataItem) - } else { - // Non timeline data processing - let targetSeries = series.find(s => s.name === legendItem) - if (!targetSeries) { - let seriesType = TYPE - if (lineTypeList.length !== 0 && lineTypeList.includes(legendItem)) { - seriesType = 'line' - } - targetSeries = { - name: legendItem, - type: seriesType, - data: [] - } - series.push(targetSeries) - } - targetSeries.data.push(dataItem) - } - } - - if (timeline) { - return { title, xAxis, series, legendData, timelineOptions } - } - return { title, xAxis, series, legendData } - } - - /** - * Drawing charts - */ - apply () { - const { title, xAxis, series, legendData, timelineOptions } = this.options - const { - // Whether it is a horizontal drawing - reverseAxis = false, - // Custom Y axis - yAxis, - // Is it a stacking diagram - stack = false, - // Injection configuration to series - insertSeries - } = this.settings - const valueAxis = { type: 'value' } - let yAxisModel = reverseAxis ? xAxis : valueAxis - const xAxisModel = reverseAxis ? valueAxis : xAxis - // Use custom Y-axis overlay - if (yAxis) { - yAxisModel = yAxis - } - // Set up stack chart - if (stack) { - series.forEach(set => { - set.stack = '总量' - set.label = { - normal: { - show: true, - position: reverseAxis ? 'insideRight' : 'insideTop' - } - } - }) - } - - let _series = series - if (insertSeries && insertSeries.length && series.length) { - _series = this.injectDataIntoSeries(insertSeries, _series) - } - - // time axis - if (timelineOptions) { - const opts = { - baseOption: { - timeline: timelineOptions.timeline, - tooltip: { - trigger: 'axis' - }, - grid: { - top: 80, - bottom: 100, - containLabel: true - }, - legend: { - x: 'right', - data: legendData - }, - xAxis: xAxisModel, - yAxis: yAxisModel, - series: _series - }, - options: timelineOptions.options - } - - this.echart.setOption(opts, true) - this.echart.clear() - this.echart.setOption(opts, true) - } else { - // When the simple chart title is empty, the chart is vertically centered - const top = !title && this.simple ? '3%' : 60 - - const opts = { - title: { - text: title - }, - tooltip: { - trigger: 'axis' - }, - grid: { - left: '3%', - right: '4%', - bottom: '3%', - top, - containLabel: true - }, - legend: { - data: legendData - }, - xAxis: xAxisModel, - yAxis: yAxisModel, - series: _series - } - - this.echart.setOption(opts, true) - this.echart.clear() - this.echart.setOption(opts, true) - } - } -} diff --git a/dolphinscheduler-ui/src/js/module/ana-charts/packages/base.js b/dolphinscheduler-ui/src/js/module/ana-charts/packages/base.js deleted file mode 100755 index c8e4839f49..0000000000 --- a/dolphinscheduler-ui/src/js/module/ana-charts/packages/base.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import echarts from 'echarts' -import Chart from '../index' - -export default class Base { - constructor (element, settings) { - this.settings = settings - const options = this.transform() - if (options) { - this.options = options - if (settings.theme) { - // Use a registered custom theme - this.echart = echarts.init(element, settings.theme) - } else if (Chart.settings.defaultTheme) { - // Topics using global configuration - this.echart = echarts.init(element, Chart.settings.defaultTheme) - } else { - this.echart = echarts.init(element) - } - // Response window resize event - window.addEventListener('resize', () => this.echart.resize()) - this.apply() - } - } - - /** - * refresh data - * @param {*} data Icon data - */ - setData (data) { - if (data && data.length !== 0) { - this.settings.data = data - this.options = this.transform() - this.apply() - } - } - - injectDataIntoSeries (data, series) { - data.forEach(o => { - if (o.index === 'all') { - delete o.index - series = series.map(item => { - return Object.assign({}, item, o) - }) - } else if (o.index === 'start') { - delete o.index - series[0] = Object.assign({}, series[0], o) - } else if (o.index === 'end') { - delete o.index - series[series.length - 1] = Object.assign({}, series[series.length - 1], o) - } else if (Array.isArray(o.index)) { - for (const i of o.index) { - if (series[i]) { - series[i] = Object.assign({}, series[i], o) - } - } - } - }) - return series - } -} diff --git a/dolphinscheduler-ui/src/js/module/ana-charts/packages/funnel/index.js b/dolphinscheduler-ui/src/js/module/ana-charts/packages/funnel/index.js deleted file mode 100755 index 5a5e243ad9..0000000000 --- a/dolphinscheduler-ui/src/js/module/ana-charts/packages/funnel/index.js +++ /dev/null @@ -1,144 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import Base from '../base' -import { checkKeyInModel, init } from '../../common' - -const TYPE = 'funnel' - -/** - * Funnel plot - */ -export default class Funnel extends Base { - /** - * Initialization method called on separate export - * @param {*} el Selector or DOM pair - * @param {*} data data source - * @param {*} options Optional - */ - static init (el, data, options) { - return init(Funnel, el, data, options) - } - - /** - * Convert user configuration to a configuration format that conforms to the format of echarts API - */ - transform () { - const { - // data - data = [], - // title - title = 'Funnel plot', - // Attribute dictionary - keyMap = { - textKey: 'key', - dataKey: 'value' - } - } = this.settings - - if (data.length === 0) { - throw new Error('Data source is empty!') - } - - // Attribute name corresponding to text and attribute name corresponding to data value - const { textKey, dataKey } = keyMap - checkKeyInModel(data[0], textKey, dataKey) - - const legendData = [] - const series = [{ - type: TYPE, - left: '10%', - top: 60, - bottom: 60, - width: '80%', - min: 0, - max: 100, - minSize: '0%', - maxSize: '100%', - sort: 'descending', - gap: 2, - label: { - normal: { - show: true, - position: 'inside' - }, - emphasis: { - textStyle: { - fontSize: 20 - } - } - }, - labelLine: { - normal: { - length: 10, - lineStyle: { - width: 1, - type: 'solid' - } - } - }, - itemStyle: { - normal: { - borderColor: '#fff', - borderWidth: 1 - } - }, - data: [] - }] - - // Fill data - for (let i = 0; i < data.length; i++) { - const element = data[i] - const { [dataKey]: value, [textKey]: name, ...other } = element - const item = { - value, - name, - ...other, - _raw: element - } - series[0].data.push(item) - } - return { title, series, legendData } - } - - /** - * Drawing charts - */ - apply () { - const { title, series, legendData } = this.options - - // Injection configuration to series - const { insertSeries } = this.settings - let _series = series - if (insertSeries && insertSeries.length && series.length) { - _series = this.injectDataIntoSeries(insertSeries, _series) - } - - this.echart.setOption({ - title: { - text: title - }, - tooltip: { - trigger: 'item', - formatter: '{a}
{b} : {c}%' - }, - legend: { - data: legendData - }, - series: _series - }, true) - } -} diff --git a/dolphinscheduler-ui/src/js/module/ana-charts/packages/line/index.js b/dolphinscheduler-ui/src/js/module/ana-charts/packages/line/index.js deleted file mode 100755 index 94ebc84412..0000000000 --- a/dolphinscheduler-ui/src/js/module/ana-charts/packages/line/index.js +++ /dev/null @@ -1,204 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import Base from '../base' -import { checkKeyInModel, init } from '../../common' - -const TYPE = 'line' - -/** - * Broken line diagram - */ -export default class Line extends Base { - /** - * Initialization method called on separate export - * @param {*} el Selector or DOM object - * @param {*} data data source - * @param {*} options Optional - */ - static init (el, data, options) { - return init(Line, el, data, options) - } - - /** - * Convert user configuration to a configuration format that conforms to the format of echarts API - */ - transform () { - const { data = [] } = this.settings - - if (data.length === 0) { - throw new Error('Data source is empty!') - } - - if (Object.keys(data[0]).length > 2) { - return this.setMultipleLines() - } else { - this.simple = true - return this.setSingleLine() - } - } - - /** - * Single broken line - */ - setSingleLine () { - const { - // data - data = [], - // Attribute dictionary - keyMap = { - xAxisKey: 'key', - dataKey: 'value' - }, - // Chart title - title = 'Single line chart' - } = this.settings - - // X axis corresponds to attribute name, data value corresponds to attribute name - const { xAxisKey, dataKey } = keyMap - checkKeyInModel(data[0], xAxisKey, dataKey) - - const series = [{ - type: TYPE, - data: [] - }] - const xAxis = { - type: 'category', - data: [] - } - - for (let i = 0; i < data.length; i++) { - xAxis.data.push(data[i][xAxisKey]) - series[0].data.push(data[i][dataKey]) - } - - return { title, xAxis, series } - } - - /** - * Multiple broken lines - */ - setMultipleLines () { - const { - // data - data = [], - // Attribute dictionary - keyMap = { - xAxisKey: 'key', - legendKey: 'typeName', - dataKey: 'value' - }, - // Chart title - title = 'Multiple line chart' - } = this.settings - - // Attribute name corresponding to X axis, legend and data value - const { xAxisKey, legendKey, dataKey } = keyMap - checkKeyInModel(data[0], xAxisKey, legendKey, dataKey) - - const legendData = [] - const series = [] - const xAxis = { - type: 'category', - data: [] - } - - for (let i = 0; i < data.length; i++) { - const legendItem = data[i][legendKey] - const xAxisItem = data[i][xAxisKey] - const dataItem = data[i][dataKey] - - // Legend - if (!legendData.includes(legendItem)) { - legendData.push(legendItem) - } - - // X axis - if (!xAxis.data.includes(xAxisItem)) { - xAxis.data.push(xAxisItem) - } - - // series - let targetSeries = series.find(s => s.name === legendItem) - if (!targetSeries) { - targetSeries = { - name: legendItem, - type: TYPE, - data: [] - } - series.push(targetSeries) - } - targetSeries.data.push(dataItem) - } - - return { title, xAxis, series, legendData } - } - - /** - * Drawing charts - */ - apply () { - const { title, xAxis, series, legendData = [] } = this.options - const { - // Whether it is a horizontal drawing - reverseAxis = false, - // Custom Y axis - yAxis, - // Injection configuration to series - insertSeries - } = this.settings - const valueAxis = { type: 'value' } - let yAxisModel = reverseAxis ? xAxis : valueAxis - const xAxisModel = reverseAxis ? valueAxis : xAxis - // Use custom Y-axis overlay - if (yAxis) { - yAxisModel = yAxis - } - // When the simple chart title is empty, the chart is vertically centered - const top = !title && this.simple ? '3%' : 60 - - let _series = series - if (insertSeries && insertSeries.length && series.length) { - _series = this.injectDataIntoSeries(insertSeries, _series) - } - - const opts = { - title: { - text: title - }, - tooltip: { - trigger: 'axis' - }, - grid: { - left: '3%', - right: '4%', - bottom: '3%', - top, - containLabel: true - }, - legend: { - data: legendData - }, - xAxis: xAxisModel, - yAxis: yAxisModel, - series: _series - } - - this.echart.setOption(opts, true) - this.echart.clear() - this.echart.setOption(opts, true) - } -} diff --git a/dolphinscheduler-ui/src/js/module/ana-charts/packages/pie/index.js b/dolphinscheduler-ui/src/js/module/ana-charts/packages/pie/index.js deleted file mode 100755 index f39f90b70f..0000000000 --- a/dolphinscheduler-ui/src/js/module/ana-charts/packages/pie/index.js +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import Base from '../base' -import { checkKeyInModel, init } from '../../common' - -const TYPE = 'pie' - -/** - * Pie chart - */ -export default class Pie extends Base { - /** - * Initialization method called on separate export - * @param {*} el Selector or DOM object - * @param {*} data data source - * @param {*} options Optional - */ - static init (el, data, options) { - return init(Pie, el, data, options) - } - - /** - * Convert user configuration to a configuration format that conforms to the format of echarts API - */ - transform () { - const { - // data - data = [], - // title - title = 'Pie chart', - // Ring chart or not - ring = false, - // Attribute dictionary - keyMap = { - textKey: 'key', - dataKey: 'value' - } - } = this.settings - - if (data.length === 0) { - throw new Error('数据源为空!') - } - - // Attribute name corresponding to text and attribute name corresponding to data value - const { textKey, dataKey } = keyMap - checkKeyInModel(data[0], textKey, dataKey) - - const legendData = [] - const radius = ring ? ['50%', '70%'] : '60%' - const center = title ? ['50%', '60%'] : ['50%', '50%'] - const series = [{ - radius: radius, - center: center, - type: TYPE, - data: [] - }] - - // Fill data - for (let i = 0; i < data.length; i++) { - const element = data[i] - const { [dataKey]: value, [textKey]: name, ...other } = element - const item = { - value, - name, - ...other, - _raw: element - } - series[0].data.push(item) - } - return { title, series, legendData } - } - - /** - * Drawing charts - */ - apply () { - const { title, series, legendData } = this.options - - // Injection configuration to series - const { insertSeries } = this.settings - let _series = series - if (insertSeries && insertSeries.length && series.length) { - _series = this.injectDataIntoSeries(insertSeries, _series) - } - - const opts = { - title: { - text: title, - x: 'center' - }, - tooltip: { - trigger: 'item', - formatter: '{b} : {c} ({d}%)' - }, - legend: { - orient: 'vertical', - left: 'left', - data: legendData - }, - series: _series - } - - this.echart.setOption(opts, true) - this.echart.clear() - this.echart.setOption(opts, true) - } -} diff --git a/dolphinscheduler-ui/src/js/module/ana-charts/packages/radar/index.js b/dolphinscheduler-ui/src/js/module/ana-charts/packages/radar/index.js deleted file mode 100755 index 375dd1caf9..0000000000 --- a/dolphinscheduler-ui/src/js/module/ana-charts/packages/radar/index.js +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import Base from '../base' -import { checkKeyInModel, init } from '../../common' - -const TYPE = 'radar' - -/** - * Radar chart - */ -export default class Radar extends Base { - /** - * Initialization method called on separate export - * @param {*} el Selector or DOM object - * @param {*} data data source - * @param {*} options Optional - */ - static init (el, data, options) { - return init(Radar, el, data, options) - } - - /** - * Convert user configuration to a configuration format that conforms to the format of echarts API - */ - transform () { - const { - // data - data = [], - // Chart title - title = 'Radar chart', - // Attribute dictionary - keyMap = { - textKey: 'key', - legendKey: 'typeName', - dataKey: 'value' - } - } = this.settings - - if (data.length === 0) { - throw new Error('Data source is empty!') - } - - // Attribute name corresponding to text, attribute name corresponding to legend, attribute name corresponding to data value - const { textKey, legendKey, dataKey } = keyMap - checkKeyInModel(data[0], textKey, legendKey, dataKey) - - const legendData = [] - const seriesData = [] - const indicator = [] - - // Set legend and initialize data series - for (let i = 0; i < data.length; i++) { - const legendItem = data[i][legendKey] - const textItem = data[i][textKey] - const dataItem = data[i][dataKey] - - // Legend - if (!legendData.includes(legendItem)) { - legendData.push(legendItem) - } - - // series - let targetSeries = seriesData.find(s => s.name === legendItem) - if (!targetSeries) { - targetSeries = { - name: legendItem, - value: [], - _raw: [] - } - seriesData.push(targetSeries) - } - targetSeries.value.push(dataItem) - targetSeries._raw.push(data[i]) - - // index - const targetIndicator = indicator.find(i => i.name === textItem) - if (!targetIndicator) { - indicator.push({ name: textItem }) - } - } - - return { title, seriesData, legendData, indicator } - } - - /** - * Drawing charts - */ - apply () { - const { title, seriesData, legendData = [], indicator } = this.options - this.echart.setOption({ - title: { - text: title - }, - tooltip: {}, - legend: { - data: legendData - }, - radar: { - name: { - textStyle: { - color: '#fff', - backgroundColor: '#999', - borderRadius: 3, - padding: [3, 5] - } - }, - indicator - }, - series: [{ - type: TYPE, - data: seriesData - }] - }, true) - } -} diff --git a/dolphinscheduler-ui/src/js/module/ana-charts/packages/scatter/index.js b/dolphinscheduler-ui/src/js/module/ana-charts/packages/scatter/index.js deleted file mode 100755 index d6c09ee474..0000000000 --- a/dolphinscheduler-ui/src/js/module/ana-charts/packages/scatter/index.js +++ /dev/null @@ -1,149 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import Base from '../base' -import { checkKeyInModel, init } from '../../common' - -const TYPE = 'scatter' - -/** - * Bubble chart - */ -export default class Scatter extends Base { - /** - * Initialization method called on separate export - * @param {*} el Selector or DOM object - * @param {*} data data source - * @param {*} options Optional - */ - static init (el, data, options) { - return init(Scatter, el, data, options) - } - - /** - * Convert user configuration to a configuration format that conforms to the format of echarts API - */ - transform () { - const { - // data - data = [], - // Chart title - title = 'Bubble chart', - // Attribute dictionary - keyMap = { - xKey: 'x', - yKey: 'y', - sizeKey: 'size', - textKey: 'text', - legendKey: 'typeName' - } - } = this.settings - - if (data.length === 0) { - throw new Error('Data source is empty!') - } - - const legendData = [] - const series = [] - - const { xKey, yKey, sizeKey, textKey, legendKey } = keyMap - checkKeyInModel(data[0], xKey, yKey, sizeKey, textKey, legendKey) - - for (let i = 0; i < data.length; i++) { - const { - [legendKey]: legendItem, - [xKey]: xValue, - [yKey]: yValue, - [sizeKey]: sizeValue, - [textKey]: textValue, - ...other - } = data[i] - - // Legend - if (!legendData.includes(legendItem)) { - legendData.push(legendItem) - } - - // series - let targetSeries = series.find(s => s.name === legendItem) - if (!targetSeries) { - targetSeries = { - type: TYPE, - name: legendItem, - data: [], - symbolSize: function (data) { - return Math.sqrt(data[2]) - }, - label: { - emphasis: { - show: true, - formatter: function (param) { - return param.data[3] - }, - position: 'top' - } - } - } - series.push(targetSeries) - } - targetSeries.data.push({ - value: [ - xValue, - yValue, - sizeValue, - textValue - ], - ...other, - _raw: data[i] - }) - } - - return { title, series, legendData } - } - - /** - * Drawing charts - */ - apply () { - const { title, series, legendData = [] } = this.options - - const { - // Custom X axis - xAxis, - // Custom Y axis - yAxis, - // Injection configuration to series - insertSeries - } = this.settings - let _series = series - if (insertSeries && insertSeries.length && series.length) { - _series = this.injectDataIntoSeries(insertSeries, _series) - } - - this.echart.setOption({ - title: { - text: title - }, - legend: { - right: 10, - data: legendData - }, - xAxis: xAxis || {}, - yAxis: yAxis || {}, - series: _series - }, true) - } -} diff --git a/dolphinscheduler-ui/src/js/module/axios/index.js b/dolphinscheduler-ui/src/js/module/axios/index.js deleted file mode 100755 index 87700e2fe1..0000000000 --- a/dolphinscheduler-ui/src/js/module/axios/index.js +++ /dev/null @@ -1,183 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const _ = require('lodash') -const axios = require('axios') -const combineURLs = require('axios/lib/helpers/combineURLs') -const buildURL = require('axios/lib/helpers/buildURL') - -const qs = require('./querystring') -const jsonp = require('./jsonp') - -const preflightDataMethods = ['post', 'put', 'patch'] -const API_ASSERT_OK = 0 - -const def = (o, p, v, desc) => - Object.defineProperty(o, p, - Object.assign({ writable: false, enumerable: false, configurable: false }, desc, { value: v })) - -const normalizeArgs = (method, url, data, success, fail, config) => { - if (_.isFunction(data)) { - config = fail - fail = success - success = data - } - if (_.isPlainObject(data)) { - if (!_.includes(preflightDataMethods, method)) { - config = _.merge({}, config, { params: data }) - } else { - config = _.merge({}, config, { data }) - } - } else { - config = config || {} - } - config.method = method - config.url = url - return { - success, fail, config - } -} - -const generalHandle = (data, res, resolve, reject, success, fail) => { - if (!data || +(data.code || 0) !== API_ASSERT_OK) { - fail && fail(data) - reject(data) - } else { - success && success(data) - resolve(data) - } -} - -const isAbsUrl = (url) => { - return /^(https?:)?\/\//i.test(url) -} - -const resolveURL = (base, path) => { - if (!base || (path && isAbsUrl(path))) { - return path - } - return combineURLs(base, path) -} - -const create = (cfg) => new InnerCtor(cfg) - -class InnerCtor { - constructor (defaults) { - const inter = axios.create(defaults) - - // { baseURL, timeout, ... } - this.config = Object.assign( - { - baseURL: '', - timeout: 0, - resolveURL: u => u - }, - defaults - ) - - this.inter = inter - this.interceptors = inter.interceptors - - this.jsonp = this.jsonp.bind(this) - - // Exporse the internal json api - this.jsonp.inter = jsonp - - // Generates shortcuts by http method. - ;['get', 'delete', 'head', 'options', 'post', 'put', 'patch'].forEach((method) => { - this[method] = function (url, data, success, fail, config) { - return this.request({ url, method, data, success, fail, config }) - }.bind(this) - }) - } - - request ({ url, method, data, success, fail, config }) { - const configs = normalizeArgs(method, this.config.resolveURL(url), data, success, fail, config) - configs.config = _.merge({}, this.config, configs.config) - - // fallback application/json to application/x-www-form-urlencoded - if (configs.config.emulateJSON !== false) { - configs.config.data = qs(configs.config.data) - } - - return new Promise((resolve, reject) => { - this.inter.request(configs.config) - .then((res) => { - if (method === 'head' || method === 'options') { - res.data = res.headers - } - generalHandle(res.data, res, resolve, reject, configs.success, configs.fail) - }) - .catch(err => { - let ret, code - /* istanbul ignore else */ - if (err.response && err.response.status) { - code = err.response.status - } else { - code = 500 - } - if (err.response && (method === 'head' || method === 'options')) { - err.response.data = err.response.headers - } - /* istanbul ignore else */ - if (err.response && err.response.data) { - if (_.isString(err.response.data)) { - ret = { - message: err.message, - code, - data: err.response.data - } - } else { - ret = err.response.data - } - } else { - ret = { - code, - message: err.message, - data: null - } - } - def(ret, '$error', err) - reject(ret) - }) - }) - } - - jsonp (url, data, success, fail, config) { - const configs = normalizeArgs('jsonp', this.config.resolveURL(url), data, success, fail, config) - - configs.config = _.merge({}, this.config, configs.config) - configs.url = buildURL(resolveURL(configs.config.baseURL, configs.config.url), configs.config.params) - - return new Promise((resolve, reject) => { - jsonp(configs.url, configs.config, (err, data) => { - if (err) { - const ret = { - code: 500, - message: err.message, - data: null - } - def(ret, '$error', err) - reject(ret) - } else { - generalHandle(data, data, resolve, reject, configs.success, configs.fail) - } - }) - }) - } -} - -module.exports = Object.assign(create({}), { create, axios }) diff --git a/dolphinscheduler-ui/src/js/module/axios/jsonp.js b/dolphinscheduler-ui/src/js/module/axios/jsonp.js deleted file mode 100755 index 7bc2fe328b..0000000000 --- a/dolphinscheduler-ui/src/js/module/axios/jsonp.js +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -module.exports = jsonp - -/** - * Callback index. - */ - -let count = 0 - -/** - * Noop function. - */ - -/* istanbul ignore next */ -function noop () { -} - -/** - * JSONP handler - * - * Options: - * - param {String} qs parameter (`callback`) - * - prefix {String} qs parameter (`__jp`) - * - name {String} qs parameter (`prefix` + incr) - * - timeout {Number} how long after a timeout error is emitted (`60000`) - * - * @param {String} url - * @param {Object|Function} optional options / callback - * @param {Function} optional callback - */ - -function jsonp (url, opts, fn) { - if (typeof opts === 'function') { - fn = opts - opts = {} - } - if (!opts) opts = {} - - let prefix = opts.prefix || '__jp' - - // use the callback name that was passed if one was provided. - // otherwise generate a unique name by incrementing our counter. - let id = opts.name || (prefix + (count++)) - - let param = opts.param || 'callback' - let timeout = opts.timeout !== null ? opts.timeout : 60000 - let enc = encodeURIComponent - /* istanbul ignore next */ - let target = document.getElementsByTagName('script')[0] || document.head - let script - let timer - /* istanbul ignore else */ - if (timeout) { - timer = setTimeout( - /* istanbul ignore next */ - function () { - cleanup() - if (fn) fn(new Error('Timeout')) - }, timeout) - } - - function cleanup () { - script.onerror = null - script.onload = null - /* istanbul ignore else */ - if (script.parentNode) script.parentNode.removeChild(script) - window[id] = noop - /* istanbul ignore else */ - if (timer) clearTimeout(timer) - } - - function cancel () { - /* istanbul ignore else */ - if (window[id]) { - cleanup() - } - } - - window[id] = function (data) { - // debug('jsonp got', data); - cleanup() - if (fn) fn(null, data) - } - - // add qs component - url += (~url.indexOf('?') ? '&' : '?') + param + '=' + enc(id) - url = url.replace('?&', '?') - - // debug('jsonp req "%s"', url); - let handler = ({ type }) => { - /* istanbul ignore else */ - if (type === 'error') { - cleanup() - fn(new Error('http error')) - } - } - // create script - script = document.createElement('script') - script.src = url - script.onload = handler - script.onerror = handler - target.parentNode.insertBefore(script, target) - - return cancel -} diff --git a/dolphinscheduler-ui/src/js/module/axios/querystring.js b/dolphinscheduler-ui/src/js/module/axios/querystring.js deleted file mode 100755 index 87a236d8cb..0000000000 --- a/dolphinscheduler-ui/src/js/module/axios/querystring.js +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* istanbul ignore next */ -let param = function (a) { - let s = [] - let rbracket = /\[\]$/ - let isArray = function (obj) { - return Object.prototype.toString.call(obj) === '[object Array]' - } - let add = function (k, v) { - v = typeof v === 'function' ? v() : v === null ? '' : v === undefined ? '' : v - s[s.length] = encodeURIComponent(k) + '=' + encodeURIComponent(v) - } - let buildParams = function (prefix, obj) { - let i, len, key - - if (prefix) { - if (isArray(obj)) { - for (i = 0, len = obj.length; i < len; i++) { - if (rbracket.test(prefix)) { - add(prefix, obj[i]) - } else { - buildParams(prefix + '[' + (typeof obj[i] === 'object' ? i : '') + ']', obj[i]) - } - } - } else if (obj && String(obj) === '[object Object]') { - for (key in obj) { - buildParams(prefix + '[' + key + ']', obj[key]) - } - } else { - add(prefix, obj) - } - } else if (isArray(obj)) { - for (i = 0, len = obj.length; i < len; i++) { - add(obj[i].name, obj[i].value) - } - } else { - for (key in obj) { - buildParams(key, obj[key]) - } - } - return s - } - return buildParams('', a).join('&').replace(/%20/g, '+') -} - -module.exports = param diff --git a/dolphinscheduler-ui/src/js/module/components/conditions/conditions.vue b/dolphinscheduler-ui/src/js/module/components/conditions/conditions.vue deleted file mode 100644 index 4ffd030fd0..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/conditions/conditions.vue +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - diff --git a/dolphinscheduler-ui/src/js/module/components/crontab/index.js b/dolphinscheduler-ui/src/js/module/components/crontab/index.js deleted file mode 100755 index 3475fb735c..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/crontab/index.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import vCrontab from './source/app.vue' -// import './source/index.scss' - -export { - vCrontab -} diff --git a/dolphinscheduler-ui/src/js/module/components/crontab/source/_source/i18n/config.js b/dolphinscheduler-ui/src/js/module/components/crontab/source/_source/i18n/config.js deleted file mode 100755 index d8af1742ca..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/crontab/source/_source/i18n/config.js +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* eslint-disable */ -import _ from 'lodash' -import zh_CN from './locale/zh_CN' -import en_US from './locale/en_US' - -export function localeList () { - return [ - { - code: 'zh_CN', - name: '中文', - locale: zh_CN - }, - { - code: 'en_US', - name: 'English', - locale: en_US - } - ] -} - -export function findLocale (code) { - return _.find(localeList(), ['code', code]) -} diff --git a/dolphinscheduler-ui/src/js/module/components/crontab/source/_source/i18n/index.js b/dolphinscheduler-ui/src/js/module/components/crontab/source/_source/i18n/index.js deleted file mode 100755 index 12bf6a18c7..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/crontab/source/_source/i18n/index.js +++ /dev/null @@ -1,27 +0,0 @@ - -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { findLocale } from './config' -import { template } from './util' - -export default { - methods: { - $t (str, data) { - return template(findLocale(window.localeCrontab).locale[str], data) - } - } -} diff --git a/dolphinscheduler-ui/src/js/module/components/crontab/source/_source/i18n/locale/en_US.js b/dolphinscheduler-ui/src/js/module/components/crontab/source/_source/i18n/locale/en_US.js deleted file mode 100755 index ce067ffcf6..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/crontab/source/_source/i18n/locale/en_US.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - 秒: 'second', - 分: 'minute', - 时: 'hour', - 天: 'day', - 月: 'month', - 年: 'year', - 星期一: 'Monday', - 星期二: 'Tuesday', - 星期三: 'Wednesday', - 星期四: 'Thursday', - 星期五: 'Friday', - 星期六: 'Saturday', - 星期天: 'Sunday', - 每一秒钟: 'Every second', - 每隔: 'Every', - '秒执行 从': 'second carried out', - 秒开始: 'Start', - '具体秒数(可多选)': 'Specific second(multiple)', - 请选择具体秒数: 'Please enter a specific second', - 周期从: 'Cycle from', - 到: 'to', - 每一分钟: 'Every minute', - '分执行 从': 'minute carried out', - 分开始: 'Start', - '具体分钟数(可多选)': 'Specific minute(multiple)', - 请选择具体分钟数: 'Please enter a specific minute', - 每一小时: 'Every hour', - '小时执行 从': 'hour carried out', - 小时开始: 'Start', - '具体小时数(可多选)': 'Specific hour(multiple)', - 请选择具体小时数: 'Please enter a hour', - 每一天: 'Every day', - '周执行 从': 'week carried out', - 开始: 'Start', - '天执行 从': 'day carried out', - 天开始: 'Start', - '具体星期几(可多选)': 'Specific day of the week(multiple)', - 请选择具体周几: 'Please enter a week', - '具体天数(可多选)': 'Specific days(multiple)', - 请选择具体天数: 'Please enter a days', - 在这个月的最后一天: 'On the last day of the month', - 在这个月的最后一个工作日: 'On the last working day of the month', - 在这个月的最后一个: 'At the last of this month', - 在本月底前: 'Before the end of this month', - '最近的工作日(周一至周五)至本月': 'The most recent business day (Monday to Friday) to this month', - 在这个月的第: 'In this months', - 每一月: 'Every month', - '月执行 从': 'month carried out', - 月开始: 'Start', - '具体月数(可多选)': 'Specific months(multiple)', - 请选择具体月数: 'Please enter a months', - 每一年: 'Every year', - '年执行 从': 'year carried out', - 年开始: 'Start', - '具体年数(可多选)': 'Specific year(multiple)', - 请选择具体年数: 'Please enter a year', - 小时: 'hour', - 日: 'day' -} diff --git a/dolphinscheduler-ui/src/js/module/components/crontab/source/_source/i18n/locale/zh_CN.js b/dolphinscheduler-ui/src/js/module/components/crontab/source/_source/i18n/locale/zh_CN.js deleted file mode 100755 index c84939fc59..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/crontab/source/_source/i18n/locale/zh_CN.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - 秒: '秒', - 分: '分', - 时: '时', - 天: '天', - 月: '月', - 年: '年', - 星期一: '星期一', - 星期二: '星期二', - 星期三: '星期三', - 星期四: '星期四', - 星期五: '星期五', - 星期六: '星期六', - 星期天: '星期天', - 每一秒钟: '每一秒钟', - 每隔: '每隔', - '秒执行 从': '秒执行 从', - 秒开始: '秒开始', - '具体秒数(可多选)': '具体秒数(可多选)', - 请选择具体秒数: '请选择具体秒数', - 周期从: '周期从', - 到: '到', - 每一分钟: '每一分钟', - '分执行 从': '分执行 从', - 分开始: '分开始', - '具体分钟数(可多选)': '具体分钟数(可多选)', - 请选择具体分钟数: '请选择具体分钟数', - 每一小时: '每一小时', - '小时执行 从': '小时执行 从', - 小时开始: '小时开始', - '具体小时数(可多选)': '具体小时数(可多选)', - 请选择具体小时数: '请选择具体小时数', - 每一天: '每一天', - '周执行 从': '周执行 从', - 开始: '开始', - '天执行 从': '天执行 从', - 天开始: '天开始', - '具体星期几(可多选)': '具体星期几(可多选)', - 请选择具体周几: '请选择具体周几', - '具体天数(可多选)': '具体天数(可多选)', - 请选择具体天数: '请选择具体天数', - 在这个月的最后一天: '在这个月的最后一天', - 在这个月的最后一个工作日: '在这个月的最后一个工作日', - 在这个月的最后一个: '在这个月的最后一个', - 在本月底前: '在本月底前', - '最近的工作日(周一至周五)至本月': '最近的工作日(周一至周五)至本月', - 在这个月的第: '在这个月的第', - 每一月: '每一月', - '月执行 从': '月执行 从', - 月开始: '月开始', - '具体月数(可多选)': '具体月数(可多选)', - 请选择具体月数: '请选择具体月数', - 每一年: '每一年', - '年执行 从': '年执行 从', - 年开始: '年开始', - '具体年数(可多选)': '具体年数(可多选)', - 请选择具体年数: '请选择具体年数', - 小时: '小时', - 日: '日' -} diff --git a/dolphinscheduler-ui/src/js/module/components/crontab/source/_source/i18n/util.js b/dolphinscheduler-ui/src/js/module/components/crontab/source/_source/i18n/util.js deleted file mode 100755 index 7fb17b3b1c..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/crontab/source/_source/i18n/util.js +++ /dev/null @@ -1,50 +0,0 @@ - -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * template - * - * @param {String} string - * @param {Array} ...args - * @return {String} - */ -const { hasOwnProperty } = {} -const RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g -const hasOwn = (o, k) => hasOwnProperty.call(o, k) -const template = (string, ...args) => { - if (args.length === 1 && typeof args[0] === 'object') { - args = args[0] - } - if (!args || !args.hasOwnProperty) { - args = {} - } - return string.replace(RE_NARGS, (match, prefix, i, index) => { - let result - if (string[index - 1] === '{' && - string[index + match.length] === '}') { - return i - } else { - result = hasOwn(args, i) ? args[i] : null - if (result === null || result === undefined) { - return '' - } - return result - } - }) -} - -export { template } diff --git a/dolphinscheduler-ui/src/js/module/components/crontab/source/_source/input-number.vue b/dolphinscheduler-ui/src/js/module/components/crontab/source/_source/input-number.vue deleted file mode 100755 index 74ea132a8a..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/crontab/source/_source/input-number.vue +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/day.vue b/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/day.vue deleted file mode 100755 index 7698a788db..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/day.vue +++ /dev/null @@ -1,526 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/hour.vue b/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/hour.vue deleted file mode 100755 index 6a2e2560d1..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/hour.vue +++ /dev/null @@ -1,263 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/minute.vue b/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/minute.vue deleted file mode 100755 index e91a1864f2..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/minute.vue +++ /dev/null @@ -1,264 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/month.vue b/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/month.vue deleted file mode 100755 index f2799ca699..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/month.vue +++ /dev/null @@ -1,263 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/second.vue b/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/second.vue deleted file mode 100755 index 2f4f21ebe4..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/second.vue +++ /dev/null @@ -1,271 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/year.vue b/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/year.vue deleted file mode 100755 index 6a1f7dd9f1..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/year.vue +++ /dev/null @@ -1,262 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/crontab/source/app.vue b/dolphinscheduler-ui/src/js/module/components/crontab/source/app.vue deleted file mode 100755 index 53d04b45d6..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/crontab/source/app.vue +++ /dev/null @@ -1,206 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/crontab/source/index.scss b/dolphinscheduler-ui/src/js/module/components/crontab/source/index.scss deleted file mode 100755 index bd8346ba17..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/crontab/source/index.scss +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -.v-crontab-form-model { - .list-box { - //padding: 6px 0; - - .ans-radio-wrapper { - height: auto !important; - } - .ans-radio-group-item { - .text { - color: #888; - } - } - .ans-radio-wrapper-checked { - .text { - color: #0097e0; - } - } - .ans-select { - .tag-container { - .tag-wrapper { - line-height: 10px; - margin-left: 6px; - .tag-text { - margin-right: 0; - } - } - } - } - } -} \ No newline at end of file diff --git a/dolphinscheduler-ui/src/js/module/components/crontab/source/util/index.js b/dolphinscheduler-ui/src/js/module/components/crontab/source/util/index.js deleted file mode 100755 index 000b1d441b..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/crontab/source/util/index.js +++ /dev/null @@ -1,213 +0,0 @@ - -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import _ from 'lodash' - -/** - * Generate specified interval number - * @param start Starting value - * @param end End value - */ -const range = (start, end) => { - const length = end - start + 1 - let step = start - 1 - return Array.apply(null, { length: length }).map(function (v, i) { step++; return step }) -} - -const selectList = { - 60: _.map(range(0, 59), v => { - return { - value: v + '', - label: v + '' - } - }), - 24: _.map(range(0, 23), v => { - return { - value: v + '', - label: v + '' - } - }), - 12: _.map(range(0, 12), v => { - return { - value: v + '', - label: v + '' - } - }), - year: _.map(range(2018, 2030), v => { - return { - value: v + '', - label: v + '' - } - }), - week: [ - { - value: 1, - label: '星期天' - }, - { - value: 2, - label: '星期一' - }, - { - value: 3, - label: '星期二' - }, - { - value: 4, - label: '星期三' - }, - { - value: 5, - label: '星期四' - }, - { - value: 6, - label: '星期五' - }, - { - value: 7, - label: '星期六' - } - ], - specificWeek: [ - { - value: 'SUN', - label: 'SUN' - }, - { - value: 'MON', - label: 'MON' - }, - { - value: 'TUE', - label: 'TUE' - }, - { - value: 'WED', - label: 'WED' - }, - { - value: 'THU', - label: 'THU' - }, - { - value: 'FRI', - label: 'FRI' - }, - { - value: 'SAT', - label: 'SAT' - } - ], - day: _.map(range(1, 31), v => { - return { - value: v + '', - label: v + '' - } - }), - lastWeeks: [ - { - value: '?', - label: '星期天' - }, - { - value: '2L', - label: '星期一' - }, - { - value: '3L', - label: '星期二' - }, - { - value: '4L', - label: '星期三' - }, - { - value: '5L', - label: '星期四' - }, - { - value: '6L', - label: '星期五' - }, - { - value: '7L', - label: '星期六' - } - ] -} - -const isStr = (str, v) => { - let flag - if (str.indexOf(v) !== -1) { - flag = str.split(v) - } - return flag -} - -const isWeek = (str) => { - let flag = false - const data = str.split(',') - const isSpecificWeek = (key) => { - return _.findIndex(selectList.specificWeek, v => v.value === key) !== -1 - } - _.map(data, v => { - if (isSpecificWeek(v)) { - flag = true - } - }) - return flag -} - -/** - * template - * - * @param {String} string - * @param {Array} ...args - * @return {String} - */ -const { hasOwnProperty } = {} -const RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g -const hasOwn = (o, k) => hasOwnProperty.call(o, k) -const template = (string, ...args) => { - if (args.length === 1 && typeof args[0] === 'object') { - args = args[0] - } - if (!args || !args.hasOwnProperty) { - args = {} - } - return string.replace(RE_NARGS, (match, prefix, i, index) => { - let result - if (string[index - 1] === '{' && - string[index + match.length] === '}') { - return i - } else { - result = hasOwn(args, i) ? args[i] : null - if (result === null || result === undefined) { - return '' - } - return result - } - }) -} - -export { - selectList, - isStr, - isWeek, - template -} diff --git a/dolphinscheduler-ui/src/js/module/components/fileUpdate/definitionUpdate.vue b/dolphinscheduler-ui/src/js/module/components/fileUpdate/definitionUpdate.vue deleted file mode 100644 index b8b768b7c0..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/fileUpdate/definitionUpdate.vue +++ /dev/null @@ -1,289 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/fileUpdate/fileChildReUpdate.vue b/dolphinscheduler-ui/src/js/module/components/fileUpdate/fileChildReUpdate.vue deleted file mode 100644 index a2b1c9271e..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/fileUpdate/fileChildReUpdate.vue +++ /dev/null @@ -1,348 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/fileUpdate/fileChildUpdate.vue b/dolphinscheduler-ui/src/js/module/components/fileUpdate/fileChildUpdate.vue deleted file mode 100644 index a9cc962ad6..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/fileUpdate/fileChildUpdate.vue +++ /dev/null @@ -1,329 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/fileUpdate/fileReUpload.vue b/dolphinscheduler-ui/src/js/module/components/fileUpdate/fileReUpload.vue deleted file mode 100644 index 1a9c00c0dc..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/fileUpdate/fileReUpload.vue +++ /dev/null @@ -1,348 +0,0 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/fileUpdate/fileUpdate.vue b/dolphinscheduler-ui/src/js/module/components/fileUpdate/fileUpdate.vue deleted file mode 100755 index e864cedb96..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/fileUpdate/fileUpdate.vue +++ /dev/null @@ -1,327 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/fileUpdate/resourceChildUpdate.vue b/dolphinscheduler-ui/src/js/module/components/fileUpdate/resourceChildUpdate.vue deleted file mode 100755 index a119c9a345..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/fileUpdate/resourceChildUpdate.vue +++ /dev/null @@ -1,329 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/fileUpdate/udfUpdate.vue b/dolphinscheduler-ui/src/js/module/components/fileUpdate/udfUpdate.vue deleted file mode 100644 index d1761f00ad..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/fileUpdate/udfUpdate.vue +++ /dev/null @@ -1,209 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/layout/layout.vue b/dolphinscheduler-ui/src/js/module/components/layout/layout.vue deleted file mode 100644 index 4944415b3a..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/layout/layout.vue +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/listBoxF/listBoxF.vue b/dolphinscheduler-ui/src/js/module/components/listBoxF/listBoxF.vue deleted file mode 100644 index 36c7027663..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/listBoxF/listBoxF.vue +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/listConstruction/listConstruction.vue b/dolphinscheduler-ui/src/js/module/components/listConstruction/listConstruction.vue deleted file mode 100644 index 7bffa9ca14..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/listConstruction/listConstruction.vue +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/nav/logo.svg b/dolphinscheduler-ui/src/js/module/components/nav/logo.svg deleted file mode 100755 index 6a2678621f..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/nav/logo.svg +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/nav/nav.vue b/dolphinscheduler-ui/src/js/module/components/nav/nav.vue deleted file mode 100644 index 28d9b0d27a..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/nav/nav.vue +++ /dev/null @@ -1,659 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/noData/images/errorTip.png b/dolphinscheduler-ui/src/js/module/components/noData/images/errorTip.png deleted file mode 100644 index 775df073a3..0000000000 Binary files a/dolphinscheduler-ui/src/js/module/components/noData/images/errorTip.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/module/components/noData/noData.vue b/dolphinscheduler-ui/src/js/module/components/noData/noData.vue deleted file mode 100644 index e2245993b8..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/noData/noData.vue +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/popup/popover.vue b/dolphinscheduler-ui/src/js/module/components/popup/popover.vue deleted file mode 100644 index 9d3bb6a218..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/popup/popover.vue +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/popup/popup.vue b/dolphinscheduler-ui/src/js/module/components/popup/popup.vue deleted file mode 100644 index 57d7179210..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/popup/popup.vue +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/priority/priority.vue b/dolphinscheduler-ui/src/js/module/components/priority/priority.vue deleted file mode 100644 index 9427f082df..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/priority/priority.vue +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/progressBar/progressBar.vue b/dolphinscheduler-ui/src/js/module/components/progressBar/progressBar.vue deleted file mode 100644 index e65768a22d..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/progressBar/progressBar.vue +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/secondaryMenu/_source/close.png b/dolphinscheduler-ui/src/js/module/components/secondaryMenu/_source/close.png deleted file mode 100644 index c25d79b1de..0000000000 Binary files a/dolphinscheduler-ui/src/js/module/components/secondaryMenu/_source/close.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/module/components/secondaryMenu/_source/menu.js b/dolphinscheduler-ui/src/js/module/components/secondaryMenu/_source/menu.js deleted file mode 100644 index 96a812ca63..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/secondaryMenu/_source/menu.js +++ /dev/null @@ -1,345 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import i18n from '@/module/i18n' -import config from '~/external/config' -import Permissions from '@/module/permissions' - -const menu = { - projects: [ - { - name: `${i18n.$t('Project Home')}`, - id: 0, - path: 'projects-index', - isOpen: true, - enabled: true, - icon: 'ri-home-4-line', - children: [] - }, - { - name: `${i18n.$t('Kinship')}`, - id: 1, - path: 'projects-kinship', - isOpen: true, - enabled: true, - icon: 'ri-node-tree', - children: [] - }, - { - name: `${i18n.$t('Process')}`, - id: 2, - path: '', - isOpen: true, - enabled: true, - icon: 'el-icon-s-tools', - children: [ - { - name: `${i18n.$t('Process definition')}`, - path: 'definition', - id: 0, - enabled: true, - classNames: 'tab-process-definition' - }, - { - name: `${i18n.$t('Task Definition')}`, - path: 'task-definition', - id: 5, - enabled: true - }, - { - name: `${i18n.$t('Process Instance')}`, - path: 'instance', - id: 1, - enabled: true, - classNames: 'tab-process-instance' - }, - { - name: `${i18n.$t('Task Instance')}`, - path: 'task-instance', - id: 2, - enabled: true, - classNames: 'tab-task-instance' - }, - { - name: `${i18n.$t('Task record')}`, - path: 'task-record', - id: 3, - enabled: config.recordSwitch - }, - { - name: `${i18n.$t('History task record')}`, - path: 'history-task-record', - id: 4, - enabled: config.recordSwitch - } - ] - } - ], - dataQuality: [ - { - name: `${i18n.$t('DataQuality Result')}`, - id: 0, - path: 'data-quality-result', - isOpen: true, - enabled: true, - icon: 'el-icon-s-grid', - children: [] - }, - { - name: `${i18n.$t('DataQuality Rule')}`, - id: 1, - path: 'data-quality-rule', - isOpen: true, - enabled: true, - icon: 'el-icon-document', - children: [] - } - ], - security: [ - { - name: `${i18n.$t('Tenant Manage')}`, - id: 0, - path: 'tenement-manage', - isOpen: true, - enabled: true, - icon: 'el-icon-user-solid', - children: [], - classNames: 'tab-tenant-manage' - }, - { - name: `${i18n.$t('User Manage')}`, - id: 1, - path: 'users-manage', - isOpen: true, - enabled: true, - icon: 'el-icon-user-solid', - children: [], - classNames: 'tab-user-manage' - }, - { - name: `${i18n.$t('Warning group manage')}`, - id: 2, - path: 'warning-groups-manage', - isOpen: true, - enabled: true, - icon: 'el-icon-warning', - children: [] - }, - { - name: `${i18n.$t('Warning instance manage')}`, - id: 2, - path: 'warning-instance-manage', - isOpen: true, - enabled: true, - icon: 'el-icon-warning-outline', - children: [] - }, - { - name: `${i18n.$t('Worker group manage')}`, - id: 4, - path: 'worker-groups-manage', - isOpen: true, - enabled: true, - icon: 'el-icon-s-custom', - children: [], - classNames: 'tab-worker-group-manage' - }, - { - name: `${i18n.$t('Queue manage')}`, - id: 3, - path: 'queue-manage', - isOpen: true, - enabled: true, - icon: 'el-icon-s-grid', - children: [], - classNames: 'tab-queue-manage' - }, - { - name: `${i18n.$t('Environment manage')}`, - id: 3, - path: 'environment-manage', - isOpen: true, - enabled: true, - icon: 'el-icon-setting', - children: [], - classNames: 'tab-environment-manage' - }, - { - name: `${i18n.$t('Token manage')}`, - id: 2, - path: 'token-manage', - isOpen: true, - enabled: true, - icon: 'el-icon-document', - children: [], - classNames: 'tab-token-manage' - }, - { - name: `${i18n.$t('K8s Namespace')}`, - id: 2, - path: 'namespace', - isOpen: true, - icon: 'el-icon-s-grid', - children: [], - enabled: true, - classNames: 'tab-namespace-manage' - } - ], - resource: [ - { - name: `${i18n.$t('File Manage')}`, - id: 0, - path: 'file', - isOpen: true, - icon: 'el-icon-document-copy', - children: [], - enabled: true, - classNames: 'tab-file-manage' - }, - { - name: `${i18n.$t('UDF manage')}`, - id: 1, - path: '', - isOpen: true, - icon: 'el-icon-document', - enabled: true, - children: [ - { - name: `${i18n.$t('Resource manage')}`, - path: 'resource-udf', - id: 0, - enabled: true, - classNames: 'tab-udf-resource-manage' - }, - { - name: `${i18n.$t('Function manage')}`, - path: 'resource-func', - id: 1, - enabled: true, - classNames: 'tab-function-resource-manage' - } - ] - }, - { - name: `${i18n.$t('Task group manage')}`, - id: 2, - path: '', - isOpen: true, - enabled: true, - icon: 'el-icon-setting', - children: [ - { - name: `${i18n.$t('Task group option')}`, - path: 'task-group-option', - id: 0, - enabled: true, - classNames: 'tab-task-group-option-manage' - }, - { - name: `${i18n.$t('Task group queue')}`, - path: 'task-group-queue', - id: 1, - enabled: true, - classNames: 'tab-task-group-queue-manage' - } - ] - } - ], - user: [ - { - name: `${i18n.$t('User Information')}`, - id: 0, - path: 'account', - isOpen: true, - icon: 'el-icon-user-solid', - children: [], - enabled: true - }, - { - name: `${i18n.$t('Edit password')}`, - id: 1, - path: 'password', - isOpen: true, - icon: 'el-icon-key', - children: [], - enabled: true - }, - { - name: `${i18n.$t('Token manage')}`, - id: 2, - path: 'token', - isOpen: true, - icon: 'el-icon-s-custom', - children: [], - enabled: Permissions.getAuth() - } - ], - monitor: [ - { - name: `${i18n.$t('Servers manage')}`, - id: 1, - path: '', - isOpen: true, - enabled: true, - icon: 'el-icon-menu', - children: [ - { - name: 'Master', - path: 'servers-master', - id: 0, - enabled: true - }, - { - name: 'Worker', - path: 'servers-worker', - id: 1, - enabled: true - }, - { - name: 'DB', - path: 'servers-db', - id: 6, - enabled: true - } - ] - }, - { - name: `${i18n.$t('Statistics manage')}`, - id: 0, - path: '', - isOpen: true, - enabled: true, - icon: 'el-icon-menu', - children: [ - { - name: 'Statistics', - path: 'statistics', - id: 0, - enabled: true - }, - { - name: 'Audit Log', - path: 'audit-log', - id: 1, - enabled: true - } - ] - } - ] -} - -export default type => menu[type] diff --git a/dolphinscheduler-ui/src/js/module/components/secondaryMenu/_source/open.png b/dolphinscheduler-ui/src/js/module/components/secondaryMenu/_source/open.png deleted file mode 100644 index 5e6f024e57..0000000000 Binary files a/dolphinscheduler-ui/src/js/module/components/secondaryMenu/_source/open.png and /dev/null differ diff --git a/dolphinscheduler-ui/src/js/module/components/secondaryMenu/secondaryMenu.vue b/dolphinscheduler-ui/src/js/module/components/secondaryMenu/secondaryMenu.vue deleted file mode 100644 index 0d0845beac..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/secondaryMenu/secondaryMenu.vue +++ /dev/null @@ -1,216 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/spin/spin.vue b/dolphinscheduler-ui/src/js/module/components/spin/spin.vue deleted file mode 100644 index 7c6a9c3acf..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/spin/spin.vue +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/tooltipsJSON/tooltipsJSON.vue b/dolphinscheduler-ui/src/js/module/components/tooltipsJSON/tooltipsJSON.vue deleted file mode 100644 index 8f92e8f205..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/tooltipsJSON/tooltipsJSON.vue +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/transfer/resource.vue b/dolphinscheduler-ui/src/js/module/components/transfer/resource.vue deleted file mode 100644 index 959142cb4f..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/transfer/resource.vue +++ /dev/null @@ -1,312 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/components/transfer/transfer.vue b/dolphinscheduler-ui/src/js/module/components/transfer/transfer.vue deleted file mode 100644 index b671b6c5b6..0000000000 --- a/dolphinscheduler-ui/src/js/module/components/transfer/transfer.vue +++ /dev/null @@ -1,212 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - - - diff --git a/dolphinscheduler-ui/src/js/module/download/index.js b/dolphinscheduler-ui/src/js/module/download/index.js deleted file mode 100644 index 55d18e004e..0000000000 --- a/dolphinscheduler-ui/src/js/module/download/index.js +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import i18n from '@/module/i18n' -import { resolveURL } from '@/module/io' - -/** - * download file - */ -const downloadFile = ($url, $obj) => { - const param = { - url: resolveURL($url), - obj: $obj || {} - } - - if (!param.url) { - this.$message.warning(`${i18n.$t('Unable to download without proper url')}`) - return - } - - const generatorInput = function (obj) { - let result = '' - const keyArr = Object.keys(obj) - keyArr.forEach(function (key) { - result += "" - }) - return result - } - $(`
${generatorInput(param.obj)}
`).appendTo('body').submit().remove() -} - -export { downloadFile } diff --git a/dolphinscheduler-ui/src/js/module/echarts/themeData.json b/dolphinscheduler-ui/src/js/module/echarts/themeData.json deleted file mode 100644 index 0eb92795a9..0000000000 --- a/dolphinscheduler-ui/src/js/module/echarts/themeData.json +++ /dev/null @@ -1,494 +0,0 @@ -{ - "color": [ - "#0098e1", - "#7281c2", - "#ffcf3d", - "#f2ac6f", - "#f07d7d", - "#e84d80", - "#a463b0", - "#7a56b8", - "#625ad1", - "#8ba8d6" - ], - - "backgroundColor": "rgba(252,252,252,0)", - "textStyle": {}, - "title": { - "textStyle": { - "color": "#666666" - }, - "subtextStyle": { - "color": "#999999" - } - }, - "line": { - "itemStyle": { - "normal": { - "borderWidth": "2" - } - }, - "lineStyle": { - "normal": { - "width": "3" - } - }, - "symbolSize": "8", - "symbol": "emptyCircle", - "smooth": false - }, - "radar": { - "itemStyle": { - "normal": { - "borderWidth": "2" - } - }, - "lineStyle": { - "normal": { - "width": "3" - } - }, - "symbolSize": "8", - "symbol": "emptyCircle", - "smooth": false - }, - "bar": { - "itemStyle": { - "normal": { - "barBorderWidth": 0, - "barBorderColor": "#ccc" - }, - "emphasis": { - "barBorderWidth": 0, - "barBorderColor": "#ccc" - } - } - }, - "pie": { - "itemStyle": { - "normal": { - "borderWidth": 0, - "borderColor": "#ccc" - }, - "emphasis": { - "borderWidth": 0, - "borderColor": "#ccc" - } - } - }, - "scatter": { - "itemStyle": { - "normal": { - "borderWidth": 0, - "borderColor": "#ccc" - }, - "emphasis": { - "borderWidth": 0, - "borderColor": "#ccc" - } - } - }, - "boxplot": { - "itemStyle": { - "normal": { - "borderWidth": 0, - "borderColor": "#ccc" - }, - "emphasis": { - "borderWidth": 0, - "borderColor": "#ccc" - } - } - }, - "parallel": { - "itemStyle": { - "normal": { - "borderWidth": 0, - "borderColor": "#ccc" - }, - "emphasis": { - "borderWidth": 0, - "borderColor": "#ccc" - } - } - }, - "sankey": { - "itemStyle": { - "normal": { - "borderWidth": 0, - "borderColor": "#ccc" - }, - "emphasis": { - "borderWidth": 0, - "borderColor": "#ccc" - } - } - }, - "funnel": { - "itemStyle": { - "normal": { - "borderWidth": 0, - "borderColor": "#ccc" - }, - "emphasis": { - "borderWidth": 0, - "borderColor": "#ccc" - } - } - }, - "gauge": { - "itemStyle": { - "normal": { - "borderWidth": 0, - "borderColor": "#ccc" - }, - "emphasis": { - "borderWidth": 0, - "borderColor": "#ccc" - } - } - }, - "candlestick": { - "itemStyle": { - "normal": { - "color": "#e6a0d2", - "color0": "transparent", - "borderColor": "#e6a0d2", - "borderColor0": "#3fb1e3", - "borderWidth": "2" - } - } - }, - "graph": { - "itemStyle": { - "normal": { - "borderWidth": 0, - "borderColor": "#ccc" - } - }, - "lineStyle": { - "normal": { - "width": "1", - "color": "#cccccc" - } - }, - "symbolSize": "8", - "symbol": "emptyCircle", - "smooth": false, - "color": [ - "#2d8cf0", - "#19a6e3", - "#626c91", - "#17a0b3", - "#c4ebad", - "#96dee8" - ], - "label": { - "normal": { - "textStyle": { - "color": "#ffffff" - } - } - } - }, - "map": { - "itemStyle": { - "normal": { - "areaColor": "#eeeeee", - "borderColor": "#aaaaaa", - "borderWidth": 0.5 - }, - "emphasis": { - "areaColor": "rgba(63,177,227,0.25)", - "borderColor": "#3fb1e3", - "borderWidth": 1 - } - }, - "label": { - "normal": { - "textStyle": { - "color": "#ffffff" - } - }, - "emphasis": { - "textStyle": { - "color": "rgb(63,177,227)" - } - } - } - }, - "geo": { - "itemStyle": { - "normal": { - "areaColor": "#eeeeee", - "borderColor": "#aaaaaa", - "borderWidth": 0.5 - }, - "emphasis": { - "areaColor": "rgba(63,177,227,0.25)", - "borderColor": "#3fb1e3", - "borderWidth": 1 - } - }, - "label": { - "normal": { - "textStyle": { - "color": "#ffffff" - } - }, - "emphasis": { - "textStyle": { - "color": "rgb(63,177,227)" - } - } - } - }, - "categoryAxis": { - "axisLine": { - "show": true, - "lineStyle": { - "color": "#cccccc" - } - }, - "axisTick": { - "show": false, - "lineStyle": { - "color": "#333" - } - }, - "axisLabel": { - "show": true, - "textStyle": { - "color": "#999999" - } - }, - "splitLine": { - "show": true, - "lineStyle": { - "color": [ - "#eeeeee" - ] - } - }, - "splitArea": { - "show": false, - "areaStyle": { - "color": [ - "rgba(250,250,250,0.05)", - "rgba(200,200,200,0.02)" - ] - } - } - }, - "valueAxis": { - "axisLine": { - "show": true, - "lineStyle": { - "color": "#cccccc" - } - }, - "axisTick": { - "show": false, - "lineStyle": { - "color": "#333" - } - }, - "axisLabel": { - "show": true, - "textStyle": { - "color": "#999999" - } - }, - "splitLine": { - "show": true, - "lineStyle": { - "color": [ - "#eeeeee" - ] - } - }, - "splitArea": { - "show": false, - "areaStyle": { - "color": [ - "rgba(250,250,250,0.05)", - "rgba(200,200,200,0.02)" - ] - } - } - }, - "logAxis": { - "axisLine": { - "show": true, - "lineStyle": { - "color": "#cccccc" - } - }, - "axisTick": { - "show": false, - "lineStyle": { - "color": "#333" - } - }, - "axisLabel": { - "show": true, - "textStyle": { - "color": "#999999" - } - }, - "splitLine": { - "show": true, - "lineStyle": { - "color": [ - "#eeeeee" - ] - } - }, - "splitArea": { - "show": false, - "areaStyle": { - "color": [ - "rgba(250,250,250,0.05)", - "rgba(200,200,200,0.02)" - ] - } - } - }, - "timeAxis": { - "axisLine": { - "show": true, - "lineStyle": { - "color": "#cccccc" - } - }, - "axisTick": { - "show": false, - "lineStyle": { - "color": "#333" - } - }, - "axisLabel": { - "show": true, - "textStyle": { - "color": "#999999" - } - }, - "splitLine": { - "show": true, - "lineStyle": { - "color": [ - "#eeeeee" - ] - } - }, - "splitArea": { - "show": false, - "areaStyle": { - "color": [ - "rgba(250,250,250,0.05)", - "rgba(200,200,200,0.02)" - ] - } - } - }, - "toolbox": { - "iconStyle": { - "normal": { - "borderColor": "#999999" - }, - "emphasis": { - "borderColor": "#666666" - } - } - }, - "legend": { - "textStyle": { - "color": "#999999" - } - }, - "tooltip": { - "axisPointer": { - "lineStyle": { - "color": "#cccccc", - "width": 1 - }, - "crossStyle": { - "color": "#cccccc", - "width": 1 - } - } - }, - "timeline": { - "lineStyle": { - "color": "#626c91", - "width": 1 - }, - "itemStyle": { - "normal": { - "color": "#626c91", - "borderWidth": 1 - }, - "emphasis": { - "color": "#626c91" - } - }, - "controlStyle": { - "normal": { - "color": "#626c91", - "borderColor": "#626c91", - "borderWidth": 0.5 - }, - "emphasis": { - "color": "#626c91", - "borderColor": "#626c91", - "borderWidth": 0.5 - } - }, - "checkpointStyle": { - "color": "#3fb1e3", - "borderColor": "rgba(63,177,227,0.15)" - }, - "label": { - "normal": { - "textStyle": { - "color": "#626c91" - } - }, - "emphasis": { - "textStyle": { - "color": "#626c91" - } - } - } - }, - "visualMap": { - "color": [ - "#2a99c9", - "#afe8ff" - ] - }, - "dataZoom": { - "backgroundColor": "rgba(255,255,255,0)", - "dataBackgroundColor": "rgba(222,222,222,1)", - "fillerColor": "rgba(114,230,212,0.25)", - "handleColor": "#cccccc", - "handleSize": "100%", - "textStyle": { - "color": "#999999" - } - }, - "markPoint": { - "label": { - "normal": { - "textStyle": { - "color": "#ffffff" - } - }, - "emphasis": { - "textStyle": { - "color": "#ffffff" - } - } - } - } -} \ No newline at end of file diff --git a/dolphinscheduler-ui/src/js/module/filter/filter.js b/dolphinscheduler-ui/src/js/module/filter/filter.js deleted file mode 100644 index a37b7649cf..0000000000 --- a/dolphinscheduler-ui/src/js/module/filter/filter.js +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import dayjs from 'dayjs' - -/** - * Formatting time - */ -const formatDate = (value, fmt) => { - fmt = fmt || 'YYYY-MM-DD HH:mm:ss' - if (value === null) { - return '-' - } else { - return dayjs(formatISODate(value)).format(fmt) - } -} -/** - * Formatting iso date - */ -const formatISODate = date => { - let [datetime, timezone] = date.split('+') - if (!timezone || timezone.indexOf(':') >= 0) return date - let hourOfTz = timezone.substring(0, 2) || '00' - let secondOfTz = timezone.substring(2, 4) || '00' - return `${datetime}+${hourOfTz}:${secondOfTz}` -} -/** - * filter null - */ -const filterNull = (value) => { - if (value === null || value === '') { - return '-' - } else { - return value - } -} - -export { - formatDate, filterNull -} diff --git a/dolphinscheduler-ui/src/js/module/filter/filterNull.js b/dolphinscheduler-ui/src/js/module/filter/filterNull.js deleted file mode 100644 index b5d2759293..0000000000 --- a/dolphinscheduler-ui/src/js/module/filter/filterNull.js +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Vue from 'vue' -import { filterNull } from './filter' - -/** - * @param {String} fmt optional, define filter null - */ -Vue.filter('filterNull', filterNull) diff --git a/dolphinscheduler-ui/src/js/module/filter/formatDate.js b/dolphinscheduler-ui/src/js/module/filter/formatDate.js deleted file mode 100644 index 7767669127..0000000000 --- a/dolphinscheduler-ui/src/js/module/filter/formatDate.js +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import Vue from 'vue' -import { formatDate } from './filter' - -/** - * @param {String} fmt optional, define formatting format - */ -Vue.filter('formatDate', formatDate) diff --git a/dolphinscheduler-ui/src/js/module/i18n/config.js b/dolphinscheduler-ui/src/js/module/i18n/config.js deleted file mode 100644 index 20fad4bf01..0000000000 --- a/dolphinscheduler-ui/src/js/module/i18n/config.js +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* eslint-disable */ -import _ from 'lodash' -import zh_CN from './locale/zh_CN' -import en_US from './locale/en_US' - -export function localeList () { - return [ - { - helperContext:'zh-cn', - code: 'zh_CN', - name: '中文', - locale: zh_CN - }, - { - helperContext:'en-us', - code: 'en_US', - name: 'English', - locale: en_US - } - ] -} - -export function findLocale (code) { - return _.find(localeList(), ['code', code]) -} diff --git a/dolphinscheduler-ui/src/js/module/i18n/index.js b/dolphinscheduler-ui/src/js/module/i18n/index.js deleted file mode 100644 index ca9ef87791..0000000000 --- a/dolphinscheduler-ui/src/js/module/i18n/index.js +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* eslint-disable */ -import Vue from 'vue' -import { findLocale } from './config' -import { template } from '@/module/util' -import cookies from 'js-cookie' - -const globalScope = typeof window !== 'undefined' && window.document ? window : global - -const $t = (str, data) => { - // test - // return str - - if (!str) return '' - - if (!globalScope.LOCALE) { - init() - } - - let language = findLocale(globalScope.LOCALE).locale - - /** - * $t('等待查询aaa',{aaa:111}) - */ - return template(language[str], data) -} - -const locale = (lang) => { - // global - globalScope.LOCALE = lang - // cookies - cookies.set('language', lang,{ path: '/' }) -} - -const init = () => { - let language = cookies.get('language') - if (language) { - locale(language) - }else{ - /** - * Browser language - */ - let lang = (navigator.language || navigator.userLanguage).indexOf("CN") !== -1 - locale(lang ? 'zh_CN' : 'en_US') - } -} - -// Expose to global scope for quick access. -globalScope.$t = $t - -Vue.prototype.$t = $t - -export default { - init, - $t, - locale, - globalScope -} diff --git a/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js b/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js deleted file mode 100755 index 4c330f6d7f..0000000000 --- a/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js +++ /dev/null @@ -1,918 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { - 'User Name': 'User Name', - 'Please enter user name': 'Please enter user name', - Password: 'Password', - 'Please enter your password': 'Please enter your password', - 'Password consists of at least two combinations of numbers, letters, and characters, and the length is between 6-22': 'Password consists of at least two combinations of numbers, letters, and characters, and the length is between 6-22', - Login: 'Login', - Home: 'Home', - 'Failed to create node to save': 'Failed to create node to save', - 'Global parameters': 'Global parameters', - 'Local parameters': 'Local parameters', - 'Copy success': 'Copy success', - 'The browser does not support automatic copying': 'The browser does not support automatic copying', - 'Whether to save the DAG graph': 'Whether to save the DAG graph', - 'Current node settings': 'Current node settings', - 'View history': 'View history', - 'View log': 'View log', - 'Force success': 'Force success', - 'Enter this child node': 'Enter this child node', - 'Node name': 'Node name', - 'Please enter name (required)': 'Please enter name (required)', - 'Run flag': 'Run flag', - Normal: 'Normal', - 'Prohibition execution': 'Prohibition execution', - 'Please enter description': 'Please enter description', - 'Number of failed retries': 'Number of failed retries', - Times: 'Times', - 'Failed retry interval': 'Failed retry interval', - Minute: 'Minute', - 'Delay execution time': 'Delay execution time', - 'Delay execution': 'Delay execution', - 'Forced success': 'Forced success', - Cancel: 'Cancel', - 'Confirm add': 'Confirm add', - 'The newly created sub-Process has not yet been executed and cannot enter the sub-Process': 'The newly created sub-Process has not yet been executed and cannot enter the sub-Process', - 'The task has not been executed and cannot enter the sub-Process': 'The task has not been executed and cannot enter the sub-Process', - 'Name already exists': 'Name already exists', - 'Download Log': 'Download Log', - 'Refresh Log': 'Refresh Log', - 'Enter full screen': 'Enter full screen', - 'Cancel full screen': 'Cancel full screen', - Close: 'Close', - 'Update log success': 'Update log success', - 'No more logs': 'No more logs', - 'No log': 'No log', - 'Loading Log...': 'Loading Log...', - 'Set the DAG diagram name': 'Set the DAG diagram name', - 'Please enter description(optional)': 'Please enter description(optional)', - 'Set global': 'Set global', - 'Whether to go online the process definition': 'Whether to go online the process definition', - 'Whether to update the process definition': 'Whether to update the process definition', - Add: 'Add', - 'DAG graph name cannot be empty': 'DAG graph name cannot be empty', - 'Create Datasource': 'Create Datasource', - 'Project Home': 'Workflow Monitor', - 'Project Manage': 'Project', - 'Create Project': 'Create Project', - 'Cron Manage': 'Cron Manage', - 'Copy Workflow': 'Copy Workflow', - 'Tenant Manage': 'Tenant Manage', - 'Create Tenant': 'Create Tenant', - 'User Manage': 'User Manage', - 'Create User': 'Create User', - 'User Information': 'User Information', - 'Edit Password': 'Edit Password', - Success: 'Success', - Failed: 'Failed', - Delete: 'Delete', - 'Please choose': 'Please choose', - 'Please enter a positive integer': 'Please enter a positive integer', - 'Program Type': 'Program Type', - 'Main Class': 'Main Class', - 'Main Package': 'Main Package', - 'Please enter main package': 'Please enter main package', - 'Please enter main class': 'Please enter main class', - 'Main Arguments': 'Main Arguments', - 'Please enter main arguments': 'Please enter main arguments', - 'Option Parameters': 'Option Parameters', - 'Please enter option parameters': 'Please enter option parameters', - Resources: 'Resources', - 'Custom Parameters': 'Custom Parameters', - 'Custom template': 'Custom template', - Datasource: 'Datasource', - methods: 'methods', - 'Please enter the procedure method': 'Please enter the procedure script \n\ncall procedure:{call [(,, ...)]}\n\ncall function:{?= call [(,, ...)]} ', - 'The procedure method script example': 'example:{call [(?,?, ...)]} or {?= call [(?,?, ...)]}', - Script: 'Script', - 'Please enter script(required)': 'Please enter script(required)', - 'Deploy Mode': 'Deploy Mode', - 'Driver Cores': 'Driver Cores', - 'Please enter Driver cores': 'Please enter Driver cores', - 'Driver Memory': 'Driver Memory', - 'Please enter Driver memory': 'Please enter Driver memory', - 'Executor Number': 'Executor Number', - 'Please enter Executor number': 'Please enter Executor number', - 'The Executor number should be a positive integer': 'The Executor number should be a positive integer', - 'Executor Memory': 'Executor Memory', - 'Please enter Executor memory': 'Please enter Executor memory', - 'Executor Cores': 'Executor Cores', - 'Please enter Executor cores': 'Please enter Executor cores', - 'Memory should be a positive integer': 'Memory should be a positive integer', - 'Core number should be positive integer': 'Core number should be positive integer', - 'Flink Version': 'Flink Version', - 'JobManager Memory': 'JobManager Memory', - 'Please enter JobManager memory': 'Please enter JobManager memory', - 'TaskManager Memory': 'TaskManager Memory', - 'Please enter TaskManager memory': 'Please enter TaskManager memory', - 'Slot Number': 'Slot Number', - 'Please enter Slot number': 'Please enter Slot number', - Parallelism: 'Parallelism', - 'Custom Parallelism': 'Configure parallelism', - 'Please enter Parallelism': 'Please enter Parallelism', - 'Parallelism tip': 'If there are a large number of tasks requiring complement, you can use the custom parallelism to ' + - 'set the complement task thread to a reasonable value to avoid too large impact on the server.', - 'Parallelism number should be positive integer': 'Parallelism number should be positive integer', - 'TaskManager Number': 'TaskManager Number', - 'Please enter TaskManager number': 'Please enter TaskManager number', - 'App Name': 'App Name', - 'Please enter app name(optional)': 'Please enter app name(optional)', - 'SQL Type': 'SQL Type', - 'Send Email': 'Send Email', - 'Log display': 'Log display', - 'rows of result': 'rows of result', - Title: 'Title', - 'Please enter the title of email': 'Please enter the title of email', - Table: 'Table', - TableMode: 'Table', - Attachment: 'Attachment', - 'SQL Parameter': 'SQL Parameter', - 'SQL Statement': 'SQL Statement', - 'UDF Function': 'UDF Function', - 'Please enter a SQL Statement(required)': 'Please enter a SQL Statement(required)', - 'Please enter a JSON Statement(required)': 'Please enter a JSON Statement(required)', - 'One form or attachment must be selected': 'One form or attachment must be selected', - 'Mail subject required': 'Mail subject required', - 'Child Node': 'Child Node', - 'Please select a sub-Process': 'Please select a sub-Process', - Edit: 'Edit', - 'Switch To This Version': 'Switch To This Version', - 'Datasource Name': 'Datasource Name', - 'Please enter datasource name': 'Please enter datasource name', - IP: 'IP', - 'Please enter IP': 'Please enter IP', - Port: 'Port', - 'Please enter port': 'Please enter port', - 'Database Name': 'Database Name', - 'Please enter database name': 'Please enter database name', - 'Oracle Connect Type': 'ServiceName or SID', - 'Oracle Service Name': 'ServiceName', - 'Oracle SID': 'SID', - 'jdbc connect parameters': 'jdbc connect parameters', - 'Test Connect': 'Test Connect', - 'Please enter resource name': 'Please enter resource name', - 'Please enter resource folder name': 'Please enter resource folder name', - 'Please enter a non-query SQL statement': 'Please enter a non-query SQL statement', - 'Please enter IP/hostname': 'Please enter IP/hostname', - 'jdbc connection parameters is not a correct JSON format': 'jdbc connection parameters is not a correct JSON format', - '#': '#', - 'Datasource Type': 'Datasource Type', - 'Datasource Parameter': 'Datasource Parameter', - 'Create Time': 'Create Time', - 'Update Time': 'Update Time', - Operation: 'Operation', - 'Current Version': 'Current Version', - 'Click to view': 'Click to view', - 'Delete?': 'Delete?', - 'Switch Version Successfully': 'Switch Version Successfully', - 'Confirm Switch To This Version?': 'Confirm Switch To This Version?', - Confirm: 'Confirm', - 'Task status statistics': 'Task Status Statistics', - Number: 'Number', - State: 'State', - 'Dry-run flag': 'Dry-run flag', - 'Process Status Statistics': 'Process Status Statistics', - 'Process Definition Statistics': 'Process Definition Statistics', - 'Project Name': 'Project Name', - 'Please enter name': 'Please enter name', - 'Owned Users': 'Owned Users', - 'Process Pid': 'Process Pid', - 'Zk registration directory': 'Zk registration directory', - cpuUsage: 'cpuUsage', - memoryUsage: 'memoryUsage', - 'Last heartbeat time': 'Last heartbeat time', - 'Edit Tenant': 'Edit Tenant', - 'OS Tenant Code': 'OS Tenant Code', - 'Tenant Name': 'Tenant Name', - Queue: 'Yarn Queue', - 'Please select a queue': 'default is tenant association queue', - 'Please enter the os tenant code in English': 'Please enter the os tenant code in English', - 'Please enter os tenant code in English': 'Please enter os tenant code in English', - 'Please enter os tenant code': 'Please enter os tenant code', - 'Please enter tenant Name': 'Please enter tenant Name', - 'The os tenant code. Only letters or a combination of letters and numbers are allowed': 'The os tenant code. Only letters or a combination of letters and numbers are allowed', - 'Edit User': 'Edit User', - Tenant: 'Tenant', - Email: 'Email', - Phone: 'Phone', - 'User Type': 'User Type', - 'Please enter phone number': 'Please enter phone number', - 'Please enter email': 'Please enter email', - 'Please enter the correct email format': 'Please enter the correct email format', - 'Please enter the correct mobile phone format': 'Please enter the correct mobile phone format', - Project: 'Project', - Authorize: 'Authorize', - 'File resources': 'File resources', - 'UDF resources': 'UDF resources', - 'UDF resources directory': 'UDF resources directory', - 'Please select UDF resources directory': 'Please select UDF resources directory', - 'Alarm group': 'Alarm group', - 'Alarm group required': 'Alarm group required', - 'Edit alarm group': 'Edit alarm group', - 'Create alarm group': 'Create alarm group', - 'Create Alarm Instance': 'Create Alarm Instance', - 'Edit Alarm Instance': 'Edit Alarm Instance', - 'Group Name': 'Group Name', - 'Alarm instance name': 'Alarm instance name', - 'Alarm plugin name': 'Alarm plugin name', - 'Select plugin': 'Select plugin', - 'Select Alarm plugin': 'Please select an Alarm plugin', - 'Please enter group name': 'Please enter group name', - 'Instance parameter exception': 'Instance parameter exception', - 'Group Type': 'Group Type', - 'Alarm plugin instance': 'Alarm plugin instance', - 'Please enter alarm plugin instance name': 'Please enter alarm plugin instance name', - 'Select Alarm plugin instance': 'Please select an Alarm plugin instance', - Remarks: 'Remarks', - SMS: 'SMS', - 'Managing Users': 'Managing Users', - Permission: 'Permission', - Administrator: 'Administrator', - 'Confirm Password': 'Confirm Password', - 'Please enter confirm password': 'Please enter confirm password', - 'Password cannot be in Chinese': 'Password cannot be in Chinese', - 'Please enter a password (6-22) character password': 'Please enter a password (6-22) character password', - 'Confirmation password cannot be in Chinese': 'Confirmation password cannot be in Chinese', - 'Please enter a confirmation password (6-22) character password': 'Please enter a confirmation password (6-22) character password', - 'The password is inconsistent with the confirmation password': 'The password is inconsistent with the confirmation password', - 'Please select the datasource': 'Please select the datasource', - 'Please select resources': 'Please select resources', - Query: 'Query', - 'Non Query': 'Non Query', - 'prop(required)': 'prop(required)', - 'value(optional)': 'value(optional)', - 'value(required)': 'value(required)', - 'prop is empty': 'prop is empty', - 'value is empty': 'value is empty', - 'prop is repeat': 'prop is repeat', - 'Start Time': 'Start Time', - 'End Time': 'End Time', - crontab: 'crontab', - 'Failure Strategy': 'Failure Strategy', - online: 'online', - offline: 'offline', - 'Task Status': 'Task Status', - 'Process Instance': 'Process Instance', - 'Task Instance': 'Task Instance', - 'Select date range': 'Select date range', - startDate: 'startDate', - endDate: 'endDate', - Date: 'Date', - Waiting: 'Waiting', - Execution: 'Execution', - Finish: 'Finish', - 'Create File': 'Create File', - 'Create folder': 'Create folder', - 'File Name': 'File Name', - 'Folder Name': 'Folder Name', - 'File Format': 'File Format', - 'Folder Format': 'Folder Format', - 'File Content': 'File Content', - 'Upload File Size': 'Upload File size cannot exceed 1g', - Create: 'Create', - 'Please enter the resource content': 'Please enter the resource content', - 'Resource content cannot exceed 3000 lines': 'Resource content cannot exceed 3000 lines', - 'File Details': 'File Details', - 'Download Details': 'Download Details', - Return: 'Return', - Save: 'Save', - 'File Manage': 'File Manage', - 'Upload Files': 'Upload Files', - 'Create UDF Function': 'Create UDF Function', - 'Upload UDF Resources': 'Upload UDF Resources', - 'Service-Master': 'Service-Master', - 'Service-Worker': 'Service-Worker', - 'Process Name': 'Process Name', - Executor: 'Executor', - 'Run Type': 'Run Type', - 'Scheduling Time': 'Scheduling Time', - 'Run Times': 'Run Times', - host: 'host', - 'fault-tolerant sign': 'fault-tolerant sign', - Rerun: 'Rerun', - 'Recovery Failed': 'Recovery Failed', - Stop: 'Stop', - Pause: 'Pause', - 'Recovery Suspend': 'Recovery Suspend', - Gantt: 'Gantt', - 'Node Type': 'Node Type', - 'Submit Time': 'Submit Time', - Duration: 'Duration', - 'Retry Count': 'Retry Count', - 'Task Name': 'Task Name', - 'Task Date': 'Task Date', - 'Source Table': 'Source Table', - 'Record Number': 'Record Number', - 'Target Table': 'Target Table', - 'Online viewing type is not supported': 'Online viewing type is not supported', - Size: 'Size', - Rename: 'Rename', - Download: 'Download', - Export: 'Export', - 'Version Info': 'Version Info', - Submit: 'Submit', - 'Edit UDF Function': 'Edit UDF Function', - type: 'type', - 'UDF Function Name': 'UDF Function Name', - FILE: 'FILE', - UDF: 'UDF', - 'File Subdirectory': 'File Subdirectory', - 'Please enter a function name': 'Please enter a function name', - 'Package Name': 'Package Name', - 'Please enter a Package name': 'Please enter a Package name', - Parameter: 'Parameter', - 'Please enter a parameter': 'Please enter a parameter', - 'UDF Resources': 'UDF Resources', - 'Upload Resources': 'Upload Resources', - Instructions: 'Instructions', - 'Please enter a instructions': 'Please enter a instructions', - 'Please enter a UDF function name': 'Please enter a UDF function name', - 'Select UDF Resources': 'Select UDF Resources', - 'Class Name': 'Class Name', - 'Jar Package': 'Jar Package', - 'Library Name': 'Library Name', - 'UDF Resource Name': 'UDF Resource Name', - 'File Size': 'File Size', - Description: 'Description', - 'Drag Nodes and Selected Items': 'Drag Nodes and Selected Items', - 'Select Line Connection': 'Select Line Connection', - 'Delete selected lines or nodes': 'Delete selected lines or nodes', - 'Full Screen': 'Full Screen', - Unpublished: 'Unpublished', - 'Start Process': 'Start Process', - 'Execute from the current node': 'Execute from the current node', - 'Recover tolerance fault process': 'Recover tolerance fault process', - 'Resume the suspension process': 'Resume the suspension process', - 'Execute from the failed nodes': 'Execute from the failed nodes', - 'Complement Data': 'Complement Data', - 'Scheduling execution': 'Scheduling execution', - 'Recovery waiting thread': 'Recovery waiting thread', - 'Submitted successfully': 'Submitted successfully', - Executing: 'Executing', - 'Ready to pause': 'Ready to pause', - 'Ready to stop': 'Ready to stop', - 'Need fault tolerance': 'Need fault tolerance', - Kill: 'Kill', - 'Waiting for thread': 'Waiting for thread', - 'Waiting for dependence': 'Waiting for dependence', - Start: 'Start', - Copy: 'Copy', - 'Copy name': 'Copy name', - 'Copy path': 'Copy path', - 'Please enter keyword': 'Please enter keyword', - 'File Upload': 'File Upload', - 'Drag the file into the current upload window': 'Drag the file into the current upload window', - 'Drag area upload': 'Drag area upload', - Upload: 'Upload', - 'ReUpload File': 'ReUpload File', - 'Please enter file name': 'Please enter file name', - 'Please select the file to upload': 'Please select the file to upload', - 'Resources manage': 'Resources', - Security: 'Security', - Logout: 'Logout', - 'No data': 'No data', - 'Uploading...': 'Uploading...', - 'Loading...': 'Loading...', - List: 'List', - 'Unable to download without proper url': 'Unable to download without proper url', - Process: 'Process', - 'Process definition': 'Process definition', - 'Task record': 'Task record', - 'Warning group manage': 'Warning group manage', - 'Warning instance manage': 'Warning instance manage', - 'Servers manage': 'Servers manage', - 'UDF manage': 'UDF manage', - 'Resource manage': 'Resource manage', - 'Function manage': 'Function manage', - 'Edit password': 'Edit password', - 'Ordinary users': 'Ordinary users', - 'Create process': 'Create process', - 'Import process': 'Import process', - 'Timing state': 'Timing state', - Timing: 'Timing', - Timezone: 'Timezone', - TreeView: 'TreeView', - 'Mailbox already exists! Recipients and copyers cannot repeat': 'Mailbox already exists! Recipients and copyers cannot repeat', - 'Mailbox input is illegal': 'Mailbox input is illegal', - 'Please set the parameters before starting': 'Please set the parameters before starting', - Continue: 'Continue', - End: 'End', - 'Node execution': 'Node execution', - 'Backward execution': 'Backward execution', - 'Forward execution': 'Forward execution', - 'Execute only the current node': 'Execute only the current node', - 'Notification strategy': 'Notification strategy', - 'Notification group': 'Notification group', - 'Please select a notification group': 'Please select a notification group', - 'Whether it is a complement process?': 'Whether it is a complement process?', - 'Schedule date': 'Schedule date', - 'Mode of execution': 'Mode of execution', - 'Serial execution': 'Serial execution', - 'Parallel execution': 'Parallel execution', - 'Set parameters before timing': 'Set parameters before timing', - 'Start and stop time': 'Start and stop time', - 'Please select time': 'Please select time', - 'Please enter crontab': 'Please enter crontab', - none_1: 'none', - success_1: 'success', - failure_1: 'failure', - All_1: 'All', - Toolbar: 'Toolbar', - 'View variables': 'View variables', - 'Format DAG': 'Format DAG', - 'Refresh DAG status': 'Refresh DAG status', - Return_1: 'Return', - 'Please enter format': 'Please enter format', - 'connection parameter': 'connection parameter', - 'Process definition details': 'Process definition details', - 'Create process definition': 'Create process definition', - 'Scheduled task list': 'Scheduled task list', - 'Process instance details': 'Process instance details', - 'Create Resource': 'Create Resource', - 'User Center': 'User Center', - AllStatus: 'All', - None: 'None', - Name: 'Name', - 'Process priority': 'Process priority', - 'Task priority': 'Task priority', - 'Task timeout alarm': 'Task timeout alarm', - 'Timeout strategy': 'Timeout strategy', - 'Timeout alarm': 'Timeout alarm', - 'Timeout failure': 'Timeout failure', - 'Timeout period': 'Timeout period', - 'Waiting Dependent complete': 'Waiting Dependent complete', - 'Waiting Dependent start': 'Waiting Dependent start', - 'Check interval': 'Check interval', - 'Timeout must be longer than check interval': 'Timeout must be longer than check interval', - 'Timeout strategy must be selected': 'Timeout strategy must be selected', - 'Timeout must be a positive integer': 'Timeout must be a positive integer', - 'Add dependency': 'Add dependency', - 'Whether dry-run': 'Whether dry-run', - and: 'and', - or: 'or', - month: 'month', - week: 'week', - day: 'day', - hour: 'hour', - Running: 'Running', - 'Waiting for dependency to complete': 'Waiting for dependency to complete', - Selected: 'Selected', - CurrentHour: 'CurrentHour', - Last1Hour: 'Last1Hour', - Last2Hours: 'Last2Hours', - Last3Hours: 'Last3Hours', - Last24Hours: 'Last24Hours', - today: 'today', - Last1Days: 'Last1Days', - Last2Days: 'Last2Days', - Last3Days: 'Last3Days', - Last7Days: 'Last7Days', - ThisWeek: 'ThisWeek', - LastWeek: 'LastWeek', - LastMonday: 'LastMonday', - LastTuesday: 'LastTuesday', - LastWednesday: 'LastWednesday', - LastThursday: 'LastThursday', - LastFriday: 'LastFriday', - LastSaturday: 'LastSaturday', - LastSunday: 'LastSunday', - ThisMonth: 'ThisMonth', - LastMonth: 'LastMonth', - LastMonthBegin: 'LastMonthBegin', - LastMonthEnd: 'LastMonthEnd', - 'Refresh status succeeded': 'Refresh status succeeded', - 'Queue manage': 'Yarn Queue manage', - 'Create queue': 'Create queue', - 'Edit queue': 'Edit queue', - 'Datasource manage': 'Datasource', - 'History task record': 'History task record', - 'Please go online': 'Please go online', - 'Queue value': 'Queue value', - 'Please enter queue value': 'Please enter queue value', - 'Worker group manage': 'Worker group manage', - 'Create worker group': 'Create worker group', - 'Edit worker group': 'Edit worker group', - 'Token manage': 'Token manage', - 'Create token': 'Create token', - 'Edit token': 'Edit token', - Addresses: 'Addresses', - 'Worker Addresses': 'Worker Addresses', - 'Please select the worker addresses': 'Please select the worker addresses', - 'Failure time': 'Failure time', - 'Expiration time': 'Expiration time', - User: 'User', - 'Please enter token': 'Please enter token', - 'Generate token': 'Generate token', - Monitor: 'Monitor', - Group: 'Group', - 'Queue statistics': 'Queue statistics', - 'Command status statistics': 'Command status statistics', - 'Task kill': 'Task Kill', - 'Task queue': 'Task queue', - 'Error command count': 'Error command count', - 'Normal command count': 'Normal command count', - Manage: ' Manage', - 'Number of connections': 'Number of connections', - Sent: 'Sent', - Received: 'Received', - 'Min latency': 'Min latency', - 'Avg latency': 'Avg latency', - 'Max latency': 'Max latency', - 'Node count': 'Node count', - 'Query time': 'Query time', - 'Node self-test status': 'Node self-test status', - 'Health status': 'Health status', - 'Max connections': 'Max connections', - 'Threads connections': 'Threads connections', - 'Max used connections': 'Max used connections', - 'Threads running connections': 'Threads running connections', - 'Worker group': 'Worker group', - 'Please enter a positive integer greater than 0': 'Please enter a positive integer greater than 0', - 'Pre Statement': 'Pre Statement', - 'Post Statement': 'Post Statement', - 'Statement cannot be empty': 'Statement cannot be empty', - 'Process Define Count': 'Work flow Define Count', - 'Process Instance Running Count': 'Process Instance Running Count', - 'command number of waiting for running': 'command number of waiting for running', - 'failure command number': 'failure command number', - 'tasks number of waiting running': 'tasks number of waiting running', - 'task number of ready to kill': 'task number of ready to kill', - 'Statistics manage': 'Statistics Manage', - statistics: 'Statistics', - 'select tenant': 'select tenant', - 'Please enter Principal': 'Please enter Principal', - 'Please enter the kerberos authentication parameter java.security.krb5.conf': 'Please enter the kerberos authentication parameter java.security.krb5.conf', - 'Please enter the kerberos authentication parameter login.user.keytab.username': 'Please enter the kerberos authentication parameter login.user.keytab.username', - 'Please enter the kerberos authentication parameter login.user.keytab.path': 'Please enter the kerberos authentication parameter login.user.keytab.path', - 'The start time must not be the same as the end': 'The start time must not be the same as the end', - 'Startup parameter': 'Startup parameter', - 'Startup type': 'Startup type', - 'warning of timeout': 'warning of timeout', - 'Next five execution times': 'Next five execution times', - 'Execute time': 'Execute time', - 'Complement range': 'Complement range', - 'Http Url': 'Http Url', - 'Http Method': 'Http Method', - 'Http Parameters': 'Http Parameters', - 'Http Parameters Key': 'Http Parameters Key', - 'Http Parameters Position': 'Http Parameters Position', - 'Http Parameters Value': 'Http Parameters Value', - 'Http Check Condition': 'Http Check Condition', - 'Http Condition': 'Http Condition', - 'Please Enter Http Url': 'Please Enter Http Url(required)', - 'Please Enter Http Condition': 'Please Enter Http Condition', - 'There is no data for this period of time': 'There is no data for this period of time', - 'Worker addresses cannot be empty': 'Worker addresses cannot be empty', - 'Please generate token': 'Please generate token', - 'Please Select token': 'Please select the expiration time of token', - 'Spark Version': 'Spark Version', - TargetDataBase: 'target database', - TargetTable: 'target table', - TargetJobName: 'target job name', - 'Please enter Pigeon job name': 'Please enter Pigeon job name', - 'Please enter the table of target': 'Please enter the table of target', - 'Please enter a Target Table(required)': 'Please enter a Target Table(required)', - SpeedByte: 'speed(byte count)', - SpeedRecord: 'speed(record count)', - '0 means unlimited by byte': '0 means unlimited', - '0 means unlimited by count': '0 means unlimited', - 'Modify User': 'Modify User', - 'Whether directory': 'Whether directory', - Yes: 'Yes', - No: 'No', - 'Hadoop Custom Params': 'Hadoop Params', - 'Sqoop Advanced Parameters': 'Sqoop Params', - 'Sqoop Job Name': 'Job Name', - 'Please enter Mysql Database(required)': 'Please enter Mysql Database(required)', - 'Please enter Mysql Table(required)': 'Please enter Mysql Table(required)', - 'Please enter Columns (Comma separated)': 'Please enter Columns (Comma separated)', - 'Please enter Target Dir(required)': 'Please enter Target Dir(required)', - 'Please enter Export Dir(required)': 'Please enter Export Dir(required)', - 'Please enter Hive Database(required)': 'Please enter Hive Databasec(required)', - 'Please enter Hive Table(required)': 'Please enter Hive Table(required)', - 'Please enter hive target dir': 'Please enter hive target dir', - 'Please enter Hive Partition Keys': 'Please enter Hive Partition Key', - 'Please enter Hive Partition Values': 'Please enter Partition Value', - 'Please enter Replace Delimiter': 'Please enter Replace Delimiter', - 'Please enter Fields Terminated': 'Please enter Fields Terminated', - 'Please enter Lines Terminated': 'Please enter Lines Terminated', - 'Please enter Concurrency': 'Please enter Concurrency', - 'Please enter Update Key': 'Please enter Update Key', - 'Please enter Job Name(required)': 'Please enter Job Name(required)', - 'Please enter Custom Shell(required)': 'Please enter Custom Shell(required)', - Direct: 'Direct', - Type: 'Type', - ModelType: 'ModelType', - ColumnType: 'ColumnType', - Database: 'Database', - Column: 'Column', - 'Map Column Hive': 'Map Column Hive', - 'Map Column Java': 'Map Column Java', - 'Export Dir': 'Export Dir', - 'Hive partition Keys': 'Hive partition Keys', - 'Hive partition Values': 'Hive partition Values', - FieldsTerminated: 'FieldsTerminated', - LinesTerminated: 'LinesTerminated', - IsUpdate: 'IsUpdate', - UpdateKey: 'UpdateKey', - UpdateMode: 'UpdateMode', - 'Target Dir': 'Target Dir', - DeleteTargetDir: 'DeleteTargetDir', - FileType: 'FileType', - CompressionCodec: 'CompressionCodec', - CreateHiveTable: 'CreateHiveTable', - DropDelimiter: 'DropDelimiter', - OverWriteSrc: 'OverWriteSrc', - ReplaceDelimiter: 'ReplaceDelimiter', - Concurrency: 'Concurrency', - Form: 'Form', - OnlyUpdate: 'OnlyUpdate', - AllowInsert: 'AllowInsert', - 'Data Source': 'Data Source', - 'Data Target': 'Data Target', - 'All Columns': 'All Columns', - 'Some Columns': 'Some Columns', - 'Branch flow': 'Branch flow', - 'Custom Job': 'Custom Job', - 'Custom Script': 'Custom Script', - 'Cannot select the same node for successful branch flow and failed branch flow': 'Cannot select the same node for successful branch flow and failed branch flow', - 'Successful branch flow and failed branch flow are required': 'conditions node Successful and failed branch flow are required', - 'No resources exist': 'No resources exist', - 'Please delete all non-existing resources': 'Please delete all non-existing resources', - 'Unauthorized or deleted resources': 'Unauthorized or deleted resources', - 'Please delete all non-existent resources': 'Please delete all non-existent resources', - Kinship: 'Workflow relationship', - Reset: 'Reset', - KinshipStateActive: 'Current selection', - KinshipState1: 'Online', - KinshipState0: 'Workflow is not online', - KinshipState10: 'Scheduling is not online', - 'Dag label display control': 'Dag label display control', - Enable: 'Enable', - Disable: 'Disable', - 'The Worker group no longer exists, please select the correct Worker group!': 'The Worker group no longer exists, please select the correct Worker group!', - 'Please confirm whether the workflow has been saved before downloading': 'Please confirm whether the workflow has been saved before downloading', - 'User name length is between 3 and 39': 'User name length is between 3 and 39', - 'Timeout Settings': 'Timeout Settings', - 'Connect Timeout': 'Connect Timeout', - 'Socket Timeout': 'Socket Timeout', - 'Connect timeout be a positive integer': 'Connect timeout be a positive integer', - 'Socket Timeout be a positive integer': 'Socket Timeout be a positive integer', - ms: 'ms', - 'Please Enter Url': 'Please Enter Url eg. 127.0.0.1:7077', - Master: 'Master', - 'Please select the seatunnel resources': 'Please select the seatunnel resources', - zkDirectory: 'zkDirectory', - 'Directory detail': 'Directory detail', - 'Connection name': 'Connection name', - 'Current connection settings': 'Current connection settings', - 'Please save the DAG before formatting': 'Please save the DAG before formatting', - 'Batch copy': 'Batch copy', - 'Related items': 'Related items', - 'Project name is required': 'Project name is required', - 'Batch move': 'Batch move', - Version: 'Version', - 'Pre tasks': 'Pre tasks', - 'Running Memory': 'Running Memory', - 'Max Memory': 'Max Memory', - 'Min Memory': 'Min Memory', - 'The workflow canvas is abnormal and cannot be saved, please recreate': 'The workflow canvas is abnormal and cannot be saved, please recreate', - Info: 'Info', - 'Datasource userName': 'owner', - 'Resource userName': 'owner', - DataQuality: 'DataQuality', - 'DataQuality Result': 'DataQuality Result', - 'DataQuality Rule': 'DataQuality Rule', - 'DataQuality Rule Json': 'Rule Definition', - 'Rule Name': 'Rule Name', - Default: 'UnFinished', - Failure: 'Failure', - 'Rule Type': 'Rule Type', - 'Statistics Value': 'Actual Value', - 'Comparison Value': 'Excepted Value', - 'Comparison Type': 'Excepted Type', - 'Check Type': 'Check Type', - Operator: 'Operator', - Threshold: 'Threshold', - 'Single Table': 'Single Table', - 'Single Table Custom Sql': 'Single Table Custom Sql', - 'Multi Table Accuracy': 'Multi Table Accuracy', - 'Multi Table Comparison': 'Multi Table Comparison', - '(Expected - Actual) / Expected': '(Expected - Actual) / Expected x 100%', - 'Expected - Actual': 'Expected - Actual', - 'Actual - Expected': 'Actual - Expected', - 'Actual / Expected': 'Actual / Expected x 100%', - 'InputEntry Field': 'InputEntry Field', - 'InputEntry Type': 'InputEntry Type', - 'InputEntry Title': 'InputEntry Title', - 'Error Output Path': 'Error Output Path', - Alert: 'Alert', - Block: 'Block', - 'Environment manage': 'Environment manage', - 'Create environment': 'Create environment', - 'Edit environment': 'Edit environment', - 'Environment value': 'Environment value', - 'Environment Name': 'Environment Name', - 'Environment Code': 'Environment Code', - 'Environment Config': 'Environment Config', - 'Environment Desc': 'Environment Desc', - 'Environment Worker Group': 'Worker Groups', - 'Please enter environment config': 'Please enter environment config', - 'Please enter environment desc': 'Please enter environment desc', - 'Please select worker groups': 'Please select worker groups', - condition: 'condition', - 'The condition content cannot be empty': 'The condition content cannot be empty', - 'Reference from': 'Reference from', - 'No more...': 'No more...', - 'Task Definition': 'Task Definition', - 'Create task': 'Create task', - 'Task Type': 'Task Type', - 'Process execute type': 'Process execute type', - parallel: 'parallel', - 'Serial wait': 'Serial wait', - 'Serial discard': 'Serial discard', - 'Serial priority': 'Serial priority', - 'Recover serial wait': 'Recover serial wait', - IsEnableProxy: 'Enable Proxy', - WebHook: 'WebHook', - webHook: 'WebHook', - Keyword: 'Keyword', - Secret: 'Secret', - MsgType: 'MsgType', - AtMobiles: '@Mobiles', - AtUserIds: '@UserIds', - IsAtAll: '@All', - Proxy: 'Proxy', - receivers: 'Receivers', - receiverCcs: 'ReceiverCcs', - transportProtocol: 'Transport Protocol', - serverHost: 'SMTP Host', - serverPort: 'SMTP Port', - sender: 'Sender', - enableSmtpAuth: 'SMTP Auth', - starttlsEnable: 'SMTP STARTTLS Enable', - sslEnable: 'SMTP SSL Enable', - smtpSslTrust: 'SMTP SSL Trust', - url: 'URL', - requestType: 'Request Type', - headerParams: 'Headers', - bodyParams: 'Body', - contentField: 'Content Field', - path: 'Script Path', - userParams: 'User Params', - corpId: 'CorpId', - secret: 'Secret', - userSendMsg: 'UserSendMsg', - agentId: 'AgentId', - users: 'Users', - Username: 'Username', - username: 'Username', - showType: 'Show Type', - 'Please select a task type (required)': 'Please select a task type (required)', - layoutType: 'Layout Type', - gridLayout: 'Grid', - dagreLayout: 'Dagre', - rows: 'Rows', - cols: 'Cols', - processOnline: 'Online', - searchNode: 'Search Node', - dagScale: 'Scale', - workflowName: 'Workflow Name', - scheduleStartTime: 'Schedule Start Time', - scheduleEndTime: 'Schedule End Time', - crontabExpression: 'Crontab', - workflowPublishStatus: 'Workflow Publish Status', - schedulePublishStatus: 'Schedule Publish Status', - 'Task group manage': 'Task group manage', - 'Task group option': 'Task group option', - 'Create task group': 'Create task group', - 'Edit task group': 'Edit task group', - 'Delete task group': 'Delete task group', - 'Task group code': 'Task group code', - 'Task group name': 'Task group name', - 'Task group resource pool size': 'Resource pool size', - 'Task group resource pool size be a number': 'The size of the task group resource pool should be more than 1', - 'Task group resource used pool size': 'Used resource', - 'Task group desc': 'Task group desc', - 'Task group status': 'Task group status', - 'Task group enable status': 'Enable', - 'Task group disable status': 'Disable', - 'Please enter task group desc': 'Please enter task group description', - 'Please enter task group resource pool size': 'Please enter task group resource pool size', - 'Please select project': 'Please select a project', - 'Task group queue': 'Task group queue', - 'Task group queue priority': 'Priority', - 'Task group queue priority be a number': 'The priority of the task group queue should be a positive number', - 'Task group queue force starting status': 'Starting status', - 'Task group in queue': 'In queue', - 'Task group queue status': 'Task status', - 'View task group queue': 'View task group queue', - 'Task group queue the status of waiting': 'Waiting into the queue', - 'Task group queue the status of queuing': 'Queuing', - 'Task group queue the status of releasing': 'Released', - 'Modify task group queue priority': 'Edit the priority of the task group queue', - 'Force to start task': 'Force to start the task', - 'Priority not empty': 'The value of priority can not be empty', - 'Priority must be number': 'The value of priority should be number', - 'Please select task name': 'Please select a task name', - 'Audit Log': 'Audit Log', - 'Resource Type': 'resource type', - 'All Types': 'all types', - 'All Modules': 'all modules', - 'All Operations': 'all operations', - 'User Audit': 'user management audit', - 'Project Audit': 'project management audit', - 'Create Operation': 'create', - 'Update Operation': 'update', - 'Delete Operation': 'delete', - 'Read Operation': 'read', - 'Process State': 'Process State', - 'Upstream Tasks': 'Upstream Tasks', - 'and {n} more': '… and {n} more', - 'Move task': 'Move task', - 'Delete task {taskName} from process {processName}?': 'Delete task {taskName} from process {processName}?', - 'Delete task completely': 'Delete task completely', - 'Please select a process': 'Please select a process', - 'Delete {taskName}?': 'Delete {taskName}?', - 'Please select a process (required)': 'Please select a process (required)', - - src_connector_type: 'SrcConnType', - src_datasource_id: 'SrcSource', - src_table: 'SrcTable', - src_filter: 'SrcFilter', - src_field: 'SrcField', - statistics_name: 'ActualValName', - check_type: 'CheckType', - operator: 'Operator', - threshold: 'Threshold', - failure_strategy: 'FailureStrategy', - target_connector_type: 'TargetConnType', - target_datasource_id: 'TargetSourceId', - target_table: 'TargetTable', - target_filter: 'TargetFilter', - mapping_columns: 'OnClause', - statistics_execute_sql: 'ActualValExecSql', - comparison_name: 'ExceptedValName', - comparison_execute_sql: 'ExceptedValExecSql', - comparison_type: 'ExceptedValType', - writer_connector_type: 'WriterConnType', - writer_datasource_id: 'WriterSourceId', - target_field: 'TargetField', - field_length: 'FieldLength', - logic_operator: 'LogicOperator', - regexp_pattern: 'RegexpPattern', - deadline: 'Deadline', - datetime_format: 'DatetimeFormat', - enum_list: 'EnumList', - begin_time: 'BeginTime', - fix_value: 'FixValue', - null_check: 'NullCheck', - custom_sql: 'CustomSql', - multi_table_accuracy: 'MulTableAccuracy', - multi_table_value_comparison: 'MulTableCompare', - field_length_check: 'FieldLengthCheck', - uniqueness_check: 'UniquenessCheck', - regexp_check: 'RegexpCheck', - timeliness_check: 'TimelinessCheck', - enumeration_check: 'EnumerationCheck', - table_count_check: 'TableCountCheck', - All: 'All', - FixValue: 'FixValue', - DailyAvg: 'DailyAvg', - WeeklyAvg: 'WeeklyAvg', - MonthlyAvg: 'MonthlyAvg', - Last7DayAvg: 'Last7DayAvg', - Last30DayAvg: 'Last30DayAvg', - SrcTableTotalRows: 'SrcTableTotalRows', - TargetTableTotalRows: 'TargetTableTotalRows', - // k8s - 'Create namespace': 'Create namespace', - 'Edit namespace': 'Edit namespace', - 'Namespace manage': 'K8s namespace manage', - 'K8s Namespace': 'K8s Namespace', - 'Limits Cpu': 'Limit Cpu', - 'Limits Memory': 'Limit Memory', - 'K8s Cluster': 'k8s Cluster', - 'Namespace Owner': 'Owner', - 'Please enter k8s cluster': 'Please enter k8s cluster', - 'Please enter namespace': 'Please enter namespace', - 'Please enter namespace tag': 'Please enter namespace tag can null', - 'Please enter owner': 'Please enter owner can null' -} diff --git a/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js b/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js deleted file mode 100755 index 8fd53fc298..0000000000 --- a/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js +++ /dev/null @@ -1,918 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { - 'User Name': '用户名', - 'Please enter user name': '请输入用户名', - Password: '密码', - 'Please enter your password': '请输入密码', - 'Password consists of at least two combinations of numbers, letters, and characters, and the length is between 6-22': '密码至少包含数字,字母和字符的两种组合,长度在6-22之间', - Login: '登录', - Home: '首页', - 'Failed to create node to save': '未创建节点保存失败', - 'Global parameters': '全局参数', - 'Local parameters': '局部参数', - 'Copy success': '复制成功', - 'The browser does not support automatic copying': '该浏览器不支持自动复制', - 'Whether to save the DAG graph': '是否保存DAG图', - 'Current node settings': '当前节点设置', - 'View history': '查看历史', - 'View log': '查看日志', - 'Force success': '强制成功', - 'Enter this child node': '进入该子节点', - 'Node name': '节点名称', - 'Please enter name (required)': '请输入名称(必填)', - 'Run flag': '运行标志', - Normal: '正常', - 'Prohibition execution': '禁止执行', - 'Please enter description': '请输入描述', - 'Number of failed retries': '失败重试次数', - Times: '次', - 'Failed retry interval': '失败重试间隔', - Minute: '分', - 'Delay execution time': '延时执行时间', - 'Delay execution': '延时执行', - 'Forced success': '强制成功', - Cancel: '取消', - 'Confirm add': '确认添加', - 'The newly created sub-Process has not yet been executed and cannot enter the sub-Process': '新创建子工作流还未执行,不能进入子工作流', - 'The task has not been executed and cannot enter the sub-Process': '该任务还未执行,不能进入子工作流', - 'Name already exists': '名称已存在请重新输入', - 'Download Log': '下载日志', - 'Refresh Log': '刷新日志', - 'Enter full screen': '进入全屏', - 'Cancel full screen': '取消全屏', - Close: '关闭', - 'Update log success': '更新日志成功', - 'No more logs': '暂无更多日志', - 'No log': '暂无日志', - 'Loading Log...': '正在努力请求日志中...', - 'Set the DAG diagram name': '设置DAG图名称', - 'Please enter description(optional)': '请输入描述(选填)', - 'Set global': '设置全局', - 'Whether to go online the process definition': '是否上线流程定义', - 'Whether to update the process definition': '是否更新流程定义', - Add: '添加', - 'DAG graph name cannot be empty': 'DAG图名称不能为空', - 'Create Datasource': '创建数据源', - 'Project Home': '工作流监控', - 'Project Manage': '项目管理', - 'Create Project': '创建项目', - 'Cron Manage': '定时管理', - 'Copy Workflow': '复制工作流', - 'Tenant Manage': '租户管理', - 'Create Tenant': '创建租户', - 'User Manage': '用户管理', - 'Create User': '创建用户', - 'User Information': '用户信息', - 'Edit Password': '密码修改', - Success: '成功', - Failed: '失败', - Delete: '删除', - 'Please choose': '请选择', - 'Please enter a positive integer': '请输入正整数', - 'Program Type': '程序类型', - 'Main Class': '主函数的Class', - 'Main Package': '主程序包', - 'Please enter main package': '请选择主程序包', - 'Please enter main class': '请填写主函数的Class', - 'Main Arguments': '主程序参数', - 'Please enter main arguments': '请输入主程序参数', - 'Option Parameters': '选项参数', - 'Please enter option parameters': '请输入选项参数', - Resources: '资源', - 'Custom Parameters': '自定义参数', - 'Custom template': '自定义模版', - Datasource: '数据源', - methods: '方法', - 'Please enter the procedure method': '请输入存储脚本 \n\n调用存储过程:{call [(,, ...)]}\n\n调用存储函数:{?= call [(,, ...)]} ', - 'The procedure method script example': '示例:{call [(?,?, ...)]} 或 {?= call [(?,?, ...)]}', - Script: '脚本', - 'Please enter script(required)': '请输入脚本(必填)', - 'Deploy Mode': '部署方式', - 'Driver Cores': 'Driver核心数', - 'Please enter Driver cores': '请输入Driver核心数', - 'Driver Memory': 'Driver内存数', - 'Please enter Driver memory': '请输入Driver内存数', - 'Executor Number': 'Executor数量', - 'Please enter Executor number': '请输入Executor数量', - 'The Executor number should be a positive integer': 'Executor数量为正整数', - 'Executor Memory': 'Executor内存数', - 'Please enter Executor memory': '请输入Executor内存数', - 'Executor Cores': 'Executor核心数', - 'Please enter Executor cores': '请输入Executor核心数', - 'Memory should be a positive integer': '内存数为数字', - 'Core number should be positive integer': '核心数为正整数', - 'Flink Version': 'Flink版本', - 'JobManager Memory': 'JobManager内存数', - 'Please enter JobManager memory': '请输入JobManager内存数', - 'TaskManager Memory': 'TaskManager内存数', - 'Please enter TaskManager memory': '请输入TaskManager内存数', - 'Slot Number': 'Slot数量', - 'Please enter Slot number': '请输入Slot数量', - Parallelism: '并行度', - 'Custom Parallelism': '自定义并行度', - 'Please enter Parallelism': '请输入并行度', - 'Parallelism number should be positive integer': '并行度必须为正整数', - 'Parallelism tip': '如果存在大量任务需要补数时,可以利用自定义并行度将补数的任务线程设置成合理的数值,避免对服务器造成过大的影响', - 'TaskManager Number': 'TaskManager数量', - 'Please enter TaskManager number': '请输入TaskManager数量', - 'App Name': '任务名称', - 'Please enter app name(optional)': '请输入任务名称(选填)', - 'SQL Type': 'sql类型', - 'Send Email': '发送邮件', - 'Log display': '日志显示', - 'rows of result': '行查询结果', - Title: '主题', - 'Please enter the title of email': '请输入邮件主题', - Table: '表名', - TableMode: '表格', - Attachment: '附件', - 'SQL Parameter': 'sql参数', - 'SQL Statement': 'sql语句', - 'UDF Function': 'UDF函数', - 'Please enter a SQL Statement(required)': '请输入sql语句(必填)', - 'Please enter a JSON Statement(required)': '请输入json语句(必填)', - 'One form or attachment must be selected': '表格、附件必须勾选一个', - 'Mail subject required': '邮件主题必填', - 'Child Node': '子节点', - 'Please select a sub-Process': '请选择子工作流', - Edit: '编辑', - 'Switch To This Version': '切换到该版本', - 'Datasource Name': '数据源名称', - 'Please enter datasource name': '请输入数据源名称', - IP: 'IP主机名', - 'Please enter IP': '请输入IP主机名', - Port: '端口', - 'Please enter port': '请输入端口', - 'Database Name': '数据库名', - 'Please enter database name': '请输入数据库名', - 'Oracle Connect Type': '服务名或SID', - 'Oracle Service Name': '服务名', - 'Oracle SID': 'SID', - 'jdbc connect parameters': 'jdbc连接参数', - 'Test Connect': '测试连接', - 'Please enter resource name': '请输入数据源名称', - 'Please enter resource folder name': '请输入资源文件夹名称', - 'Please enter a non-query SQL statement': '请输入非查询sql语句', - 'Please enter IP/hostname': '请输入IP/主机名', - 'jdbc connection parameters is not a correct JSON format': 'jdbc连接参数不是一个正确的JSON格式', - '#': '编号', - 'Datasource Type': '数据源类型', - 'Datasource Parameter': '数据源参数', - 'Create Time': '创建时间', - 'Update Time': '更新时间', - Operation: '操作', - 'Current Version': '当前版本', - 'Click to view': '点击查看', - 'Delete?': '确定删除吗?', - 'Switch Version Successfully': '切换版本成功', - 'Confirm Switch To This Version?': '确定切换到该版本吗?', - Confirm: '确定', - 'Task status statistics': '任务状态统计', - Number: '数量', - State: '状态', - 'Dry-run flag': '空跑标识', - 'Process Status Statistics': '流程状态统计', - 'Process Definition Statistics': '流程定义统计', - 'Project Name': '项目名称', - 'Please enter name': '请输入名称', - 'Owned Users': '所属用户', - 'Process Pid': '进程Pid', - 'Zk registration directory': 'zk注册目录', - cpuUsage: 'cpuUsage', - memoryUsage: 'memoryUsage', - 'Last heartbeat time': '最后心跳时间', - 'Edit Tenant': '编辑租户', - 'OS Tenant Code': '操作系统租户', - 'Tenant Name': '租户名称', - Queue: '队列', - 'Please select a queue': '默认为租户关联队列', - 'Please enter the os tenant code in English': '请输入操作系统租户只允许英文', - 'Please enter os tenant code in English': '请输入英文操作系统租户', - 'Please enter os tenant code': '请输入操作系统租户', - 'Please enter tenant Name': '请输入租户名称', - 'The os tenant code. Only letters or a combination of letters and numbers are allowed': '操作系统租户只允许字母或字母与数字组合', - 'Edit User': '编辑用户', - Tenant: '租户', - Email: '邮件', - Phone: '手机', - 'User Type': '用户类型', - 'Please enter phone number': '请输入手机', - 'Please enter email': '请输入邮箱', - 'Please enter the correct email format': '请输入正确的邮箱格式', - 'Please enter the correct mobile phone format': '请输入正确的手机格式', - Project: '项目', - Authorize: '授权', - 'File resources': '文件资源', - 'UDF resources': 'UDF资源', - 'UDF resources directory': 'UDF资源目录', - 'Please select UDF resources directory': '请选择UDF资源目录', - 'Alarm group': '告警组', - 'Alarm group required': '告警组必填', - 'Edit alarm group': '编辑告警组', - 'Create alarm group': '创建告警组', - 'Create Alarm Instance': '创建告警实例', - 'Edit Alarm Instance': '编辑告警实例', - 'Group Name': '组名称', - 'Alarm instance name': '告警实例名称', - 'Alarm plugin name': '告警插件名称', - 'Select plugin': '选择插件', - 'Select Alarm plugin': '请选择告警插件', - 'Please enter group name': '请输入组名称', - 'Instance parameter exception': '实例参数异常', - 'Group Type': '组类型', - 'Alarm plugin instance': '告警插件实例', - 'Please enter alarm plugin instance name': '请输入告警实例名称', - 'Select Alarm plugin instance': '请选择告警插件实例', - Remarks: '备注', - SMS: '短信', - 'Managing Users': '管理用户', - Permission: '权限', - Administrator: '管理员', - 'Confirm Password': '确认密码', - 'Please enter confirm password': '请输入确认密码', - 'Password cannot be in Chinese': '密码不能为中文', - 'Please enter a password (6-22) character password': '请输入密码(6-22)字符密码', - 'Confirmation password cannot be in Chinese': '确认密码不能为中文', - 'Please enter a confirmation password (6-22) character password': '请输入确认密码(6-22)字符密码', - 'The password is inconsistent with the confirmation password': '密码与确认密码不一致,请重新确认', - 'Please select the datasource': '请选择数据源', - 'Please select resources': '请选择资源', - Query: '查询', - 'Non Query': '非查询', - 'prop(required)': 'prop(必填)', - 'value(optional)': 'value(选填)', - 'value(required)': 'value(必填)', - 'prop is empty': '自定义参数prop不能为空', - 'value is empty': 'value不能为空', - 'prop is repeat': 'prop中有重复', - 'Start Time': '开始时间', - 'End Time': '结束时间', - crontab: 'crontab', - 'Failure Strategy': '失败策略', - online: '上线', - offline: '下线', - 'Task Status': '任务状态', - 'Process Instance': '工作流实例', - 'Task Instance': '任务实例', - 'Select date range': '选择日期区间', - startDate: '开始日期', - endDate: '结束日期', - Date: '日期', - Waiting: '等待', - Execution: '执行中', - Finish: '完成', - 'Create File': '创建文件', - 'Create folder': '创建文件夹', - 'File Name': '文件名称', - 'Folder Name': '文件夹名称', - 'File Format': '文件格式', - 'Folder Format': '文件夹格式', - 'File Content': '文件内容', - 'Upload File Size': '文件大小不能超过1G', - Create: '创建', - 'Please enter the resource content': '请输入资源内容', - 'Resource content cannot exceed 3000 lines': '资源内容不能超过3000行', - 'File Details': '文件详情', - 'Download Details': '下载详情', - Return: '返回', - Save: '保存', - 'File Manage': '文件管理', - 'Upload Files': '上传文件', - 'Create UDF Function': '创建UDF函数', - 'Upload UDF Resources': '上传UDF资源', - 'Service-Master': '服务管理-Master', - 'Service-Worker': '服务管理-Worker', - 'Process Name': '工作流名称', - Executor: '执行用户', - 'Run Type': '运行类型', - 'Scheduling Time': '调度时间', - 'Run Times': '运行次数', - host: 'host', - 'fault-tolerant sign': '容错标识', - Rerun: '重跑', - 'Recovery Failed': '恢复失败', - Stop: '停止', - Pause: '暂停', - 'Recovery Suspend': '恢复运行', - Gantt: '甘特图', - 'Node Type': '节点类型', - 'Submit Time': '提交时间', - Duration: '运行时长', - 'Retry Count': '重试次数', - 'Task Name': '任务名称', - 'Task Date': '任务日期', - 'Source Table': '源表', - 'Record Number': '记录数', - 'Target Table': '目标表', - 'Online viewing type is not supported': '不支持在线查看类型', - Size: '大小', - Rename: '重命名', - Download: '下载', - Export: '导出', - 'Version Info': '版本信息', - Submit: '提交', - 'Edit UDF Function': '编辑UDF函数', - type: '类型', - 'UDF Function Name': 'UDF函数名称', - FILE: '文件', - UDF: 'UDF', - 'File Subdirectory': '文件子目录', - 'Please enter a function name': '请输入函数名', - 'Package Name': '包名类名', - 'Please enter a Package name': '请输入包名类名', - Parameter: '参数', - 'Please enter a parameter': '请输入参数', - 'UDF Resources': 'UDF资源', - 'Upload Resources': '上传资源', - Instructions: '使用说明', - 'Please enter a instructions': '请输入使用说明', - 'Please enter a UDF function name': '请输入UDF函数名称', - 'Select UDF Resources': '请选择UDF资源', - 'Class Name': '类名', - 'Jar Package': 'jar包', - 'Library Name': '库名', - 'UDF Resource Name': 'UDF资源名称', - 'File Size': '文件大小', - Description: '描述', - 'Drag Nodes and Selected Items': '拖动节点和选中项', - 'Select Line Connection': '选择线条连接', - 'Delete selected lines or nodes': '删除选中的线或节点', - 'Full Screen': '全屏', - Unpublished: '未发布', - 'Start Process': '启动工作流', - 'Execute from the current node': '从当前节点开始执行', - 'Recover tolerance fault process': '恢复被容错的工作流', - 'Resume the suspension process': '恢复运行流程', - 'Execute from the failed nodes': '从失败节点开始执行', - 'Complement Data': '补数', - 'Scheduling execution': '调度执行', - 'Recovery waiting thread': '恢复等待线程', - 'Submitted successfully': '提交成功', - Executing: '正在执行', - 'Ready to pause': '准备暂停', - 'Ready to stop': '准备停止', - 'Need fault tolerance': '需要容错', - Kill: 'Kill', - 'Waiting for thread': '等待线程', - 'Waiting for dependence': '等待依赖', - Start: '运行', - Copy: '复制节点', - 'Copy name': '复制名称', - 'Copy path': '复制路径', - 'Please enter keyword': '请输入关键词', - 'File Upload': '文件上传', - 'Drag the file into the current upload window': '请将文件拖拽到当前上传窗口内!', - 'Drag area upload': '拖动区域上传', - Upload: '上传', - 'ReUpload File': '重新上传文件', - 'Please enter file name': '请输入文件名', - 'Please select the file to upload': '请选择要上传的文件', - 'Resources manage': '资源中心', - Security: '安全中心', - Logout: '退出', - 'No data': '查询无数据', - 'Uploading...': '文件上传中', - 'Loading...': '正在努力加载中...', - List: '列表', - 'Unable to download without proper url': '无下载url无法下载', - Process: '工作流', - 'Process definition': '工作流定义', - 'Task record': '任务记录', - 'Warning group manage': '告警组管理', - 'Warning instance manage': '告警实例管理', - 'Servers manage': '服务管理', - 'UDF manage': 'UDF管理', - 'Resource manage': '资源管理', - 'Function manage': '函数管理', - 'Edit password': '修改密码', - 'Ordinary users': '普通用户', - 'Create process': '创建工作流', - 'Import process': '导入工作流', - 'Timing state': '定时状态', - Timing: '定时', - Timezone: '时区', - TreeView: '树形图', - 'Mailbox already exists! Recipients and copyers cannot repeat': '邮箱已存在!收件人和抄送人不能重复', - 'Mailbox input is illegal': '邮箱输入不合法', - 'Please set the parameters before starting': '启动前请先设置参数', - Continue: '继续', - End: '结束', - 'Node execution': '节点执行', - 'Backward execution': '向后执行', - 'Forward execution': '向前执行', - 'Execute only the current node': '仅执行当前节点', - 'Notification strategy': '通知策略', - 'Notification group': '通知组', - 'Please select a notification group': '请选择通知组', - - 'Whether it is a complement process?': '是否补数', - 'Schedule date': '调度日期', - 'Mode of execution': '执行方式', - 'Serial execution': '串行执行', - 'Parallel execution': '并行执行', - 'Set parameters before timing': '定时前请先设置参数', - 'Start and stop time': '起止时间', - 'Please select time': '请选择时间', - 'Please enter crontab': '请输入crontab', - none_1: '都不发', - success_1: '成功发', - failure_1: '失败发', - All_1: '成功或失败都发', - Toolbar: '工具栏', - 'View variables': '查看变量', - 'Format DAG': '格式化DAG', - 'Refresh DAG status': '刷新DAG状态', - Return_1: '返回上一节点', - 'Please enter format': '请输入格式为', - 'connection parameter': '连接参数', - 'Process definition details': '流程定义详情', - 'Create process definition': '创建流程定义', - 'Scheduled task list': '定时任务列表', - 'Process instance details': '流程实例详情', - 'Create Resource': '创建资源', - 'User Center': '用户中心', - AllStatus: '全部状态', - None: '无', - Name: '名称', - 'Process priority': '流程优先级', - 'Task priority': '任务优先级', - 'Task timeout alarm': '任务超时告警', - 'Timeout strategy': '超时策略', - 'Timeout alarm': '超时告警', - 'Timeout failure': '超时失败', - 'Timeout period': '超时时长', - 'Waiting Dependent complete': '等待依赖完成', - 'Waiting Dependent start': '等待依赖启动', - 'Check interval': '检查间隔', - 'Timeout must be longer than check interval': '超时时间必须比检查间隔长', - 'Timeout strategy must be selected': '超时策略必须选一个', - 'Timeout must be a positive integer': '超时时长必须为正整数', - 'Add dependency': '添加依赖', - 'Whether dry-run': '是否空跑', - and: '且', - or: '或', - month: '月', - week: '周', - day: '日', - hour: '时', - Running: '正在运行', - 'Waiting for dependency to complete': '等待依赖完成', - Selected: '已选', - CurrentHour: '当前小时', - Last1Hour: '前1小时', - Last2Hours: '前2小时', - Last3Hours: '前3小时', - Last24Hours: '前24小时', - today: '今天', - Last1Days: '昨天', - Last2Days: '前两天', - Last3Days: '前三天', - Last7Days: '前七天', - ThisWeek: '本周', - LastWeek: '上周', - LastMonday: '上周一', - LastTuesday: '上周二', - LastWednesday: '上周三', - LastThursday: '上周四', - LastFriday: '上周五', - LastSaturday: '上周六', - LastSunday: '上周日', - ThisMonth: '本月', - LastMonth: '上月', - LastMonthBegin: '上月初', - LastMonthEnd: '上月末', - 'Refresh status succeeded': '刷新状态成功', - 'Queue manage': 'Yarn 队列管理', - 'Create queue': '创建队列', - 'Edit queue': '编辑队列', - 'Datasource manage': '数据源中心', - 'History task record': '历史任务记录', - 'Please go online': '不要忘记上线', - 'Queue value': '队列值', - 'Please enter queue value': '请输入队列值', - 'Worker group manage': 'Worker分组管理', - 'Create worker group': '创建Worker分组', - 'Edit worker group': '编辑Worker分组', - 'Token manage': '令牌管理', - 'Create token': '创建令牌', - 'Edit token': '编辑令牌', - Addresses: '地址', - 'Worker Addresses': 'Worker地址', - 'Please select the worker addresses': '请选择Worker地址', - 'Failure time': '失效时间', - 'Expiration time': '失效时间', - User: '用户', - 'Please enter token': '请输入令牌', - 'Generate token': '生成令牌', - Monitor: '监控中心', - Group: '分组', - 'Queue statistics': '队列统计', - 'Command status statistics': '命令状态统计', - 'Task kill': '等待kill任务', - 'Task queue': '等待执行任务', - 'Error command count': '错误指令数', - 'Normal command count': '正确指令数', - Manage: '管理', - 'Number of connections': '连接数', - Sent: '发送量', - Received: '接收量', - 'Min latency': '最低延时', - 'Avg latency': '平均延时', - 'Max latency': '最大延时', - 'Node count': '节点数', - 'Query time': '当前查询时间', - 'Node self-test status': '节点自检状态', - 'Health status': '健康状态', - 'Max connections': '最大连接数', - 'Threads connections': '当前连接数', - 'Max used connections': '同时使用连接最大数', - 'Threads running connections': '数据库当前活跃连接数', - 'Worker group': 'Worker分组', - 'Please enter a positive integer greater than 0': '请输入大于 0 的正整数', - 'Pre Statement': '前置sql', - 'Post Statement': '后置sql', - 'Statement cannot be empty': '语句不能为空', - 'Process Define Count': '工作流定义数', - 'Process Instance Running Count': '正在运行的流程数', - 'command number of waiting for running': '待执行的命令数', - 'failure command number': '执行失败的命令数', - 'tasks number of waiting running': '待运行任务数', - 'task number of ready to kill': '待杀死任务数', - 'Statistics manage': '统计管理', - statistics: '统计', - 'select tenant': '选择租户', - 'Please enter Principal': '请输入Principal', - 'Please enter the kerberos authentication parameter java.security.krb5.conf': '请输入kerberos认证参数 java.security.krb5.conf', - 'Please enter the kerberos authentication parameter login.user.keytab.username': '请输入kerberos认证参数 login.user.keytab.username', - 'Please enter the kerberos authentication parameter login.user.keytab.path': '请输入kerberos认证参数 login.user.keytab.path', - 'The start time must not be the same as the end': '开始时间和结束时间不能相同', - 'Startup parameter': '启动参数', - 'Startup type': '启动类型', - 'warning of timeout': '超时告警', - 'Next five execution times': '接下来五次执行时间', - 'Execute time': '执行时间', - 'Complement range': '补数范围', - 'Http Url': '请求地址', - 'Http Method': '请求类型', - 'Http Parameters': '请求参数', - 'Http Parameters Key': '参数名', - 'Http Parameters Position': '参数位置', - 'Http Parameters Value': '参数值', - 'Http Check Condition': '校验条件', - 'Http Condition': '校验内容', - 'Please Enter Http Url': '请填写请求地址(必填)', - 'Please Enter Http Condition': '请填写校验内容', - 'There is no data for this period of time': '该时间段无数据', - 'Worker addresses cannot be empty': 'Worker地址不能为空', - 'Please generate token': '请生成Token', - 'Please Select token': '请选择Token失效时间', - 'Spark Version': 'Spark版本', - TargetDataBase: '目标库', - TargetTable: '目标表', - TargetJobName: '目标任务名', - 'Please enter Pigeon job name': '请输入Pigeon任务名', - 'Please enter the table of target': '请输入目标表名', - 'Please enter a Target Table(required)': '请输入目标表(必填)', - SpeedByte: '限流(字节数)', - SpeedRecord: '限流(记录数)', - '0 means unlimited by byte': 'KB,0代表不限制', - '0 means unlimited by count': '0代表不限制', - 'Modify User': '修改用户', - 'Whether directory': '是否文件夹', - Yes: '是', - No: '否', - 'Hadoop Custom Params': 'Hadoop参数', - 'Sqoop Advanced Parameters': 'Sqoop参数', - 'Sqoop Job Name': '任务名称', - 'Please enter Mysql Database(required)': '请输入Mysql数据库(必填)', - 'Please enter Mysql Table(required)': '请输入Mysql表名(必填)', - 'Please enter Columns (Comma separated)': '请输入列名,用 , 隔开', - 'Please enter Target Dir(required)': '请输入目标路径(必填)', - 'Please enter Export Dir(required)': '请输入数据源路径(必填)', - 'Please enter Hive Database(required)': '请输入Hive数据库(必填)', - 'Please enter Hive Table(required)': '请输入Hive表名(必填)', - 'Please enter hive target dir': '请输入Hive临时目录', - 'Please enter Hive Partition Keys': '请输入分区键', - 'Please enter Hive Partition Values': '请输入分区值', - 'Please enter Replace Delimiter': '请输入替换分隔符', - 'Please enter Fields Terminated': '请输入列分隔符', - 'Please enter Lines Terminated': '请输入行分隔符', - 'Please enter Concurrency': '请输入并发度', - 'Please enter Update Key': '请输入更新列', - 'Please enter Job Name(required)': '请输入任务名称(必填)', - 'Please enter Custom Shell(required)': '请输入自定义脚本', - Direct: '流向', - Type: '类型', - ModelType: '模式', - ColumnType: '列类型', - Database: '数据库', - Column: '列', - 'Map Column Hive': 'Hive类型映射', - 'Map Column Java': 'Java类型映射', - 'Export Dir': '数据源路径', - 'Hive partition Keys': 'Hive 分区键', - 'Hive partition Values': 'Hive 分区值', - FieldsTerminated: '列分隔符', - LinesTerminated: '行分隔符', - IsUpdate: '是否更新', - UpdateKey: '更新列', - UpdateMode: '更新类型', - 'Target Dir': '目标路径', - DeleteTargetDir: '是否删除目录', - FileType: '保存格式', - CompressionCodec: '压缩类型', - CreateHiveTable: '是否创建新表', - DropDelimiter: '是否删除分隔符', - OverWriteSrc: '是否覆盖数据源', - ReplaceDelimiter: '替换分隔符', - Concurrency: '并发度', - Form: '表单', - OnlyUpdate: '只更新', - AllowInsert: '无更新便插入', - 'Data Source': '数据来源', - 'Data Target': '数据目的', - 'All Columns': '全表导入', - 'Some Columns': '选择列', - 'Branch flow': '分支流转', - 'Custom Job': '自定义任务', - 'Custom Script': '自定义脚本', - 'Cannot select the same node for successful branch flow and failed branch flow': '成功分支流转和失败分支流转不能选择同一个节点', - 'Successful branch flow and failed branch flow are required': 'conditions节点成功和失败分支流转必填', - 'No resources exist': '不存在资源', - 'Please delete all non-existing resources': '请删除所有不存在资源', - 'Unauthorized or deleted resources': '未授权或已删除资源', - 'Please delete all non-existent resources': '请删除所有未授权或已删除资源', - Kinship: '工作流关系', - Reset: '重置', - KinshipStateActive: '当前选择', - KinshipState1: '已上线', - KinshipState0: '工作流未上线', - KinshipState10: '调度未上线', - 'Dag label display control': 'Dag节点名称显隐', - Enable: '启用', - Disable: '停用', - 'The Worker group no longer exists, please select the correct Worker group!': '该Worker分组已经不存在,请选择正确的Worker分组!', - 'Please confirm whether the workflow has been saved before downloading': '下载前请确定工作流是否已保存', - 'User name length is between 3 and 39': '用户名长度在3~39之间', - 'Timeout Settings': '超时设置', - 'Connect Timeout': '连接超时', - 'Socket Timeout': 'Socket超时', - 'Connect timeout be a positive integer': '连接超时必须为数字', - 'Socket Timeout be a positive integer': 'Socket超时必须为数字', - ms: '毫秒', - 'Please Enter Url': '请直接填写地址,例如:127.0.0.1:7077', - Master: 'Master', - 'Please select the seatunnel resources': '请选择 seatunnel 配置文件', - zkDirectory: 'zk注册目录', - 'Directory detail': '查看目录详情', - 'Connection name': '连线名', - 'Current connection settings': '当前连线设置', - 'Please save the DAG before formatting': '格式化前请先保存DAG', - 'Batch copy': '批量复制', - 'Related items': '关联项目', - 'Project name is required': '项目名称必填', - 'Batch move': '批量移动', - Version: '版本', - 'Pre tasks': '前置任务', - 'Running Memory': '运行内存', - 'Max Memory': '最大内存', - 'Min Memory': '最小内存', - 'The workflow canvas is abnormal and cannot be saved, please recreate': '该工作流画布异常,无法保存,请重新创建', - Info: '提示', - 'Datasource userName': '所属用户', - 'Resource userName': '所属用户', - DataQuality: '数据质量', - 'DataQuality Result': '任务结果', - 'DataQuality Rule': '规则管理', - 'DataQuality Rule Json': '规则定义', - 'Rule Name': '规则名称', - Default: '未完成', - Failure: '失败', - 'Rule Type': '规则类型', - 'Statistics Value': '实际值', - 'Comparison Value': '期望值', - 'Comparison Type': '期望值类型', - 'Check Type': '检测类型', - Operator: '操作符', - Threshold: '阈值', - 'Single Table': '单表检测', - 'Single Table Custom Sql': '自定义SQL', - 'Multi Table Accuracy': '多表准确性', - 'Multi Table Comparison': '两表值对比', - '(Expected - Actual) / Expected': '(期望值-实际值)/实际值 x 100%', - 'Expected - Actual': '期望值-实际值', - 'Actual - Expected': '实际值-期望值', - 'Actual / Expected': '实际值/期望值 x 100%', - 'InputEntry Field': '输入项占位符', - 'InputEntry Type': '输入项类型', - 'InputEntry Title': '输入项标题', - 'Error Output Path': '错误数据路径', - Alert: '告警', - Block: '阻断', - 'Environment manage': '环境管理', - 'Create environment': '创建环境', - 'Edit environment': '编辑', - 'Environment value': 'Environment value', - 'Environment Name': '环境名称', - 'Environment Code': '环境编码', - 'Environment Config': '环境配置', - 'Environment Desc': '详细描述', - 'Environment Worker Group': 'Worker组', - 'Please enter environment config': '请输入环境配置信息', - 'Please enter environment desc': '请输入详细描述', - 'Please select worker groups': '请选择Worker分组', - condition: '条件', - 'The condition content cannot be empty': '条件内容不能为空', - 'Reference from': '使用已有任务', - 'No more...': '没有更多了...', - 'Task Definition': '任务定义', - 'Create task': '创建任务', - 'Task Type': '任务类型', - 'Process execute type': '执行策略', - parallel: '并行', - 'Serial wait': '串行等待', - 'Serial discard': '串行抛弃', - 'Serial priority': '串行优先', - 'Recover serial wait': '串行恢复', - IsEnableProxy: '启用代理', - WebHook: 'Web钩子', - webHook: 'Web钩子', - Keyword: '关键词', - Secret: '密钥', - MsgType: '消息类型', - AtMobiles: '@手机号', - AtUserIds: '@用户ID', - IsAtAll: '@所有人', - Proxy: '代理', - receivers: '收件人', - receiverCcs: '抄送人', - transportProtocol: '邮件协议', - serverHost: 'SMTP服务器', - serverPort: 'SMTP端口', - sender: '发件人', - enableSmtpAuth: '请求认证', - starttlsEnable: 'STARTTLS连接', - sslEnable: 'SSL连接', - smtpSslTrust: 'SSL证书信任', - url: 'URL', - requestType: '请求方式', - headerParams: '请求头', - bodyParams: '请求体', - contentField: '内容字段', - path: '脚本路径', - userParams: '自定义参数', - corpId: '企业ID', - secret: '密钥', - teamSendMsg: '群发信息', - userSendMsg: '群员信息', - agentId: '应用ID', - users: '群员', - Username: '用户名', - username: '用户名', - showType: '内容展示类型', - 'Please select a task type (required)': '请选择任务类型(必选)', - layoutType: '布局类型', - gridLayout: '网格布局', - dagreLayout: '层次布局', - rows: '行数', - cols: '列数', - processOnline: '已上线', - searchNode: '搜索节点', - dagScale: '缩放', - workflowName: '工作流名称', - scheduleStartTime: '定时开始时间', - scheduleEndTime: '定时结束时间', - crontabExpression: 'Crontab', - workflowPublishStatus: '工作流上线状态', - schedulePublishStatus: '定时状态', - 'Task group manage': '任务组管理', - 'Task group option': '任务组配置', - 'Create task group': '创建任务组', - 'Edit task group': '编辑任务组', - 'Delete task group': '删除任务组', - 'Task group code': '任务组编号', - 'Task group name': '任务组名称', - 'Task group resource pool size': '资源容量', - 'Task group resource used pool size': '已用资源', - 'Task group desc': '描述信息', - 'Task group status': '任务组状态', - 'Task group enable status': '启用', - 'Task group disable status': '不可用', - 'Please enter task group desc': '请输入任务组描述', - 'Please enter task group resource pool size': '请输入资源容量大小', - 'Task group resource pool size be a number': '资源容量大小必须大于等于1的数值', - 'Please select project': '请选择项目', - 'Task group queue': '任务组队列', - 'Task group queue priority': '组内优先级', - 'Task group queue priority be a number': '优先级必须是大于等于0的数值', - 'Task group queue force starting status': '是否强制启动', - 'Task group in queue': '是否排队中', - 'Task group queue status': '任务状态', - 'View task group queue': '查看任务组队列', - 'Task group queue the status of waiting': '等待入队', - 'Task group queue the status of queuing': '排队中', - 'Task group queue the status of releasing': '已释放', - 'Modify task group queue priority': '修改优先级', - 'Force to start task': '强制启动', - 'Priority not empty': '优先级不能为空', - 'Priority must be number': '优先级必须是数值', - 'Please select task name': '请选择节点名称', - 'Audit Log': '审计日志', - 'Resource Type': '资源类型', - 'All Types': '所有类型', - 'All Operations': '所有操作', - 'User Audit': '用户管理审计', - 'Project Audit': '项目管理审计', - 'Create Operation': '创建', - 'Update Operation': '更新', - 'Delete Operation': '删除', - 'Read Operation': '读取', - 'Process State': '工作流状态', - 'Upstream Tasks': '上游任务', - 'and {n} more': '…等{n}个', - 'Move task': '移动任务', - 'Delete task {taskName} from process {processName}?': '将任务 {taskName} 从工作流 {processName} 中删除?', - 'Delete task completely': '彻底删除任务', - 'Please select a process': '请选择工作流', - 'Delete {taskName}?': '确定删除 {taskName} ?', - 'Please select a process (required)': '请选择工作流(必选)', - - src_connector_type: '源数据类型', - src_datasource_id: '源数据源', - src_table: '源数据表', - src_filter: '源表过滤条件', - src_field: '源表检测列', - statistics_name: '实际值名', - check_type: '校验方式', - operator: '校验操作符', - threshold: '阈值', - failure_strategy: '失败策略', - target_connector_type: '目标数据类型', - target_datasource_id: '目标数据源', - target_table: '目标数据表', - target_filter: '目标表过滤条件', - mapping_columns: 'ON语句', - statistics_execute_sql: '实际值计算SQL', - comparison_name: '期望值名', - comparison_execute_sql: '期望值计算SQL', - comparison_type: '期望值类型', - writer_connector_type: '输出数据类型', - writer_datasource_id: '输出数据源', - target_field: '目标表检测列', - field_length: '字段长度限制', - logic_operator: '逻辑操作符', - regexp_pattern: '正则表达式', - deadline: '截止时间', - datetime_format: '时间格式', - enum_list: '枚举值列表', - begin_time: '起始时间', - fix_value: '固定值', - null_check: '空值检测', - custom_sql: '自定义SQL', - multi_table_accuracy: '多表准确性', - multi_table_value_comparison: '两表值比对', - field_length_check: '字段长度校验', - uniqueness_check: '唯一性校验', - regexp_check: '正则表达式', - timeliness_check: '及时性校验', - enumeration_check: '枚举值校验', - table_count_check: '表行数校验', - All: '全部', - FixValue: '固定值', - DailyAvg: '日均值', - WeeklyAvg: '周均值', - MonthlyAvg: '月均值', - Last7DayAvg: '最近7天均值', - Last30DayAvg: '最近30天均值', - SrcTableTotalRows: '源表总行数', - TargetTableTotalRows: '目标表总行数', - // k8s - 'Create namespace': '创建命名空间', - 'Edit namespace': '编辑命名空间', - 'Namespace manage': 'k8s命名空间 管理', - 'K8s Namespace': 'k8s命名空间', - 'Limits Cpu': '最大Cpu', - 'Limits Memory': '最大内存', - 'K8s Cluster': 'k8s集群', - 'Namespace Owner': '负责人', - 'Please enter k8s cluster': '请输入k8s集群值', - 'Please enter namespace': '请输入命名空间', - 'Please enter namespace tag': '请输入命名空间标签可空', - 'Please enter owner': '请输入owner可空' -} diff --git a/dolphinscheduler-ui/src/js/module/io/index.js b/dolphinscheduler-ui/src/js/module/io/index.js deleted file mode 100644 index 2d7894828a..0000000000 --- a/dolphinscheduler-ui/src/js/module/io/index.js +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import io from '@/module/axios/index' -import cookies from 'js-cookie' - -const apiPrefix = '/dolphinscheduler' -const reSlashPrefix = /^\/+/ - -const resolveURL = (url) => { - if (url.indexOf('http') === 0) { - return url - } - if (url.charAt(0) !== '/') { - return `${apiPrefix}/${url.replace(reSlashPrefix, '')}` - } - - return url -} - -/** - * Resolve backend api url - */ -export { resolveURL } - -/** - * Set io default instance resolveUrl globally - */ -io.config.resolveURL = resolveURL -io.config.timeout = 0 -io.config.maxContentLength = 200000 -io.config.validateStatus = function (status) { - if (status === 401 || status === 504) { - window.location.href = `${PUBLIC_PATH}/view/login/index.html` - return - } - return status -} - -// io.config.emulateJSON = false -const _propRequest = io.request - -// Add a local request interceptor -io.request = (spec) => { - return _propRequest.call(io, spec) -} - -// Global response interceptor registion -io.interceptors.response.use( - response => { - return response - }, error => { - // Do something with response error - return Promise.reject(error) - } -) - -// Global request interceptor registion -io.interceptors.request.use( - config => { - const sIdCookie = cookies.get('sessionId') - const sessionId = sessionStorage.getItem('sessionId') - const requstUrl = config.url.substring(config.url.lastIndexOf('/') + 1) - if ((!sIdCookie || (sessionId && sessionId !== sIdCookie)) && requstUrl !== 'login') { - window.location.href = `${PUBLIC_PATH}/view/login/index.html` - } else { - const { method } = config - if (method === 'get') { - config.params = Object.assign({}, config.params, { - _t: Math.random() - }) - } - config.headers = config.headers || {} - const language = cookies.get('language') - if (language) config.headers.language = language - if (sIdCookie) config.headers.sessionId = sIdCookie - return config - } - }, error => { - // Do something with request error - return Promise.reject(error) - } -) - -export default io diff --git a/dolphinscheduler-ui/src/js/module/mixin/disabledState.js b/dolphinscheduler-ui/src/js/module/mixin/disabledState.js deleted file mode 100644 index 3a2b954232..0000000000 --- a/dolphinscheduler-ui/src/js/module/mixin/disabledState.js +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import store from '@/conf/home/store' -import router from '@/conf/home/router' - -export default { - data () { - return { - router, - store, - isDetails: false - } - }, - created () { - this.isDetails = this.store.state.dag.isDetails// Permissions.getAuth() ? this.store.state.dag.isDetails : true - }, - computed: { - _isDetails () { - return ''// this.isDetails ? 'icon-disabled' : '' - } - } -} diff --git a/dolphinscheduler-ui/src/js/module/mixin/listUrlParamHandle.js b/dolphinscheduler-ui/src/js/module/mixin/listUrlParamHandle.js deleted file mode 100644 index 1e1a7b8bbe..0000000000 --- a/dolphinscheduler-ui/src/js/module/mixin/listUrlParamHandle.js +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import _ from 'lodash' -import { setUrlParams } from '@/module/util/routerUtil' -/** - * Mainly used for data list paging url param handle - * @param _getList => api function(required) - */ -export default { - watch: { - // watch pageNo - searchParams: { - deep: true, - handler () { - setUrlParams(this.searchParams) - this._debounceGET() - } - } - }, - created () { - // Routing parameter merging - if (!_.isEmpty(this.$route.query)) { - this.searchParams = _.assign(this.searchParams, this.$route.query) - } - }, - mounted () { - this._debounceGET() - }, - methods: { - /** - * Anti-shake request interface - * @desc Prevent function from being called multiple times - */ - _debounceGET: _.debounce(function (flag) { - this._getList(flag) - }, 100, { - leading: false, - trailing: true - }) - } -} diff --git a/dolphinscheduler-ui/src/js/module/permissions/index.js b/dolphinscheduler-ui/src/js/module/permissions/index.js deleted file mode 100644 index 6a693516ae..0000000000 --- a/dolphinscheduler-ui/src/js/module/permissions/index.js +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import _ from 'lodash' -import Vue from 'vue' -import store from '@/conf/home/store' - -const Permissions = function () { - this.isAuth = true -} - -Permissions.prototype = { - // Get permission based on userInfo - request () { - return new Promise((resolve, reject) => { - store.dispatch('user/getUserInfo').then(res => { - if (res.userType !== 'GENERAL_USER') { - this.isAuth = false - } - this.ps(res) - resolve() - }) - }) - }, - // Command authority status - ps (res) { - Vue.directive('ps', { - bind: function (el, binding, vnode) { - if (!Vue.prototype.$_ps(binding.value)) { - if ($(el).prop('tagName') === 'BUTTON') { - $(el).attr('disabled', true) - } else { - $(el).css('display', 'none') - setTimeout(function () { el.parentNode.removeChild(el) }, 100) - } - } - } - }) - // Permission check method - Vue.prototype.$_ps = function (valueArr) { - return _.indexOf(valueArr, res.userType) !== -1 - } - }, - // External access permission status - getAuth () { - return this.isAuth - } -} - -export default new Permissions() diff --git a/dolphinscheduler-ui/src/js/module/util/clickoutside.js b/dolphinscheduler-ui/src/js/module/util/clickoutside.js deleted file mode 100644 index e705cef5e7..0000000000 --- a/dolphinscheduler-ui/src/js/module/util/clickoutside.js +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const clickoutsideContext = '@@clickoutsideContext' - -export default { - bind (el, binding, vnode) { - const documentHandler = function (e) { - if (!vnode.context || el.contains(e.target)) { - return false - } - if (binding.expression) { - vnode.context[el[clickoutsideContext].methodName](e) - } else { - el[clickoutsideContext].bindingFn(e) - } - } - el[clickoutsideContext] = { - documentHandler, - methodName: binding.expression, - bindingFn: binding.value - } - setTimeout(() => { - document.addEventListener('click', documentHandler) - }, 0) - }, - update (el, binding) { - el[clickoutsideContext].methodName = binding.expression - el[clickoutsideContext].bindingFn = binding.value - }, - unbind (el) { - document.removeEventListener('click', el[clickoutsideContext].documentHandler) - } -} diff --git a/dolphinscheduler-ui/src/js/module/util/index.js b/dolphinscheduler-ui/src/js/module/util/index.js deleted file mode 100644 index 5829c80013..0000000000 --- a/dolphinscheduler-ui/src/js/module/util/index.js +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * Find component downward - */ -export function findComponentDownward (context, componentName) { - const childrens = context.$children - let children = null - if (childrens.length) { - childrens.forEach(child => { - const name = child.$options.name - if (name === componentName) { - children = child - } - }) - for (let i = 0; i < childrens.length; i++) { - const child = childrens[i] - const name = child.$options.name - if (name === componentName) { - children = child - break - } else { - children = findComponentDownward(child, componentName) - if (children) break - } - } - } - return children -} - -/** - * A simple uuid generator, support prefix and template pattern. - * - * @example - * - * uuid('v-') // -> v-xxx - * uuid('v-ani-%{s}-translate') // -> v-ani-xxx - */ -export function uuid (prefix) { - const id = Math.floor(Math.random() * 10000).toString(36) - return prefix ? ( - ~prefix.indexOf('%{s}') ? ( - prefix.replace(/%\{s\}/g, id) - ) : (prefix + id) - ) : id -} - -/** - * template - * - * @param {String} string - * @param {Array} ...args - * @return {String} - */ -const { hasOwnProperty } = {} -const RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g -const hasOwn = (o, k) => hasOwnProperty.call(o, k) - -export function template (string, ...args) { - if (args.length === 1 && typeof args[0] === 'object') { - args = args[0] - } - if (!args || !args.hasOwnProperty) { - args = {} - } - return string.replace(RE_NARGS, (match, prefix, i, index) => { - let result - if (string[index - 1] === '{' && - string[index + match.length] === '}') { - return i - } else { - result = hasOwn(args, i) ? args[i] : null - if (result === null || result === undefined) { - return '' - } - return result - } - }) -} diff --git a/dolphinscheduler-ui/src/js/module/util/localStorage.js b/dolphinscheduler-ui/src/js/module/util/localStorage.js deleted file mode 100644 index 4ad9fd7eb0..0000000000 --- a/dolphinscheduler-ui/src/js/module/util/localStorage.js +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -if (typeof window === 'undefined') { - throw new Error('For browser use only.') -} - -const root = window -const storage = root.localStorage - -const localStorage = { - setItem: function (skey, sval) { - try { - return storage.setItem(skey, sval) - } catch (e) { - console.info(e) - } - }, - getItem: function (skey) { - try { - return storage.getItem(skey) - } catch (e) { - console.info(e) - return null - } - }, - removeItem: function (skey) { - try { - return storage.removeItem(skey) - } catch (e) { - console.info(e) - return null - } - }, - getJSON: function (skey, p) { - try { - let d = storage.getItem(skey) - if (d) { - d = JSON.parse(d) - return d[p] - } - } catch (e) { - console.info(e) - } - }, - setJSON: function (skey, p, val) { - try { - let f = storage.getItem(skey) - f = f ? JSON.parse(f) : {} - f[p] = val - storage.setItem(skey, JSON.stringify(f)) - } catch (e) { - console.info(e) - } - }, - removeJSON: function (skey, p) { - try { - let d = storage.getItem(skey) - if (d) { - d = JSON.parse(d) - delete d[p] - storage.setItem(skey, JSON.stringify(d)) - } - } catch (e) { - console.info(e) - } - } -} - -export default localStorage diff --git a/dolphinscheduler-ui/src/js/module/util/routerUtil.js b/dolphinscheduler-ui/src/js/module/util/routerUtil.js deleted file mode 100644 index 1274a590cd..0000000000 --- a/dolphinscheduler-ui/src/js/module/util/routerUtil.js +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import merge from 'webpack-merge' -import router from '@/conf/home/router' - -export function setUrlParams (o) { - router.push({ - query: merge(router.history.current.query, o) - }) -} diff --git a/dolphinscheduler-ui/src/js/module/util/util.js b/dolphinscheduler-ui/src/js/module/util/util.js deleted file mode 100644 index 49e3bb2ee8..0000000000 --- a/dolphinscheduler-ui/src/js/module/util/util.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * Intelligent display kb m - */ -const bytesToSize = (bytes) => { - if (bytes === 0) return '0 B' - const k = 1024 // or 1024 - const sizes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'] - const i = Math.floor(Math.log(bytes) / Math.log(k)) - - return parseInt((bytes / Math.pow(k, i)).toPrecision(3)) + ' ' + sizes[i] -} - -/** - * Verify if it is in json format - */ -const isJson = (str) => { - if (typeof str === 'string') { - try { - const obj = JSON.parse(str) - if (typeof obj === 'object' && obj) { - return true - } else { - return false - } - } catch (e) { - return false - } - } -} -/** - * Return json format - */ -const syntaxHighlight = (json) => { - if (typeof json !== 'string') { - json = JSON.stringify(json, undefined, 2) - } - json = json.replace(/&/g, '&').replace(//g, '>') - return json.replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)/g, function (match) { // eslint-disable-line - let cls = 'number' - if (/^"/.test(match)) { - if (/:$/.test(match)) { - cls = 'key' - } else { - cls = 'string' - } - } else if (/true|false/.test(match)) { - cls = 'boolean' - } else if (/null/.test(match)) { - cls = 'null' - } - return '' + match + '' - }) -} - -export { - bytesToSize, - isJson, - syntaxHighlight -} diff --git a/dolphinscheduler-ui/src/js/module/visibility/index.js b/dolphinscheduler-ui/src/js/module/visibility/index.js deleted file mode 100644 index c3b50c60d0..0000000000 --- a/dolphinscheduler-ui/src/js/module/visibility/index.js +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -let hidden, visibilityChange - -if (typeof document.hidden !== 'undefined') { // Opera 12.10 and Firefox 18 and later support - hidden = 'hidden' - visibilityChange = 'visibilitychange' -} else if (typeof document.msHidden !== 'undefined') { - hidden = 'msHidden' - visibilityChange = 'msvisibilitychange' -} else if (typeof document.webkitHidden !== 'undefined') { - hidden = 'webkitHidden' - visibilityChange = 'webkitvisibilitychange' -} else if (typeof document.mozHidden !== 'undefined') { - hidden = 'mozHidden' - visibilityChange = 'mozvisibilitychange' -} - -const visibility = { - /** - * Callback when visibility changed - * - * @param {Function (event, hidden)} callback - * - {Event} event - * - {Boolean} hidden - */ - change (callback) { - if (visibility.isSupported()) { - document.addEventListener(visibilityChange, evt => callback(evt, document[hidden]), false) - } else { - // fallback - if (document.addEventListener) { - window.addEventListener('focus', evt => callback(evt, false), false) - window.addEventListener('blur', evt => callback(evt, true), false) - } else { - document.attachEvent('onfocusin', evt => callback(evt, false)) - document.attachEvent('onfocusout', evt => callback(evt, true)) - } - } - }, - /** - * Return true if browser support Page Visibility API. - */ - isSupported () { - return hidden !== undefined - }, - /** - * Return true if page now isn’t visible to user. - */ - hidden () { - return document[hidden] - } -} - -export default visibility diff --git a/dolphinscheduler-ui-next/src/layouts/content/components/locales/index.module.scss b/dolphinscheduler-ui/src/layouts/content/components/locales/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/components/locales/index.module.scss rename to dolphinscheduler-ui/src/layouts/content/components/locales/index.module.scss diff --git a/dolphinscheduler-ui-next/src/layouts/content/components/locales/index.tsx b/dolphinscheduler-ui/src/layouts/content/components/locales/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/components/locales/index.tsx rename to dolphinscheduler-ui/src/layouts/content/components/locales/index.tsx diff --git a/dolphinscheduler-ui-next/src/layouts/content/components/locales/use-dropdown.ts b/dolphinscheduler-ui/src/layouts/content/components/locales/use-dropdown.ts similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/components/locales/use-dropdown.ts rename to dolphinscheduler-ui/src/layouts/content/components/locales/use-dropdown.ts diff --git a/dolphinscheduler-ui-next/src/layouts/content/components/logo/index.module.scss b/dolphinscheduler-ui/src/layouts/content/components/logo/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/components/logo/index.module.scss rename to dolphinscheduler-ui/src/layouts/content/components/logo/index.module.scss diff --git a/dolphinscheduler-ui-next/src/layouts/content/components/logo/index.tsx b/dolphinscheduler-ui/src/layouts/content/components/logo/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/components/logo/index.tsx rename to dolphinscheduler-ui/src/layouts/content/components/logo/index.tsx diff --git a/dolphinscheduler-ui-next/src/layouts/content/components/navbar/index.module.scss b/dolphinscheduler-ui/src/layouts/content/components/navbar/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/components/navbar/index.module.scss rename to dolphinscheduler-ui/src/layouts/content/components/navbar/index.module.scss diff --git a/dolphinscheduler-ui-next/src/layouts/content/components/navbar/index.tsx b/dolphinscheduler-ui/src/layouts/content/components/navbar/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/components/navbar/index.tsx rename to dolphinscheduler-ui/src/layouts/content/components/navbar/index.tsx diff --git a/dolphinscheduler-ui-next/src/layouts/content/components/sidebar/index.tsx b/dolphinscheduler-ui/src/layouts/content/components/sidebar/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/components/sidebar/index.tsx rename to dolphinscheduler-ui/src/layouts/content/components/sidebar/index.tsx diff --git a/dolphinscheduler-ui-next/src/layouts/content/components/sidebar/use-menuClick.ts b/dolphinscheduler-ui/src/layouts/content/components/sidebar/use-menuClick.ts similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/components/sidebar/use-menuClick.ts rename to dolphinscheduler-ui/src/layouts/content/components/sidebar/use-menuClick.ts diff --git a/dolphinscheduler-ui-next/src/layouts/content/components/theme/index.module.scss b/dolphinscheduler-ui/src/layouts/content/components/theme/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/components/theme/index.module.scss rename to dolphinscheduler-ui/src/layouts/content/components/theme/index.module.scss diff --git a/dolphinscheduler-ui-next/src/layouts/content/components/theme/index.tsx b/dolphinscheduler-ui/src/layouts/content/components/theme/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/components/theme/index.tsx rename to dolphinscheduler-ui/src/layouts/content/components/theme/index.tsx diff --git a/dolphinscheduler-ui-next/src/layouts/content/components/timezone/index.module.scss b/dolphinscheduler-ui/src/layouts/content/components/timezone/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/components/timezone/index.module.scss rename to dolphinscheduler-ui/src/layouts/content/components/timezone/index.module.scss diff --git a/dolphinscheduler-ui-next/src/layouts/content/components/timezone/index.tsx b/dolphinscheduler-ui/src/layouts/content/components/timezone/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/components/timezone/index.tsx rename to dolphinscheduler-ui/src/layouts/content/components/timezone/index.tsx diff --git a/dolphinscheduler-ui-next/src/layouts/content/components/timezone/use-dropdown.ts b/dolphinscheduler-ui/src/layouts/content/components/timezone/use-dropdown.ts similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/components/timezone/use-dropdown.ts rename to dolphinscheduler-ui/src/layouts/content/components/timezone/use-dropdown.ts diff --git a/dolphinscheduler-ui-next/src/layouts/content/components/user/index.module.scss b/dolphinscheduler-ui/src/layouts/content/components/user/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/components/user/index.module.scss rename to dolphinscheduler-ui/src/layouts/content/components/user/index.module.scss diff --git a/dolphinscheduler-ui-next/src/layouts/content/components/user/index.tsx b/dolphinscheduler-ui/src/layouts/content/components/user/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/components/user/index.tsx rename to dolphinscheduler-ui/src/layouts/content/components/user/index.tsx diff --git a/dolphinscheduler-ui-next/src/layouts/content/components/user/use-dropdown.ts b/dolphinscheduler-ui/src/layouts/content/components/user/use-dropdown.ts similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/components/user/use-dropdown.ts rename to dolphinscheduler-ui/src/layouts/content/components/user/use-dropdown.ts diff --git a/dolphinscheduler-ui-next/src/layouts/content/index.tsx b/dolphinscheduler-ui/src/layouts/content/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/index.tsx rename to dolphinscheduler-ui/src/layouts/content/index.tsx diff --git a/dolphinscheduler-ui-next/src/layouts/content/use-dataList.ts b/dolphinscheduler-ui/src/layouts/content/use-dataList.ts similarity index 100% rename from dolphinscheduler-ui-next/src/layouts/content/use-dataList.ts rename to dolphinscheduler-ui/src/layouts/content/use-dataList.ts diff --git a/dolphinscheduler-ui/src/lib/external/config.js b/dolphinscheduler-ui/src/lib/external/config.js deleted file mode 100644 index 79ed234563..0000000000 --- a/dolphinscheduler-ui/src/lib/external/config.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * project external config - */ -export default { - // task record switch - recordSwitch: false, - // refresh in switched tab - refreshInSwitchedTab: false -} diff --git a/dolphinscheduler-ui/src/lib/external/email.js b/dolphinscheduler-ui/src/lib/external/email.js deleted file mode 100644 index 5b85655271..0000000000 --- a/dolphinscheduler-ui/src/lib/external/email.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default ['xx@xx.com'] diff --git a/dolphinscheduler-ui-next/src/locales/index.ts b/dolphinscheduler-ui/src/locales/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/locales/index.ts rename to dolphinscheduler-ui/src/locales/index.ts diff --git a/dolphinscheduler-ui-next/src/locales/modules/en_US.ts b/dolphinscheduler-ui/src/locales/modules/en_US.ts similarity index 100% rename from dolphinscheduler-ui-next/src/locales/modules/en_US.ts rename to dolphinscheduler-ui/src/locales/modules/en_US.ts diff --git a/dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts b/dolphinscheduler-ui/src/locales/modules/zh_CN.ts similarity index 100% rename from dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts rename to dolphinscheduler-ui/src/locales/modules/zh_CN.ts diff --git a/dolphinscheduler-ui-next/src/main.ts b/dolphinscheduler-ui/src/main.ts similarity index 100% rename from dolphinscheduler-ui-next/src/main.ts rename to dolphinscheduler-ui/src/main.ts diff --git a/dolphinscheduler-ui-next/src/router/index.ts b/dolphinscheduler-ui/src/router/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/router/index.ts rename to dolphinscheduler-ui/src/router/index.ts diff --git a/dolphinscheduler-ui-next/src/router/modules/data-quality.ts b/dolphinscheduler-ui/src/router/modules/data-quality.ts similarity index 100% rename from dolphinscheduler-ui-next/src/router/modules/data-quality.ts rename to dolphinscheduler-ui/src/router/modules/data-quality.ts diff --git a/dolphinscheduler-ui-next/src/router/modules/datasource.ts b/dolphinscheduler-ui/src/router/modules/datasource.ts similarity index 100% rename from dolphinscheduler-ui-next/src/router/modules/datasource.ts rename to dolphinscheduler-ui/src/router/modules/datasource.ts diff --git a/dolphinscheduler-ui-next/src/router/modules/monitor.ts b/dolphinscheduler-ui/src/router/modules/monitor.ts similarity index 100% rename from dolphinscheduler-ui-next/src/router/modules/monitor.ts rename to dolphinscheduler-ui/src/router/modules/monitor.ts diff --git a/dolphinscheduler-ui-next/src/router/modules/projects.ts b/dolphinscheduler-ui/src/router/modules/projects.ts similarity index 100% rename from dolphinscheduler-ui-next/src/router/modules/projects.ts rename to dolphinscheduler-ui/src/router/modules/projects.ts diff --git a/dolphinscheduler-ui-next/src/router/modules/resources.ts b/dolphinscheduler-ui/src/router/modules/resources.ts similarity index 100% rename from dolphinscheduler-ui-next/src/router/modules/resources.ts rename to dolphinscheduler-ui/src/router/modules/resources.ts diff --git a/dolphinscheduler-ui-next/src/router/modules/security.ts b/dolphinscheduler-ui/src/router/modules/security.ts similarity index 100% rename from dolphinscheduler-ui-next/src/router/modules/security.ts rename to dolphinscheduler-ui/src/router/modules/security.ts diff --git a/dolphinscheduler-ui-next/src/router/routes.ts b/dolphinscheduler-ui/src/router/routes.ts similarity index 100% rename from dolphinscheduler-ui-next/src/router/routes.ts rename to dolphinscheduler-ui/src/router/routes.ts diff --git a/dolphinscheduler-ui/src/sass/common/_scrollbar.scss b/dolphinscheduler-ui/src/sass/common/_scrollbar.scss deleted file mode 100644 index eab6b883db..0000000000 --- a/dolphinscheduler-ui/src/sass/common/_scrollbar.scss +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -.scrollbar { - overflow-y: auto; -} -.scrollbar:hover::-webkit-scrollbar-thumb { - background: #2A455B; - min-width: 200px; -} - -.scrollbar::-webkit-scrollbar { - width: 5px; - height: 10px; -} - -.scrollbar::-webkit-scrollbar-track { - background: transparent; - border-radius: 5px; - margin: 4px 0; -} - -.scrollbar::-webkit-scrollbar-thumb { - background: #2A455B; - border-radius: 5px; -} -.scrollbar.scrollbar-show::-webkit-scrollbar-thumb { - background: #2A455B; -} \ No newline at end of file diff --git a/dolphinscheduler-ui/src/sass/common/_table.scss b/dolphinscheduler-ui/src/sass/common/_table.scss deleted file mode 100644 index eea4e568a1..0000000000 --- a/dolphinscheduler-ui/src/sass/common/_table.scss +++ /dev/null @@ -1,181 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -.ansfont { - font-size: 16px; - font-style: normal; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} -.as { - display: inline-block; - font-size: 14px; - text-rendering: auto; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} -.as-spin { - -webkit-animation: as-spin 2s infinite linear; - animation: as-spin 2s infinite linear; -} -@-webkit-keyframes as-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} -@keyframes as-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} -.table-box { - border-top: 1px solid #ecf3ff; - .ans-checkbox-wrapper-disabled { - .ans-checkbox-inner { - background-color: #ccc; - } - } - .ans-checkbox { - .ans-checkbox-inner { - border: 1px solid #ccc; - } - } - .ans-checkbox-checked { - .ans-checkbox-inner { - border: 1px solid #1489e2; - } - } - .ellipsis { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - display: block; - } - button { - .iconfont { - font-size: 16px; - } - .ans-icon { - font-size: 14px; - } - } - table { - width: 100%; - &.fixed { - table-layout: fixed; - } - tr { - height: 40px; - box-sizing: border-box; - background: #fff; - color: #333; - font-size: 12px; - border-bottom: 1px solid #ecf3ff; - &:hover { - background: #ddecff; - } - th, - td { - &:nth-child(1) { - width: 50px; - text-align: center; - } - } - th { - &:nth-child(1) { - width: 60px; - text-align: center; - } - > span { - font-size: 12px; - color: #555; - } - } - td { - > span { - font-size: 12px; - color: #666; - } - &:nth-child(1) { - span { - text-align: center; - } - } - } - } - } -} - -.table-small-model { - padding: 0 10px; - table { - width: 100%; - tr { - background: #fff; - th, - td { - padding-left: 8px; - } - th { - height: 36px; - line-height: 38px; - font-size: 12px; - font-weight: bold; - color: #333; - border-bottom: 2px solid #ecedec; - } - td { - height: 32px; - line-height: 32px; - border-bottom: 1px solid #ecedec; - span { - font-size: 12px; - color: #333; - } - } - &:hover { - td { - background: #ddecff; - } - } - } - } -} -.el-table--enable-row-hover .el-table__body tr:hover > td { - background-color: #ddecff; -} -.el-table th > .cell { - color: #555; - padding-left: 0; - padding-right: 0; -} -.el-table td div { - color: #666; -} -.el-table td > .cell { - padding-left: 0; - padding-right: 0; -} diff --git a/dolphinscheduler-ui/src/sass/common/index.scss b/dolphinscheduler-ui/src/sass/common/index.scss deleted file mode 100644 index 881d1b8420..0000000000 --- a/dolphinscheduler-ui/src/sass/common/index.scss +++ /dev/null @@ -1,370 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@import "scrollbar"; -@import "table"; - -.ans-input { - textarea,input { - font-weight: 400; - } -} -.ans-radio { - .ans-radio-inner { - border: 1px solid #B3B3B3; - } -} -.ans-poptip { - min-width: 158px; -} - -.ans-checkbox-wrapper .checkbox-label, -.ans-radio-wrapper { - font-weight: normal; -} - -a:focus { - text-decoration: none !important; -} - -a:hover{ - color:#0097e0; - text-decoration: none !important; -} - -.CodeMirror-hints { - z-index: 999 !important; -} - -.cm-s-mdn-like .CodeMirror-gutters { - border-left:0 !important; -} - -.cm-s-mdn-like .CodeMirror-linenumber { - padding-left: 0; -} - -body{ - background: #EDEEED; - .home-main { - min-height: calc(100vh - 100px); - background: #fff; - margin: 20px; - border-radius: 3px; - >.content-title { - height: 48px; - background: #f8fbfe; - border-radius: 3px 3px 0 0; - span { - font-size: 22px; - padding-left: 18px; - padding-top: 10px; - display: inline-block; - color: #2A455B; - } - } - >.conditions-box { - //background: #f8fbfe; - } - .conditions-model { - display: flex; - justify-content: space-between; - align-items: center; - margin: 10px 0; - .left { - margin-left: 12px; - } - .right { - margin-right: 8px; - > .form-box { - .list { - float: right; - margin: 3px 4px 3px 0; - } - } - } - } - } - .main-layout-model { - &.dag-screen { - .m-top { - position: unset; - } - .m-bottom { - z-index: 2; - } - .index-model { - width: 100%; - height: 100%; - position: fixed; - top: -20px; - left: -20px; - .dag-model { - height: 100% !important; - } - } - } - } - font-family:13px/1.5 PingFangSC-Light,Helvetica Neue,Helvetica,Microsoft Yahei,Arial,Hiragino Sans GB,tahoma,SimSun,sans-serif; - -webkit-backface-visibility:hidden; - -webkit-tap-highlight-color:transparent; - -webkit-text-size-adjust:none; - -webkit-touch-callout:none; - -webkit-font-smoothing:antialiased; - -moz-osx-font-smoothing:grayscale -} - -// icon disabled state -.iconfont.icon-disabled { - color: #999 !important; -} - -.main-layout-box { - padding-left: 200px; - &.no { - padding-left: 0; - } -} - -.tooltip-cont-model { - width: 200px; - height: 300px; - background: #fff; - border-radius: 3px; - margin-left: -4px; - margin-top: -4px; -} - -.global-loading { - background: #fff; - width: 100%; - height: 100%; - position: fixed; - left: 0; - top: 0; - z-index: 999; - .svg-box { - width: 100px; - height: 66px; - position: absolute; - left:50%; - top: 50%; - margin-left: -50px; - margin-top: -100px; - text-align: center; - .sp1 { - display: block; - font-size: 14px; - color: #999; - padding-top: 4px; - } - } -} - - -.page-box { - text-align: right; - padding: 20px; - .ans-page { - display: inline-block; - } -} - - -button[disabled='disabled'] { - color: #bbbec4 !important; - background-color: #f7f7f7 !important; - border-color: #dddee1 !important; -} - -.ans-icon-spinner.loading { - text-rendering: auto; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - -webkit-animation: fa-spin .6s infinite linear; - animation: fa-spin .6s infinite linear; -} - -.fa-spin { - font-size: 16px; -} - -.CodeMirror { - border: 1px solid #DDDDDD !important; - border-radius: 3px; -} - -.el-dialog__wrapper .el-dialog { - display: table; - width: auto; -} - - -article,aside,blockquote,body,button,code,dd,details,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,input,legend,li,menu,nav,ol,p,pre,section,td,textarea,th,ul { - margin:0; - padding:0 -} -h1,h2,h3,p { - font-style:normal -} -table { - border-collapse:collapse; - border-spacing:0 -} -button,input,select,textarea { - font-family:inherit; - font-size:inherit -} -ol,ul { - list-style:none -} -img { - border:0 -} -input::-ms-clear,input::-ms-reveal { - display:none -} -a,body { - color:#333 -} -:focus { - outline:0 -} -*,:after,:before { - -webkit-box-sizing:border-box; - box-sizing:border-box -} -[hidden],[v-cloak] { - display:none -} -body::-webkit-scrollbar { - width:4px; - height:4px -} -body::-webkit-scrollbar-track { - background:hsla(0,0%,100%,0); - border-radius:2x; - margin:4px 0 -} -body::-webkit-scrollbar-thumb { - background:hsla(0,0%,100%,0); - border-radius:2px; - -webkit-transition:background .2s ease-in-out; - transition:background .2s ease-in-out -} -[class*=scrollbar]:hover::-webkit-scrollbar-thumb { - background:#70bdf7 -} -.clearfix,.outer { - zoom:1 -} -.clearfix:after,.outer:after { - clear:both; - content:" "; - display:block; - width:0; - height:0; - visibility:hidden -} -.f-show { - display:block -} -.f-hide { - display:none -} -.f-pr { - position:relative -} -.f-fl { - float:left -} -.f-fr { - float:right -} -.float-left { - float:left -} -.float-right { - float:right -} -.f-no-select { - -webkit-user-select:none; - -moz-user-select:none; - -ms-user-select:none; - -o-user-select:none; - user-select:none -} -.f-word-break { - white-space:normal; - word-wrap:break-word; - word-break:break-all -} -.f-text-ellipis { - overflow:hidden; - word-wrap:normal; - white-space:nowrap; - text-overflow:ellipsis -} -.f-link { - display:inline-block; - text-decoration:none; - width:100%; - height:100% -} -.f-wide { - margin:0 auto -} -.f-pre,.f-wide { - text-align:left -} -.f-pre { - overflow:hidden; - white-space:pre-wrap; - word-wrap:break-word; - word-break:break-all -} -.f-cursor-p { - cursor:pointer -} -.f-text-overflow { - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis -} -.f-f12 { - font-size:12px -} -.f-f14 { - font-size:14px -} -.f-f16 { - font-size:16px -} -.f-f18 { - font-size:18px -} -.vue-treeselect__multi-value { - max-height: 200px; - overflow: auto; -} -.el-dialog__body { - padding: 10px; -} -.el-dialog__header { - .el-dialog__headerbtn { - right: 10px; - } -} diff --git a/dolphinscheduler-ui/src/sass/conf/home/index.scss b/dolphinscheduler-ui/src/sass/conf/home/index.scss deleted file mode 100644 index 16f588363d..0000000000 --- a/dolphinscheduler-ui/src/sass/conf/home/index.scss +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@import "../../common/index.scss"; - -body { - .adaptive-m-nav { - display: none; - } - .ans-message-box,.ans-message-wrapper { - z-index: 121 !important; - } - &::-webkit-scrollbar { - width: 0; - height: 0; - } -} - - -@media screen and (max-width: 960px){ - .nav-model { - .logo-box, - .nav-box, - .right, - .file-update-model{ - display: none; - } - .adaptive-m-nav { - display: block; - position: relative; - >.m-nav-box { - position: absolute; - left: 10px; - top: 4px; - a { - i { - font-size: 36px; - color: #fff; - } - } - } - >.m-user-box { - position: absolute; - right: 10px; - top: 4px; - a { - i { - font-size: 36px; - color: #fff; - } - } - } - >.m-nav-list { - width: 70%; - height: 100%; - background: #fff; - position: fixed; - left: 0; - top: 60px; - box-shadow: 0 8px 6px 3px rgba(0, 0, 0, 0.08); - ul { - li { - height: 50px; - line-height: 50px; - border-bottom: 1px solid #eee; - padding-left: 14px; - cursor: pointer; - &.active { - >span,>i { - color: #0097e0; - } - } - >span { - font-size: 18px; - vertical-align: middle; - } - >i { - font-size: 22px; - vertical-align: middle; - } - } - } - } - } - } -} diff --git a/dolphinscheduler-ui/src/sass/conf/login/index.scss b/dolphinscheduler-ui/src/sass/conf/login/index.scss deleted file mode 100644 index 9081c247e4..0000000000 --- a/dolphinscheduler-ui/src/sass/conf/login/index.scss +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -@import "../../common/index.scss"; - -body { - height: 100%; - background: #0098e1; -} - -.login-bg { - width: 100%; - height: calc(100vh); - left: 0; - top: 0; - -webkit-background-size: cover; - -moz-background-size: cover; - -o-background-size: cover; - background-size: cover; - -webkit-text-size-adjust: none; - background-attachment: fixed; - background-repeat: no-repeat; - background-position: center center; - overflow-x: hidden; -} - -@media screen and (max-width: 960px){ - body{ - background: #fff; - } - .login-model { - box-shadow:0 0 0 0 rgba(0, 0, 0, 0); - background: #fff; - top: 28%; - padding: 36px 0; - .text-1 { - span { - font-size: 32px; - display: block; - padding-top: 10px; - } - i { - font-size: 50px; - } - } - .form-model { - padding: 30px 40px 0 40px; - .list { - margin-bottom: 32px; - >label { - font-size: 20px; - height: 30px; - } - >.error { - font-size: 14px; - } - .v-btn { - >span { - font-size: 18px; - } - } - .v-input { - input { - height: 44px; - font-size: 18px; - } - } - } - } - .ctr { - bottom: -20px; - color: #333; - } - } -} - diff --git a/dolphinscheduler-ui-next/src/service/modules/alert-group/index.ts b/dolphinscheduler-ui/src/service/modules/alert-group/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/alert-group/index.ts rename to dolphinscheduler-ui/src/service/modules/alert-group/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/alert-group/types.ts b/dolphinscheduler-ui/src/service/modules/alert-group/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/alert-group/types.ts rename to dolphinscheduler-ui/src/service/modules/alert-group/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/alert-plugin/index.ts b/dolphinscheduler-ui/src/service/modules/alert-plugin/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/alert-plugin/index.ts rename to dolphinscheduler-ui/src/service/modules/alert-plugin/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/alert-plugin/types.ts b/dolphinscheduler-ui/src/service/modules/alert-plugin/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/alert-plugin/types.ts rename to dolphinscheduler-ui/src/service/modules/alert-plugin/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/audit/index.ts b/dolphinscheduler-ui/src/service/modules/audit/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/audit/index.ts rename to dolphinscheduler-ui/src/service/modules/audit/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/audit/types.ts b/dolphinscheduler-ui/src/service/modules/audit/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/audit/types.ts rename to dolphinscheduler-ui/src/service/modules/audit/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/data-quality/index.ts b/dolphinscheduler-ui/src/service/modules/data-quality/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/data-quality/index.ts rename to dolphinscheduler-ui/src/service/modules/data-quality/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/data-quality/types.ts b/dolphinscheduler-ui/src/service/modules/data-quality/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/data-quality/types.ts rename to dolphinscheduler-ui/src/service/modules/data-quality/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/data-source/index.ts b/dolphinscheduler-ui/src/service/modules/data-source/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/data-source/index.ts rename to dolphinscheduler-ui/src/service/modules/data-source/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/data-source/types.ts b/dolphinscheduler-ui/src/service/modules/data-source/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/data-source/types.ts rename to dolphinscheduler-ui/src/service/modules/data-source/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/environment/index.ts b/dolphinscheduler-ui/src/service/modules/environment/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/environment/index.ts rename to dolphinscheduler-ui/src/service/modules/environment/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/environment/types.ts b/dolphinscheduler-ui/src/service/modules/environment/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/environment/types.ts rename to dolphinscheduler-ui/src/service/modules/environment/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/executors/index.ts b/dolphinscheduler-ui/src/service/modules/executors/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/executors/index.ts rename to dolphinscheduler-ui/src/service/modules/executors/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/executors/types.ts b/dolphinscheduler-ui/src/service/modules/executors/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/executors/types.ts rename to dolphinscheduler-ui/src/service/modules/executors/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/k8s-namespace/index.ts b/dolphinscheduler-ui/src/service/modules/k8s-namespace/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/k8s-namespace/index.ts rename to dolphinscheduler-ui/src/service/modules/k8s-namespace/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/k8s-namespace/types.ts b/dolphinscheduler-ui/src/service/modules/k8s-namespace/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/k8s-namespace/types.ts rename to dolphinscheduler-ui/src/service/modules/k8s-namespace/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/lineages/index.ts b/dolphinscheduler-ui/src/service/modules/lineages/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/lineages/index.ts rename to dolphinscheduler-ui/src/service/modules/lineages/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/lineages/types.ts b/dolphinscheduler-ui/src/service/modules/lineages/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/lineages/types.ts rename to dolphinscheduler-ui/src/service/modules/lineages/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/log/index.ts b/dolphinscheduler-ui/src/service/modules/log/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/log/index.ts rename to dolphinscheduler-ui/src/service/modules/log/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/log/types.ts b/dolphinscheduler-ui/src/service/modules/log/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/log/types.ts rename to dolphinscheduler-ui/src/service/modules/log/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/login/index.ts b/dolphinscheduler-ui/src/service/modules/login/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/login/index.ts rename to dolphinscheduler-ui/src/service/modules/login/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/login/types.ts b/dolphinscheduler-ui/src/service/modules/login/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/login/types.ts rename to dolphinscheduler-ui/src/service/modules/login/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/logout/index.ts b/dolphinscheduler-ui/src/service/modules/logout/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/logout/index.ts rename to dolphinscheduler-ui/src/service/modules/logout/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/logout/types.ts b/dolphinscheduler-ui/src/service/modules/logout/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/logout/types.ts rename to dolphinscheduler-ui/src/service/modules/logout/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/monitor/index.ts b/dolphinscheduler-ui/src/service/modules/monitor/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/monitor/index.ts rename to dolphinscheduler-ui/src/service/modules/monitor/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/monitor/types.ts b/dolphinscheduler-ui/src/service/modules/monitor/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/monitor/types.ts rename to dolphinscheduler-ui/src/service/modules/monitor/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/process-definition/index.ts b/dolphinscheduler-ui/src/service/modules/process-definition/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/process-definition/index.ts rename to dolphinscheduler-ui/src/service/modules/process-definition/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/process-definition/types.ts b/dolphinscheduler-ui/src/service/modules/process-definition/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/process-definition/types.ts rename to dolphinscheduler-ui/src/service/modules/process-definition/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/process-instances/index.ts b/dolphinscheduler-ui/src/service/modules/process-instances/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/process-instances/index.ts rename to dolphinscheduler-ui/src/service/modules/process-instances/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/process-instances/types.ts b/dolphinscheduler-ui/src/service/modules/process-instances/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/process-instances/types.ts rename to dolphinscheduler-ui/src/service/modules/process-instances/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/process-task-relation/index.ts b/dolphinscheduler-ui/src/service/modules/process-task-relation/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/process-task-relation/index.ts rename to dolphinscheduler-ui/src/service/modules/process-task-relation/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/process-task-relation/types.ts b/dolphinscheduler-ui/src/service/modules/process-task-relation/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/process-task-relation/types.ts rename to dolphinscheduler-ui/src/service/modules/process-task-relation/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/projects-analysis/index.ts b/dolphinscheduler-ui/src/service/modules/projects-analysis/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/projects-analysis/index.ts rename to dolphinscheduler-ui/src/service/modules/projects-analysis/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/projects-analysis/types.ts b/dolphinscheduler-ui/src/service/modules/projects-analysis/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/projects-analysis/types.ts rename to dolphinscheduler-ui/src/service/modules/projects-analysis/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/projects/index.ts b/dolphinscheduler-ui/src/service/modules/projects/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/projects/index.ts rename to dolphinscheduler-ui/src/service/modules/projects/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/projects/types.ts b/dolphinscheduler-ui/src/service/modules/projects/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/projects/types.ts rename to dolphinscheduler-ui/src/service/modules/projects/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/queues/index.ts b/dolphinscheduler-ui/src/service/modules/queues/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/queues/index.ts rename to dolphinscheduler-ui/src/service/modules/queues/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/queues/types.ts b/dolphinscheduler-ui/src/service/modules/queues/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/queues/types.ts rename to dolphinscheduler-ui/src/service/modules/queues/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/resources/index.ts b/dolphinscheduler-ui/src/service/modules/resources/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/resources/index.ts rename to dolphinscheduler-ui/src/service/modules/resources/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/resources/types.ts b/dolphinscheduler-ui/src/service/modules/resources/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/resources/types.ts rename to dolphinscheduler-ui/src/service/modules/resources/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/schedules/index.ts b/dolphinscheduler-ui/src/service/modules/schedules/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/schedules/index.ts rename to dolphinscheduler-ui/src/service/modules/schedules/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/schedules/types.ts b/dolphinscheduler-ui/src/service/modules/schedules/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/schedules/types.ts rename to dolphinscheduler-ui/src/service/modules/schedules/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/task-definition/index.ts b/dolphinscheduler-ui/src/service/modules/task-definition/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/task-definition/index.ts rename to dolphinscheduler-ui/src/service/modules/task-definition/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/task-definition/types.ts b/dolphinscheduler-ui/src/service/modules/task-definition/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/task-definition/types.ts rename to dolphinscheduler-ui/src/service/modules/task-definition/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/task-group/index.ts b/dolphinscheduler-ui/src/service/modules/task-group/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/task-group/index.ts rename to dolphinscheduler-ui/src/service/modules/task-group/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/task-group/types.ts b/dolphinscheduler-ui/src/service/modules/task-group/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/task-group/types.ts rename to dolphinscheduler-ui/src/service/modules/task-group/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/task-instances/index.ts b/dolphinscheduler-ui/src/service/modules/task-instances/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/task-instances/index.ts rename to dolphinscheduler-ui/src/service/modules/task-instances/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/task-instances/types.ts b/dolphinscheduler-ui/src/service/modules/task-instances/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/task-instances/types.ts rename to dolphinscheduler-ui/src/service/modules/task-instances/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/tenants/index.ts b/dolphinscheduler-ui/src/service/modules/tenants/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/tenants/index.ts rename to dolphinscheduler-ui/src/service/modules/tenants/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/tenants/types.ts b/dolphinscheduler-ui/src/service/modules/tenants/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/tenants/types.ts rename to dolphinscheduler-ui/src/service/modules/tenants/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/token/index.ts b/dolphinscheduler-ui/src/service/modules/token/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/token/index.ts rename to dolphinscheduler-ui/src/service/modules/token/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/token/types.ts b/dolphinscheduler-ui/src/service/modules/token/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/token/types.ts rename to dolphinscheduler-ui/src/service/modules/token/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/ui-plugins/index.ts b/dolphinscheduler-ui/src/service/modules/ui-plugins/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/ui-plugins/index.ts rename to dolphinscheduler-ui/src/service/modules/ui-plugins/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/ui-plugins/types.ts b/dolphinscheduler-ui/src/service/modules/ui-plugins/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/ui-plugins/types.ts rename to dolphinscheduler-ui/src/service/modules/ui-plugins/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/users/index.ts b/dolphinscheduler-ui/src/service/modules/users/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/users/index.ts rename to dolphinscheduler-ui/src/service/modules/users/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/users/types.ts b/dolphinscheduler-ui/src/service/modules/users/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/users/types.ts rename to dolphinscheduler-ui/src/service/modules/users/types.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/worker-groups/index.ts b/dolphinscheduler-ui/src/service/modules/worker-groups/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/worker-groups/index.ts rename to dolphinscheduler-ui/src/service/modules/worker-groups/index.ts diff --git a/dolphinscheduler-ui-next/src/service/modules/worker-groups/types.ts b/dolphinscheduler-ui/src/service/modules/worker-groups/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/service/modules/worker-groups/types.ts rename to dolphinscheduler-ui/src/service/modules/worker-groups/types.ts diff --git a/dolphinscheduler-ui-next/src/service/service.ts b/dolphinscheduler-ui/src/service/service.ts similarity index 98% rename from dolphinscheduler-ui-next/src/service/service.ts rename to dolphinscheduler-ui/src/service/service.ts index 5d428d0fa9..8d33534788 100644 --- a/dolphinscheduler-ui-next/src/service/service.ts +++ b/dolphinscheduler-ui/src/service/service.ts @@ -32,7 +32,7 @@ const userStore = useUserStore() const handleError = (res: AxiosResponse) => { // Print to console if (import.meta.env.MODE === 'development') { - utils.log.capsule('DolphinScheduler', 'UI-NEXT') + utils.log.capsule('DolphinScheduler', 'UI') utils.log.error(res) } window.$message.error(res.data.msg) diff --git a/dolphinscheduler-ui-next/src/store/file/file.ts b/dolphinscheduler-ui/src/store/file/file.ts similarity index 100% rename from dolphinscheduler-ui-next/src/store/file/file.ts rename to dolphinscheduler-ui/src/store/file/file.ts diff --git a/dolphinscheduler-ui-next/src/store/file/types.ts b/dolphinscheduler-ui/src/store/file/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/store/file/types.ts rename to dolphinscheduler-ui/src/store/file/types.ts diff --git a/dolphinscheduler-ui-next/src/store/locales/locales.ts b/dolphinscheduler-ui/src/store/locales/locales.ts similarity index 100% rename from dolphinscheduler-ui-next/src/store/locales/locales.ts rename to dolphinscheduler-ui/src/store/locales/locales.ts diff --git a/dolphinscheduler-ui-next/src/store/locales/types.ts b/dolphinscheduler-ui/src/store/locales/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/store/locales/types.ts rename to dolphinscheduler-ui/src/store/locales/types.ts diff --git a/dolphinscheduler-ui-next/src/store/project/task-node.ts b/dolphinscheduler-ui/src/store/project/task-node.ts similarity index 100% rename from dolphinscheduler-ui-next/src/store/project/task-node.ts rename to dolphinscheduler-ui/src/store/project/task-node.ts diff --git a/dolphinscheduler-ui-next/src/store/project/types.ts b/dolphinscheduler-ui/src/store/project/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/store/project/types.ts rename to dolphinscheduler-ui/src/store/project/types.ts diff --git a/dolphinscheduler-ui-next/src/store/route/route.ts b/dolphinscheduler-ui/src/store/route/route.ts similarity index 100% rename from dolphinscheduler-ui-next/src/store/route/route.ts rename to dolphinscheduler-ui/src/store/route/route.ts diff --git a/dolphinscheduler-ui-next/src/store/route/types.ts b/dolphinscheduler-ui/src/store/route/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/store/route/types.ts rename to dolphinscheduler-ui/src/store/route/types.ts diff --git a/dolphinscheduler-ui-next/src/store/theme/theme.ts b/dolphinscheduler-ui/src/store/theme/theme.ts similarity index 100% rename from dolphinscheduler-ui-next/src/store/theme/theme.ts rename to dolphinscheduler-ui/src/store/theme/theme.ts diff --git a/dolphinscheduler-ui-next/src/store/theme/types.ts b/dolphinscheduler-ui/src/store/theme/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/store/theme/types.ts rename to dolphinscheduler-ui/src/store/theme/types.ts diff --git a/dolphinscheduler-ui-next/src/store/timezone/timezone.ts b/dolphinscheduler-ui/src/store/timezone/timezone.ts similarity index 100% rename from dolphinscheduler-ui-next/src/store/timezone/timezone.ts rename to dolphinscheduler-ui/src/store/timezone/timezone.ts diff --git a/dolphinscheduler-ui-next/src/store/timezone/types.ts b/dolphinscheduler-ui/src/store/timezone/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/store/timezone/types.ts rename to dolphinscheduler-ui/src/store/timezone/types.ts diff --git a/dolphinscheduler-ui-next/src/store/user/types.ts b/dolphinscheduler-ui/src/store/user/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/store/user/types.ts rename to dolphinscheduler-ui/src/store/user/types.ts diff --git a/dolphinscheduler-ui-next/src/store/user/user.ts b/dolphinscheduler-ui/src/store/user/user.ts similarity index 100% rename from dolphinscheduler-ui-next/src/store/user/user.ts rename to dolphinscheduler-ui/src/store/user/user.ts diff --git a/dolphinscheduler-ui-next/src/themes/index.ts b/dolphinscheduler-ui/src/themes/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/themes/index.ts rename to dolphinscheduler-ui/src/themes/index.ts diff --git a/dolphinscheduler-ui-next/src/themes/modules/dark.ts b/dolphinscheduler-ui/src/themes/modules/dark.ts similarity index 100% rename from dolphinscheduler-ui-next/src/themes/modules/dark.ts rename to dolphinscheduler-ui/src/themes/modules/dark.ts diff --git a/dolphinscheduler-ui-next/src/themes/modules/light.ts b/dolphinscheduler-ui/src/themes/modules/light.ts similarity index 100% rename from dolphinscheduler-ui-next/src/themes/modules/light.ts rename to dolphinscheduler-ui/src/themes/modules/light.ts diff --git a/dolphinscheduler-ui-next/src/utils/clipboard.ts b/dolphinscheduler-ui/src/utils/clipboard.ts similarity index 100% rename from dolphinscheduler-ui-next/src/utils/clipboard.ts rename to dolphinscheduler-ui/src/utils/clipboard.ts diff --git a/dolphinscheduler-ui-next/src/utils/downloadFile.ts b/dolphinscheduler-ui/src/utils/downloadFile.ts similarity index 100% rename from dolphinscheduler-ui-next/src/utils/downloadFile.ts rename to dolphinscheduler-ui/src/utils/downloadFile.ts diff --git a/dolphinscheduler-ui-next/src/utils/index.ts b/dolphinscheduler-ui/src/utils/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/utils/index.ts rename to dolphinscheduler-ui/src/utils/index.ts diff --git a/dolphinscheduler-ui-next/src/utils/json.ts b/dolphinscheduler-ui/src/utils/json.ts similarity index 100% rename from dolphinscheduler-ui-next/src/utils/json.ts rename to dolphinscheduler-ui/src/utils/json.ts diff --git a/dolphinscheduler-ui-next/src/utils/log.ts b/dolphinscheduler-ui/src/utils/log.ts similarity index 100% rename from dolphinscheduler-ui-next/src/utils/log.ts rename to dolphinscheduler-ui/src/utils/log.ts diff --git a/dolphinscheduler-ui-next/src/utils/mapping.ts b/dolphinscheduler-ui/src/utils/mapping.ts similarity index 100% rename from dolphinscheduler-ui-next/src/utils/mapping.ts rename to dolphinscheduler-ui/src/utils/mapping.ts diff --git a/dolphinscheduler-ui-next/src/utils/regex.ts b/dolphinscheduler-ui/src/utils/regex.ts similarity index 100% rename from dolphinscheduler-ui-next/src/utils/regex.ts rename to dolphinscheduler-ui/src/utils/regex.ts diff --git a/dolphinscheduler-ui-next/src/utils/tree-format.ts b/dolphinscheduler-ui/src/utils/tree-format.ts similarity index 100% rename from dolphinscheduler-ui-next/src/utils/tree-format.ts rename to dolphinscheduler-ui/src/utils/tree-format.ts diff --git a/dolphinscheduler-ui-next/src/utils/truncate-text.ts b/dolphinscheduler-ui/src/utils/truncate-text.ts similarity index 100% rename from dolphinscheduler-ui-next/src/utils/truncate-text.ts rename to dolphinscheduler-ui/src/utils/truncate-text.ts diff --git a/dolphinscheduler-ui/src/view/home/index.html b/dolphinscheduler-ui/src/view/home/index.html deleted file mode 100644 index b29d11614d..0000000000 --- a/dolphinscheduler-ui/src/view/home/index.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - DolphinScheduler - - -
-
-
-
- - - - Loading ... -
-
- - diff --git a/dolphinscheduler-ui/src/view/login/index.html b/dolphinscheduler-ui/src/view/login/index.html deleted file mode 100644 index cd1243f71f..0000000000 --- a/dolphinscheduler-ui/src/view/login/index.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - Login - DolphinScheduler - - -
- - - diff --git a/dolphinscheduler-ui-next/src/views/data-quality/rule/components/rule-modal.tsx b/dolphinscheduler-ui/src/views/data-quality/rule/components/rule-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/data-quality/rule/components/rule-modal.tsx rename to dolphinscheduler-ui/src/views/data-quality/rule/components/rule-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/data-quality/rule/components/table-action.tsx b/dolphinscheduler-ui/src/views/data-quality/rule/components/table-action.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/data-quality/rule/components/table-action.tsx rename to dolphinscheduler-ui/src/views/data-quality/rule/components/table-action.tsx diff --git a/dolphinscheduler-ui-next/src/views/data-quality/rule/index.module.scss b/dolphinscheduler-ui/src/views/data-quality/rule/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/data-quality/rule/index.module.scss rename to dolphinscheduler-ui/src/views/data-quality/rule/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/data-quality/rule/index.tsx b/dolphinscheduler-ui/src/views/data-quality/rule/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/data-quality/rule/index.tsx rename to dolphinscheduler-ui/src/views/data-quality/rule/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/data-quality/rule/use-table.ts b/dolphinscheduler-ui/src/views/data-quality/rule/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/data-quality/rule/use-table.ts rename to dolphinscheduler-ui/src/views/data-quality/rule/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/data-quality/task-result/index.module.scss b/dolphinscheduler-ui/src/views/data-quality/task-result/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/data-quality/task-result/index.module.scss rename to dolphinscheduler-ui/src/views/data-quality/task-result/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/data-quality/task-result/index.tsx b/dolphinscheduler-ui/src/views/data-quality/task-result/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/data-quality/task-result/index.tsx rename to dolphinscheduler-ui/src/views/data-quality/task-result/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/data-quality/task-result/use-table.ts b/dolphinscheduler-ui/src/views/data-quality/task-result/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/data-quality/task-result/use-table.ts rename to dolphinscheduler-ui/src/views/data-quality/task-result/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/datasource/list/detail.tsx b/dolphinscheduler-ui/src/views/datasource/list/detail.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/datasource/list/detail.tsx rename to dolphinscheduler-ui/src/views/datasource/list/detail.tsx diff --git a/dolphinscheduler-ui-next/src/views/datasource/list/index.module.scss b/dolphinscheduler-ui/src/views/datasource/list/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/datasource/list/index.module.scss rename to dolphinscheduler-ui/src/views/datasource/list/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/datasource/list/index.tsx b/dolphinscheduler-ui/src/views/datasource/list/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/datasource/list/index.tsx rename to dolphinscheduler-ui/src/views/datasource/list/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/datasource/list/json-highlight.module.scss b/dolphinscheduler-ui/src/views/datasource/list/json-highlight.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/datasource/list/json-highlight.module.scss rename to dolphinscheduler-ui/src/views/datasource/list/json-highlight.module.scss diff --git a/dolphinscheduler-ui-next/src/views/datasource/list/json-highlight.tsx b/dolphinscheduler-ui/src/views/datasource/list/json-highlight.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/datasource/list/json-highlight.tsx rename to dolphinscheduler-ui/src/views/datasource/list/json-highlight.tsx diff --git a/dolphinscheduler-ui-next/src/views/datasource/list/types.ts b/dolphinscheduler-ui/src/views/datasource/list/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/datasource/list/types.ts rename to dolphinscheduler-ui/src/views/datasource/list/types.ts diff --git a/dolphinscheduler-ui-next/src/views/datasource/list/use-columns.ts b/dolphinscheduler-ui/src/views/datasource/list/use-columns.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/datasource/list/use-columns.ts rename to dolphinscheduler-ui/src/views/datasource/list/use-columns.ts diff --git a/dolphinscheduler-ui-next/src/views/datasource/list/use-detail.ts b/dolphinscheduler-ui/src/views/datasource/list/use-detail.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/datasource/list/use-detail.ts rename to dolphinscheduler-ui/src/views/datasource/list/use-detail.ts diff --git a/dolphinscheduler-ui-next/src/views/datasource/list/use-form.ts b/dolphinscheduler-ui/src/views/datasource/list/use-form.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/datasource/list/use-form.ts rename to dolphinscheduler-ui/src/views/datasource/list/use-form.ts diff --git a/dolphinscheduler-ui-next/src/views/datasource/list/use-table.ts b/dolphinscheduler-ui/src/views/datasource/list/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/datasource/list/use-table.ts rename to dolphinscheduler-ui/src/views/datasource/list/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/home/components/definition-card.tsx b/dolphinscheduler-ui/src/views/home/components/definition-card.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/home/components/definition-card.tsx rename to dolphinscheduler-ui/src/views/home/components/definition-card.tsx diff --git a/dolphinscheduler-ui-next/src/views/home/components/state-card.tsx b/dolphinscheduler-ui/src/views/home/components/state-card.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/home/components/state-card.tsx rename to dolphinscheduler-ui/src/views/home/components/state-card.tsx diff --git a/dolphinscheduler-ui-next/src/views/home/index.tsx b/dolphinscheduler-ui/src/views/home/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/home/index.tsx rename to dolphinscheduler-ui/src/views/home/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/home/types.ts b/dolphinscheduler-ui/src/views/home/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/home/types.ts rename to dolphinscheduler-ui/src/views/home/types.ts diff --git a/dolphinscheduler-ui-next/src/views/home/use-process-definition.ts b/dolphinscheduler-ui/src/views/home/use-process-definition.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/home/use-process-definition.ts rename to dolphinscheduler-ui/src/views/home/use-process-definition.ts diff --git a/dolphinscheduler-ui-next/src/views/home/use-process-state.ts b/dolphinscheduler-ui/src/views/home/use-process-state.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/home/use-process-state.ts rename to dolphinscheduler-ui/src/views/home/use-process-state.ts diff --git a/dolphinscheduler-ui-next/src/views/home/use-table.ts b/dolphinscheduler-ui/src/views/home/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/home/use-table.ts rename to dolphinscheduler-ui/src/views/home/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/home/use-task-state.ts b/dolphinscheduler-ui/src/views/home/use-task-state.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/home/use-task-state.ts rename to dolphinscheduler-ui/src/views/home/use-task-state.ts diff --git a/dolphinscheduler-ui-next/src/views/login/index.module.scss b/dolphinscheduler-ui/src/views/login/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/login/index.module.scss rename to dolphinscheduler-ui/src/views/login/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/login/index.tsx b/dolphinscheduler-ui/src/views/login/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/login/index.tsx rename to dolphinscheduler-ui/src/views/login/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/login/use-form.ts b/dolphinscheduler-ui/src/views/login/use-form.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/login/use-form.ts rename to dolphinscheduler-ui/src/views/login/use-form.ts diff --git a/dolphinscheduler-ui-next/src/views/login/use-login.ts b/dolphinscheduler-ui/src/views/login/use-login.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/login/use-login.ts rename to dolphinscheduler-ui/src/views/login/use-login.ts diff --git a/dolphinscheduler-ui-next/src/views/login/use-translate.ts b/dolphinscheduler-ui/src/views/login/use-translate.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/login/use-translate.ts rename to dolphinscheduler-ui/src/views/login/use-translate.ts diff --git a/dolphinscheduler-ui-next/src/views/monitor/servers/db/index.module.scss b/dolphinscheduler-ui/src/views/monitor/servers/db/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/monitor/servers/db/index.module.scss rename to dolphinscheduler-ui/src/views/monitor/servers/db/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/monitor/servers/db/index.tsx b/dolphinscheduler-ui/src/views/monitor/servers/db/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/monitor/servers/db/index.tsx rename to dolphinscheduler-ui/src/views/monitor/servers/db/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/monitor/servers/db/use-database.ts b/dolphinscheduler-ui/src/views/monitor/servers/db/use-database.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/monitor/servers/db/use-database.ts rename to dolphinscheduler-ui/src/views/monitor/servers/db/use-database.ts diff --git a/dolphinscheduler-ui-next/src/views/monitor/servers/master/index.module.scss b/dolphinscheduler-ui/src/views/monitor/servers/master/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/monitor/servers/master/index.module.scss rename to dolphinscheduler-ui/src/views/monitor/servers/master/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/monitor/servers/master/index.tsx b/dolphinscheduler-ui/src/views/monitor/servers/master/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/monitor/servers/master/index.tsx rename to dolphinscheduler-ui/src/views/monitor/servers/master/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/monitor/servers/master/master-modal.tsx b/dolphinscheduler-ui/src/views/monitor/servers/master/master-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/monitor/servers/master/master-modal.tsx rename to dolphinscheduler-ui/src/views/monitor/servers/master/master-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/monitor/servers/master/use-master.ts b/dolphinscheduler-ui/src/views/monitor/servers/master/use-master.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/monitor/servers/master/use-master.ts rename to dolphinscheduler-ui/src/views/monitor/servers/master/use-master.ts diff --git a/dolphinscheduler-ui-next/src/views/monitor/servers/worker/index.module.scss b/dolphinscheduler-ui/src/views/monitor/servers/worker/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/monitor/servers/worker/index.module.scss rename to dolphinscheduler-ui/src/views/monitor/servers/worker/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/monitor/servers/worker/index.tsx b/dolphinscheduler-ui/src/views/monitor/servers/worker/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/monitor/servers/worker/index.tsx rename to dolphinscheduler-ui/src/views/monitor/servers/worker/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/monitor/servers/worker/use-worker.ts b/dolphinscheduler-ui/src/views/monitor/servers/worker/use-worker.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/monitor/servers/worker/use-worker.ts rename to dolphinscheduler-ui/src/views/monitor/servers/worker/use-worker.ts diff --git a/dolphinscheduler-ui-next/src/views/monitor/servers/worker/worker-modal.tsx b/dolphinscheduler-ui/src/views/monitor/servers/worker/worker-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/monitor/servers/worker/worker-modal.tsx rename to dolphinscheduler-ui/src/views/monitor/servers/worker/worker-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/monitor/statistics/audit-log/index.module.scss b/dolphinscheduler-ui/src/views/monitor/statistics/audit-log/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/monitor/statistics/audit-log/index.module.scss rename to dolphinscheduler-ui/src/views/monitor/statistics/audit-log/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/monitor/statistics/audit-log/index.tsx b/dolphinscheduler-ui/src/views/monitor/statistics/audit-log/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/monitor/statistics/audit-log/index.tsx rename to dolphinscheduler-ui/src/views/monitor/statistics/audit-log/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/monitor/statistics/audit-log/use-table.ts b/dolphinscheduler-ui/src/views/monitor/statistics/audit-log/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/monitor/statistics/audit-log/use-table.ts rename to dolphinscheduler-ui/src/views/monitor/statistics/audit-log/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/monitor/statistics/statistics/index.module.scss b/dolphinscheduler-ui/src/views/monitor/statistics/statistics/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/monitor/statistics/statistics/index.module.scss rename to dolphinscheduler-ui/src/views/monitor/statistics/statistics/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/monitor/statistics/statistics/index.tsx b/dolphinscheduler-ui/src/views/monitor/statistics/statistics/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/monitor/statistics/statistics/index.tsx rename to dolphinscheduler-ui/src/views/monitor/statistics/statistics/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/monitor/statistics/statistics/use-statistics.ts b/dolphinscheduler-ui/src/views/monitor/statistics/statistics/use-statistics.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/monitor/statistics/statistics/use-statistics.ts rename to dolphinscheduler-ui/src/views/monitor/statistics/statistics/use-statistics.ts diff --git a/dolphinscheduler-ui-next/src/views/password/index.tsx b/dolphinscheduler-ui/src/views/password/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/password/index.tsx rename to dolphinscheduler-ui/src/views/password/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/password/use-form.ts b/dolphinscheduler-ui/src/views/password/use-form.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/password/use-form.ts rename to dolphinscheduler-ui/src/views/password/use-form.ts diff --git a/dolphinscheduler-ui-next/src/views/password/use-update.ts b/dolphinscheduler-ui/src/views/password/use-update.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/password/use-update.ts rename to dolphinscheduler-ui/src/views/password/use-update.ts diff --git a/dolphinscheduler-ui-next/src/views/profile/components/info.tsx b/dolphinscheduler-ui/src/views/profile/components/info.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/profile/components/info.tsx rename to dolphinscheduler-ui/src/views/profile/components/info.tsx diff --git a/dolphinscheduler-ui-next/src/views/profile/index.tsx b/dolphinscheduler-ui/src/views/profile/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/profile/index.tsx rename to dolphinscheduler-ui/src/views/profile/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/profile/info.module.scss b/dolphinscheduler-ui/src/views/profile/info.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/profile/info.module.scss rename to dolphinscheduler-ui/src/views/profile/info.module.scss diff --git a/dolphinscheduler-ui-next/src/views/profile/types.ts b/dolphinscheduler-ui/src/views/profile/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/profile/types.ts rename to dolphinscheduler-ui/src/views/profile/types.ts diff --git a/dolphinscheduler-ui-next/src/views/profile/use-form.ts b/dolphinscheduler-ui/src/views/profile/use-form.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/profile/use-form.ts rename to dolphinscheduler-ui/src/views/profile/use-form.ts diff --git a/dolphinscheduler-ui-next/src/views/profile/use-profile.ts b/dolphinscheduler-ui/src/views/profile/use-profile.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/profile/use-profile.ts rename to dolphinscheduler-ui/src/views/profile/use-profile.ts diff --git a/dolphinscheduler-ui-next/src/views/profile/use-update.ts b/dolphinscheduler-ui/src/views/profile/use-update.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/profile/use-update.ts rename to dolphinscheduler-ui/src/views/profile/use-update.ts diff --git a/dolphinscheduler-ui-next/src/views/profile/use-userinfo.ts b/dolphinscheduler-ui/src/views/profile/use-userinfo.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/profile/use-userinfo.ts rename to dolphinscheduler-ui/src/views/profile/use-userinfo.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/list/components/project-modal.tsx b/dolphinscheduler-ui/src/views/projects/list/components/project-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/list/components/project-modal.tsx rename to dolphinscheduler-ui/src/views/projects/list/components/project-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/list/components/use-form.ts b/dolphinscheduler-ui/src/views/projects/list/components/use-form.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/list/components/use-form.ts rename to dolphinscheduler-ui/src/views/projects/list/components/use-form.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/list/index.module.scss b/dolphinscheduler-ui/src/views/projects/list/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/list/index.module.scss rename to dolphinscheduler-ui/src/views/projects/list/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/projects/list/index.tsx b/dolphinscheduler-ui/src/views/projects/list/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/list/index.tsx rename to dolphinscheduler-ui/src/views/projects/list/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/list/use-table.ts b/dolphinscheduler-ui/src/views/projects/list/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/list/use-table.ts rename to dolphinscheduler-ui/src/views/projects/list/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/overview/components/definition-card.tsx b/dolphinscheduler-ui/src/views/projects/overview/components/definition-card.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/overview/components/definition-card.tsx rename to dolphinscheduler-ui/src/views/projects/overview/components/definition-card.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/overview/components/state-card.tsx b/dolphinscheduler-ui/src/views/projects/overview/components/state-card.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/overview/components/state-card.tsx rename to dolphinscheduler-ui/src/views/projects/overview/components/state-card.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/overview/index.tsx b/dolphinscheduler-ui/src/views/projects/overview/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/overview/index.tsx rename to dolphinscheduler-ui/src/views/projects/overview/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/overview/types.ts b/dolphinscheduler-ui/src/views/projects/overview/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/overview/types.ts rename to dolphinscheduler-ui/src/views/projects/overview/types.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/overview/use-process-definition.ts b/dolphinscheduler-ui/src/views/projects/overview/use-process-definition.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/overview/use-process-definition.ts rename to dolphinscheduler-ui/src/views/projects/overview/use-process-definition.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/overview/use-process-state.ts b/dolphinscheduler-ui/src/views/projects/overview/use-process-state.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/overview/use-process-state.ts rename to dolphinscheduler-ui/src/views/projects/overview/use-process-state.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/overview/use-table.ts b/dolphinscheduler-ui/src/views/projects/overview/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/overview/use-table.ts rename to dolphinscheduler-ui/src/views/projects/overview/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/overview/use-task-state.ts b/dolphinscheduler-ui/src/views/projects/overview/use-task-state.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/overview/use-task-state.ts rename to dolphinscheduler-ui/src/views/projects/overview/use-task-state.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/detail-modal.tsx b/dolphinscheduler-ui/src/views/projects/task/components/node/detail-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/detail-modal.tsx rename to dolphinscheduler-ui/src/views/projects/task/components/node/detail-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/detail.tsx b/dolphinscheduler-ui/src/views/projects/task/components/node/detail.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/detail.tsx rename to dolphinscheduler-ui/src/views/projects/task/components/node/detail.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/index.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/index.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/index.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-child-node.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-child-node.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-child-node.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-child-node.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-conditions.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-conditions.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-conditions.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-conditions.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-custom-params.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-custom-params.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-custom-params.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-custom-params.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-datasource.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-datasource.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-datasource.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-datasource.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-datax.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-datax.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-datax.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-datax.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-delay-time.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-delay-time.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-delay-time.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-delay-time.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-dependent-timeout.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-dependent-timeout.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-dependent-timeout.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-dependent-timeout.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-dependent.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-dependent.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-dependent.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-dependent.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-deploy-mode.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-deploy-mode.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-deploy-mode.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-deploy-mode.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-description.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-description.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-description.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-description.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-driver-cores.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-driver-cores.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-driver-cores.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-driver-cores.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-driver-memory.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-driver-memory.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-driver-memory.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-driver-memory.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-emr.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-emr.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-emr.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-emr.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-environment-name.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-environment-name.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-environment-name.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-environment-name.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-executor-cores.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-executor-cores.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-executor-cores.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-executor-cores.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-executor-memory.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-executor-memory.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-executor-memory.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-executor-memory.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-executor-number.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-executor-number.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-executor-number.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-executor-number.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-failed.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-failed.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-failed.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-failed.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-flink.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-flink.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-flink.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-flink.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-http.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-http.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-http.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-http.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-main-jar.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-main-jar.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-main-jar.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-main-jar.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-mr.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-mr.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-mr.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-mr.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-name.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-name.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-name.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-name.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-pre-tasks.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-pre-tasks.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-pre-tasks.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-pre-tasks.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-procedure.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-procedure.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-procedure.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-procedure.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-process-name.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-process-name.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-process-name.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-process-name.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-relation-custom-params.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-relation-custom-params.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-relation-custom-params.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-relation-custom-params.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-resources.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-resources.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-resources.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-resources.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-rules.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-rules.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-rules.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-rules.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-run-flag.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-run-flag.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-run-flag.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-run-flag.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-sea-tunnel.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sea-tunnel.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-sea-tunnel.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sea-tunnel.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-shell.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-shell.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-shell.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-shell.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-spark.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-spark.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-spark.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-spark.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-sql-type.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql-type.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-sql-type.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql-type.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-sql.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-sql.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-sqoop-datasource.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sqoop-datasource.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-sqoop-datasource.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sqoop-datasource.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-sqoop-source-type.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sqoop-source-type.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-sqoop-source-type.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sqoop-source-type.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-sqoop-target-type.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sqoop-target-type.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-sqoop-target-type.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sqoop-target-type.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-sqoop.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sqoop.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-sqoop.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sqoop.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-switch.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-switch.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-switch.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-switch.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-target-task-name.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-target-task-name.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-target-task-name.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-target-task-name.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-task-group.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-task-group.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-task-group.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-task-group.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-task-priority.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-task-priority.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-task-priority.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-task-priority.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-task-type.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-task-type.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-task-type.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-task-type.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-timeout-alarm.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-timeout-alarm.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-timeout-alarm.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-timeout-alarm.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-udfs.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-udfs.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-udfs.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-udfs.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-worker-group.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-worker-group.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-worker-group.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-worker-group.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-zeppelin.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-zeppelin.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-zeppelin.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-zeppelin.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/format-data.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/format-data.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/index.module.scss b/dolphinscheduler-ui/src/views/projects/task/components/node/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/index.module.scss rename to dolphinscheduler-ui/src/views/projects/task/components/node/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/index.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/index.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/index.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/index.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-conditions.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-conditions.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-conditions.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-conditions.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-data-quality.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-data-quality.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-data-quality.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-data-quality.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-datax.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-datax.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-datax.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-datax.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-dependent.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-dependent.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-dependent.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-dependent.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-emr.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-emr.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-emr.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-emr.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-flink.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-flink.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-flink.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-flink.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-http.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-http.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-http.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-http.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-mr.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-mr.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-mr.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-mr.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-pigeon.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-pigeon.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-pigeon.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-pigeon.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-procedure.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-procedure.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-procedure.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-procedure.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-python.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-python.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-python.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-python.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-sea-tunnel.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-sea-tunnel.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-sea-tunnel.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-sea-tunnel.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-shell.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-shell.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-shell.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-shell.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-spark.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-spark.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-spark.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-spark.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-sql.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-sql.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-sql.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-sql.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-sqoop.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-sqoop.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-sqoop.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-sqoop.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-sub-process.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-sub-process.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-sub-process.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-sub-process.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-switch.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-switch.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-switch.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-switch.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-zeppelin.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-zeppelin.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-zeppelin.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-zeppelin.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/types.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/types.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/types.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/use-task.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/use-task.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/components/node/use-task.ts rename to dolphinscheduler-ui/src/views/projects/task/components/node/use-task.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/constants/task-type.ts b/dolphinscheduler-ui/src/views/projects/task/constants/task-type.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/constants/task-type.ts rename to dolphinscheduler-ui/src/views/projects/task/constants/task-type.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/definition/components/move-modal.tsx b/dolphinscheduler-ui/src/views/projects/task/definition/components/move-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/definition/components/move-modal.tsx rename to dolphinscheduler-ui/src/views/projects/task/definition/components/move-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/task/definition/components/use-move.ts b/dolphinscheduler-ui/src/views/projects/task/definition/components/use-move.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/definition/components/use-move.ts rename to dolphinscheduler-ui/src/views/projects/task/definition/components/use-move.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/definition/components/use-version.ts b/dolphinscheduler-ui/src/views/projects/task/definition/components/use-version.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/definition/components/use-version.ts rename to dolphinscheduler-ui/src/views/projects/task/definition/components/use-version.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/definition/components/version-modal.tsx b/dolphinscheduler-ui/src/views/projects/task/definition/components/version-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/definition/components/version-modal.tsx rename to dolphinscheduler-ui/src/views/projects/task/definition/components/version-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/task/definition/components/version.module.scss b/dolphinscheduler-ui/src/views/projects/task/definition/components/version.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/definition/components/version.module.scss rename to dolphinscheduler-ui/src/views/projects/task/definition/components/version.module.scss diff --git a/dolphinscheduler-ui-next/src/views/projects/task/definition/index.module.scss b/dolphinscheduler-ui/src/views/projects/task/definition/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/definition/index.module.scss rename to dolphinscheduler-ui/src/views/projects/task/definition/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/projects/task/definition/index.tsx b/dolphinscheduler-ui/src/views/projects/task/definition/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/definition/index.tsx rename to dolphinscheduler-ui/src/views/projects/task/definition/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/task/definition/types.ts b/dolphinscheduler-ui/src/views/projects/task/definition/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/definition/types.ts rename to dolphinscheduler-ui/src/views/projects/task/definition/types.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/definition/use-table.ts b/dolphinscheduler-ui/src/views/projects/task/definition/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/definition/use-table.ts rename to dolphinscheduler-ui/src/views/projects/task/definition/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/definition/use-task.ts b/dolphinscheduler-ui/src/views/projects/task/definition/use-task.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/definition/use-task.ts rename to dolphinscheduler-ui/src/views/projects/task/definition/use-task.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/instance/index.module.scss b/dolphinscheduler-ui/src/views/projects/task/instance/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/instance/index.module.scss rename to dolphinscheduler-ui/src/views/projects/task/instance/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/projects/task/instance/index.tsx b/dolphinscheduler-ui/src/views/projects/task/instance/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/instance/index.tsx rename to dolphinscheduler-ui/src/views/projects/task/instance/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/task/instance/types.ts b/dolphinscheduler-ui/src/views/projects/task/instance/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/instance/types.ts rename to dolphinscheduler-ui/src/views/projects/task/instance/types.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/task/instance/use-table.ts b/dolphinscheduler-ui/src/views/projects/task/instance/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/task/instance/use-table.ts rename to dolphinscheduler-ui/src/views/projects/task/instance/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-auto-layout-modal.tsx b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-auto-layout-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-auto-layout-modal.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-auto-layout-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-canvas.tsx b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-canvas.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-canvas.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-canvas.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-config.ts b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-config.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-config.ts rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-config.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-context-menu.tsx b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-context-menu.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-context-menu.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-context-menu.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-hooks.ts b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-hooks.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-hooks.ts rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-hooks.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-node-status.tsx b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-node-status.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-node-status.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-node-status.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-save-modal.tsx b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-save-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-save-modal.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-save-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-sidebar.tsx b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-sidebar.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-sidebar.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-sidebar.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-startup-param.tsx b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-startup-param.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-startup-param.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-startup-param.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-toolbar.tsx b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-toolbar.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-toolbar.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-toolbar.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag.module.scss b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag.module.scss rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag.module.scss diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/index.tsx b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/index.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/menu.module.scss b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/menu.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/menu.module.scss rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/menu.module.scss diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/startup.module.scss b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/startup.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/startup.module.scss rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/startup.module.scss diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/status.module.scss b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/status.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/status.module.scss rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/status.module.scss diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/types.ts b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/types.ts rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/types.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-business-mapper.ts b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-business-mapper.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-business-mapper.ts rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-business-mapper.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-canvas-init.ts b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-canvas-init.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-canvas-init.ts rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-canvas-init.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-cell-active.ts b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-cell-active.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-cell-active.ts rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-cell-active.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-cell-update.ts b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-cell-update.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-cell-update.ts rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-cell-update.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-custom-cell-builder.ts b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-custom-cell-builder.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-custom-cell-builder.ts rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-custom-cell-builder.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-dag-drag-drop.ts b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-dag-drag-drop.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-dag-drag-drop.ts rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-dag-drag-drop.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-graph-auto-layout.ts b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-graph-auto-layout.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-graph-auto-layout.ts rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-graph-auto-layout.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-graph-backfill.ts b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-graph-backfill.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-graph-backfill.ts rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-graph-backfill.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-node-menu.ts b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-node-menu.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-node-menu.ts rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-node-menu.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-node-search.ts b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-node-search.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-node-search.ts rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-node-search.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-node-status.ts b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-node-status.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-node-status.ts rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-node-status.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-task-edit.ts b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-task-edit.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-task-edit.ts rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-task-edit.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-text-copy.ts b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-text-copy.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/use-text-copy.ts rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-text-copy.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/x6-style.scss b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/x6-style.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/x6-style.scss rename to dolphinscheduler-ui/src/views/projects/workflow/components/dag/x6-style.scss diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/copy-modal.tsx b/dolphinscheduler-ui/src/views/projects/workflow/definition/components/copy-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/copy-modal.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/definition/components/copy-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/import-modal.tsx b/dolphinscheduler-ui/src/views/projects/workflow/definition/components/import-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/import-modal.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/definition/components/import-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/start-modal.tsx b/dolphinscheduler-ui/src/views/projects/workflow/definition/components/start-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/start-modal.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/definition/components/start-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/table-action.tsx b/dolphinscheduler-ui/src/views/projects/workflow/definition/components/table-action.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/table-action.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/definition/components/table-action.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/timing-modal.tsx b/dolphinscheduler-ui/src/views/projects/workflow/definition/components/timing-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/timing-modal.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/definition/components/timing-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/types.ts b/dolphinscheduler-ui/src/views/projects/workflow/definition/components/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/types.ts rename to dolphinscheduler-ui/src/views/projects/workflow/definition/components/types.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/use-form.ts b/dolphinscheduler-ui/src/views/projects/workflow/definition/components/use-form.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/use-form.ts rename to dolphinscheduler-ui/src/views/projects/workflow/definition/components/use-form.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/use-modal.ts b/dolphinscheduler-ui/src/views/projects/workflow/definition/components/use-modal.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/use-modal.ts rename to dolphinscheduler-ui/src/views/projects/workflow/definition/components/use-modal.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/use-table.ts b/dolphinscheduler-ui/src/views/projects/workflow/definition/components/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/use-table.ts rename to dolphinscheduler-ui/src/views/projects/workflow/definition/components/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/version-modal.tsx b/dolphinscheduler-ui/src/views/projects/workflow/definition/components/version-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/version-modal.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/definition/components/version-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/create/index.module.scss b/dolphinscheduler-ui/src/views/projects/workflow/definition/create/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/create/index.module.scss rename to dolphinscheduler-ui/src/views/projects/workflow/definition/create/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/create/index.tsx b/dolphinscheduler-ui/src/views/projects/workflow/definition/create/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/create/index.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/definition/create/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/detail/index.module.scss b/dolphinscheduler-ui/src/views/projects/workflow/definition/detail/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/detail/index.module.scss rename to dolphinscheduler-ui/src/views/projects/workflow/definition/detail/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/detail/index.tsx b/dolphinscheduler-ui/src/views/projects/workflow/definition/detail/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/detail/index.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/definition/detail/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/index.module.scss b/dolphinscheduler-ui/src/views/projects/workflow/definition/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/index.module.scss rename to dolphinscheduler-ui/src/views/projects/workflow/definition/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/index.tsx b/dolphinscheduler-ui/src/views/projects/workflow/definition/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/index.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/definition/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/timing/index.tsx b/dolphinscheduler-ui/src/views/projects/workflow/definition/timing/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/timing/index.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/definition/timing/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/timing/types.ts b/dolphinscheduler-ui/src/views/projects/workflow/definition/timing/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/timing/types.ts rename to dolphinscheduler-ui/src/views/projects/workflow/definition/timing/types.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/timing/use-table.ts b/dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/timing/use-table.ts rename to dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/tree/index.module.scss b/dolphinscheduler-ui/src/views/projects/workflow/definition/tree/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/tree/index.module.scss rename to dolphinscheduler-ui/src/views/projects/workflow/definition/tree/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/tree/index.tsx b/dolphinscheduler-ui/src/views/projects/workflow/definition/tree/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/tree/index.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/definition/tree/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/tree/types.ts b/dolphinscheduler-ui/src/views/projects/workflow/definition/tree/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/tree/types.ts rename to dolphinscheduler-ui/src/views/projects/workflow/definition/tree/types.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/tree/use-tree.tsx b/dolphinscheduler-ui/src/views/projects/workflow/definition/tree/use-tree.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/tree/use-tree.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/definition/tree/use-tree.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/types.ts b/dolphinscheduler-ui/src/views/projects/workflow/definition/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/types.ts rename to dolphinscheduler-ui/src/views/projects/workflow/definition/types.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/use-table.ts b/dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/definition/use-table.ts rename to dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/instance/components/process-instance-condition.tsx b/dolphinscheduler-ui/src/views/projects/workflow/instance/components/process-instance-condition.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/instance/components/process-instance-condition.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/instance/components/process-instance-condition.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/instance/components/table-action.tsx b/dolphinscheduler-ui/src/views/projects/workflow/instance/components/table-action.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/instance/components/table-action.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/instance/components/table-action.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/instance/components/variables-view.tsx b/dolphinscheduler-ui/src/views/projects/workflow/instance/components/variables-view.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/instance/components/variables-view.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/instance/components/variables-view.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/instance/components/variables.module.scss b/dolphinscheduler-ui/src/views/projects/workflow/instance/components/variables.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/instance/components/variables.module.scss rename to dolphinscheduler-ui/src/views/projects/workflow/instance/components/variables.module.scss diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/instance/detail/index.module.scss b/dolphinscheduler-ui/src/views/projects/workflow/instance/detail/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/instance/detail/index.module.scss rename to dolphinscheduler-ui/src/views/projects/workflow/instance/detail/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/instance/detail/index.tsx b/dolphinscheduler-ui/src/views/projects/workflow/instance/detail/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/instance/detail/index.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/instance/detail/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/instance/gantt/components/gantt-chart.tsx b/dolphinscheduler-ui/src/views/projects/workflow/instance/gantt/components/gantt-chart.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/instance/gantt/components/gantt-chart.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/instance/gantt/components/gantt-chart.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/instance/gantt/index.tsx b/dolphinscheduler-ui/src/views/projects/workflow/instance/gantt/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/instance/gantt/index.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/instance/gantt/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/instance/gantt/type.ts b/dolphinscheduler-ui/src/views/projects/workflow/instance/gantt/type.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/instance/gantt/type.ts rename to dolphinscheduler-ui/src/views/projects/workflow/instance/gantt/type.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/instance/gantt/use-gantt.ts b/dolphinscheduler-ui/src/views/projects/workflow/instance/gantt/use-gantt.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/instance/gantt/use-gantt.ts rename to dolphinscheduler-ui/src/views/projects/workflow/instance/gantt/use-gantt.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/instance/index.module.scss b/dolphinscheduler-ui/src/views/projects/workflow/instance/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/instance/index.module.scss rename to dolphinscheduler-ui/src/views/projects/workflow/instance/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/instance/index.tsx b/dolphinscheduler-ui/src/views/projects/workflow/instance/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/instance/index.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/instance/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/instance/types.ts b/dolphinscheduler-ui/src/views/projects/workflow/instance/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/instance/types.ts rename to dolphinscheduler-ui/src/views/projects/workflow/instance/types.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/instance/use-table.ts b/dolphinscheduler-ui/src/views/projects/workflow/instance/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/instance/use-table.ts rename to dolphinscheduler-ui/src/views/projects/workflow/instance/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/relation/components/Graph.tsx b/dolphinscheduler-ui/src/views/projects/workflow/relation/components/Graph.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/relation/components/Graph.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/relation/components/Graph.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/relation/index.tsx b/dolphinscheduler-ui/src/views/projects/workflow/relation/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/relation/index.tsx rename to dolphinscheduler-ui/src/views/projects/workflow/relation/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/relation/use-relation.ts b/dolphinscheduler-ui/src/views/projects/workflow/relation/use-relation.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/projects/workflow/relation/use-relation.ts rename to dolphinscheduler-ui/src/views/projects/workflow/relation/use-relation.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/file/create/index.tsx b/dolphinscheduler-ui/src/views/resource/file/create/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/create/index.tsx rename to dolphinscheduler-ui/src/views/resource/file/create/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/file/create/use-create.ts b/dolphinscheduler-ui/src/views/resource/file/create/use-create.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/create/use-create.ts rename to dolphinscheduler-ui/src/views/resource/file/create/use-create.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/file/create/use-form.ts b/dolphinscheduler-ui/src/views/resource/file/create/use-form.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/create/use-form.ts rename to dolphinscheduler-ui/src/views/resource/file/create/use-form.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/file/edit/index.tsx b/dolphinscheduler-ui/src/views/resource/file/edit/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/edit/index.tsx rename to dolphinscheduler-ui/src/views/resource/file/edit/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/file/edit/use-edit.ts b/dolphinscheduler-ui/src/views/resource/file/edit/use-edit.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/edit/use-edit.ts rename to dolphinscheduler-ui/src/views/resource/file/edit/use-edit.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/file/edit/use-form.ts b/dolphinscheduler-ui/src/views/resource/file/edit/use-form.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/edit/use-form.ts rename to dolphinscheduler-ui/src/views/resource/file/edit/use-form.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/file/folder/index.tsx b/dolphinscheduler-ui/src/views/resource/file/folder/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/folder/index.tsx rename to dolphinscheduler-ui/src/views/resource/file/folder/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/file/folder/use-folder.ts b/dolphinscheduler-ui/src/views/resource/file/folder/use-folder.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/folder/use-folder.ts rename to dolphinscheduler-ui/src/views/resource/file/folder/use-folder.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/file/folder/use-form.ts b/dolphinscheduler-ui/src/views/resource/file/folder/use-form.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/folder/use-form.ts rename to dolphinscheduler-ui/src/views/resource/file/folder/use-form.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/file/index.module.scss b/dolphinscheduler-ui/src/views/resource/file/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/index.module.scss rename to dolphinscheduler-ui/src/views/resource/file/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/resource/file/index.tsx b/dolphinscheduler-ui/src/views/resource/file/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/index.tsx rename to dolphinscheduler-ui/src/views/resource/file/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/file/rename/index.tsx b/dolphinscheduler-ui/src/views/resource/file/rename/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/rename/index.tsx rename to dolphinscheduler-ui/src/views/resource/file/rename/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/file/rename/use-form.ts b/dolphinscheduler-ui/src/views/resource/file/rename/use-form.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/rename/use-form.ts rename to dolphinscheduler-ui/src/views/resource/file/rename/use-form.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/file/rename/use-rename.ts b/dolphinscheduler-ui/src/views/resource/file/rename/use-rename.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/rename/use-rename.ts rename to dolphinscheduler-ui/src/views/resource/file/rename/use-rename.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/file/table/table-action.tsx b/dolphinscheduler-ui/src/views/resource/file/table/table-action.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/table/table-action.tsx rename to dolphinscheduler-ui/src/views/resource/file/table/table-action.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/file/table/use-table.ts b/dolphinscheduler-ui/src/views/resource/file/table/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/table/use-table.ts rename to dolphinscheduler-ui/src/views/resource/file/table/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/file/types.ts b/dolphinscheduler-ui/src/views/resource/file/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/types.ts rename to dolphinscheduler-ui/src/views/resource/file/types.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/file/upload/index.tsx b/dolphinscheduler-ui/src/views/resource/file/upload/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/upload/index.tsx rename to dolphinscheduler-ui/src/views/resource/file/upload/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/file/upload/use-form.ts b/dolphinscheduler-ui/src/views/resource/file/upload/use-form.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/upload/use-form.ts rename to dolphinscheduler-ui/src/views/resource/file/upload/use-form.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/file/upload/use-upload.ts b/dolphinscheduler-ui/src/views/resource/file/upload/use-upload.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/upload/use-upload.ts rename to dolphinscheduler-ui/src/views/resource/file/upload/use-upload.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/file/use-file.ts b/dolphinscheduler-ui/src/views/resource/file/use-file.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/file/use-file.ts rename to dolphinscheduler-ui/src/views/resource/file/use-file.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/index.module.scss b/dolphinscheduler-ui/src/views/resource/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/index.module.scss rename to dolphinscheduler-ui/src/views/resource/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/resource/index.tsx b/dolphinscheduler-ui/src/views/resource/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/index.tsx rename to dolphinscheduler-ui/src/views/resource/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/task-group/option/components/form-modal.tsx b/dolphinscheduler-ui/src/views/resource/task-group/option/components/form-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/task-group/option/components/form-modal.tsx rename to dolphinscheduler-ui/src/views/resource/task-group/option/components/form-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/task-group/option/components/table-action.tsx b/dolphinscheduler-ui/src/views/resource/task-group/option/components/table-action.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/task-group/option/components/table-action.tsx rename to dolphinscheduler-ui/src/views/resource/task-group/option/components/table-action.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/task-group/option/index.module.scss b/dolphinscheduler-ui/src/views/resource/task-group/option/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/task-group/option/index.module.scss rename to dolphinscheduler-ui/src/views/resource/task-group/option/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/resource/task-group/option/index.tsx b/dolphinscheduler-ui/src/views/resource/task-group/option/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/task-group/option/index.tsx rename to dolphinscheduler-ui/src/views/resource/task-group/option/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/task-group/option/use-form.ts b/dolphinscheduler-ui/src/views/resource/task-group/option/use-form.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/task-group/option/use-form.ts rename to dolphinscheduler-ui/src/views/resource/task-group/option/use-form.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/task-group/option/use-table.ts b/dolphinscheduler-ui/src/views/resource/task-group/option/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/task-group/option/use-table.ts rename to dolphinscheduler-ui/src/views/resource/task-group/option/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/task-group/queue/components/form-modal.tsx b/dolphinscheduler-ui/src/views/resource/task-group/queue/components/form-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/task-group/queue/components/form-modal.tsx rename to dolphinscheduler-ui/src/views/resource/task-group/queue/components/form-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/task-group/queue/components/table-action.tsx b/dolphinscheduler-ui/src/views/resource/task-group/queue/components/table-action.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/task-group/queue/components/table-action.tsx rename to dolphinscheduler-ui/src/views/resource/task-group/queue/components/table-action.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/task-group/queue/index.module.scss b/dolphinscheduler-ui/src/views/resource/task-group/queue/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/task-group/queue/index.module.scss rename to dolphinscheduler-ui/src/views/resource/task-group/queue/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/resource/task-group/queue/index.tsx b/dolphinscheduler-ui/src/views/resource/task-group/queue/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/task-group/queue/index.tsx rename to dolphinscheduler-ui/src/views/resource/task-group/queue/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/task-group/queue/use-form.ts b/dolphinscheduler-ui/src/views/resource/task-group/queue/use-form.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/task-group/queue/use-form.ts rename to dolphinscheduler-ui/src/views/resource/task-group/queue/use-form.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/task-group/queue/use-table.ts b/dolphinscheduler-ui/src/views/resource/task-group/queue/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/task-group/queue/use-table.ts rename to dolphinscheduler-ui/src/views/resource/task-group/queue/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/udf/function/components/function-modal.tsx b/dolphinscheduler-ui/src/views/resource/udf/function/components/function-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/udf/function/components/function-modal.tsx rename to dolphinscheduler-ui/src/views/resource/udf/function/components/function-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/udf/function/components/use-form.ts b/dolphinscheduler-ui/src/views/resource/udf/function/components/use-form.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/udf/function/components/use-form.ts rename to dolphinscheduler-ui/src/views/resource/udf/function/components/use-form.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/udf/function/components/use-modal.ts b/dolphinscheduler-ui/src/views/resource/udf/function/components/use-modal.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/udf/function/components/use-modal.ts rename to dolphinscheduler-ui/src/views/resource/udf/function/components/use-modal.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/udf/function/index.module.scss b/dolphinscheduler-ui/src/views/resource/udf/function/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/udf/function/index.module.scss rename to dolphinscheduler-ui/src/views/resource/udf/function/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/resource/udf/function/index.tsx b/dolphinscheduler-ui/src/views/resource/udf/function/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/udf/function/index.tsx rename to dolphinscheduler-ui/src/views/resource/udf/function/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/udf/function/types.ts b/dolphinscheduler-ui/src/views/resource/udf/function/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/udf/function/types.ts rename to dolphinscheduler-ui/src/views/resource/udf/function/types.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/udf/function/use-table.ts b/dolphinscheduler-ui/src/views/resource/udf/function/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/udf/function/use-table.ts rename to dolphinscheduler-ui/src/views/resource/udf/function/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/udf/resource/components/folder-modal.tsx b/dolphinscheduler-ui/src/views/resource/udf/resource/components/folder-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/udf/resource/components/folder-modal.tsx rename to dolphinscheduler-ui/src/views/resource/udf/resource/components/folder-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/udf/resource/components/upload-modal.tsx b/dolphinscheduler-ui/src/views/resource/udf/resource/components/upload-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/udf/resource/components/upload-modal.tsx rename to dolphinscheduler-ui/src/views/resource/udf/resource/components/upload-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/udf/resource/components/use-form.ts b/dolphinscheduler-ui/src/views/resource/udf/resource/components/use-form.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/udf/resource/components/use-form.ts rename to dolphinscheduler-ui/src/views/resource/udf/resource/components/use-form.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/udf/resource/components/use-modal.ts b/dolphinscheduler-ui/src/views/resource/udf/resource/components/use-modal.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/udf/resource/components/use-modal.ts rename to dolphinscheduler-ui/src/views/resource/udf/resource/components/use-modal.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/udf/resource/index.module.scss b/dolphinscheduler-ui/src/views/resource/udf/resource/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/udf/resource/index.module.scss rename to dolphinscheduler-ui/src/views/resource/udf/resource/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/resource/udf/resource/index.tsx b/dolphinscheduler-ui/src/views/resource/udf/resource/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/udf/resource/index.tsx rename to dolphinscheduler-ui/src/views/resource/udf/resource/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/udf/resource/types.ts b/dolphinscheduler-ui/src/views/resource/udf/resource/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/udf/resource/types.ts rename to dolphinscheduler-ui/src/views/resource/udf/resource/types.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/udf/resource/use-table.ts b/dolphinscheduler-ui/src/views/resource/udf/resource/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/udf/resource/use-table.ts rename to dolphinscheduler-ui/src/views/resource/udf/resource/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/security/alarm-group-manage/components/alarm-group-modal.tsx b/dolphinscheduler-ui/src/views/security/alarm-group-manage/components/alarm-group-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/alarm-group-manage/components/alarm-group-modal.tsx rename to dolphinscheduler-ui/src/views/security/alarm-group-manage/components/alarm-group-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/alarm-group-manage/components/use-modal.ts b/dolphinscheduler-ui/src/views/security/alarm-group-manage/components/use-modal.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/alarm-group-manage/components/use-modal.ts rename to dolphinscheduler-ui/src/views/security/alarm-group-manage/components/use-modal.ts diff --git a/dolphinscheduler-ui-next/src/views/security/alarm-group-manage/index.module.scss b/dolphinscheduler-ui/src/views/security/alarm-group-manage/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/alarm-group-manage/index.module.scss rename to dolphinscheduler-ui/src/views/security/alarm-group-manage/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/security/alarm-group-manage/index.tsx b/dolphinscheduler-ui/src/views/security/alarm-group-manage/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/alarm-group-manage/index.tsx rename to dolphinscheduler-ui/src/views/security/alarm-group-manage/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/alarm-group-manage/use-table.ts b/dolphinscheduler-ui/src/views/security/alarm-group-manage/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/alarm-group-manage/use-table.ts rename to dolphinscheduler-ui/src/views/security/alarm-group-manage/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/detail.tsx b/dolphinscheduler-ui/src/views/security/alarm-instance-manage/detail.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/detail.tsx rename to dolphinscheduler-ui/src/views/security/alarm-instance-manage/detail.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/index.module.scss b/dolphinscheduler-ui/src/views/security/alarm-instance-manage/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/index.module.scss rename to dolphinscheduler-ui/src/views/security/alarm-instance-manage/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/index.tsx b/dolphinscheduler-ui/src/views/security/alarm-instance-manage/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/index.tsx rename to dolphinscheduler-ui/src/views/security/alarm-instance-manage/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/types.ts b/dolphinscheduler-ui/src/views/security/alarm-instance-manage/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/types.ts rename to dolphinscheduler-ui/src/views/security/alarm-instance-manage/types.ts diff --git a/dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/use-columns.ts b/dolphinscheduler-ui/src/views/security/alarm-instance-manage/use-columns.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/use-columns.ts rename to dolphinscheduler-ui/src/views/security/alarm-instance-manage/use-columns.ts diff --git a/dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/use-detail.ts b/dolphinscheduler-ui/src/views/security/alarm-instance-manage/use-detail.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/use-detail.ts rename to dolphinscheduler-ui/src/views/security/alarm-instance-manage/use-detail.ts diff --git a/dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/use-form.ts b/dolphinscheduler-ui/src/views/security/alarm-instance-manage/use-form.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/use-form.ts rename to dolphinscheduler-ui/src/views/security/alarm-instance-manage/use-form.ts diff --git a/dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/use-table.ts b/dolphinscheduler-ui/src/views/security/alarm-instance-manage/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/use-table.ts rename to dolphinscheduler-ui/src/views/security/alarm-instance-manage/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/use-userinfo.ts b/dolphinscheduler-ui/src/views/security/alarm-instance-manage/use-userinfo.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/alarm-instance-manage/use-userinfo.ts rename to dolphinscheduler-ui/src/views/security/alarm-instance-manage/use-userinfo.ts diff --git a/dolphinscheduler-ui-next/src/views/security/environment-manage/components/environment-modal.tsx b/dolphinscheduler-ui/src/views/security/environment-manage/components/environment-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/environment-manage/components/environment-modal.tsx rename to dolphinscheduler-ui/src/views/security/environment-manage/components/environment-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/environment-manage/components/use-modal.ts b/dolphinscheduler-ui/src/views/security/environment-manage/components/use-modal.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/environment-manage/components/use-modal.ts rename to dolphinscheduler-ui/src/views/security/environment-manage/components/use-modal.ts diff --git a/dolphinscheduler-ui-next/src/views/security/environment-manage/index.module.scss b/dolphinscheduler-ui/src/views/security/environment-manage/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/environment-manage/index.module.scss rename to dolphinscheduler-ui/src/views/security/environment-manage/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/security/environment-manage/index.tsx b/dolphinscheduler-ui/src/views/security/environment-manage/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/environment-manage/index.tsx rename to dolphinscheduler-ui/src/views/security/environment-manage/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/environment-manage/use-table.ts b/dolphinscheduler-ui/src/views/security/environment-manage/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/environment-manage/use-table.ts rename to dolphinscheduler-ui/src/views/security/environment-manage/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/security/k8s-namespace-manage/components/k8s-namespace-modal.tsx b/dolphinscheduler-ui/src/views/security/k8s-namespace-manage/components/k8s-namespace-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/k8s-namespace-manage/components/k8s-namespace-modal.tsx rename to dolphinscheduler-ui/src/views/security/k8s-namespace-manage/components/k8s-namespace-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/k8s-namespace-manage/components/use-modal.ts b/dolphinscheduler-ui/src/views/security/k8s-namespace-manage/components/use-modal.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/k8s-namespace-manage/components/use-modal.ts rename to dolphinscheduler-ui/src/views/security/k8s-namespace-manage/components/use-modal.ts diff --git a/dolphinscheduler-ui-next/src/views/security/k8s-namespace-manage/index.module.scss b/dolphinscheduler-ui/src/views/security/k8s-namespace-manage/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/k8s-namespace-manage/index.module.scss rename to dolphinscheduler-ui/src/views/security/k8s-namespace-manage/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/security/k8s-namespace-manage/index.tsx b/dolphinscheduler-ui/src/views/security/k8s-namespace-manage/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/k8s-namespace-manage/index.tsx rename to dolphinscheduler-ui/src/views/security/k8s-namespace-manage/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/k8s-namespace-manage/use-table.ts b/dolphinscheduler-ui/src/views/security/k8s-namespace-manage/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/k8s-namespace-manage/use-table.ts rename to dolphinscheduler-ui/src/views/security/k8s-namespace-manage/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/security/tenant-manage/components/tenant-modal.tsx b/dolphinscheduler-ui/src/views/security/tenant-manage/components/tenant-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/tenant-manage/components/tenant-modal.tsx rename to dolphinscheduler-ui/src/views/security/tenant-manage/components/tenant-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/tenant-manage/components/use-modalData.ts b/dolphinscheduler-ui/src/views/security/tenant-manage/components/use-modalData.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/tenant-manage/components/use-modalData.ts rename to dolphinscheduler-ui/src/views/security/tenant-manage/components/use-modalData.ts diff --git a/dolphinscheduler-ui-next/src/views/security/tenant-manage/index.module.scss b/dolphinscheduler-ui/src/views/security/tenant-manage/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/tenant-manage/index.module.scss rename to dolphinscheduler-ui/src/views/security/tenant-manage/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/security/tenant-manage/index.tsx b/dolphinscheduler-ui/src/views/security/tenant-manage/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/tenant-manage/index.tsx rename to dolphinscheduler-ui/src/views/security/tenant-manage/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/tenant-manage/use-table.ts b/dolphinscheduler-ui/src/views/security/tenant-manage/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/tenant-manage/use-table.ts rename to dolphinscheduler-ui/src/views/security/tenant-manage/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/security/token-manage/components/token-modal.tsx b/dolphinscheduler-ui/src/views/security/token-manage/components/token-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/token-manage/components/token-modal.tsx rename to dolphinscheduler-ui/src/views/security/token-manage/components/token-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/token-manage/components/use-modal.ts b/dolphinscheduler-ui/src/views/security/token-manage/components/use-modal.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/token-manage/components/use-modal.ts rename to dolphinscheduler-ui/src/views/security/token-manage/components/use-modal.ts diff --git a/dolphinscheduler-ui-next/src/views/security/token-manage/index.module.scss b/dolphinscheduler-ui/src/views/security/token-manage/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/token-manage/index.module.scss rename to dolphinscheduler-ui/src/views/security/token-manage/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/security/token-manage/index.tsx b/dolphinscheduler-ui/src/views/security/token-manage/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/token-manage/index.tsx rename to dolphinscheduler-ui/src/views/security/token-manage/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/token-manage/use-table.ts b/dolphinscheduler-ui/src/views/security/token-manage/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/token-manage/use-table.ts rename to dolphinscheduler-ui/src/views/security/token-manage/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/security/user-manage/components/authorize-modal.tsx b/dolphinscheduler-ui/src/views/security/user-manage/components/authorize-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/user-manage/components/authorize-modal.tsx rename to dolphinscheduler-ui/src/views/security/user-manage/components/authorize-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/user-manage/components/use-authorize.ts b/dolphinscheduler-ui/src/views/security/user-manage/components/use-authorize.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/user-manage/components/use-authorize.ts rename to dolphinscheduler-ui/src/views/security/user-manage/components/use-authorize.ts diff --git a/dolphinscheduler-ui-next/src/views/security/user-manage/components/use-user-detail.ts b/dolphinscheduler-ui/src/views/security/user-manage/components/use-user-detail.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/user-manage/components/use-user-detail.ts rename to dolphinscheduler-ui/src/views/security/user-manage/components/use-user-detail.ts diff --git a/dolphinscheduler-ui-next/src/views/security/user-manage/components/user-detail-modal.tsx b/dolphinscheduler-ui/src/views/security/user-manage/components/user-detail-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/user-manage/components/user-detail-modal.tsx rename to dolphinscheduler-ui/src/views/security/user-manage/components/user-detail-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/user-manage/index.module.scss b/dolphinscheduler-ui/src/views/security/user-manage/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/user-manage/index.module.scss rename to dolphinscheduler-ui/src/views/security/user-manage/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/security/user-manage/index.tsx b/dolphinscheduler-ui/src/views/security/user-manage/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/user-manage/index.tsx rename to dolphinscheduler-ui/src/views/security/user-manage/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/user-manage/types.ts b/dolphinscheduler-ui/src/views/security/user-manage/types.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/user-manage/types.ts rename to dolphinscheduler-ui/src/views/security/user-manage/types.ts diff --git a/dolphinscheduler-ui-next/src/views/security/user-manage/use-columns.ts b/dolphinscheduler-ui/src/views/security/user-manage/use-columns.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/user-manage/use-columns.ts rename to dolphinscheduler-ui/src/views/security/user-manage/use-columns.ts diff --git a/dolphinscheduler-ui-next/src/views/security/user-manage/use-table.ts b/dolphinscheduler-ui/src/views/security/user-manage/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/user-manage/use-table.ts rename to dolphinscheduler-ui/src/views/security/user-manage/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/security/worker-group-manage/components/use-modal.ts b/dolphinscheduler-ui/src/views/security/worker-group-manage/components/use-modal.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/worker-group-manage/components/use-modal.ts rename to dolphinscheduler-ui/src/views/security/worker-group-manage/components/use-modal.ts diff --git a/dolphinscheduler-ui-next/src/views/security/worker-group-manage/components/worker-group-modal.tsx b/dolphinscheduler-ui/src/views/security/worker-group-manage/components/worker-group-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/worker-group-manage/components/worker-group-modal.tsx rename to dolphinscheduler-ui/src/views/security/worker-group-manage/components/worker-group-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/worker-group-manage/index.module.scss b/dolphinscheduler-ui/src/views/security/worker-group-manage/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/worker-group-manage/index.module.scss rename to dolphinscheduler-ui/src/views/security/worker-group-manage/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/security/worker-group-manage/index.tsx b/dolphinscheduler-ui/src/views/security/worker-group-manage/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/worker-group-manage/index.tsx rename to dolphinscheduler-ui/src/views/security/worker-group-manage/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/worker-group-manage/use-table.ts b/dolphinscheduler-ui/src/views/security/worker-group-manage/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/worker-group-manage/use-table.ts rename to dolphinscheduler-ui/src/views/security/worker-group-manage/use-table.ts diff --git a/dolphinscheduler-ui-next/src/views/security/yarn-queue-manage/components/use-modal.ts b/dolphinscheduler-ui/src/views/security/yarn-queue-manage/components/use-modal.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/yarn-queue-manage/components/use-modal.ts rename to dolphinscheduler-ui/src/views/security/yarn-queue-manage/components/use-modal.ts diff --git a/dolphinscheduler-ui-next/src/views/security/yarn-queue-manage/components/yarn-queue-modal.tsx b/dolphinscheduler-ui/src/views/security/yarn-queue-manage/components/yarn-queue-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/yarn-queue-manage/components/yarn-queue-modal.tsx rename to dolphinscheduler-ui/src/views/security/yarn-queue-manage/components/yarn-queue-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/yarn-queue-manage/index.module.scss b/dolphinscheduler-ui/src/views/security/yarn-queue-manage/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/yarn-queue-manage/index.module.scss rename to dolphinscheduler-ui/src/views/security/yarn-queue-manage/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/security/yarn-queue-manage/index.tsx b/dolphinscheduler-ui/src/views/security/yarn-queue-manage/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/yarn-queue-manage/index.tsx rename to dolphinscheduler-ui/src/views/security/yarn-queue-manage/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/security/yarn-queue-manage/use-table.ts b/dolphinscheduler-ui/src/views/security/yarn-queue-manage/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/security/yarn-queue-manage/use-table.ts rename to dolphinscheduler-ui/src/views/security/yarn-queue-manage/use-table.ts diff --git a/dolphinscheduler-ui-next/tsconfig.json b/dolphinscheduler-ui/tsconfig.json similarity index 100% rename from dolphinscheduler-ui-next/tsconfig.json rename to dolphinscheduler-ui/tsconfig.json diff --git a/dolphinscheduler-ui-next/vite.config.ts b/dolphinscheduler-ui/vite.config.ts similarity index 100% rename from dolphinscheduler-ui-next/vite.config.ts rename to dolphinscheduler-ui/vite.config.ts diff --git a/pom.xml b/pom.xml index 2735260793..12f57d8a84 100644 --- a/pom.xml +++ b/pom.xml @@ -416,7 +416,7 @@ org.apache.dolphinscheduler - dolphinscheduler-ui-next + dolphinscheduler-ui ${project.version} @@ -1246,6 +1246,6 @@ dolphinscheduler-worker dolphinscheduler-log-server dolphinscheduler-tools - dolphinscheduler-ui-next + dolphinscheduler-ui