-
Notifications
You must be signed in to change notification settings - Fork 0
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
Switchsettings #71
Switchsettings #71
Conversation
Upgrade Master to 0.3.0
…upKeepStatus to just keepStatus
…e because the test was an or where it should have been an and.
…d renamed them to be lowercase at the beginning
…database were it was renamed as well
… problems with the .type in Scala
…ommand. In case of an exception the exception gets returned.
Instead of assuming that a command with no return was successful it will now fail without a return. In case the return is an exception it will now send a Websocket error message. And now it also support sending a success Fail response.
…s a parameter instead of a separate file.
This is so that it can be modified when the switch needs to be exchanged. This may be changed in the future if we encounter performance issues with the map.
because they are needed for the new functions that we are implementing in the web GUI. And because to delete or change a Device you had to shutdown the Server and manually edit the H2 database or just deleted the database and just setup everything again.
Currently it handles only change the config of a switch.
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.
Good work!
`state` decimal(5,4) NOT NULL, | ||
`keepState` boolean NOT NULL, | ||
`keepstate` boolean NOT NULL, |
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.
WHY?!!! Why do you changed away from camelCase?
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.
Simply because it gave weird errors were the higher level API made it to something like keep_state so this was the easiest way.
This adds the ability to change the config of a switch via the GUI
One of the Pages for #23