mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
fixing small typo in jobs.py and adding sockets to the
new job results page
This commit is contained in:
parent
5a7c33c17a
commit
777a15f763
@ -132,7 +132,7 @@ export default ['jobResultsService', 'parseStdoutService', '$q', function(jobRes
|
|||||||
.then(count => {
|
.then(count => {
|
||||||
mungedEvent.count = count;
|
mungedEvent.count = count;
|
||||||
mungedEvent.count.failed++;
|
mungedEvent.count.failed++;
|
||||||
mungedEvent.stdout = event.stdout;
|
mungedEvent.stdout = parseStdoutService.parseStdout(event);
|
||||||
mungedEvent.changes = ['count', 'stdout'];
|
mungedEvent.changes = ['count', 'stdout'];
|
||||||
});
|
});
|
||||||
} else if (event.event_name === 'playbook_on_stats') {
|
} else if (event.event_name === 'playbook_on_stats') {
|
||||||
@ -140,7 +140,7 @@ export default ['jobResultsService', 'parseStdoutService', '$q', function(jobRes
|
|||||||
// get the data for populating the host status bar
|
// get the data for populating the host status bar
|
||||||
mungedEvent.count = jobResultsService
|
mungedEvent.count = jobResultsService
|
||||||
.getCountsFromStatsEvent(event.event_data);
|
.getCountsFromStatsEvent(event.event_data);
|
||||||
mungedEvent.stdout = event.stdout;
|
mungedEvent.stdout = parseStdoutService.parseStdout(event);
|
||||||
mungedEvent.finishedTime = event.modified;
|
mungedEvent.finishedTime = event.modified;
|
||||||
mungedEvent.changes = ['count', 'countFinished', 'finishedTime', 'stdout'];
|
mungedEvent.changes = ['count', 'countFinished', 'finishedTime', 'stdout'];
|
||||||
} else {
|
} else {
|
||||||
|
@ -15,10 +15,12 @@ export default {
|
|||||||
parent: 'jobs',
|
parent: 'jobs',
|
||||||
label: '{{ job.id }} - {{ job.name }}'
|
label: '{{ job.id }} - {{ job.name }}'
|
||||||
},
|
},
|
||||||
socket: {
|
data: {
|
||||||
"groups":{
|
socket: {
|
||||||
"jobs": ["status_changed", "summary"],
|
"groups":{
|
||||||
"job_events": []
|
"jobs": ["status_changed", "summary"],
|
||||||
|
"job_events": []
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
|
Loading…
Reference in New Issue
Block a user