Support "old" and "new" JSON options format
Reported by Alex-SF | 2011-05-17 11:05:30 UTC | in Rundeck 1.2.1
Support the 1.1 JSON format for options
Comments and changes to this ticket
-

Moses Lei 2011-05-17 14:12:30 UTC
Example of 1.1 format:
[ {name:"Acme Release 38166-0",value:"38166"}, {name:"Acme Release 38132-0",value:"38132"}, {name:"Acme Release 38079-0",value:"38079"}, {name:"Acme Release 37881-0",value:"37881"}, ]
-

Moses Lei 2011-05-17 14:14:28 UTC
- no changes were found...
-

-

Greg Schueler 2011-05-17 14:16:46 UTC
I assume for the JSON option format, you mean to support the Ctlcenter format?
http://doc36.controltier.org/wiki/Job-v20.xml#valuesUrl_JSON
vs
http://rundeck.org/1.0/RunDeck-Guide.html#json-format
which is the same as
-

Alex-SF 2011-05-17 14:19:03 UTC
- no changes were found...
-

Greg Schueler 2011-05-17 14:45:57 UTC
i think the old method also sorted the keys...otherwise the order would be nondeterministic. Going to sort them unless someone votes otherwise.
-

Deleted User 2011-05-17 14:48:56 UTC
- State changed from new to resolved
(from [f40f76696f085bddb504a3d87318e100590eba11]) Support original unordered object json format [#291 state:resolved] https://github.com/dtolabs/rundeck/commit/f40f76696f085bddb504a3d87...
-

Alex-SF 2011-06-01 10:45:30 UTC
- Tag set to customer request, options dropdown
-

Deleted User 2011-06-06 10:04:31 UTC
(from [84e9d008255014234db5f8899482bdd24554aa05]) Document support for old json options format [#291] https://github.com/dtolabs/rundeck/commit/84e9d008255014234db5f8899...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues
People watching this ticket
Attachments
Referenced by
-
291
Support "old" and "new" JSON options format
(from [f40f76696f085bddb504a3d87318e100590eba11])
Support...
-
302
Support "old" and "new" JSON options format (1.3)
ref #291
-
291
Support "old" and "new" JSON options format
(from [84e9d008255014234db5f8899482bdd24554aa05])
Documen...