Commit Graph

31 Commits

Author SHA1 Message Date
Jeff Carr 96c44afee1 fix hostname with domain name and vis-a-vis
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-04 23:15:55 +00:00
Jeff Carr 0ef6a9b47b make token incase it is empty
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-04 04:44:50 +00:00
Jeff Carr 00d19a95da move gorilla websocket functions into their own file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-29 08:55:41 +00:00
Jeff Carr 5357cbd7db never die in fetchVMs(). Use the domain from the config file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-29 01:14:07 +00:00
Jeff Carr 7c5b906f5f ok. ADD works from the GUI
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-28 20:28:25 +00:00
Jeff Carr 7883c0d16d add a simple client to test ADD
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-28 19:35:42 +00:00
Jeff Carr 12ef7e0dcf more work on converting the JSON
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-28 06:18:44 +00:00
Jeff Carr da12ea4087 start to clean code for interaction with protobuf structures
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-28 04:29:55 +00:00
Jeff Carr 82c4ac9c01 more debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-26 20:20:50 +00:00
Jeff Carr 88c3ef5992 better debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-26 20:13:50 +00:00
Jeff Carr 936b2d6c91 more code cleanups
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-26 19:35:13 +00:00
Jeff Carr 1ef3c8f2dd fail if account was not sent
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-26 17:53:02 +00:00
Jeff Carr 2d3a0a900a lots of cleanups to token handling. protobuf fixes
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-26 08:04:12 +00:00
Jeff Carr b16b4c84bb cleaning up the code further
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-26 07:27:51 +00:00
Jeff Carr deac243443 correctly request a new token
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-26 06:22:37 +00:00
Jeff Carr 58b80b499a attempt 3
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-25 12:30:07 -07:00
Jeff Carr 42ef854233 even smaller
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-25 12:17:07 -07:00
Jeff Carr 13af6a6273 start a unified json function
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 22:36:56 +00:00
Jeff Carr 19147ea950 respond to login attempt
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 06:43:42 +00:00
Jeff Carr 0e7cb059d4 an attempt at verifing the login token
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 05:46:37 +00:00
Jeff Carr 7274c5c3c3 merge into a single file to make it easier to work with
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 03:46:02 +00:00
Jeff Carr e4031a68c0 token is in GUI
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 02:52:37 +00:00
Jeff Carr 47a5b0659c recieve the token
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 02:33:19 +00:00
Jeff Carr bb12949637 update to new token
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 03:09:51 +00:00
Jeff Carr 0ee9a0e661 maybe an alternative to look at?
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-15 20:28:59 +00:00
Jeff Carr 6ce08105ad fix error on broken API or JSON networks being nil
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-14 02:21:28 +00:00
Jeff Carr 7bcbe607a0 convert the JSON into a google protobuf
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 19:19:15 +00:00
Jeff Carr 0b6d5fbac9 send back a protobuf
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 07:28:07 +00:00
Jeff Carr 1bfaaa331d ready to attempt returning a protobuf
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 06:07:22 +00:00
Jeff Carr 0ad98fe594 remove all the extra stuff
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 05:57:19 +00:00
Jeff Carr f2068edf09 start a daemon to talk to the cloud-control-panel
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 05:48:59 +00:00