Invalid xml produced by API from getting execution state. #2268

Open
richiereynolds opened this Issue Jan 9, 2017 · 0 comments

Projects

None yet

2 participants

@richiereynolds

Bug report

My Rundeck detail

  • Rundeck version: 2.6.9-1
  • install type: rpm
  • OS Name/version: RH 6.7

Expected Behavior
Valid xml to be returned when requesting execution state from API


Actual Behavior
Invalid xml is returned


How to reproduce Behavior
curl -ksS -X GET --header "X-Rundeck-Auth-Token:" --header "Accept:text/xml" "https://localhost:4440/api/17/execution//state"


Hi, after running a job, I've checked the json on the server, copied below.
When this is converted to xml, it produces invalid xml.
I get that invalid xml back back when requesting text/xml from the API.
(and also when converting the json to xml on a website as a check)
The issue appears to be around the node field in parameterStates, it doesn't have a name attribute, instead it just says "node = the NodeName"

JSON:
{"executionId":61502,"nodes":{"localhost":[{"stepctx":"1/1","executionState":"SUCCEEDED"},{"stepctx":"1@node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh/1","executionState":"SUCCEEDED"},{"stepctx":"1@node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh/1","executionState":"SUCCEEDED"},{"stepctx":"1@node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh/1","executionState":"SUCCEEDED"},{"stepctx":"1@node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh/1","executionState":"SUCCEEDED"},{"stepctx":"2/1","executionState":"SUCCEEDED"},{"stepctx":"2@node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh/1","executionState":"SUCCEEDED"},{"stepctx":"2@node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh/1","executionState":"SUCCEEDED"},{"stepctx":"2@node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh/1","executionState":"SUCCEEDED"},{"stepctx":"2@node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh/1","executionState":"SUCCEEDED"}]},"serverNode":"localhost","executionState":"SUCCEEDED","completed":true,"targetNodes":["NY.NY4XTP.ny4-dgtp-xtp7-14.batfh","NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh","NY.NY4XTP.ny4-dgtp-xtp7-16.deafh","NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh"],"allNodes":["NY.NY4XTP.ny4-dgtp-xtp7-14.batfh","NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh","NY.NY4XTP.ny4-dgtp-xtp7-16.deafh","NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh","localhost"],"stepCount":2,"updateTime":"2017-01-09T13:42:10Z","startTime":"2017-01-09T13:42:07Z","endTime":"2017-01-09T13:42:10Z","steps":[{"hasSubworkflow":true,"workflow":{"executionState":"SUCCEEDED","completed":true,"targetNodes":["localhost"],"allNodes":["localhost"],"stepCount":1,"updateTime":"2017-01-09T13:42:08Z","startTime":"2017-01-09T13:42:07Z","endTime":"2017-01-09T13:42:08Z","steps":[{"nodeStates":{"localhost":{"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:07Z","updateTime":"2017-01-09T13:42:08Z","duration":1244,"endTime":"2017-01-09T13:42:08Z"}},"parameterStates":{},"id":"1","stepctx":"1/1","nodeStep":true,"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:07Z","updateTime":"2017-01-09T13:42:08Z","duration":1245,"endTime":"2017-01-09T13:42:08Z"}]},"parameterStates":{"node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh":{"hasSubworkflow":true,"workflow":{"executionState":"SUCCEEDED","completed":true,"targetNodes":["localhost"],"allNodes":["localhost"],"stepCount":1,"updateTime":"2017-01-09T13:42:08Z","startTime":"2017-01-09T13:42:07Z","endTime":"2017-01-09T13:42:08Z","steps":[{"nodeStates":{"localhost":{"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:07Z","updateTime":"2017-01-09T13:42:08Z","duration":1234,"endTime":"2017-01-09T13:42:08Z"}},"parameterStates":{},"id":"1","stepctx":"1@node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh/1","nodeStep":true,"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:07Z","updateTime":"2017-01-09T13:42:07Z","duration":1235,"endTime":"2017-01-09T13:42:08Z"}]},"parameterStates":{},"parameters":{"node":"NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh"},"id":"1@node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh","stepctx":"1@node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh","nodeStep":true,"executionState":"NODE_PARTIAL_SUCCEEDED","startTime":null,"updateTime":null,"duration":-1,"endTime":"2017-01-09T13:42:08Z"},"node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh":{"hasSubworkflow":true,"workflow":{"executionState":"SUCCEEDED","completed":true,"targetNodes":["localhost"],"allNodes":["localhost"],"stepCount":1,"updateTime":"2017-01-09T13:42:08Z","startTime":"2017-01-09T13:42:07Z","endTime":"2017-01-09T13:42:08Z","steps":[{"nodeStates":{"localhost":{"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:07Z","updateTime":"2017-01-09T13:42:08Z","duration":1234,"endTime":"2017-01-09T13:42:08Z"}},"parameterStates":{},"id":"1","stepctx":"1@node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh/1","nodeStep":true,"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:07Z","updateTime":"2017-01-09T13:42:07Z","duration":1235,"endTime":"2017-01-09T13:42:08Z"}]},"parameterStates":{},"parameters":{"node":"NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh"},"id":"1@node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh","stepctx":"1@node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh","nodeStep":true,"executionState":"NODE_PARTIAL_SUCCEEDED","startTime":null,"updateTime":null,"duration":-1,"endTime":"2017-01-09T13:42:08Z"},"node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh":{"hasSubworkflow":true,"workflow":{"executionState":"SUCCEEDED","completed":true,"targetNodes":["localhost"],"allNodes":["localhost"],"stepCount":1,"updateTime":"2017-01-09T13:42:08Z","startTime":"2017-01-09T13:42:07Z","endTime":"2017-01-09T13:42:08Z","steps":[{"nodeStates":{"localhost":{"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:07Z","updateTime":"2017-01-09T13:42:08Z","duration":1242,"endTime":"2017-01-09T13:42:08Z"}},"parameterStates":{},"id":"1","stepctx":"1@node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh/1","nodeStep":true,"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:07Z","updateTime":"2017-01-09T13:42:07Z","duration":1243,"endTime":"2017-01-09T13:42:08Z"}]},"parameterStates":{},"parameters":{"node":"NY.NY4XTP.ny4-dgtp-xtp7-14.batfh"},"id":"1@node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh","stepctx":"1@node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh","nodeStep":true,"executionState":"NODE_PARTIAL_SUCCEEDED","startTime":null,"updateTime":null,"duration":-1,"endTime":"2017-01-09T13:42:08Z"},"node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh":{"hasSubworkflow":true,"workflow":{"executionState":"SUCCEEDED","completed":true,"targetNodes":["localhost"],"allNodes":["localhost"],"stepCount":1,"updateTime":"2017-01-09T13:42:08Z","startTime":"2017-01-09T13:42:07Z","endTime":"2017-01-09T13:42:08Z","steps":[{"nodeStates":{"localhost":{"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:07Z","updateTime":"2017-01-09T13:42:08Z","duration":1232,"endTime":"2017-01-09T13:42:08Z"}},"parameterStates":{},"id":"1","stepctx":"1@node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh/1","nodeStep":true,"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:07Z","updateTime":"2017-01-09T13:42:07Z","duration":1232,"endTime":"2017-01-09T13:42:08Z"}]},"parameterStates":{},"parameters":{"node":"NY.NY4XTP.ny4-dgtp-xtp7-16.deafh"},"id":"1@node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh","stepctx":"1@node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh","nodeStep":true,"executionState":"NODE_PARTIAL_SUCCEEDED","startTime":null,"updateTime":null,"duration":-1,"endTime":"2017-01-09T13:42:08Z"}},"id":"1","stepctx":"1","nodeStep":true,"executionState":"NODE_MIXED","startTime":"2017-01-09T13:42:07Z","updateTime":"2017-01-09T13:42:08Z","duration":1264,"endTime":"2017-01-09T13:42:08Z"},{"hasSubworkflow":true,"workflow":{"executionState":"SUCCEEDED","completed":true,"targetNodes":["localhost"],"allNodes":["localhost"],"stepCount":1,"updateTime":"2017-01-09T13:42:10Z","startTime":"2017-01-09T13:42:08Z","endTime":"2017-01-09T13:42:10Z","steps":[{"nodeStates":{"localhost":{"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:08Z","updateTime":"2017-01-09T13:42:10Z","duration":1236,"endTime":"2017-01-09T13:42:10Z"}},"parameterStates":{},"id":"1","stepctx":"2/1","nodeStep":true,"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:08Z","updateTime":"2017-01-09T13:42:10Z","duration":1237,"endTime":"2017-01-09T13:42:10Z"}]},"parameterStates":{"node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh":{"hasSubworkflow":true,"workflow":{"executionState":"SUCCEEDED","completed":true,"targetNodes":["localhost"],"allNodes":["localhost"],"stepCount":1,"updateTime":"2017-01-09T13:42:10Z","startTime":"2017-01-09T13:42:08Z","endTime":"2017-01-09T13:42:10Z","steps":[{"nodeStates":{"localhost":{"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:08Z","updateTime":"2017-01-09T13:42:10Z","duration":1230,"endTime":"2017-01-09T13:42:10Z"}},"parameterStates":{},"id":"1","stepctx":"2@node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh/1","nodeStep":true,"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:08Z","updateTime":"2017-01-09T13:42:08Z","duration":1230,"endTime":"2017-01-09T13:42:10Z"}]},"parameterStates":{},"parameters":{"node":"NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh"},"id":"2@node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh","stepctx":"2@node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh","nodeStep":true,"executionState":"NODE_PARTIAL_SUCCEEDED","startTime":null,"updateTime":null,"duration":-1,"endTime":"2017-01-09T13:42:10Z"},"node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh":{"hasSubworkflow":true,"workflow":{"executionState":"SUCCEEDED","completed":true,"targetNodes":["localhost"],"allNodes":["localhost"],"stepCount":1,"updateTime":"2017-01-09T13:42:10Z","startTime":"2017-01-09T13:42:08Z","endTime":"2017-01-09T13:42:10Z","steps":[{"nodeStates":{"localhost":{"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:08Z","updateTime":"2017-01-09T13:42:10Z","duration":1233,"endTime":"2017-01-09T13:42:10Z"}},"parameterStates":{},"id":"1","stepctx":"2@node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh/1","nodeStep":true,"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:08Z","updateTime":"2017-01-09T13:42:08Z","duration":1234,"endTime":"2017-01-09T13:42:10Z"}]},"parameterStates":{},"parameters":{"node":"NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh"},"id":"2@node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh","stepctx":"2@node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh","nodeStep":true,"executionState":"NODE_PARTIAL_SUCCEEDED","startTime":null,"updateTime":null,"duration":-1,"endTime":"2017-01-09T13:42:10Z"},"node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh":{"hasSubworkflow":true,"workflow":{"executionState":"SUCCEEDED","completed":true,"targetNodes":["localhost"],"allNodes":["localhost"],"stepCount":1,"updateTime":"2017-01-09T13:42:10Z","startTime":"2017-01-09T13:42:08Z","endTime":"2017-01-09T13:42:10Z","steps":[{"nodeStates":{"localhost":{"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:08Z","updateTime":"2017-01-09T13:42:10Z","duration":1221,"endTime":"2017-01-09T13:42:10Z"}},"parameterStates":{},"id":"1","stepctx":"2@node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh/1","nodeStep":true,"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:08Z","updateTime":"2017-01-09T13:42:08Z","duration":1221,"endTime":"2017-01-09T13:42:10Z"}]},"parameterStates":{},"parameters":{"node":"NY.NY4XTP.ny4-dgtp-xtp7-14.batfh"},"id":"2@node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh","stepctx":"2@node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh","nodeStep":true,"executionState":"NODE_PARTIAL_SUCCEEDED","startTime":null,"updateTime":null,"duration":-1,"endTime":"2017-01-09T13:42:10Z"},"node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh":{"hasSubworkflow":true,"workflow":{"executionState":"SUCCEEDED","completed":true,"targetNodes":["localhost"],"allNodes":["localhost"],"stepCount":1,"updateTime":"2017-01-09T13:42:10Z","startTime":"2017-01-09T13:42:08Z","endTime":"2017-01-09T13:42:10Z","steps":[{"nodeStates":{"localhost":{"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:08Z","updateTime":"2017-01-09T13:42:10Z","duration":1223,"endTime":"2017-01-09T13:42:10Z"}},"parameterStates":{},"id":"1","stepctx":"2@node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh/1","nodeStep":true,"executionState":"SUCCEEDED","startTime":"2017-01-09T13:42:08Z","updateTime":"2017-01-09T13:42:08Z","duration":1223,"endTime":"2017-01-09T13:42:10Z"}]},"parameterStates":{},"parameters":{"node":"NY.NY4XTP.ny4-dgtp-xtp7-16.deafh"},"id":"2@node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh","stepctx":"2@node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh","nodeStep":true,"executionState":"NODE_PARTIAL_SUCCEEDED","startTime":null,"updateTime":null,"duration":-1,"endTime":"2017-01-09T13:42:10Z"}},"id":"2","stepctx":"2","nodeStep":true,"executionState":"NODE_MIXED","startTime":"2017-01-09T13:42:08Z","updateTime":"2017-01-09T13:42:10Z","duration":1257,"endTime":"2017-01-09T13:42:10Z"}]}

XML
<result success='true' apiversion='17'><executionState id='61502'><startTime>2017-01-09T13:42:07Z</startTime><stepCount>2</stepCount><allNodes><nodes><node name='NY.NY4XTP.ny4-dgtp-xtp7-14.batfh'></node><node name='NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh'></node><node name='NY.NY4XTP.ny4-dgtp-xtp7-16.deafh'></node><node name='NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh'></node><node name='localhost'></node></nodes></allNodes><targetNodes><nodes><node name='NY.NY4XTP.ny4-dgtp-xtp7-14.batfh'></node><node name='NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh'></node><node name='NY.NY4XTP.ny4-dgtp-xtp7-16.deafh'></node><node name='NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh'></node></nodes></targetNodes><updateTime>2017-01-09T13:42:10Z</updateTime><executionId>61502</executionId><serverNode>localhost</serverNode><endTime>2017-01-09T13:42:10Z</endTime><executionState>SUCCEEDED</executionState><completed>true</completed><steps><step stepctx='1' id='1'><startTime>2017-01-09T13:42:07Z</startTime><nodeStep>true</nodeStep><duration>1264</duration><updateTime>2017-01-09T13:42:08Z</updateTime><parameterStates><node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh><startTime>null</startTime><id>1@node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh</id><nodeStep>true</nodeStep><duration>-1</duration><stepctx>1@node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh</stepctx><updateTime>null</updateTime><parameterStates></parameterStates><hasSubworkflow>true</hasSubworkflow><parameters><node>NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh</node></parameters><endTime>2017-01-09T13:42:08Z</endTime><executionState>NODE_PARTIAL_SUCCEEDED</executionState><workflow><startTime>2017-01-09T13:42:07Z</startTime><stepCount>1</stepCount><allNodes>localhost</allNodes><targetNodes>localhost</targetNodes><updateTime>2017-01-09T13:42:08Z</updateTime><steps><startTime>2017-01-09T13:42:07Z</startTime><id>1</id><nodeStep>true</nodeStep><duration>1235</duration><stepctx>1@node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh/1</stepctx><updateTime>2017-01-09T13:42:07Z</updateTime><parameterStates></parameterStates><nodeStates><localhost><startTime>2017-01-09T13:42:07Z</startTime><duration>1234</duration><updateTime>2017-01-09T13:42:08Z</updateTime><endTime>2017-01-09T13:42:08Z</endTime><executionState>SUCCEEDED</executionState></localhost></nodeStates><endTime>2017-01-09T13:42:08Z</endTime><executionState>SUCCEEDED</executionState></steps><endTime>2017-01-09T13:42:08Z</endTime><executionState>SUCCEEDED</executionState><completed>true</completed></workflow></node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh><node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh><startTime>null</startTime><id>1@node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh</id><nodeStep>true</nodeStep><duration>-1</duration><stepctx>1@node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh</stepctx><updateTime>null</updateTime><parameterStates></parameterStates><hasSubworkflow>true</hasSubworkflow><parameters><node>NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh</node></parameters><endTime>2017-01-09T13:42:08Z</endTime><executionState>NODE_PARTIAL_SUCCEEDED</executionState><workflow><startTime>2017-01-09T13:42:07Z</startTime><stepCount>1</stepCount><allNodes>localhost</allNodes><targetNodes>localhost</targetNodes><updateTime>2017-01-09T13:42:08Z</updateTime><steps><startTime>2017-01-09T13:42:07Z</startTime><id>1</id><nodeStep>true</nodeStep><duration>1235</duration><stepctx>1@node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh/1</stepctx><updateTime>2017-01-09T13:42:07Z</updateTime><parameterStates></parameterStates><nodeStates><localhost><startTime>2017-01-09T13:42:07Z</startTime><duration>1234</duration><updateTime>2017-01-09T13:42:08Z</updateTime><endTime>2017-01-09T13:42:08Z</endTime><executionState>SUCCEEDED</executionState></localhost></nodeStates><endTime>2017-01-09T13:42:08Z</endTime><executionState>SUCCEEDED</executionState></steps><endTime>2017-01-09T13:42:08Z</endTime><executionState>SUCCEEDED</executionState><completed>true</completed></workflow></node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh><node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh><startTime>null</startTime><id>1@node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh</id><nodeStep>true</nodeStep><duration>-1</duration><stepctx>1@node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh</stepctx><updateTime>null</updateTime><parameterStates></parameterStates><hasSubworkflow>true</hasSubworkflow><parameters><node>NY.NY4XTP.ny4-dgtp-xtp7-14.batfh</node></parameters><endTime>2017-01-09T13:42:08Z</endTime><executionState>NODE_PARTIAL_SUCCEEDED</executionState><workflow><startTime>2017-01-09T13:42:07Z</startTime><stepCount>1</stepCount><allNodes>localhost</allNodes><targetNodes>localhost</targetNodes><updateTime>2017-01-09T13:42:08Z</updateTime><steps><startTime>2017-01-09T13:42:07Z</startTime><id>1</id><nodeStep>true</nodeStep><duration>1243</duration><stepctx>1@node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh/1</stepctx><updateTime>2017-01-09T13:42:07Z</updateTime><parameterStates></parameterStates><nodeStates><localhost><startTime>2017-01-09T13:42:07Z</startTime><duration>1242</duration><updateTime>2017-01-09T13:42:08Z</updateTime><endTime>2017-01-09T13:42:08Z</endTime><executionState>SUCCEEDED</executionState></localhost></nodeStates><endTime>2017-01-09T13:42:08Z</endTime><executionState>SUCCEEDED</executionState></steps><endTime>2017-01-09T13:42:08Z</endTime><executionState>SUCCEEDED</executionState><completed>true</completed></workflow></node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh><node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh><startTime>null</startTime><id>1@node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh</id><nodeStep>true</nodeStep><duration>-1</duration><stepctx>1@node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh</stepctx><updateTime>null</updateTime><parameterStates></parameterStates><hasSubworkflow>true</hasSubworkflow><parameters><node>NY.NY4XTP.ny4-dgtp-xtp7-16.deafh</node></parameters><endTime>2017-01-09T13:42:08Z</endTime><executionState>NODE_PARTIAL_SUCCEEDED</executionState><workflow><startTime>2017-01-09T13:42:07Z</startTime><stepCount>1</stepCount><allNodes>localhost</allNodes><targetNodes>localhost</targetNodes><updateTime>2017-01-09T13:42:08Z</updateTime><steps><startTime>2017-01-09T13:42:07Z</startTime><id>1</id><nodeStep>true</nodeStep><duration>1232</duration><stepctx>1@node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh/1</stepctx><updateTime>2017-01-09T13:42:07Z</updateTime><parameterStates></parameterStates><nodeStates><localhost><startTime>2017-01-09T13:42:07Z</startTime><duration>1232</duration><updateTime>2017-01-09T13:42:08Z</updateTime><endTime>2017-01-09T13:42:08Z</endTime><executionState>SUCCEEDED</executionState></localhost></nodeStates><endTime>2017-01-09T13:42:08Z</endTime><executionState>SUCCEEDED</executionState></steps><endTime>2017-01-09T13:42:08Z</endTime><executionState>SUCCEEDED</executionState><completed>true</completed></workflow></node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh></parameterStates><hasSubworkflow>true</hasSubworkflow><endTime>2017-01-09T13:42:08Z</endTime><executionState>NODE_MIXED</executionState><workflow><startTime>2017-01-09T13:42:07Z</startTime><stepCount>1</stepCount><allNodes><nodes><node name='localhost'></node></nodes></allNodes><targetNodes><nodes><node name='localhost'></node></nodes></targetNodes><updateTime>2017-01-09T13:42:08Z</updateTime><endTime>2017-01-09T13:42:08Z</endTime><executionState>SUCCEEDED</executionState><completed>true</completed><steps><step stepctx='1/1' id='1'><startTime>2017-01-09T13:42:07Z</startTime><nodeStep>true</nodeStep><duration>1245</duration><updateTime>2017-01-09T13:42:08Z</updateTime><parameterStates></parameterStates><endTime>2017-01-09T13:42:08Z</endTime><executionState>SUCCEEDED</executionState><nodeStates><nodeState name='localhost'><startTime>2017-01-09T13:42:07Z</startTime><duration>1244</duration><updateTime>2017-01-09T13:42:08Z</updateTime><endTime>2017-01-09T13:42:08Z</endTime><executionState>SUCCEEDED</executionState></nodeState></nodeStates></step></steps></workflow></step><step stepctx='2' id='2'><startTime>2017-01-09T13:42:08Z</startTime><nodeStep>true</nodeStep><duration>1257</duration><updateTime>2017-01-09T13:42:10Z</updateTime><parameterStates><node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh><startTime>null</startTime><id>2@node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh</id><nodeStep>true</nodeStep><duration>-1</duration><stepctx>2@node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh</stepctx><updateTime>null</updateTime><parameterStates></parameterStates><hasSubworkflow>true</hasSubworkflow><parameters><node>NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh</node></parameters><endTime>2017-01-09T13:42:10Z</endTime><executionState>NODE_PARTIAL_SUCCEEDED</executionState><workflow><startTime>2017-01-09T13:42:08Z</startTime><stepCount>1</stepCount><allNodes>localhost</allNodes><targetNodes>localhost</targetNodes><updateTime>2017-01-09T13:42:10Z</updateTime><steps><startTime>2017-01-09T13:42:08Z</startTime><id>1</id><nodeStep>true</nodeStep><duration>1234</duration><stepctx>2@node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh/1</stepctx><updateTime>2017-01-09T13:42:08Z</updateTime><parameterStates></parameterStates><nodeStates><localhost><startTime>2017-01-09T13:42:08Z</startTime><duration>1233</duration><updateTime>2017-01-09T13:42:10Z</updateTime><endTime>2017-01-09T13:42:10Z</endTime><executionState>SUCCEEDED</executionState></localhost></nodeStates><endTime>2017-01-09T13:42:10Z</endTime><executionState>SUCCEEDED</executionState></steps><endTime>2017-01-09T13:42:10Z</endTime><executionState>SUCCEEDED</executionState><completed>true</completed></workflow></node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh><node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh><startTime>null</startTime><id>2@node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh</id><nodeStep>true</nodeStep><duration>-1</duration><stepctx>2@node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh</stepctx><updateTime>null</updateTime><parameterStates></parameterStates><hasSubworkflow>true</hasSubworkflow><parameters><node>NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh</node></parameters><endTime>2017-01-09T13:42:10Z</endTime><executionState>NODE_PARTIAL_SUCCEEDED</executionState><workflow><startTime>2017-01-09T13:42:08Z</startTime><stepCount>1</stepCount><allNodes>localhost</allNodes><targetNodes>localhost</targetNodes><updateTime>2017-01-09T13:42:10Z</updateTime><steps><startTime>2017-01-09T13:42:08Z</startTime><id>1</id><nodeStep>true</nodeStep><duration>1230</duration><stepctx>2@node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh/1</stepctx><updateTime>2017-01-09T13:42:08Z</updateTime><parameterStates></parameterStates><nodeStates><localhost><startTime>2017-01-09T13:42:08Z</startTime><duration>1230</duration><updateTime>2017-01-09T13:42:10Z</updateTime><endTime>2017-01-09T13:42:10Z</endTime><executionState>SUCCEEDED</executionState></localhost></nodeStates><endTime>2017-01-09T13:42:10Z</endTime><executionState>SUCCEEDED</executionState></steps><endTime>2017-01-09T13:42:10Z</endTime><executionState>SUCCEEDED</executionState><completed>true</completed></workflow></node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh><node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh><startTime>null</startTime><id>2@node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh</id><nodeStep>true</nodeStep><duration>-1</duration><stepctx>2@node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh</stepctx><updateTime>null</updateTime><parameterStates></parameterStates><hasSubworkflow>true</hasSubworkflow><parameters><node>NY.NY4XTP.ny4-dgtp-xtp7-14.batfh</node></parameters><endTime>2017-01-09T13:42:10Z</endTime><executionState>NODE_PARTIAL_SUCCEEDED</executionState><workflow><startTime>2017-01-09T13:42:08Z</startTime><stepCount>1</stepCount><allNodes>localhost</allNodes><targetNodes>localhost</targetNodes><updateTime>2017-01-09T13:42:10Z</updateTime><steps><startTime>2017-01-09T13:42:08Z</startTime><id>1</id><nodeStep>true</nodeStep><duration>1221</duration><stepctx>2@node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh/1</stepctx><updateTime>2017-01-09T13:42:08Z</updateTime><parameterStates></parameterStates><nodeStates><localhost><startTime>2017-01-09T13:42:08Z</startTime><duration>1221</duration><updateTime>2017-01-09T13:42:10Z</updateTime><endTime>2017-01-09T13:42:10Z</endTime><executionState>SUCCEEDED</executionState></localhost></nodeStates><endTime>2017-01-09T13:42:10Z</endTime><executionState>SUCCEEDED</executionState></steps><endTime>2017-01-09T13:42:10Z</endTime><executionState>SUCCEEDED</executionState><completed>true</completed></workflow></node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh><node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh><startTime>null</startTime><id>2@node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh</id><nodeStep>true</nodeStep><duration>-1</duration><stepctx>2@node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh</stepctx><updateTime>null</updateTime><parameterStates></parameterStates><hasSubworkflow>true</hasSubworkflow><parameters><node>NY.NY4XTP.ny4-dgtp-xtp7-16.deafh</node></parameters><endTime>2017-01-09T13:42:10Z</endTime><executionState>NODE_PARTIAL_SUCCEEDED</executionState><workflow><startTime>2017-01-09T13:42:08Z</startTime><stepCount>1</stepCount><allNodes>localhost</allNodes><targetNodes>localhost</targetNodes><updateTime>2017-01-09T13:42:10Z</updateTime><steps><startTime>2017-01-09T13:42:08Z</startTime><id>1</id><nodeStep>true</nodeStep><duration>1223</duration><stepctx>2@node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh/1</stepctx><updateTime>2017-01-09T13:42:08Z</updateTime><parameterStates></parameterStates><nodeStates><localhost><startTime>2017-01-09T13:42:08Z</startTime><duration>1223</duration><updateTime>2017-01-09T13:42:10Z</updateTime><endTime>2017-01-09T13:42:10Z</endTime><executionState>SUCCEEDED</executionState></localhost></nodeStates><endTime>2017-01-09T13:42:10Z</endTime><executionState>SUCCEEDED</executionState></steps><endTime>2017-01-09T13:42:10Z</endTime><executionState>SUCCEEDED</executionState><completed>true</completed></workflow></node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh></parameterStates><hasSubworkflow>true</hasSubworkflow><endTime>2017-01-09T13:42:10Z</endTime><executionState>NODE_MIXED</executionState><workflow><startTime>2017-01-09T13:42:08Z</startTime><stepCount>1</stepCount><allNodes><nodes><node name='localhost'></node></nodes></allNodes><targetNodes><nodes><node name='localhost'></node></nodes></targetNodes><updateTime>2017-01-09T13:42:10Z</updateTime><endTime>2017-01-09T13:42:10Z</endTime><executionState>SUCCEEDED</executionState><completed>true</completed><steps><step stepctx='2/1' id='1'><startTime>2017-01-09T13:42:08Z</startTime><nodeStep>true</nodeStep><duration>1237</duration><updateTime>2017-01-09T13:42:10Z</updateTime><parameterStates></parameterStates><endTime>2017-01-09T13:42:10Z</endTime><executionState>SUCCEEDED</executionState><nodeStates><nodeState name='localhost'><startTime>2017-01-09T13:42:08Z</startTime><duration>1236</duration><updateTime>2017-01-09T13:42:10Z</updateTime><endTime>2017-01-09T13:42:10Z</endTime><executionState>SUCCEEDED</executionState></nodeState></nodeStates></step></steps></workflow></step></steps><nodes><node name='localhost'><steps><step><stepctx>1/1</stepctx><executionState>SUCCEEDED</executionState></step><step><stepctx>1@node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh/1</stepctx><executionState>SUCCEEDED</executionState></step><step><stepctx>1@node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh/1</stepctx><executionState>SUCCEEDED</executionState></step><step><stepctx>1@node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh/1</stepctx><executionState>SUCCEEDED</executionState></step><step><stepctx>1@node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh/1</stepctx><executionState>SUCCEEDED</executionState></step><step><stepctx>2/1</stepctx><executionState>SUCCEEDED</executionState></step><step><stepctx>2@node=NY.NY4XTP.ny4-dgtp-xtp7-14.byxfh/1</stepctx><executionState>SUCCEEDED</executionState></step><step><stepctx>2@node=NY.NY4XTP.ny4-dgtp-xtp7-16.dexfh/1</stepctx><executionState>SUCCEEDED</executionState></step><step><stepctx>2@node=NY.NY4XTP.ny4-dgtp-xtp7-14.batfh/1</stepctx><executionState>SUCCEEDED</executionState></step><step><stepctx>2@node=NY.NY4XTP.ny4-dgtp-xtp7-16.deafh/1</stepctx><executionState>SUCCEEDED</executionState></step></steps></node></nodes></executionState></result>

@gschueler gschueler added the bug label Jan 10, 2017
@jamieps jamieps added a commit to jamieps/rundeck that referenced this issue Jan 13, 2017
@jamieps jamieps Correct generated structure of node states in execution state API,
remove parameterStates (fix #2268)

This brings it in line with:
http://rundeck.org/docs/api/index.html#execution-state

- Add API tests for execution state call
0e6039d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment