Git Product home page Git Product logo

osseus's People

Contributors

anthonydevelops avatar brecode avatar jmedved avatar kevin-velasquez avatar sctsui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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

osseus's Issues

Load All projects

Loading all projects saved by the user is currently only partially implemented. Progress is blocked by the broker's listKeys() method not listing the keys of prefix '/config/generator/v1/projects/' in etcd. ListValues() works, given the correct key.

Relevant code can be found in
https://github.com/sctsui/osseus/blob/feature/loadAll/plugins/restapi/handlers.go
method getAlProjects() (line 308)
Frontend recieving allProjects json will be done in line 77-79 of client/server.js

Create CN-Infra skeleton

a. Add default plugins
b. Plugins to be used

Which plugins are going to be used by default and why?
What plugins are going to be needed in the future and why?

Etcd api-gateway watch error

Currently, watching using Node Webhooks has an issue when using Etcd's api-gateway, specifically with watching. Using the watch api request used to work but stopped randomly after working with the node error:

MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connection listeners added. Use emitter.setMaxListeners() to increase limit

Change the following code in /client/server.js to that of how Etcd's doc uses watching to see that nothing is returned:
This: webHooks.add('etcd', http://${etcd}/v3beta/kv/range)
To this: webHooks.add('etcd', http://${etcd}/v3beta/watch)

Conf files generation

UI
-Create a way of capturing user input on plugin click. A possible method would be to use a swal2 popup and have input fields for each configurable option of the given plugin.
-This user input needs to be reflected in the model ('client/src/components/Model.js') sent to the backend.

Backend
-Generate a template for each configuration file with the values sent from the frontend model.
-Add the generated template files for each conf.go into the tar file and template structure object under cmd/agent.

Link to compiled configurations:
https://docs.google.com/document/d/1enneGXDEmkgr_Gm0UvLTEeiHsl2YK6VxFSyXWWYGqhE/edit?usp=sharing

Change async loading of template and tar file

Loading of template is done in 'client/src/components/GeneratorApp/GeneratorApp.js' lines 59-69.
Loading of tar is done in 'client/src/components/GeneratorApp/Header/GeneratorAppHeader.js' lines 77-82.

Current implementation, due to time constraints, was to use a setTimeout() before attempting to retrieve data from the node.js server in server.js. This is an issue due to not being fault tolerant. ie. a slow connection might create a situation where the data isn't ready to be retrieved after the setTimeout() has expired or a large template generation might take longer, hence not be ready to be retrieved in time.

Methods to try:
Redux connect()
Redux subscribe()
Using Promises to wait until state changes

Deploy a K-V store

Pick a KV store of your choice (why did you choose it)

  • Make yourself familiar w/ the data structures saved and how to access it.
  • Define some arbitrary data to use
  • Where is it going to be running (vm, container, host) and why

Update README with project info

I think an accurate README would be very useful to describe our system. If we could update it to show objectives, requirements, installation, & how to run it locally, it would help a lot for those seeing our project for the first time. Please look at CN-Infra or Gatsby as a reference on how to do it correctly.

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.