2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-05-30 01:26:38 +00:00

38 Commits

Author SHA1 Message Date
Jarrod Johnson
9bf68c1639 Fix expression detection with unicode strings
If data was coming in as unicode strings (as is the case in the json
parser), it failed to treat the data as equivalent to string.  Correct
by checking both str and unicode for now
2014-03-01 10:48:08 -05:00
Jarrod Johnson
661d6b3eef Rename boot/device to boot/nextdevice
In order to make it more suggestive that the parameter means 'next one-time boot',
use different words.
2014-02-22 20:41:15 -05:00
Jarrod Johnson
f6ed5b5e14 Have confetty interactive attribute show be more informative 2014-02-22 19:12:42 -05:00
Jarrod Johnson
7894a056e1 Remove some debug output 2014-02-22 18:13:21 -05:00
Jarrod Johnson
896159da4c Recognize expressions at node/nodegroup creation time 2014-02-22 18:12:21 -05:00
Jarrod Johnson
f2c09795ff Fix expression based callout of other keys
The '_' prefixed attributes suggest more care should be taken.
2014-02-19 20:24:51 -05:00
Jarrod Johnson
b823bc37d2 Fixup unknown attribute handling.
For one, prevent unknown attributes from getting into configmanager from now on.
Additionally, have the attributes plugin manage to convey bad attributes when
encountered.
2014-02-19 19:10:58 -05:00
Jarrod Johnson
2b6188e0b6 Add nodegroup management to API
Have nodegroup attributes exposed via API so that they are at
least nominally useful
2014-02-18 13:22:07 -05:00
Jarrod Johnson
e01c96e534 Implement nodegroup deletion
Nodegroup deletion is now enabled.
2014-02-13 16:57:03 -05:00
Jarrod Johnson
722d0fe128 Fix API explorer to do list type attributes 2014-02-13 15:55:26 -05:00
Jarrod Johnson
c77eb5be3b Have configmanager protect against unrecognized data.
When doing a set, check the keynames and value types as
appropriate.  raise ValueError in the configmanager case
since it could be code or human mistake.  attributes plugin
then catches this error and propogates it up as an InvalidArgumentException
if it is just trying to pass in data from user.
2014-02-13 12:58:03 -05:00
Jarrod Johnson
5c0d64d17a Try unix socket by default in confetty
If the unix socket is available and nothing specified, try to use that
2014-02-10 19:44:43 -05:00
Jarrod Johnson
0d425f1f9f Add cli support for 'show'
confetty interactive mode can now do 'show' (aka read, retrieve, whatever) on
more abritrary resources.
2014-02-10 19:36:18 -05:00
Jarrod Johnson
2e2451a638 Rename 'powerstate' to 'state' in the /power/state resource.
Embracing a scheme where the primary attribute name of a resource
is named the same as the resource as it makes sense.
2014-02-10 18:38:15 -05:00
Jarrod Johnson
5aa6e6a26c Further make the sockapi and confetty client fleshed out
Here, fix a few mistakes with how relation objects got messaged out.
Add the ability to cd and ls in the confetty interactive mode
2014-02-09 19:26:48 -05:00
Jarrod Johnson
abab0e5cae Flesh out the confetty interactive console slightly 2014-02-09 17:35:49 -05:00
Jarrod Johnson
9aa73718b9 Manipulate code to make it conform to pep8 2014-02-06 14:04:02 -05:00
Jarrod Johnson
fe63b1421e Trim as-yet unused attributes.
Have RESTful access to creating nodes work
2014-01-28 11:18:00 -05:00
Jarrod Johnson
7752bbbc27 Enumerate nodegroups 2013-11-13 15:12:57 -05:00
Jarrod Johnson
ecc7c21fc4 Support list style attributes (notably groups) in the api explorer 2013-11-13 10:36:43 -05:00
Jarrod Johnson
6947f98d62 Rework some messages details, make boot device work 2013-11-07 16:33:48 -05:00
Jarrod Johnson
215acdf4a7 Have rest explorer actually mostly work as expected 2013-11-07 14:39:34 -05:00
Jarrod Johnson
559b00b8e8 Add relation information to json output 2013-11-03 17:07:17 -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
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
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
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
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
bb8c65fc34 Add definitions for standard messages to pass through pulig api 2013-11-02 14:52:32 -04:00