-
Notifications
You must be signed in to change notification settings - Fork 1
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
move to REST from gRPC #232
Conversation
6de6cc1
to
04b13a9
Compare
Since the monitor host system is quite a good indicator for us if everything is running as it is supposed to. I think we need to find a solution for it to be working without the envoy proxy :) Once this is done we can merge the changes and test on our development server. |
All endpoints moved to REST, on top of that, some error messages are fixed with correct responses from the server. |
client/src/App.vue
Outdated
export default { | ||
name: 'app' | ||
}; | ||
export const daemonclient = new DaemonClient(window.location.protocol+"//"+window.location.hostname+":8000", null, null); | ||
export const API_ENDPOINT = window.location.protocol+"//"+window.location.hostname+":8090" | ||
export const WEBSOCKET_ENDPOINT = "wss://"+window.location.hostname+":8091" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice if it could detect weither or not it should be wss of ws based on if http or https was used. This is mostly since at least i am not using certs when developing locally :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure !
Changes applied @Mikkelhost |
needs a web socket, this feature requires a discussion with @Mikkelhost>> Donetodo: check error message on display27fec03todo: check error message on displaya1492ea[ ] /admin/frontend/set/memorynot used in webclient[ ] /admin/frontend/set/cpunot used in webclient[ ] /admin/stress/event( vue component does not exists, exists only on CLI )[ ] /version( not implemented on webclient)