Che: Machine API deprecated - How to execute a command over rest api

Created on 24 Mar 2017  路  4Comments  路  Source: eclipse/che

In the last release the machine api removed. So how is the best practice to run a command now ?

kinquestion

All 4 comments

The Machine API was deprecated in 5.2 and removed in 5.5. Please do some searches in the code base for how built-in extensions execute commands. You will be able to find the syntax more quickly this way - as engineers are in a release cycle and may not pay attention to issues for a number of days.

@phill1234 commands are now executed by an exec agent which is deployed in a workspace machine. Here are some good docs to read - https://github.com/eclipse/che/blob/master/agents/go-agents/docs/rest_api.md

In a nutshell, this is a rest service that accept requests and returns links to subscribe to command output.

@phill1234 can we close the issue?

yes thank you very much

Was this page helpful?
0 / 5 - 0 ratings