You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a system user/owner, I want to be able to open a terminal communicating with the devices through HTTP and I want to have this communication traced in a state in order to be able to trouble shoot any issues.
As a developer I want to have a generic component that I will be able to import and configure in several routes.
Implementation ideas
Here is the route to instanciate a terminal: libs/apps/embedded-device-manager/routes/routes/terminal/route
see TODOs in libs/apps/embedded-device-manager/routes/routes/terminal/route/src/lib/components/index.component.ts
Store API request and response as it is done in libs/apps/embedded-device-manager/routes/route/src/lib/reducers/lang-menu-list/api/get.reducer.ts but adapt it for POST requests/responses instead of the GET ones. The payload of the POST request will be the command to execute.
Create the Nest.js API endpoint handling the previous POST request, executing this command and responding the stdout, stderr, and other useful outputs from the process execution.
Enhancement
Metadata
Description
As a system user/owner, I want to be able to open a terminal communicating with the devices through HTTP and I want to have this communication traced in a state in order to be able to trouble shoot any issues.
As a developer I want to have a generic component that I will be able to import and configure in several routes.
Implementation ideas
Here is the route to instanciate a terminal: libs/apps/embedded-device-manager/routes/routes/terminal/route
Interfaces
NgRx flow
libs/apps/embedded-device-manager/routes/routes/terminal/route/src/lib/components/index.component.ts
libs/apps/embedded-device-manager/routes/route/src/lib/reducers/lang-menu-list/api/get.reducer.ts
but adapt it for POST requests/responses instead of the GET ones. The payload of the POST request will be the command to execute.References
The text was updated successfully, but these errors were encountered: