Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Exec agent #1943

Closed
skabashnyuk opened this issue Jul 26, 2016 · 2 comments
Closed

Create Exec agent #1943

skabashnyuk opened this issue Jul 26, 2016 · 2 comments
Assignees
Labels
kind/task Internal things, technical debt, and to-do tasks to be performed. status/open-for-dev An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it.

Comments

@skabashnyuk
Copy link
Contributor

skabashnyuk commented Jul 26, 2016

We need machine agent that is able to expose REST (or/and websocket) API for commands execution.

We considered that it should be written using Golang.

  • it will allow deploy it without external dependencies such as JRE, NodeJs, etc
  • it is fast and has small memory footprint
  • it has very good model for processing http requests, websockets, execute commands in the OS
  • it is quite easy to port it into different OSes and CPU architectures
@skabashnyuk skabashnyuk added kind/epic A long-lived, PM-driven feature request. Must include a checklist of items that must be completed. kind/task Internal things, technical debt, and to-do tasks to be performed. team/platform labels Jul 26, 2016
@skabashnyuk
Copy link
Contributor Author

skabashnyuk commented Jul 26, 2016

@evoevodin

Current state:
I've developed a prototype of machine-agent which has RESTFul API for managing processes and
not full set of websocket API for managing processes through websocket channels.

The prototype repository: https://github.com/evoevodin/machine-agent
The docs for available REST API.
The docs for available Websocket API.
The docs for available Events(messages sent to the websocket channel clients).
Things TODO:

  • The REST API, is not fully completed it needs a few more methods.
  • Websocket API, is not fully completed right now it provides 2 methods for starting and killing proceses.
  • Integrate terminal into machine-agent.
  • Use configuration flags instead of hardcoded values(e.g. for logs directory)
  • Not clear for now, when to clear resources(channels, processes, logs).
  • Tests are not there at the moment.

@skabashnyuk skabashnyuk removed the kind/epic A long-lived, PM-driven feature request. Must include a checklist of items that must be completed. label Jul 26, 2016
@skabashnyuk skabashnyuk added the status/open-for-dev An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it. label Jul 29, 2016
@gazarenkov gazarenkov changed the title Create Machine agent Create Exec agent Sep 25, 2016
@garagatyi garagatyi removed their assignment Nov 30, 2016
@JamesDrummond
Copy link
Contributor

NTS I will add these docs to the codenvy repo docs folder which will get moved to che repo once we are finished with creating codenvy docs jekyll generated doc pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/task Internal things, technical debt, and to-do tasks to be performed. status/open-for-dev An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it.
Projects
None yet
Development

No branches or pull requests

4 participants