js->pub.cream_state = EDG_WLL_STAT_REGISTERED;
}
if (USABLE_DATA(res)) {
+ rep_cond(js->pub.cream_owner, js->pub.owner);
+ rep_cond(js->pub.cream_jdl, e->regJob.jdl);
+ rep_cond(js->pub.cream_endpoint, e->regJob.ns);
}
break;
case EDG_WLL_EVENT_CREAMSTART:
if (USABLE(res)) {
js->pub.state = EDG_WLL_JOB_RUNNING;
js->pub.cream_state = EDG_WLL_STAT_RUNNING;
+ if (e->any.source == EDG_WLL_SOURCE_LRMS) {
+ js->pub.cream_jw_status = EDG_WLL_STAT_WRAPPER_RUNNING;
+ }
}
if (USABLE_DATA(res)) {
js->pub.cream_node = e->CREAMRunning.node;
if (USABLE(res)) {
js->pub.state = EDG_WLL_JOB_RUNNING;
js->pub.cream_state = EDG_WLL_STAT_REALLYRUNNING;
+ if (e->any.source == EDG_WLL_SOURCE_LRMS) {
+ js->pub.cream_jw_status = EDG_WLL_STAT_PAYLOAD_RUNNING;
+ }
}
if (USABLE_DATA(res)) {
}
if (USABLE(res)) {
js->pub.state = EDG_WLL_JOB_DONE;
js->pub.cream_state = (e->CREAMDone.status_code == EDG_WLL_DONE_OK) ? EDG_WLL_STAT_DONEOK : EDG_WLL_STAT_DONEFAILED;
+ if (e->any.source == EDG_WLL_SOURCE_LRMS) {
+ js->pub.cream_jw_status = EDG_WLL_STAT_DONE;
+ }
}
if (USABLE_DATA(res)) {
js->pub.cream_done_code = e->CREAMDone.status_code;
}
}
if (USABLE_DATA(res)) {
- js->pub.cream_cancel_reason = e->CREAMCancel.reason;
+ js->pub.cream_reason = e->CREAMCancel.reason;
}
break;
case EDG_WLL_EVENT_CREAMABORT: