Giter VIP home page Giter VIP logo

shenyu-dashboard's Introduction

Apache ShenYu Dashboard

build

Overview

Apache ShenYu Dashboard is frontend of a management background for Apache ShenYu. The API interface is in the Apache Shenyu Admin module.

Prerequisite

  • node v8.0+

How to Build

Configuration

Modify the api url for different environment, eg: http://192.168.1.100:8000

Develop Environment

# install dependencies in this project root path.
npm install
# start
npm start

Production Environment

# install dependencies in this project root path.
npm install
# build for production
npm run build

# copy to apache-shenyu-admin
cp -rf dist/* shenyu-admin/src/main/resources/static/

shenyu-dashboard's People

Contributors

847850277 avatar asxing avatar crudboy avatar daiwenyu avatar dengliming avatar eurecalulu avatar fengzhenbing avatar fightingting avatar gentlehao avatar goodboy008 avatar hubao-1125 avatar kerwin612 avatar leridy avatar li-keguo avatar misaya295 avatar mulberry-leaf avatar nuo-promise avatar onlyquiet avatar peng-heng avatar plutokaito avatar qinziweis avatar qurenneng avatar sabersola avatar tomsun28 avatar tuohai666 avatar vampireachao avatar wjlonger avatar xlgm avatar yu199195 avatar zhoutzzz 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shenyu-dashboard's Issues

编译出错

Failed to compile.

./node_modules/history/esm/history.js
Module not found: Can't resolve '@babel/runtime/helpers/esm/extends' in '/Users/baocj/Downloads/soul-dashboard-master/node_modules/history/esm'

[bug]Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.

Hi!
I followed the build steps to build this project, but there was an error at the start.
The code is cloned directly from git without any changes.
image

It says : Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

web doesn't show all plugin

Describe the bug

The web ajax result contains all plugins ,but ui doesn't show all plugins

Like this picture: the rate_limiter doesn't show in ui

image

Environment

  • Soul version(s): [master]

Expected behavior

rete_limiter should show in ui

Display the plugin menus in categories

Task

  • Add some category menu under the plugin list menu.
  • Put the plugin menu in order under each category menu.
  • Menu permission function remains unchanged

The current plugin list menu style is as follows, in order to facilitate users to find plugins, we need display the plugin menus in categories.
image

怎么访问后台服务呢?

你好,我是个纯前端,按照文档已经npm start,输入账号密码后没反应,请问是需要启动什么后台服务或者mock数据吗?

[Feature request] Missing the settings of timeout in divide plugin

It provides 2 form fields(loadBalance and retry) to setup divide plugin in dashboard, but another important field timeout has been missed in the plugin rule dialog, so I have to modify the database manually to setup the expected threshold of timeout.

Is this feature available in the next release?

Customise the spring cloud plugin's selector modal.

Since generic configuration methods do not meet demand,customization is required.
Here is the spring cloud plugin selector's handle json:

{
    "serviceId":"test",
    "gray":false,
    "divideUpstreams":[
        {
            "protocol":"http://",
            "upstreamUrl":"127.0.0.1:8089",
            "weight":50,
            "status":true,
            "timestamp":0,
            "warmup":50
        }
    ]
}

依赖升级

npm WARN deprecated [email protected]: mdn-browser-compat-data is deprecated. Upgrade to @mdn/browser-compat-data. Learn more: https://github.com/mdn/browser-compat-data/blob/v1.1.2/UPGRADE-2.0.x.m
d
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: This project is no longer maintained.
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin
npm WARN deprecated [email protected]: Switch to the `bfj` package for fixes and new features!
npm WARN deprecated [email protected]: Please migrate to Workbox: https://developers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw
npm WARN deprecated [email protected]: this
npm WARN deprecated [email protected]: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated [email protected]: Please migrate to Workbox: https://developers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw
npm WARN deprecated [email protected]: this
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and secu
rity patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and
security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and secu
rity patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated @types/[email protected]: This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed.

Update readme

  • Translate to English

  • Add some pictures of UI (English UI)

soul-dashboard new features about plugins and resources

Feature Request

add resource management page.
User Role Resource are archived into the user management menu.
Plugin PlguinHandler Authentication Metadata Dictionary are archived into the basic configuration menu.
add Plugin and add default resource(e.g button) into resource.
resource management page also has permission control.
plugin are added and removed at the time resources and permission are linked.

前端代码是不是还没有元数据管理部分

  1. 这是dashboard npm start的界面,相比soul-admin中的界面缺少元数据管理部分
    image
  2. 这是soul-admin中的用户界面
    image

尝试在源代码中搜索"元数据管理"也没有找到,请问是这部分没有放出来还是我的操作方式不对呀~

Update soul-dashbord to shenyu.

  • replace the key SOUL in locale files en-US.json and zh-CN.json with SHENYU.
  • replace any pages with shenYu where contains soul.
  • change the service api to adapt the ShenYu backend.

不能正确安装依赖

Failed to compile
./src/index.js
Module build failed: Error: The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.
This error occurred during the build time and cannot be dismissed.
在index.js文件里面并没有找到该配置选项。

版本不一致

为什么和官网压缩后的前后端长的不一样啊,有官网压缩前的么???

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.