Giter Site home page Giter Site logo

apache / shardingsphere-ui Goto Github PK

View Code? Open in Web Editor NEW
52.0 25.0 42.0 1019 KB

Distributed database middleware

Home Page: https://shardingsphere.apache.org/

License: Apache License 2.0

Java 38.52% Dockerfile 0.33% Batchfile 0.44% Shell 0.99% JavaScript 29.94% HTML 0.67% Vue 28.23% SCSS 0.89%
shardingsphere database distributed-database distributed-sql-database distributed-transactions sql shard database-cluster mysql postgresql

shardingsphere-ui's Introduction

ShardingSphere UI

License

Build Status

Overview

ShardingSphere UI is a management background for ShardingSphere, including: dynamic configuration, Data governance, etc.

ShardingSphere UI Frontend

shardingsphere-ui-frontend based on Vue.js and use the UI Toolkit element.

ShardingSphere UI Backend

shardingsphere-ui-backend is a standard spring boot project.

How to Build

git clone https://github.com/apache/shardingsphere-ui.git
cd shardingsphere-ui/
mvn clean package -Prelease

Get the package in shardingsphere-ui/shardingsphere-ui-distribution/shardingsphere-ui-bin-distribution/target/apache-shardingsphere-${latest.release.version}-shardingsphere-ui-bin.tar.gz

shardingsphere-ui's People

Contributors

avalon5666 avatar cherrylzhao avatar dachuan9e avatar dongzl avatar easonfeng5870 avatar huangyiminghappy avatar kimmking avatar komachision avatar lucas-307 avatar menghaoranss avatar nonacosa avatar renfufei avatar sunbufu avatar terrymanu avatar tristazero avatar tuohai666 avatar wqzwh avatar zhengshuoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shardingsphere-ui's Issues

Rule Config not showing

I'm using shardingsphere-proxy 5.0.0-beta for Registry Center and shardingsphere-ui 5.0.0-alpha.

I think it's simply because schema structure of registry center has been changed in 5.0.0-beta of shardingsphere-proxy as we can see in the Refactor section of the release note of it, and I open this issue for a record.

Screen Shot 2021-08-13 at 10 39 08 AM

Rewrite Vue charts code

Because the Vue charts library does not generate a release package, every time NPM install will pull the latest code again, which will have a certain impact on the stability of the front-end UI of this project.

Finally decided to replace the Vue charts Library to vue-echarts-v3 library

Build project Error

I tried for several times
tried to change my environment
tried to add http-proxy
tried to change maven repo to taobao
useless
same error for every time

mvn clean install -Prelease
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: windows
[INFO] os.detected.arch: x86_64
[INFO] os.detected.version: 10.0
[INFO] os.detected.version.major: 10
[INFO] os.detected.version.minor: 0
[INFO] os.detected.classifier: windows-x86_64
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] shardingsphere-ui                                                  [pom][INFO] shardingsphere-ui-frontend                                         [jar]
[INFO] shardingsphere-ui-backend                                          [jar]
[INFO] shardingsphere-ui-distribution                                     [pom]
[INFO] shardingsphere-ui-src-distribution                                 [jar]
[INFO] shardingsphere-ui-bin-distribution                                 [jar]
[INFO]
[INFO] ------------< org.apache.shardingsphere:shardingsphere-ui >-------------
[INFO] Building shardingsphere-ui 5.0.0-beta-SNAPSHOT                     [1/6]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ shardingsphere-ui ---
[INFO] Deleting D:\git\shardingsphere-ui\target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ shardingsphere-ui ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ shardingsphere-ui ---
[INFO] 
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ shardingsphere-ui ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (default) @ shardingsphere-ui ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Parsing exclusions from D:\git\shardingsphere-ui\.gitignore
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 86 implicit excludes (use -debug for more details).
[INFO] Exclude: **/target/**
[INFO] Exclude: **/logs/**
[INFO] Exclude: **/*.log
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/.idea/**
[INFO] Exclude: **/*.classpath
[INFO] Exclude: **/.project
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/dependency-reduced-pom.xml
[INFO] Exclude: **/.gitignore
[INFO] Exclude: **/.gitmodules
[INFO] Exclude: **/.git/**
[INFO] Exclude: **/.travis.yml
[INFO] Exclude: **/.mvn/jvm.config
[INFO] Exclude: **/.mvn/wrapper/maven-wrapper.properties
[INFO] Exclude: **/.github/**
[INFO] Exclude: **/*.md
[INFO] Exclude: **/*.MD
[INFO] Exclude: **/*.txt
[INFO] Exclude: **/docs/**
[INFO] Exclude: **/.babelrc
[INFO] Exclude: **/.editorconfig
[INFO] Exclude: **/.eslintignore
[INFO] Exclude: **/package.json
[INFO] Exclude: **/assets/**
[INFO] Exclude: **/dist/**
[INFO] Exclude: **/etc/**
[INFO] Exclude: **/node/**
[INFO] Exclude: **/node_modules/**
[INFO] Exclude: **/test/coverage/**
[INFO] Exclude: **/package-lock.json
[INFO] 7 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 5 licenses.
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ shardingsphere-ui ---
[INFO] Installing D:\git\shardingsphere-ui\pom.xml to D:\Users\cow04\.m2\repository\org\apache\shardingsphere\shardingsphere-ui\5.0.0-beta-SNAPSHOT\shardingsphere-ui-5.0.0-beta-SNAPSHOT.pom
[INFO] 
[INFO] --------< org.apache.shardingsphere:shardingsphere-ui-frontend >--------
[INFO] Building shardingsphere-ui-frontend 5.0.0-beta-SNAPSHOT            [2/6]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ shardingsphere-ui-frontend ---
[INFO] Deleting D:\git\shardingsphere-ui\shardingsphere-ui-frontend\target
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ shardingsphere-ui-frontend ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ shardingsphere-ui-frontend ---
[INFO] 
[INFO] --- frontend-maven-plugin:1.6:install-node-and-npm (install node and npm) @ shardingsphere-ui-frontend ---
[INFO] Found proxies: [optional{protocol='http', host='127.0.0.1', port=7890}]
[INFO] Node v8.11.1 is already installed.
[INFO] NPM 5.6.0 is already installed.
[INFO]
[INFO] --- frontend-maven-plugin:1.6:npm (npm run rimraf) @ shardingsphere-ui-frontend ---
[INFO] Found proxies: [optional{protocol='http', host='127.0.0.1', port=7890}]
[INFO] Running 'npm run rimraf --https-proxy=http://127.0.0.1:7890 --proxy=http://127.0.0.1:7890' in D:\git\shardingsphere-ui\shardingsphere-ui-frontend
[INFO] 
[INFO] > [email protected] rimraf D:\git\shardingsphere-ui\shardingsphere-ui-frontend
[INFO] > node build/rimraf.js
[INFO]
[INFO] delete node_modules
[INFO] 
[INFO] --- frontend-maven-plugin:1.6:npm (npm install) @ shardingsphere-ui-frontend ---
[INFO] Found proxies: [optional{protocol='http', host='127.0.0.1', port=7890}]
[INFO] Running 'npm install --https-proxy=http://127.0.0.1:7890 --proxy=http://127.0.0.1:7890' in D:\git\shardingsphere-ui\shardingsphere-ui-frontend
[INFO] 
[INFO] > [email protected] install D:\git\shardingsphere-ui\shardingsphere-ui-frontend\node_modules\node-sass
[INFO] > node scripts/install.js
[INFO]
[INFO] Cached binary found at C:\Users\cow04\AppData\Roaming\npm-cache\node-sass\4.14.1\win32-x64-57_binding.node
[INFO] 
[INFO] > [email protected] install D:\git\shardingsphere-ui\shardingsphere-ui-frontend\node_modules\puppeteer
[INFO] > node install.js
[INFO]
[ERROR] 
[INFO] Chromium downloaded to D:\git\shardingsphere-ui\shardingsphere-ui-frontend\node_modules\puppeteer\.local-chromium\win64-686378
[INFO] 
[INFO] > [email protected] postinstall D:\git\shardingsphere-ui\shardingsphere-ui-frontend\node_modules\core-js
[INFO] > node -e "try{require('./postinstall')}catch(e){}"
[INFO]
[INFO] Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
[INFO]
[INFO] The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
[INFO] > https://opencollective.com/core-js 
[INFO] > https://www.patreon.com/zloirock 
[INFO]
[INFO] Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
[INFO]
[INFO]
[INFO] > [email protected] postinstall D:\git\shardingsphere-ui\shardingsphere-ui-frontend\node_modules\ejs
[INFO] > node ./postinstall.js
[INFO]
[INFO] Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)
[INFO]
[INFO] 
[INFO] > [email protected] postinstall D:\git\shardingsphere-ui\shardingsphere-ui-frontend\node_modules\node-sass
[INFO] > node scripts/build.js
[INFO]
[INFO] Binary found at D:\git\shardingsphere-ui\shardingsphere-ui-frontend\node_modules\node-sass\vendor\win32-x64-57\binding.node
[INFO] Testing binary
[INFO] Binary is fine
[WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\watchpack\node_modules\fsevents):
[INFO] added 1664 packages in 65.811s
[WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
[WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
[WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
[ERROR]
[INFO] 
[INFO] --- frontend-maven-plugin:1.6:npm (npm run build) @ shardingsphere-ui-frontend ---
[INFO] Found proxies: [optional{protocol='http', host='127.0.0.1', port=7890}]
[INFO] Running 'npm run build --https-proxy=http://127.0.0.1:7890 --proxy=http://127.0.0.1:7890' in D:\git\shardingsphere-ui\shardingsphere-ui-frontend
[INFO] 
[INFO] > [email protected] build D:\git\shardingsphere-ui\shardingsphere-ui-frontend
[INFO] > node build/build.js
[INFO]
[INFO] Hash: 01fe5a13ed4a1b110e3e
[INFO] Version: webpack 4.46.0
[INFO] Time: 28985ms
[INFO] Built at: 2021-03-19 16:53:41
[INFO]                                               Asset       Size  Chunks                                Chunk Names
[INFO]                                         favicon.png   24.3 KiB          [emitted]
[INFO]                                          index.html  706 bytes          [emitted]
[INFO]                                     static/404.html   1.05 KiB          [emitted]
[INFO]     static/css/default~app.f40b3fed3dc8009e4dc8.css    250 KiB       1  [emitted] [immutable]  [big]  default~app
[INFO] static/css/default~app.f40b3fed3dc8009e4dc8.css.map    405 KiB          [emitted]              [big]
[INFO]     static/css/vendors~app.9b4a6070a208f5b5219e.css   1.89 KiB       3  [emitted] [immutable]         vendors~app
[INFO] static/css/vendors~app.9b4a6070a208f5b5219e.css.map   13.9 KiB          [emitted]
[INFO]                                  static/favicon.png   24.3 KiB          [emitted]
[INFO]             static/fonts/element-icons.535877f.woff   27.5 KiB          [emitted]
[INFO]              static/fonts/element-icons.732389d.ttf   54.6 KiB          [emitted]
[INFO]                           static/img/bg.2411755.png    599 KiB          [emitted]              [big]
[INFO]                   static/img/login-logo.93a3d4a.png   12.7 KiB          [emitted]
[INFO]                         static/img/logo.80b4bf4.png   24.3 KiB          [emitted]
[INFO]                 static/js/0.d27ce9fee503da1c663a.js  129 bytes       0  [emitted] [immutable]         app
[INFO]             static/js/0.d27ce9fee503da1c663a.js.map  112 bytes       0  [emitted] [dev]               app
[INFO]                 static/js/1.c159976b66b49114c31e.js   95.6 KiB       1  [emitted] [immutable]         default~app
[INFO]             static/js/1.c159976b66b49114c31e.js.map    264 KiB       1  [emitted] [dev]               default~app
[INFO]                 static/js/3.58ae813dbfe884bd974e.js   1.33 MiB       3  [emitted] [immutable]  [big]  vendors~app
[INFO]             static/js/3.58ae813dbfe884bd974e.js.map   5.05 MiB       3  [emitted] [dev]               vendors~app
[INFO]          static/js/manifest.18fec55500452990f91e.js   1.51 KiB       2  [emitted] [immutable]         manifest
[INFO]      static/js/manifest.18fec55500452990f91e.js.map   8.09 KiB       2  [emitted] [dev]               manifest
[INFO] Entrypoint app [big] = static/js/manifest.18fec55500452990f91e.js static/js/manifest.18fec55500452990f91e.js.map static/css/vendors~app.9b4a6070a208f5b5219e.css static/js/3.58ae813dbfe884bd974e.js st
atic/js/3.58ae813dbfe884bd974e.js.map static/css/default~app.f40b3fed3dc8009e4dc8.css static/js/1.c159976b66b49114c31e.js static/js/1.c159976b66b49114c31e.js.map static/js/0.d27ce9fee503da1c663a.js static/j
s/0.d27ce9fee503da1c663a.js.map
[INFO]
[INFO] WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
[INFO] This can impact web performance.
[INFO] Assets:
[INFO]   static/img/bg.2411755.png (599 KiB)
[INFO]   static/css/default~app.f40b3fed3dc8009e4dc8.css (250 KiB)
[INFO]   static/js/3.58ae813dbfe884bd974e.js (1.33 MiB)
[INFO]   static/css/default~app.f40b3fed3dc8009e4dc8.css.map (405 KiB)
[INFO]
[INFO] WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
[INFO] Entrypoints:
[INFO]   app (1.67 MiB)
[INFO]       static/js/manifest.18fec55500452990f91e.js
[INFO]       static/css/vendors~app.9b4a6070a208f5b5219e.css
[INFO]       static/js/3.58ae813dbfe884bd974e.js
[INFO]       static/css/default~app.f40b3fed3dc8009e4dc8.css
[INFO]       static/js/1.c159976b66b49114c31e.js
[INFO]       static/js/0.d27ce9fee503da1c663a.js
[INFO]
[INFO]
[INFO] WARNING in webpack performance recommendations: 
[INFO] You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
[INFO] For more info visit https://webpack.js.org/guides/code-splitting/
[INFO]
[INFO]   Build complete.
[INFO]
[INFO]   Tip: built files are meant to be served over an HTTP server.
[INFO]   Opening index.html over file:// won't work.
[INFO]
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ shardingsphere-ui-frontend ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\git\shardingsphere-ui\shardingsphere-ui-frontend\src\main\resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ shardingsphere-ui-frontend ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ shardingsphere-ui-frontend ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\git\shardingsphere-ui\shardingsphere-ui-frontend\src\test\resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ shardingsphere-ui-frontend ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ shardingsphere-ui-frontend ---
[INFO] 
[INFO] --- frontend-maven-plugin:1.6:npm (npm run unit) @ shardingsphere-ui-frontend ---
[INFO] Found proxies: [optional{protocol='http', host='127.0.0.1', port=7890}]
[INFO] Running 'npm run unit --https-proxy=http://127.0.0.1:7890 --proxy=http://127.0.0.1:7890' in D:\git\shardingsphere-ui\shardingsphere-ui-frontend
[INFO] 
[INFO] > [email protected] unit D:\git\shardingsphere-ui\shardingsphere-ui-frontend
[INFO] > cross-env BABEL_ENV=test karma start test/karma.conf.js --single-run
[INFO]
[INFO] i 锝dm锝?: Hash: 3879665b411e2fff46cc
[INFO] Version: webpack 4.46.0
[INFO] Time: 57ms
[INFO] Built at: 2021-03-19 16:53:45
[INFO] i 锝dm锝?: Compiled successfully.
[INFO] i 锝dm锝?: Compiling...
[ERROR] 鈥? 锝dm锝?: Hash: 366d67f6b50f0127cb05
[ERROR] Version: webpack 4.46.0
[ERROR] Time: 8668ms
[ERROR] Built at: 2021-03-19 16:53:58
[ERROR]                                                                Asset       Size  Chunks                                Chunk Names
[ERROR]                                   specs\components\Container.spec.js   1.31 MiB       1  [emitted]              [big]  specs\components\Container.spec
[ERROR]                                      specs\components\Footer.spec.js   1.24 MiB       2  [emitted]              [big]  specs\components\Footer.spec
[ERROR]                                        specs\components\Head.spec.js   1.38 MiB       3  [emitted]              [big]  specs\components\Head.spec
[ERROR]                                        specs\components\Logo.spec.js   1.25 MiB       0  [emitted]              [big]  specs\components\Logo.spec
[ERROR]                                        specs\components\Menu.spec.js   4.87 MiB       4  [emitted]              [big]  specs\components\Menu.spec
[ERROR]                                            specs\views\login.spec.js   4.84 MiB       5  [emitted]              [big]  specs\views\login.spec
[ERROR]                                  specs\views\registry-center.spec.js   4.84 MiB       6  [emitted]              [big]  specs\views\registry-center.spec
[ERROR]                                      specs\views\rule-config.spec.js   4.84 MiB       7  [emitted]              [big]  specs\views\rule-config.spec
[ERROR]                                   specs\views\runtime-status.spec.js   4.84 MiB       8  [emitted]              [big]  specs\views\runtime-status.spec
[ERROR]  static/css/specs\components\Container.spec.319260996349cdc7c835.css   7.25 KiB       1  [emitted] [immutable]         specs\components\Container.spec
[ERROR]     static/css/specs\components\Footer.spec.ccabb7f0e806774c0640.css  110 bytes       2  [emitted] [immutable]         specs\components\Footer.spec
[ERROR]       static/css/specs\components\Head.spec.c5fbbf2e0c66c71a4baa.css   4.28 KiB       3  [emitted] [immutable]         specs\components\Head.spec
[ERROR]       static/css/specs\components\Logo.spec.ba28f582d2b61b7d0292.css  568 bytes       0  [emitted] [immutable]         specs\components\Logo.spec
[ERROR]       static/css/specs\components\Menu.spec.d42fa402413377d92d6f.css   17.1 KiB       4  [emitted] [immutable]         specs\components\Menu.spec
[ERROR]           static/css/specs\views\login.spec.42b1935b10c6f98c7215.css   14.2 KiB       5  [emitted] [immutable]         specs\views\login.spec
[ERROR] static/css/specs\views\registry-center.spec.571f7cef217a7019eb1b.css   14.2 KiB       6  [emitted] [immutable]         specs\views\registry-center.spec
[ERROR]     static/css/specs\views\rule-config.spec.d4e07ebd44712a01a8dc.css   14.2 KiB       7  [emitted] [immutable]         specs\views\rule-config.spec
[ERROR]  static/css/specs\views\runtime-status.spec.0717b5226fc25012d2b2.css   14.2 KiB       8  [emitted] [immutable]         specs\views\runtime-status.spec
[ERROR]                                            static/img/bg.2411755.png    599 KiB          [emitted]              [big]
[ERROR]                                    static/img/login-logo.93a3d4a.png   12.7 KiB          [emitted]
[ERROR]                                          static/img/logo.80b4bf4.png   24.3 KiB          [emitted]
[ERROR] Entrypoint specs\components\Logo.spec [big] = static/css/specs\components\Logo.spec.ba28f582d2b61b7d0292.css specs\components\Logo.spec.js
[ERROR] Entrypoint specs\components\Container.spec [big] = static/css/specs\components\Container.spec.319260996349cdc7c835.css specs\components\Container.spec.js
[ERROR] Entrypoint specs\views\login.spec [big] = static/css/specs\views\login.spec.42b1935b10c6f98c7215.css specs\views\login.spec.js
[ERROR] Entrypoint specs\components\Head.spec [big] = static/css/specs\components\Head.spec.c5fbbf2e0c66c71a4baa.css specs\components\Head.spec.js
[ERROR] Entrypoint specs\components\Menu.spec [big] = static/css/specs\components\Menu.spec.d42fa402413377d92d6f.css specs\components\Menu.spec.js
[ERROR] Entrypoint specs\components\Footer.spec [big] = static/css/specs\components\Footer.spec.ccabb7f0e806774c0640.css specs\components\Footer.spec.js
[ERROR] Entrypoint specs\views\registry-center.spec [big] = static/css/specs\views\registry-center.spec.571f7cef217a7019eb1b.css specs\views\registry-center.spec.js
[ERROR] Entrypoint specs\views\rule-config.spec [big] = static/css/specs\views\rule-config.spec.d4e07ebd44712a01a8dc.css specs\views\rule-config.spec.js
[ERROR] Entrypoint specs\views\runtime-status.spec [big] = static/css/specs\views\runtime-status.spec.0717b5226fc25012d2b2.css specs\views\runtime-status.spec.js
[ERROR]  [23] ./test/specs/components/Logo.spec.js 1.28 KiB {0} [built]
[ERROR]  [24] ./node_modules/@babel/runtime/helpers/interopRequireDefault.js 225 bytes {0} {1} {2} {3} {4} {5} {6} {7} {8} [built]
[ERROR]  [25] ./node_modules/chai/index.js 40 bytes {0} {1} {2} {3} {4} {5} {6} {7} {8} [built]
[ERROR]  [49] ./node_modules/@vue/test-utils/dist/vue-test-utils.js 403 KiB {0} {1} {2} {3} {4} {5} {6} {7} {8} [built]
[ERROR]  [53] ./src/components/Logo/index.vue 1.16 KiB {0} {1} {4} [built]
[ERROR] [133] ./node_modules/vuex/dist/vuex.esm.js 36.4 KiB {3} {4} {5} {6} {7} {8} [built]
[ERROR] [373] ./src/components/Footer/index.vue 1.23 KiB {1} {2} {4} {5} {6} {7} {8} [built]
[ERROR] [603] ./test/specs/components/Container.spec.js 1.74 KiB {1} [built]
[ERROR] [606] ./test/specs/views/login.spec.js 2.28 KiB {5} [built]
[ERROR] [607] ./test/specs/components/Head.spec.js 2.79 KiB {3} [built]
[ERROR] [608] ./test/specs/components/Menu.spec.js 2.66 KiB {4} [built]
[ERROR] [609] ./test/specs/components/Footer.spec.js 1.3 KiB {2} [built]
[ERROR] [610] ./test/specs/views/registry-center.spec.js 2.7 KiB {6} [built]
[ERROR] [611] ./test/specs/views/rule-config.spec.js 3.09 KiB {7} [built]
[ERROR] [612] ./test/specs/views/runtime-status.spec.js 2.71 KiB {8} [built]
[ERROR]     + 613 hidden modules
[ERROR]
[ERROR] WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
[ERROR] This can impact web performance.
[ERROR] Assets:
[ERROR]   static/img/bg.2411755.png (599 KiB)
[ERROR]   specs\components\Logo.spec.js (1.25 MiB)
[ERROR]   specs\components\Container.spec.js (1.31 MiB)
[ERROR]   specs\components\Footer.spec.js (1.24 MiB)
[ERROR]   specs\components\Head.spec.js (1.38 MiB)
[ERROR]   specs\components\Menu.spec.js (4.87 MiB)
[ERROR]   specs\views\login.spec.js (4.84 MiB)
[ERROR]   specs\views\registry-center.spec.js (4.84 MiB)
[ERROR]   specs\views\rule-config.spec.js (4.84 MiB)
[ERROR]   specs\views\runtime-status.spec.js (4.84 MiB)
[ERROR]
[ERROR] WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
[ERROR] Entrypoints:
[ERROR]   specs\components\Logo.spec (1.25 MiB)
[ERROR]       static/css/specs\components\Logo.spec.ba28f582d2b61b7d0292.css
[ERROR]       specs\components\Logo.spec.js
[ERROR]   specs\components\Container.spec (1.31 MiB)
[ERROR]       static/css/specs\components\Container.spec.319260996349cdc7c835.css
[ERROR]       specs\components\Container.spec.js
[ERROR]   specs\views\login.spec (4.85 MiB)
[ERROR]       static/css/specs\views\login.spec.42b1935b10c6f98c7215.css
[ERROR]       specs\views\login.spec.js
[ERROR]   specs\components\Head.spec (1.38 MiB)
[ERROR]       static/css/specs\components\Head.spec.c5fbbf2e0c66c71a4baa.css
[ERROR]       specs\components\Head.spec.js
[ERROR]   specs\components\Menu.spec (4.89 MiB)
[ERROR]       static/css/specs\components\Menu.spec.d42fa402413377d92d6f.css
[ERROR]       specs\components\Menu.spec.js
[ERROR]   specs\components\Footer.spec (1.24 MiB)
[ERROR]       static/css/specs\components\Footer.spec.ccabb7f0e806774c0640.css
[ERROR]       specs\components\Footer.spec.js
[ERROR]   specs\views\registry-center.spec (4.85 MiB)
[ERROR]       static/css/specs\views\registry-center.spec.571f7cef217a7019eb1b.css
[ERROR]       specs\views\registry-center.spec.js
[ERROR]   specs\views\rule-config.spec (4.85 MiB)
[ERROR]       static/css/specs\views\rule-config.spec.d4e07ebd44712a01a8dc.css
[ERROR]       specs\views\rule-config.spec.js
[ERROR]   specs\views\runtime-status.spec (4.85 MiB)
[ERROR]       static/css/specs\views\runtime-status.spec.0717b5226fc25012d2b2.css
[ERROR]       specs\views\runtime-status.spec.js
[ERROR]
[ERROR]
[ERROR] WARNING in webpack performance recommendations: 
[ERROR] You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
[ERROR] For more info visit https://webpack.js.org/guides/code-splitting/
[ERROR] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--8-1!node_modules/vue-loader/lib/loaders/stylePostLoader.js!node_modules/postcss-loader/lib/index.js??ref--8-2!node_modules/sas
s-loader/dist/cjs.js??ref--8-3!node_modules/vue-loader/lib/index.js??vue-loader-options!src/components/Container/index.vue?vue&type=style&index=0&id=72b44478&lang=scss&scoped=true&:
[ERROR]     Entrypoint mini-css-extract-plugin = *
[ERROR]     [0] ./node_modules/css-loader/dist/cjs.js??ref--8-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/lib??ref--8-2!./node_modules/sass-loader/dist/cjs.js??r
ef--8-3!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Container/index.vue?vue&type=style&index=0&id=72b44478&lang=scss&scoped=true& 690 bytes {0} [built]
[ERROR]     [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
[ERROR] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--8-1!node_modules/vue-loader/lib/loaders/stylePostLoader.js!node_modules/postcss-loader/lib/index.js??ref--8-2!node_modules/sas
s-loader/dist/cjs.js??ref--8-3!node_modules/vue-loader/lib/index.js??vue-loader-options!src/components/Footer/index.vue?vue&type=style&index=0&id=30c2788e&rel=stylesheet%2Fscss&lang=scss&scoped=true&:      
[ERROR]     Entrypoint mini-css-extract-plugin = *
[ERROR]     [0] ./node_modules/css-loader/dist/cjs.js??ref--8-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/lib??ref--8-2!./node_modules/sass-loader/dist/cjs.js??r
ef--8-3!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Footer/index.vue?vue&type=style&index=0&id=30c2788e&rel=stylesheet%2Fscss&lang=scss&scoped=true& 909 bytes {0} [built]
[ERROR]     [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
[ERROR] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--8-1!node_modules/vue-loader/lib/loaders/stylePostLoader.js!node_modules/postcss-loader/lib/index.js??ref--8-2!node_modules/sas
s-loader/dist/cjs.js??ref--8-3!node_modules/vue-loader/lib/index.js??vue-loader-options!src/components/Head/index.vue?vue&type=style&index=0&id=4df64493&lang=scss&scoped=true&:
[ERROR]     Entrypoint mini-css-extract-plugin = *
[ERROR]     [0] ./node_modules/css-loader/dist/cjs.js??ref--8-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/lib??ref--8-2!./node_modules/sass-loader/dist/cjs.js??r
ef--8-3!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Head/index.vue?vue&type=style&index=0&id=4df64493&lang=scss&scoped=true& 3.96 KiB {0} [built]
[ERROR]     [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
[ERROR]     [2] ./node_modules/css-loader/dist/runtime/url-escape.js 460 bytes {0} [built]
[ERROR]     [3] ./src/assets/img/shrink.png 1.57 KiB {0} [built]
[ERROR]     [4] ./src/assets/img/expand.png 1.57 KiB {0} [built]
[ERROR] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--8-1!node_modules/vue-loader/lib/loaders/stylePostLoader.js!node_modules/postcss-loader/lib/index.js??ref--8-2!node_modules/sas
s-loader/dist/cjs.js??ref--8-3!node_modules/vue-loader/lib/index.js??vue-loader-options!src/components/Logo/index.vue?vue&type=style&index=0&lang=scss&:
[ERROR]     Entrypoint mini-css-extract-plugin = *
[ERROR]     [0] ./node_modules/css-loader/dist/cjs.js??ref--8-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/lib??ref--8-2!./node_modules/sass-loader/dist/cjs.js??r
ef--8-3!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Logo/index.vue?vue&type=style&index=0&lang=scss& 1.86 KiB {0} [built]
[ERROR]     [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
[ERROR] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--8-1!node_modules/vue-loader/lib/loaders/stylePostLoader.js!node_modules/postcss-loader/lib/index.js??ref--8-2!node_modules/sas
s-loader/dist/cjs.js??ref--8-3!node_modules/vue-loader/lib/index.js??vue-loader-options!src/components/Menu/index.vue?vue&type=style&index=0&lang=scss&:
[ERROR]     Entrypoint mini-css-extract-plugin = *
[ERROR]     [0] ./node_modules/css-loader/dist/cjs.js??ref--8-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/lib??ref--8-2!./node_modules/sass-loader/dist/cjs.js??r
ef--8-3!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Menu/index.vue?vue&type=style&index=0&lang=scss& 2.77 KiB {0} [built]
[ERROR]     [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
[ERROR]     [2] ./node_modules/css-loader/dist/runtime/url-escape.js 460 bytes {0} [built]
[ERROR]     [3] ./src/assets/img/sidebar-icon.png 1.6 KiB {0} [built]
[ERROR] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--8-1!node_modules/vue-loader/lib/loaders/stylePostLoader.js!node_modules/postcss-loader/lib/index.js??ref--8-2!node_modules/sas
s-loader/dist/cjs.js??ref--8-3!node_modules/vue-loader/lib/index.js??vue-loader-options!src/views/data-scaling/module/index.vue?vue&type=style&index=0&lang=scss&:
[ERROR]     Entrypoint mini-css-extract-plugin = *
[ERROR]     [0] ./node_modules/css-loader/dist/cjs.js??ref--8-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/lib??ref--8-2!./node_modules/sass-loader/dist/cjs.js??r
ef--8-3!./node_modules/vue-loader/lib??vue-loader-options!./src/views/data-scaling/module/index.vue?vue&type=style&index=0&lang=scss& 3.73 KiB {0} [built]
[ERROR]     [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
[ERROR] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--8-1!node_modules/vue-loader/lib/loaders/stylePostLoader.js!node_modules/postcss-loader/lib/index.js??ref--8-2!node_modules/sas
s-loader/dist/cjs.js??ref--8-3!node_modules/vue-loader/lib/index.js??vue-loader-options!src/views/login/index.vue?vue&type=style&index=0&rel=stylesheet%2Fscss&lang=scss&:
[ERROR]     Entrypoint mini-css-extract-plugin = *
[ERROR]     [0] ./node_modules/css-loader/dist/cjs.js??ref--8-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/lib??ref--8-2!./node_modules/sass-loader/dist/cjs.js??r
ef--8-3!./node_modules/vue-loader/lib??vue-loader-options!./src/views/login/index.vue?vue&type=style&index=0&rel=stylesheet%2Fscss&lang=scss& 3.31 KiB {0} [built]
[ERROR]     [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
[ERROR]     [2] ./node_modules/css-loader/dist/runtime/url-escape.js 460 bytes {0} [built]
[ERROR]     [3] ./src/assets/img/user.png 1.84 KiB {0} [built]
[ERROR]     [4] ./src/assets/img/password.png 1.86 KiB {0} [built]
[ERROR] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--8-1!node_modules/vue-loader/lib/loaders/stylePostLoader.js!node_modules/postcss-loader/lib/index.js??ref--8-2!node_modules/sas
s-loader/dist/cjs.js??ref--8-3!node_modules/vue-loader/lib/index.js??vue-loader-options!src/views/login/index.vue?vue&type=style&index=1&id=37dfd6fc&rel=stylesheet%2Fscss&lang=scss&scoped=true&:
[ERROR]     Entrypoint mini-css-extract-plugin = *
[ERROR]     [0] ./node_modules/css-loader/dist/cjs.js??ref--8-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/lib??ref--8-2!./node_modules/sass-loader/dist/cjs.js??r
ef--8-3!./node_modules/vue-loader/lib??vue-loader-options!./src/views/login/index.vue?vue&type=style&index=1&id=37dfd6fc&rel=stylesheet%2Fscss&lang=scss&scoped=true& 2.9 KiB {0} [built]
[ERROR]     [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
[ERROR]     [2] ./node_modules/css-loader/dist/runtime/url-escape.js 460 bytes {0} [built]
[ERROR]     [3] ./src/assets/img/bg.png 71 bytes {0} [built]
[ERROR]     [4] ./src/assets/img/login-logo.png 79 bytes {0} [built]
[ERROR] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--8-1!node_modules/vue-loader/lib/loaders/stylePostLoader.js!node_modules/postcss-loader/lib/index.js??ref--8-2!node_modules/sas
s-loader/dist/cjs.js??ref--8-3!node_modules/vue-loader/lib/index.js??vue-loader-options!src/views/registry-center/module/registryCenter.vue?vue&type=style&index=0&id=24319f21&lang=scss&scoped=true&:        
[ERROR]     Entrypoint mini-css-extract-plugin = *
[ERROR]     [0] ./node_modules/css-loader/dist/cjs.js??ref--8-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/lib??ref--8-2!./node_modules/sass-loader/dist/cjs.js??r
ef--8-3!./node_modules/vue-loader/lib??vue-loader-options!./src/views/registry-center/module/registryCenter.vue?vue&type=style&index=0&id=24319f21&lang=scss&scoped=true& 1.5 KiB {0} [built]
[ERROR]     [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
[ERROR] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--8-1!node_modules/vue-loader/lib/loaders/stylePostLoader.js!node_modules/postcss-loader/lib/index.js??ref--8-2!node_modules/sas
s-loader/dist/cjs.js??ref--8-3!node_modules/vue-loader/lib/index.js??vue-loader-options!src/views/rule-config/index.vue?vue&type=style&index=0&id=89d46568&lang=scss&scoped=true&:
[ERROR]     Entrypoint mini-css-extract-plugin = *
[ERROR]     [0] ./node_modules/css-loader/dist/cjs.js??ref--8-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/lib??ref--8-2!./node_modules/sass-loader/dist/cjs.js??r
ef--8-3!./node_modules/vue-loader/lib??vue-loader-options!./src/views/rule-config/index.vue?vue&type=style&index=0&id=89d46568&lang=scss&scoped=true& 683 bytes {0} [built]
[ERROR]     [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
[ERROR] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--8-1!node_modules/vue-loader/lib/loaders/stylePostLoader.js!node_modules/postcss-loader/lib/index.js??ref--8-2!node_modules/sas
s-loader/dist/cjs.js??ref--8-3!node_modules/vue-loader/lib/index.js??vue-loader-options!src/views/rule-config/module/authentication.vue?vue&type=style&index=0&lang=scss&:
[ERROR]     Entrypoint mini-css-extract-plugin = *
[ERROR]     [0] ./node_modules/css-loader/dist/cjs.js??ref--8-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/lib??ref--8-2!./node_modules/sass-loader/dist/cjs.js??r
ef--8-3!./node_modules/vue-loader/lib??vue-loader-options!./src/views/rule-config/module/authentication.vue?vue&type=style&index=0&lang=scss& 1.34 KiB {0} [built]
[ERROR]     [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
[ERROR] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--8-1!node_modules/vue-loader/lib/loaders/stylePostLoader.js!node_modules/postcss-loader/lib/index.js??ref--8-2!node_modules/sas
s-loader/dist/cjs.js??ref--8-3!node_modules/vue-loader/lib/index.js??vue-loader-options!src/views/rule-config/module/props.vue?vue&type=style&index=0&lang=scss&:
[INFO] i 锝dm锝?: Compiled with warnings.
[ERROR]     Entrypoint mini-css-extract-plugin = *
[ERROR]     [0] ./node_modules/css-loader/dist/cjs.js??ref--8-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/lib??ref--8-2!./node_modules/sass-loader/dist/cjs.js??r
ef--8-3!./node_modules/vue-loader/lib??vue-loader-options!./src/views/rule-config/module/props.vue?vue&type=style&index=0&lang=scss& 1.26 KiB {0} [built]
[ERROR]     [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
[ERROR] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--8-1!node_modules/vue-loader/lib/loaders/stylePostLoader.js!node_modules/postcss-loader/lib/index.js??ref--8-2!node_modules/sas
s-loader/dist/cjs.js??ref--8-3!node_modules/vue-loader/lib/index.js??vue-loader-options!src/views/rule-config/module/schema.vue?vue&type=style&index=0&lang=scss&:
[ERROR]     Entrypoint mini-css-extract-plugin = *
[ERROR]     [0] ./node_modules/css-loader/dist/cjs.js??ref--8-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/lib??ref--8-2!./node_modules/sass-loader/dist/cjs.js??r
ef--8-3!./node_modules/vue-loader/lib??vue-loader-options!./src/views/rule-config/module/schema.vue?vue&type=style&index=0&lang=scss& 4.94 KiB {0} [built]
[ERROR]     [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
[ERROR]     [2] ./node_modules/css-loader/dist/runtime/url-escape.js 460 bytes {0} [built]
[ERROR]     [3] ./src/assets/img/rules.png 1.56 KiB {0} [built]
[ERROR]     [4] ./src/assets/img/data-source.png 1.71 KiB {0} [built]
[ERROR]     [5] ./src/assets/img/meta-data.png 1.56 KiB {0} [built]
[ERROR]     [6] ./src/assets/img/edit.png 1.55 KiB {0} [built]
[ERROR] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--8-1!node_modules/vue-loader/lib/loaders/stylePostLoader.js!node_modules/postcss-loader/lib/index.js??ref--8-2!node_modules/sas
s-loader/dist/cjs.js??ref--8-3!node_modules/vue-loader/lib/index.js??vue-loader-options!src/views/runtime-status/module/dataSource.vue?vue&type=style&index=0&id=44c4290c&lang=scss&scoped=true&:
[ERROR]     Entrypoint mini-css-extract-plugin = *
[ERROR]     [0] ./node_modules/css-loader/dist/cjs.js??ref--8-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/lib??ref--8-2!./node_modules/sass-loader/dist/cjs.js??r
ef--8-3!./node_modules/vue-loader/lib??vue-loader-options!./src/views/runtime-status/module/dataSource.vue?vue&type=style&index=0&id=44c4290c&lang=scss&scoped=true& 970 bytes {0} [built]
[ERROR]     [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
[ERROR] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--8-1!node_modules/vue-loader/lib/loaders/stylePostLoader.js!node_modules/postcss-loader/lib/index.js??ref--8-2!node_modules/sas
s-loader/dist/cjs.js??ref--8-3!node_modules/vue-loader/lib/index.js??vue-loader-options!src/views/runtime-status/module/instance.vue?vue&type=style&index=0&id=032826ea&lang=scss&scoped=true&:
[ERROR]     Entrypoint mini-css-extract-plugin = *
[ERROR]     [0] ./node_modules/css-loader/dist/cjs.js??ref--8-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/lib??ref--8-2!./node_modules/sass-loader/dist/cjs.js??r
ef--8-3!./node_modules/vue-loader/lib??vue-loader-options!./src/views/runtime-status/module/instance.vue?vue&type=style&index=0&id=032826ea&lang=scss&scoped=true& 958 bytes {0} [built]
[ERROR]     [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
[INFO] 19 03 2021 16:53:59.488:INFO [karma-server]: Karma v3.1.4 server started at http://0.0.0.0:9876/
[INFO] 19 03 2021 16:53:59.490:INFO [launcher]: Launching browsers ChromeHeadless with concurrency unlimited
[INFO] 19 03 2021 16:53:59.564:INFO [launcher]: Starting browser ChromeHeadless
[INFO] 19 03 2021 16:54:00.832:INFO [HeadlessChrome 78.0.3882 (Windows 10.0.0)]: Connected on socket peJqtkfz7KXFDYXbAAAA with id 30672425
[INFO] ERROR LOG: '[vue-test-utils]: isVueInstance is deprecated and will be removed in the next major version.'
[INFO] 
[INFO]   Container/index.vue
[INFO]     鈭? Container Does the component exist锛?
[INFO]     鈭? setData()
[INFO]     鈭? onTogger()
[INFO]
[INFO]   Footer/index.vue
[INFO]     鈭? Footer Does the component exist锛?
[INFO] ERROR LOG: '[vue-test-utils]: isVueInstance is deprecated and will be removed in the next major version.'
[INFO]
[INFO]   Head/index.vue
[INFO]     鈭? Head Does the component exist锛?
[INFO]     鈭? setData()
[INFO]     鈭? togger()
[INFO] ERROR LOG: '[vue-test-utils]: isVueInstance is deprecated and will be removed in the next major version.'
[INFO]
[INFO]   Logo/index.vue
[INFO]     鈭? Logo Does the component exist锛?
[INFO] ERROR LOG: '[vue-test-utils]: isVueInstance is deprecated and will be removed in the next major version.'
[INFO]
[INFO]   Menu/index.vue
[INFO]     鈭? Menu Does the component exist锛?
[INFO] 19 03 2021 16:54:02.123:WARN [web-server]: 404: /api/reg-center
[INFO] 19 03 2021 16:54:02.124:WARN [web-server]: 404: /api/reg-center/activated
[INFO] 19 03 2021 16:54:02.126:WARN [web-server]: 404: /api/reg-center
[INFO] 19 03 2021 16:54:02.126:WARN [web-server]: 404: /api/reg-center/activated
[INFO] 19 03 2021 16:54:02.135:WARN [web-server]: 404: /api/authentication
[INFO] 19 03 2021 16:54:02.135:WARN [web-server]: 404: /api/schema
[INFO] 19 03 2021 16:54:02.136:WARN [web-server]: 404: /api/props
[INFO] 19 03 2021 16:54:02.139:WARN [web-server]: 404: /api/governance/datasource
[INFO] 19 03 2021 16:54:02.140:WARN [web-server]: 404: /api/governance/instance
[INFO]     脳 setData()
[INFO]  AssertionError: expected false to equal true
[INFO]      at Context.eval (webpack:///./test/specs/components/Menu.spec.js?:79:49)
[INFO]
[INFO] ERROR LOG: '[vue-test-utils]: isVueInstance is deprecated and will be removed in the next major version.'
[INFO]
[INFO]   Login/index.vue
[INFO]     鈭? Login Does the pages exist锛?
[INFO] ERROR LOG: '[vue-test-utils]: isVueInstance is deprecated and will be removed in the next major version.'
[INFO]
[INFO]   registry-center/registryCenter.vue
[INFO]     鈭? registryCenter Does the pages exist锛?
[INFO]     鈭? add()
[INFO] ERROR LOG: '[vue-test-utils]: isVueInstance is deprecated and will be removed in the next major version.'
[INFO]
[INFO]   rule-config
[INFO]     鈭? authentication Does the pages exist锛?
[INFO] ERROR LOG: '[vue-test-utils]: isVueInstance is deprecated and will be removed in the next major version.'
[INFO]     鈭? schema Does the pages exist锛?
[INFO] ERROR LOG: '[vue-test-utils]: isVueInstance is deprecated and will be removed in the next major version.'
[INFO]     鈭? props Does the pages exist锛?
[INFO] ERROR LOG: '[vue-test-utils]: isVueInstance is deprecated and will be removed in the next major version.'
[INFO]
[INFO]   runtime-status
[INFO]     鈭? dataSource Does the pages exist锛?
[INFO] ERROR LOG: '[vue-test-utils]: isVueInstance is deprecated and will be removed in the next major version.'
[INFO]     鈭? instance Does the pages exist锛?
[INFO]
[INFO] HeadlessChrome 78.0.3882 (Windows 10.0.0): Executed 18 of 18 (1 FAILED) (0.331 secs / 0.159 secs)
[INFO] TOTAL: 1 FAILED, 17 SUCCESS
[INFO]
[INFO]
[INFO]      Menu/index.vue
[INFO]      AssertionError: expected false to equal true
[INFO]     at Context.eval (webpack:///./test/specs/components/Menu.spec.js?:79:49)
[INFO]
[INFO]
[INFO]
[INFO] =============================== Coverage summary ===============================
[INFO] Statements   : 24.57% ( 72/293 )
[INFO] Branches     : 21.98% ( 20/91 )
[INFO] Functions    : 30.82% ( 45/146 )
[INFO] Lines        : 24.74% ( 71/287 )
[INFO] ================================================================================
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! errno 1
[ERROR] npm ERR! [email protected] unit: `cross-env BABEL_ENV=test karma start test/karma.conf.js --single-run`
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the [email protected] unit script.
[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[ERROR]
[ERROR] npm ERR! A complete log of this run can be found in:
[ERROR] npm ERR!     C:\Users\cow04\AppData\Roaming\npm-cache\_logs\2021-03-19T08_54_09_809Z-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for shardingsphere-ui 5.0.0-beta-SNAPSHOT:
[INFO]
[INFO] shardingsphere-ui .................................. SUCCESS [  3.883 s]
[INFO] shardingsphere-ui-frontend ......................... FAILURE [02:13 min]
[INFO] shardingsphere-ui-backend .......................... SKIPPED
[INFO] shardingsphere-ui-distribution ..................... SKIPPED
[INFO] shardingsphere-ui-src-distribution ................. SKIPPED
[INFO] shardingsphere-ui-bin-distribution ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:17 min
[INFO] Finished at: 2021-03-19T16:54:09+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:npm (npm run unit) on project shardingsphere-ui-frontend: Failed to run task: 'npm run unit --https-proxy=http://127.0.0.1:7890 -
-proxy=http://127.0.0.1:7890' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :shardingsphere-ui-frontend

Merge OpenShardingUI features

OpenShardingUI is a simple and useful web administration console for ShardingSphere. It provides ability of registry center management, dynamic configuration management, database orchestration, etc.It is designed to help users more easily use ShardingSphere. So we want to merge it into ShardingSphere。We have completed the following work:

  • Check OpenShardingUI License.
  • Add sharding-ui module for code.
  • Add sharding-ui-distribution module for release,including Scripts, License, Notice, etc.

sharding-ui service cannot find custom algorithm class

Bug Report

sharding version: 4.0.1(all of version)
A business project define a custom distribution algorithm cannot modify config in sharding-ui, which print an exception 'java.lang.IllegalArgumentException: rule configuration is invalid'.
I find an issue that cannot find custom distribution algorithm which I made in my business project while debuging.

image

安全漏洞提报相关问题咨询

你好,两个月前我曾经给shardingsphere-ui上报了两个严重安全漏洞,也留过相关issue。我目前比较关注当前该漏洞的修复情况,请问开发团队能给一个回复吗?

如果不方便在issue处讨论,我的微信号是sjc394891083。

Improving sharding-ui-frontend details modification

Tasks to be completed:

  • Gitkeep deleted
  • Test coverage was not performed
  • iconfont. EOT font file needs to be processed
  • Elementui license problem, cannot modify the source license
  • Ensure that there is no Chinese in the English interface.
  • Logo. spec. JS Picture Path does not exist
  • Files in the root directory should be moved to the appropriate places as far as possible.
  • Support gzip

When will the shardingsphere-ui-5.0.0-beta be released?

Hi develop team,

When I testing sharingshphere-scaling-5.0.0-beta, I saw you team refactor the JobConfiguration class, but not matched the code in shardingshpere-ui-5.0.0-alpha, that caused I can't use the web project to create scaling jobs.
So, I want to ask do you have any plans for release 5.0.0-beta? Or can I use any development branch code to fix it?

BTW, there are some issue code shown as below.

image

Looking forward to your reply.

Thanks.

UI model bug report

checkout from new version of master branch !

1 eslint error cant start project

image

2 chinese

english menu has Data move bug chinese no

image

  • I fix it :

image

User UI interaction without login for a long time

Bug Report

Steps to reproduce the behavior:

If you don't log in, go directly to the menu page, click on all kinds of connections and there is no response. You will only swipe to the first menu, and you will not jump to the login page directly, and the user name will be displayed in the upper right corner

Is this UI module available ?

Question

For English only, other languages will not accept.

Before asking a question, make sure you have:

Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot reproduce it on current information, we will close it.

I tried to start the project,How to use it ?

image

image

But I don't know what I'm supposed to fill in, The documentation is not clear , right

Is need me copy the yml configuration above java project into here ?

I want to try to start it to understand its process, increase the relevant configuration about consul

but now , i can't know how to add schem and orther setting

build failed use command :mvn clean package -Prelease -X

log info:
[DEBUG] =======================================================================
[DEBUG] Could not find metadata org.apache.shardingsphere:shardingsphere-governance-repository-zookeeper-curator:5.0.0-RC1-SNAPSHOT/maven-metadata.xml in local (/root/.m2/repository)
[DEBUG] Failure to find org.apache.shardingsphere:shardingsphere-governance-repository-zookeeper-curator:5.0.0-RC1-SNAPSHOT/maven-metadata.xml in https://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced
[DEBUG] Could not find metadata org.apache.shardingsphere:shardingsphere-governance-repository-zookeeper-curator:5.0.0-RC1-SNAPSHOT/maven-metadata.xml in local (/root/.m2/repository)
[DEBUG] Failure to find org.apache.shardingsphere:shardingsphere-governance-repository-zookeeper-curator:5.0.0-RC1-SNAPSHOT/maven-metadata.xml in https://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced
[WARNING] The POM for org.apache.shardingsphere:shardingsphere-governance-repository-zookeeper-curator:jar:5.0.0-RC1-SNAPSHOT is missing, no dependency information available
[DEBUG] Could not find metadata org.apache.shardingsphere:shardingsphere-governance-repository-etcd:5.0.0-RC1-SNAPSHOT/maven-metadata.xml in local (/root/.m2/repository)
[DEBUG] Failure to find org.apache.shardingsphere:shardingsphere-governance-repository-etcd:5.0.0-RC1-SNAPSHOT/maven-metadata.xml in https://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced
[DEBUG] Could not find metadata org.apache.shardingsphere:shardingsphere-governance-repository-etcd:5.0.0-RC1-SNAPSHOT/maven-metadata.xml in local (/root/.m2/repository)
[DEBUG] Failure to find org.apache.shardingsphere:shardingsphere-governance-repository-etcd:5.0.0-RC1-SNAPSHOT/maven-metadata.xml in https://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced
[WARNING] The POM for org.apache.shardingsphere:shardingsphere-governance-repository-etcd:jar:5.0.0-RC1-SNAPSHOT is missing, no dependency information available
[DEBUG] Could not find metadata org.apache.shardingsphere:shardingsphere-governance-core-config:5.0.0-RC1-SNAPSHOT/maven-metadata.xml in local (/root/.m2/repository)
[DEBUG] Failure to find org.apache.shardingsphere:shardingsphere-governance-core-config:5.0.0-RC1-SNAPSHOT/maven-metadata.xml in https://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced
[DEBUG] Could not find metadata org.apache.shardingsphere:shardingsphere-governance-core-config:5.0.0-RC1-SNAPSHOT/maven-metadata.xml in local (/root/.m2/repository)
[DEBUG] Failure to find org.apache.shardingsphere:shardingsphere-governance-core-config:5.0.0-RC1-SNAPSHOT/maven-metadata.xml in https://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced
[WARNING] The POM for org.apache.shardingsphere:shardingsphere-governance-core-config:jar:5.0.0-RC1-SNAPSHOT is missing, no dependency information available
[DEBUG] Could not find metadata org.apache.shardingsphere:shardingsphere-governance-core-registry:5.0.0-RC1-SNAPSHOT/maven-metadata.xml in local (/root/.m2/repository)
[DEBUG] Failure to find org.apache.shardingsphere:shardingsphere-governance-core-registry:5.0.0-RC1-SNAPSHOT/maven-metadata.xml in https://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced
[DEBUG] Could not find metadata org.apache.shardingsphere:shardingsphere-governance-core-registry:5.0.0-RC1-SNAPSHOT/maven-metadata.xml in local (/root/.m2/repository)
[DEBUG] Failure to find org.apache.shardingsphere:shardingsphere-governance-core-registry:5.0.0-RC1-SNAPSHOT/maven-metadata.xml in https://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced
[WARNING] The POM for org.apache.shardingsphere:shardingsphere-governance-core-registry:jar:5.0.0-RC1-SNAPSHOT is missing, no dependency information available
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=1, ConflictMarker.nodeCount=115, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=39, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=2, ConflictResolver.conflictItemCount=66, DefaultDependencyCollector.collectTime=112, DefaultDependencyCollector.transformTime=3}
[DEBUG] org.apache.shardingsphere:shardingsphere-ui-backend:jar:5.0.0-RC1-SNAPSHOT
[DEBUG] org.apache.shardingsphere:shardingsphere-governance-repository-zookeeper-curator:jar:5.0.0-RC1-SNAPSHOT:compile
[DEBUG] org.apache.shardingsphere:shardingsphere-governance-repository-etcd:jar:5.0.0-RC1-SNAPSHOT:compile
[DEBUG] org.apache.shardingsphere:shardingsphere-governance-core-config:jar:5.0.0-RC1-SNAPSHOT:compile
[DEBUG] org.apache.shardingsphere:shardingsphere-governance-core-registry:jar:5.0.0-RC1-SNAPSHOT:compile
[DEBUG] commons-codec:commons-codec:jar:1.10:compile
[DEBUG] org.yaml:snakeyaml:jar:1.17:compile
[DEBUG] com.google.code.gson:gson:jar:2.8.5:compile
[DEBUG] org.apache.httpcomponents:httpclient:jar:4.5.8:compile
[DEBUG] org.apache.httpcomponents:httpcore:jar:4.4.11:compile
[DEBUG] org.springframework:spring-web:jar:4.3.24.RELEASE:compile
[DEBUG] org.springframework:spring-aop:jar:4.3.24.RELEASE:compile
[DEBUG] org.springframework:spring-beans:jar:4.3.24.RELEASE:compile
[DEBUG] org.springframework:spring-context:jar:4.3.24.RELEASE:compile
[DEBUG] org.springframework:spring-expression:jar:4.3.24.RELEASE:compile
[DEBUG] org.springframework:spring-core:jar:4.3.24.RELEASE:compile
[DEBUG] commons-logging:commons-logging:jar:1.2:compile
[DEBUG] org.springframework:spring-context-support:jar:4.3.24.RELEASE:compile
[DEBUG] javax.servlet:javax.servlet-api:jar:3.1.0:provided
[DEBUG] org.projectlombok:lombok:jar:1.16.22:provided
[DEBUG] org.springframework.boot:spring-boot-starter:jar:1.5.21.RELEASE:compile
[DEBUG] org.springframework.boot:spring-boot:jar:1.5.21.RELEASE:compile
[DEBUG] org.springframework.boot:spring-boot-autoconfigure:jar:1.5.21.RELEASE:compile
[DEBUG] org.springframework.boot:spring-boot-starter-logging:jar:1.5.21.RELEASE:compile
[DEBUG] org.slf4j:jcl-over-slf4j:jar:1.7.26:compile
[DEBUG] org.slf4j:jul-to-slf4j:jar:1.7.26:compile
[DEBUG] org.springframework.boot:spring-boot-starter-web:jar:1.5.21.RELEASE:runtime
[DEBUG] org.springframework.boot:spring-boot-starter-tomcat:jar:1.5.21.RELEASE:runtime
[DEBUG] org.apache.tomcat.embed:tomcat-embed-core:jar:8.5.40:runtime
[DEBUG] org.apache.tomcat:tomcat-annotations-api:jar:8.5.40:runtime
[DEBUG] org.apache.tomcat.embed:tomcat-embed-el:jar:8.5.40:runtime
[DEBUG] org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.40:runtime
[DEBUG] com.fasterxml.jackson.core:jackson-databind:jar:2.8.11.3:runtime
[DEBUG] com.fasterxml.jackson.core:jackson-annotations:jar:2.8.0:runtime
[DEBUG] com.fasterxml.jackson.core:jackson-core:jar:2.8.11:runtime (version managed from 2.8.10 by com.fasterxml.jackson:jackson-bom:2.8.11.20181123)
[DEBUG] org.springframework:spring-webmvc:jar:4.3.24.RELEASE:runtime
[DEBUG] ch.qos.logback:logback-classic:jar:1.1.11:runtime
[DEBUG] ch.qos.logback:logback-core:jar:1.1.11:runtime
[DEBUG] org.slf4j:slf4j-api:jar:1.7.26:compile (version managed from 1.7.22 by org.springframework.boot:spring-boot-dependencies:1.5.21.RELEASE)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] shardingsphere-ui .................................. SUCCESS [ 2.092 s]
[INFO] shardingsphere-ui-frontend ......................... SUCCESS [01:22 min]
[INFO] shardingsphere-ui-backend .......................... FAILURE [ 0.131 s]
[INFO] shardingsphere-ui-distribution ..................... SKIPPED
[INFO] shardingsphere-ui-src-distribution ................. SKIPPED
[INFO] shardingsphere-ui-bin-distribution ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:25 min
[INFO] Finished at: 2020-11-19T16:40:29+08:00
[INFO] Final Memory: 39M/504M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project shardingsphere-ui-backend: Could not resolve dependencies for project org.apache.shardingsphere:shardingsphere-ui-backend:jar:5.0.0-RC1-SNAPSHOT: The following artifacts could not be resolved: org.apache.shardingsphere:shardingsphere-governance-repository-zookeeper-curator:jar:5.0.0-RC1-SNAPSHOT, org.apache.shardingsphere:shardingsphere-governance-repository-etcd:jar:5.0.0-RC1-SNAPSHOT, org.apache.shardingsphere:shardingsphere-governance-core-config:jar:5.0.0-RC1-SNAPSHOT, org.apache.shardingsphere:shardingsphere-governance-core-registry:jar:5.0.0-RC1-SNAPSHOT: Failure to find org.apache.shardingsphere:shardingsphere-governance-repository-zookeeper-curator:jar:5.0.0-RC1-SNAPSHOT in https://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project shardingsphere-ui-backend: Could not resolve dependencies for project org.apache.shardingsphere:shardingsphere-ui-backend:jar:5.0.0-RC1-SNAPSHOT: The following artifacts could not be resolved: org.apache.shardingsphere:shardingsphere-governance-repository-zookeeper-curator:jar:5.0.0-RC1-SNAPSHOT, org.apache.shardingsphere:shardingsphere-governance-repository-etcd:jar:5.0.0-RC1-SNAPSHOT, org.apache.shardingsphere:shardingsphere-governance-core-config:jar:5.0.0-RC1-SNAPSHOT, org.apache.shardingsphere:shardingsphere-governance-core-registry:jar:5.0.0-RC1-SNAPSHOT: Failure to find org.apache.shardingsphere:shardingsphere-governance-repository-zookeeper-curator:jar:5.0.0-RC1-SNAPSHOT in https://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:221)
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:245)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

sharding-ui-frontend config file problem

  • 1. Allow the creation of new config. But when activated, you must check whether you can connect to ZK and whether there is a node on zk.

  • 2. When multiple configs exist, one of them cannot be edited and must be deleted and recreated.

windows : Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:npm (npm install) on project shardingsphere-ui-frontend: Failed to run task

[ERROR] ERROR: Failed to download Chromium r686378! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
[ERROR] { Error: read ECONNRESET
[ERROR] at _errnoException (util.js:1022:11)
[ERROR] at TLSWrap.onread (net.js:628:25)
[ERROR] -- ASYNC --
[ERROR] at BrowserFetcher. (D:\github\ss-ui\shardingsphere-ui\shardingsphere-ui-frontend\node_modules\puppeteer\lib\helper.js:111:15)
[ERROR] at Object. (D:\github\ss-ui\shardingsphere-ui\shardingsphere-ui-frontend\node_modules\puppeteer\install.js:64:16)
[ERROR] at Module._compile (module.js:652:30)
[ERROR] at Object.Module._extensions..js (module.js:663:10)
[ERROR] at Module.load (module.js:565:32)
[ERROR] at tryModuleLoad (module.js:505:12)
[ERROR] at Function.Module._load (module.js:497:3)
[ERROR] at Function.Module.runMain (module.js:693:10)
[ERROR] at startup (bootstrap_node.js:188:16)
[ERROR] at bootstrap_node.js:609:3 code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' }
[WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\watchpack\node_modules\fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\watchpack\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

[ERROR]
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! errno 1
[ERROR] npm ERR! [email protected] install: node install.js
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the [email protected] install script.
[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[ERROR]
[ERROR] npm ERR! A complete log of this run can be found in:
[ERROR] npm ERR! C:\Users\yanhg\AppData\Roaming\npm-cache_logs\2020-07-22T12_28_10_438Z-debug.log

Can not login, background server throw Exception

it build by git master
build with -DskipTests, because of the test failing with test

start the server without any error
open homepage
image

but can not login
click login
background server throw error

[ERROR] 17:30:55.994 [http-nio-8088-exec-5] o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception
java.lang.UnsupportedOperationException: Attempted to serialize java.lang.Class: java.lang.reflect.AccessibleObject. Forgot to register a type adapter?
        at com.google.gson.internal.bind.TypeAdapters$1.write(TypeAdapters.java:73)
        at com.google.gson.internal.bind.TypeAdapters$1.write(TypeAdapters.java:69)
        at com.google.gson.TypeAdapter$1.write(TypeAdapter.java:191)
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:69)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:127)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:245)
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:69)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:127)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:245)
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:69)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:127)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:245)
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:69)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:127)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:245)
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:69)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:127)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:245)
        at com.google.gson.Gson.toJson(Gson.java:704)
        at com.google.gson.Gson.toJson(Gson.java:683)
        at com.google.gson.Gson.toJson(Gson.java:638)
        at com.google.gson.Gson.toJson(Gson.java:618)
        at org.apache.shardingsphere.ui.security.UserAuthenticationService.getToken(UserAuthenticationService.java:66)
        at org.apache.shardingsphere.ui.security.AuthenticationFilter.handleLogin(AuthenticationFilter.java:81)
        at org.apache.shardingsphere.ui.security.AuthenticationFilter.doFilter(AuthenticationFilter.java:58)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.shardingsphere.ui.web.filter.CORSFilter.doFilter(CORSFilter.java:53)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Thread.java:844)

Support remove schema dynamically

For the second module Remove schemas in sharding-ui of issue apache/shardingsphere#5043 , there are 3 steps:

  • 1. Add delete(key) interface in CenterRepository and implement it with zookeeper&etcd&nacos&apollo(#5101)
  • 2. Add unit tests(#5101)
  • 3. Add a button to remove schemas in sharding-ui(#5112)

shardingsphere-ui-frontend test failed

failed log:

[INFO]   Menu/index.vue
[INFO]     ✓ Menu Does the component exist?
[INFO]     ✗ setData()
[INFO] 	AssertionError: expected false to equal true
[INFO] 	    at Context.eval (webpack:///./test/specs/components/Menu.spec.js?:79:49)

sharding-ui-frontend multilingual support

  • 1. Multilingual English clicks don't work. In addition, when the interface is English, the button should be displayed: Chinese. When the multilingual function is not complete, this can be displayed first.

ShardingSphere UI support etcd config center

Hi, community,
We were planning to support more config center long ago[1].
As etcd/CNCF is more and more popular, it's time to launch the integration with etcd and ShardingSphere-UI, make our users could manage ShardingSphere via UI-Console with etcd.

And any contributor is welcome to join this task.

  • make investigation and design document
  • refactor ShardingSphere UI to support more center
  • implement integration with etcd config center

[1] https://github.com/apache/shardingsphere/issues/3267

sharding-ui-frontend add unit test

sharding-ui-frontend add unit test

  • componet unit test
  • pages unit test

add packages:

  • "karma": "^4.3.0"
  • "karma-chai": "^0.1.0"
  • "karma-chrome-launcher": "^3.1.0"
  • "karma-coverage": "^2.0.1"
  • "karma-mocha": "^1.3.0"
  • "karma-sourcemap-loader": "^0.3.7"
  • "karma-spec-reporter": "0.0.32"
  • "karma-webpack": "^4.0.2"
  • "@babel/core": "^7.6.0"
  • "@babel/plugin-syntax-dynamic-import": "^7.2.0"
  • "@babel/plugin-transform-runtime": "^7.6.0"
  • "@babel/preset-env": "^7.6.0"
  • "@babel/runtime": "^7.6.0"
  • "@vue/test-utils": "^1.0.0-beta.29"
  • "chai": "^4.2.0"
  • "mocha": "^6.2.0"
# unit test
npm run unit

UI module feature discuss

Feature Request

For English only, other languages will not accept.

Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot make decision by current information, we will close it.

Please answer these questions before submitting your issue. Thanks!

Is your feature request related to a problem?

Describe the feature you would like.

master branch last version

1 error msg

If import yml config wrong , error msg is very simple

rule configuration is invalid.

There are actually many reasons for failure , maybe this Issues :
https://github.com/apache/incubator-shardingsphere/issues/4921#issuecomment-603714874
or “ yml format error ” or ”It is prohibited to use Tab only space “...

i think error msg can be perfect

2 del schema

if i want del some setting , i only del it on zookeeper or other register center ..

image

Update UI documents

  • 1. Add Config Center menu below 4.1 Sharding-UI/4.4.1 Manual after Build
  • 2. Add Config Center page and add some descriptions about Config Server and Rule Config
  • 3. Modify Registry Center page, add some descriptions about Registry Server and Runtime Status
  • 4. Add and modify the Chinese version documents synchronously
  • 5. Remove images, use description instead

adding a schema on config center is not working

Bug Report

adding a schema on config center is not working,but updating authentication or props is working,before rebooting sharding-proxy. adding a schema on config center is the same as #2346

For English only, other languages will not accept.

Before report a bug, make sure you have:

Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot reproduce it on current information, we will close it.

Please answer these questions before submitting your issue. Thanks!

Which version of ShardingSphere did you use?

  • 4.0.0
  • 4.0.1

Which project did you use? Sharding-JDBC or Sharding-Proxy?

Sharding-Proxy

Expected behavior

After adding a schema on config center, I hope the Sharding Rroxy could refresh and load configuration automatically or semi-automatic(by sending a command manually), that is, Then I can see that new schema by show databases; adding a schema on config center is the same as #2346

Actual behavior



sharding-ui should have a profile example

Feature Request

For English only, other languages will not accept.

Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot make decision by current information, we will close it.

Please answer these questions before submitting your issue. Thanks!

Is your feature request related to a problem?

No.

Describe the feature you would like.

Add a profile(sharding-ui-configs.yaml') to sharding-ui to show how to config 'sharding-ui-configs.yaml'.

Add ShardingSphere-UI to docker hub

Hi, community,
Publishing ShardingSphere-UI to docker hub will be a wonderful way for users to run and deploy it.
Here are the tasks:

  • 1.modify ShardingSphere-UI release guide.

  • 2.build a ShardingSphere-UI release version using latest tag

  • 3.build a docker image and push it to docker hub

Whether need to re-import the paths

The ShardingSphere latest codes that some classes refactor the path,but shardingsphere-ui import path still old path,and mvn install will report error about can not find symbol
image

Base the error report, need to re-import the paths?
If need please assign job to me

The UI of cluster state topology optimization

We have completed Cluster feature which contains heartbeat detection and cluster state topology, and now we can monitor the state of applications and databases in real time through ShardingSphere-UI.

微信图片_20200622164536

Howerver, there are still some items of UI that need to be optimized.

  • 1. Consider that add auto refresh switch button and refresh interval time selection box(60s, 120s, etc.)

Anyone who is interested or good at front-end development is welcome.

sharding-ui-frontend optimization correlation

The optimization is as follows:

  • 1. Click Add a registry, the orchestration Name in the table has a line break, and the problem of letters'case unity

  • 2. Copyright deletes year information and adds UI version number, 2018?

Copyright_The Apache Software Foundation, Licensed under the Apache License, Version 2.0, UI Version 1.0.0.

  • 3. Rename the left label bar

Config reigst--Registry Center
Config Mangage--Rule Config
Orchestration--Runtime Status

  • 4. The switch button in the operation of Config regit, together with the floating prompt, indicates that: Activate

  • 5. Does the "Namespaces" tag on the config registration page imply that multiple namespaces can be filled in? How to fill in?

  • 6. orchestration page - slave data Source info tag, click the error report as follows:

Cannot create property = encryptors for JavaBean = org. apache. shardingsphere. core. yaml. config. sharding. YamlSharding Rule Configuration@4ea571e8 in'string', line 1, column 1: encryptors: ^ Unable to find property'encryptors'on class: org. apache. shardingsphere. core. yaml. g. sharding. YamlSharding. RumlConfiguration' in'string', line 2, line 3, line 1: encryptors: ^ Unable to find property'encryptors'on class: org. Apache shardingsphere. core. yaml. Tor_aes: ^

  • 7. When only one config exists, you can only click the "Activate" button once in the operation, and it has been graying and unable to operate since then.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.