Coder Social home page Coder Social logo

dopamine's People

Contributors

lahaxe avatar lamyj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dopamine's Issues

Move list of known Application Entities to database

The list of known application entities is currently statically stored in the configuration file under the peers section. It should instead be stored in a application_entities collection in the main database, with the documents having the following fields:

  • ae_title: the Application Entity title
  • host: the IP address or DNS name of the Application Entity
  • port: the TCP port of the Application Entity

Administration tool (CLI)

The dynamic configuration of Dopamine (i.e. everything stored in the main database) is currently manual: collections must be altered through MongoDB clients. In order to avoid mis-configurations and to improve user-friendliness, this should be done using a CLI tool akin to doveadm.

Assuming the name of such a tool to be dopamine-adm, the available operations should be

  • authorization list: list the authorization entries
  • authorization add <PRINCIPAL> <SERVICE> [DATASET_AS_JSON]: add an authorization entry
  • authorization remove <PRINCIPAL> <SERVICE> [DATASET_AS_JSON]: remove an authorization entry that matches exactly
  • application_entities list: list the known application entities
  • application_entities add <AE_TITLE> <HOST> <PORT>: add an application entity (cf. #1)
  • application_entities remove <AE_TITLE> <HOST> <PORT>: remove an application entity (cf. #1)

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.