refs #772
Support Scheduled Task take in charge from Orphaned RIs git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/vre-management/smart-executor@142464 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1811e75fb1
commit
abeba6a08d
|
@ -348,8 +348,10 @@ public class OrientDBPersistenceConnector extends
|
|||
}
|
||||
|
||||
RunOn runOn = ScheduledTask.generateRunOn();
|
||||
String json = mapper.writeValueAsString(runOn);
|
||||
doc.field(RUN_ON, json);
|
||||
|
||||
ODocument runOnDocument = new ODocument();
|
||||
runOnDocument.fromJSON(mapper.writeValueAsString(runOn));
|
||||
doc.field(RUN_ON, runOnDocument);
|
||||
|
||||
timestamp = Calendar.getInstance().getTimeInMillis();
|
||||
doc.field(TIMESTAMP, timestamp);
|
||||
|
|
Loading…
Reference in New Issue