2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 19:40:12 +00:00
Commit Graph

107 Commits

Author SHA1 Message Date
Jarrod Johnson
6947f98d62 Rework some messages details, make boot device work 2013-11-07 16:33:48 -05:00
Jarrod Johnson
6fbdbcde82 Fix http relations for .. in the case of root collection, which has no containing collection 2013-11-07 14:49:16 -05:00
Jarrod Johnson
215acdf4a7 Have rest explorer actually mostly work as expected 2013-11-07 14:39:34 -05:00
Jarrod Johnson
836ea16603 Add links for self and collection as appropriate 2013-11-04 10:20:51 -05:00
Jarrod Johnson
73fba431ae Fix json output mistakes.
I may wish to change http api to a single json dumps.  At that point the
socket api would be the only consumer of the piecewise json messages.
Merging the json data is a non-trivial problem and httpapi is doing too much
hand assembly of the data.

http api would lose any hope of one request, staggered response behavior as a result,
but http is a terrible protocol for that anyway and there is always the socket api
2013-11-04 09:53:16 -05:00
Jarrod Johnson
559b00b8e8 Add relation information to json output 2013-11-03 17:07:17 -05:00
Jarrod Johnson
09bd9b3131 Better not found warnings 2013-11-03 14:57:58 -05:00
Jarrod Johnson
78bc2e8338 Start rendering parts of the links required for api exploring 2013-11-03 13:16:28 -05:00
Jarrod Johnson
4ee6f2bdb3 Have rest explorer provide for the ability of enumerated values be a dropdown selection 2013-11-03 12:30:22 -05:00
Jarrod Johnson
c60add3474 Clarify explorer text, have secret values present managed in password inputs 2013-11-03 10:39:37 -05:00
Jarrod Johnson
659f85eaa0 Add support for showing all as well as current attributes 2013-11-03 10:36:03 -05:00
Jarrod Johnson
58482c6090 Implement ability to change settings for an existing node 2013-11-03 10:21:54 -05:00
Jarrod Johnson
4ba42558b1 Add the attributes interface to messages for input checking 2013-11-03 10:12:50 -05:00
Jarrod Johnson
ada6302c2d Provide common entry point for input processing 2013-11-03 09:52:43 -05:00
Jarrod Johnson
51c80cdd74 Include some feedback in rest explorer on input data 2013-11-03 09:05:50 -05:00
Jarrod Johnson
ef3c8cd0c8 Add some header to the rest explorer interface 2013-11-03 08:50:03 -05:00
Jarrod Johnson
37f0c64c65 Factor out json and html renderings into distinct functions 2013-11-03 08:44:28 -05:00
Jarrod Johnson
6588a15174 Back off on the table attempt in the rest explorer interface 2013-11-03 08:18:44 -05:00
Jarrod Johnson
17a75d96ab Make use of the rest explorer html modifications 2013-11-03 01:11:19 -04:00
Jarrod Johnson
700d44cb6d More work on bringing rest explorer up to capable 2013-11-03 00:52:59 -04:00
Jarrod Johnson
11a86963c4 Add a check to influence the html form to act like update and ignore fields 2013-11-03 00:43:05 -04:00
Jarrod Johnson
c6ed89c3d7 Remove extraneous exploration prints 2013-11-03 00:25:51 -04:00
Jarrod Johnson
80bcc4a26f Rework attribute messages 2013-11-03 00:25:12 -04:00
Jarrod Johnson
180de88da1 Tolerate extensions in URLs 2013-11-03 00:02:13 -04:00
Jarrod Johnson
3fa61dc8f9 Wire up input to plugins for create/read 2013-11-02 19:45:10 -04:00
Jarrod Johnson
9765d2c2bb Fix problem where operation lookup as for naught 2013-11-02 19:01:53 -04:00
Jarrod Johnson
4ee20bafc7 Pave the way for things other than 'get' 2013-11-02 18:57:51 -04:00
Jarrod Johnson
f3fc2ace76 Add some beginnings of html form response for api explorer 2013-11-02 18:37:26 -04:00
Jarrod Johnson
04d2cd4ba3 Add attribute retrieval facility 2013-11-02 18:24:04 -04:00
Jarrod Johnson
3caafa063b Change to plugin subdirectories to better organize plugins 2013-11-02 17:45:55 -04:00
Jarrod Johnson
265dc4215e Correct issues with the attempted merge of crypto and configmanager 2013-11-02 17:35:58 -04:00
Jarrod Johnson
4eaaa0c1a9 Create particular exceptions and start using them 2013-11-02 17:32:48 -04:00
Jarrod Johnson
cf7ffe9de2 Merge crypto into configmanager 2013-11-02 17:26:52 -04:00
Jarrod Johnson
fc7d426d06 Address some problems caused by refactor 2013-11-02 17:21:34 -04:00
Jarrod Johnson
c242f32e73 Refactor configuration code into a distinct location 2013-11-02 16:58:38 -04:00
Jarrod Johnson
bb8c65fc34 Add definitions for standard messages to pass through pulig api 2013-11-02 14:52:32 -04:00
Jarrod Johnson
ec58c47bff Restore console functionality 2013-11-02 13:40:53 -04:00
Jarrod Johnson
67fe18fe3f Fix problem with an unhandled command without a default. 2013-11-02 13:30:29 -04:00
Jarrod Johnson
a8d0ec4c3c Renome current console to consoleserver and refactor 2013-11-02 13:25:56 -04:00
Jarrod Johnson
3a3dbf9f41 Progress toward more strictly defined objects
messages and consoles get classes to guide developers toward consistency.
2013-11-02 13:06:48 -04:00
Jarrod Johnson
21ea762b46 Further progress state of tlvdata
Correct read to recv and add some more info that will be required.
2013-11-02 13:05:58 -04:00
Jarrod Johnson
35a5e9cbf0 Continue trying to flesh out socket api 2013-10-23 13:38:54 -04:00
Jarrod Johnson
adf52517fd More cleanly handle unrecognized urls 2013-10-15 21:13:48 -04:00
Jarrod Johnson
126030b9db Begin work to do authentication and authorization on socket api 2013-10-14 11:28:07 -04:00
Jarrod Johnson
8d21674ced Implement unix domain socket in socket api 2013-10-14 09:21:55 -04:00
Jarrod Johnson
3d1e398977 Convert wsgi function to be generator
Since wsgi function returns iterable, it turns out to be easy to do it this way.

For now, hardcode json dumps, two things:
1: call out to module supporting HTML and JSON interpretation
2: in both cases, a header and footer must sandwich the responses in http

In socketapi, responses will come back without a container, but http
does not afford us such luxury.  Create a containing json structure.
On first iteration, do not prepend with ,.  prepend with , all other times.
2013-10-13 20:51:30 -04:00
Jarrod Johnson
17603a59fd Revert the strategy to manually track sessions for pyghmi
Since pyghmi now handles this automatically and in fact removes
the facility used to manually track this and it is much more
robust than this strategy.
2013-10-13 19:59:30 -04:00
Jarrod Johnson
49b3aed3e3 Add a tlvdata module 2013-10-12 21:19:15 -04:00
Jarrod Johnson
6a79a30fc0 Remove single byte TLV concept from socket protocol.
For local socket, it isn't enough to matter.  In network protocols, encryption
will generally cause things to be rounded up to the next 16 bytes anyway.

Make things simpler implementation wise by sticking to 4 byte tl bytes,
but still reserve TL with hi bit set, just in case.
2013-10-12 21:15:52 -04:00
Jarrod Johnson
53ce6f054c Add concept of defaulting plugin 2013-10-12 21:13:22 -04:00