Commit Graph

34 Commits

Author SHA1 Message Date
Ken Moore
8d57413401 A few more updates to the input message parsing systems for the server: Ensure that both the namespace and the name of the input message are passed through to the backend parser/system (if authorized). 2016-01-04 13:30:49 -05:00
Ken Moore
87ab5f2a22 Fix the input argument parsing for sysadm-server. 2016-01-04 13:01:39 -05:00
Ken Moore
467e7d2bbe Merge branch 'master' of github.com:pcbsd/sysadm 2015-12-30 16:06:39 -05:00
Ken Moore
b0bfcb4c03 Convert the REST/JSON input/output structures quite a bit so the backend usage is now agnostic as to the type of input used. It will then convert the output format to match what was input (REST -> REST, JSON -> JSON). 2015-12-30 16:05:08 -05:00
Kris Moore
c154668747 Add sysadm-restserver and sysadm-websocket rc.d files, so we can
enable them each on their own
2015-12-29 14:09:36 -05:00
Ken Moore
508e025cea Make sure the port numbers get changed a bit, and fix some complication issues in the new backend. 2015-12-29 12:54:01 -05:00
Ken Moore
90e23c882e Merge branch 'master' of github.com:pcbsd/sysadm 2015-12-29 12:47:05 -05:00
Ken Moore
9fe2914da3 Convert sysadm-server to run either in TCP or WebSocket mode.
New CLI flags:
"-ws": Use the websocket protocols instead of tcp
"-p <port number>": Use the designated port number for the server.
2015-12-29 12:43:29 -05:00
Ken Moore
9a161644d1 Merge branch 'master' of github.com:pcbsd/sysadm 2015-12-17 17:16:06 -05:00
Ken Moore
39f36d1d4f Furthur cleanup the sysadm subsystem request forwarding mechanisms so it is easier to extend later. The return/error code for each subsystem is not used yet - will finish that within the websocket later, but the general backend systems are now setup. 2015-12-17 17:12:19 -05:00
Kris Moore
e7a7ed7dbb Rename syscache -> sysadm 2015-12-17 14:22:39 -05:00
Kris Moore
27f37a9767 Rename pcbsd-sysadm rc.d -> sysadm 2015-12-17 14:21:05 -05:00
Kris Moore
a0ae49496b Fix some issues compiling sysadm locally without it installed to
/usr/local
2015-12-17 14:19:29 -05:00
Kris Moore
6d3a8e06b2 Add rc.d script 2015-12-17 14:15:40 -05:00
Kris Moore
dcee9c38db Add port template for sysadm 2015-12-17 14:10:03 -05:00
Kris Moore
5583f4d2c0 Change port number to 12150 2015-12-17 13:25:56 -05:00
Ken Moore
0c943636bd Move/remove a couple files around. 2015-12-15 13:15:15 -05:00
Ken Moore
d639bb5a03 Merge branch 'master' of github.com:pcbsd/sysadm 2015-12-15 13:14:25 -05:00
Ken Moore
3bfc57b466 Oops - fix another stray syscache-webclient reference. 2015-12-15 13:14:02 -05:00
Ken Moore
1a0afb6fda Adjust the server defaults a bit more - remove any reference to "syscache" or "webclient". 2015-12-15 13:13:00 -05:00
Ken Moore
f5dab0048c Add a copy of the syscache-webclient server into the sysadm/src/server.
Also setup the server to make it easier to extend for API/library support in the backend. All backend functionality can now be added to the new "WebBackend.cpp" file (and WebSocket.h file for headers).
2015-12-15 13:06:42 -05:00
Kris Moore
d219c14a87 Add the new sysadm-lifepreserver class, with example listCron()
function so we can test
2015-12-11 13:38:17 -05:00
Ken Moore
374528f38f Add a bit for rc.conf read support to sysadm. 2015-12-09 15:28:15 -05:00
Ken Moore
43dca6389f Merge branch 'master' of github.com:pcbsd/sysadm 2015-12-09 12:42:34 -05:00
Ken Moore
3d57f7801a Fix up the IPv6 detection routine so it matches what ifconfig displays. 2015-12-09 12:41:42 -05:00
dlavigne
4ee7c0e70d Finish formatting packages class. 2015-12-09 09:57:17 -05:00
Kris Moore
fecde854d0 Merge branch 'master' of https://github.com/pcbsd/sysadm 2015-12-08 15:24:51 -05:00
Kris Moore
455162af57 Update formatting 2015-12-08 15:24:45 -05:00
Ken Moore
37e8e3a775 Merge branch 'master' of github.com:pcbsd/sysadm 2015-12-08 15:24:12 -05:00
Ken Moore
74249cefb2 Copy over the new sysadm library/binary from the pcbsd/pcbsd repo into it's own repo. 2015-12-08 15:23:18 -05:00
Kris Moore
87a9ba5523 Update README with details 2015-12-08 15:19:58 -05:00
dlavigne
538ba5cc1d Start reformat of packages to fit layout. 2015-12-08 15:12:06 -05:00
Kris Moore
611b5f45cc Move over the API docs from pcbsd repo 2015-12-08 14:44:47 -05:00
Kris Moore
d542ba201d Initial commit 2015-12-08 14:37:18 -05:00