Giter Site home page Giter Site logo

etherdata-admin-server's Introduction

ETD Admin Server

codecov

CodeFactor

This is the ETDStats Server

Run

  1. Install dependencies
yarn install
  1. Build
yarn build
  1. Start
yarn start

etherdata-admin-server's People

Contributors

sirily11 avatar

Stargazers

 avatar

Forkers

lingwu-hb

etherdata-admin-server's Issues

增加通过UI控制库存管理系统

增加API部分

etd-services下增加添加storage item/owner 的逻辑

  • #71
  • #101
  • 增加添加/删除/更改用户类别功能

api文件夹下下增加添加storage item/owner 的逻辑

  • 增加添加/删除/更改设备功能
  • 增加添加/删除/更改用户功能
  • 增加添加/删除/更改用户类别功能

具体的实现可以参考Storage Management System的API实现。

增加UI部分

  • 增加添加/删除/更改设备功能
  • 增加添加/删除/更改用户功能
  • 增加添加/删除/更改用户类别功能

Accept devices in apis

Currently, we need to define the device ids in update template's page. This causes a problem that each time we want to update the device id, then we need go to the edit page to update. We want to change this behavior to providing a list of target device ids when running. And we will store these ids to database and will provide a hint to user that the previous entered device ids.

The basic logics are described below.

def run_update_template(target_device_ids: List[str],  template: UpdateTemplate):
    ask(target_device_ids)
    for device_id in target_device_ids:
        send_pending_job(device_id, template)
    
    store_with(template, target_device_ids)


def ask(target_device_ids: List[str], template: UpdateTemplate):
    devices_ids = find_previous_devices_by_template(template)
    # show hint to user
    hint(devices_ids)
    # ask user to confirm
    confirm(target_device_ids)

Add Docker Logs to DB

Currently docker logs will be fetched in run time. However, this implementation has one major drawback that it may take too long for front end ui to response. New implementation should solve this issue by sending docker logs to the remote server and save it to the DB. And each time, the Web App will fetch the log directly from DB.

ETD Common

  • Add Log field to Status interface
  • Remove Docker log Socket event (Removed, since it is still useful for log docker command)

ETD Storage Model

  • Update schema to allow logs to be saved in the DB

ETD Service

  • Remove Docker Log Socket Handler (Removed, since it is still useful for log docker command)

ETD Admin

  • Fetch log directly from DB

ETD Admin Node

  • Fetch Docker logs and send docker logs

增加Docker Registry的预览功能

希望增加对Docker Registry的功能管理,实现对其API的UI控制

基础功能

  • 登录功能的实现
  • 增加浏览当前所有images的功能
  • 查看单一image的所有版本
  • 删除现有image

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.