@Override public Props fetchExecutionJobInputProps(final int execId, final String jobId) throws ExecutorManagerException { return this.executionJobDao.fetchExecutionJobInputProps(execId, jobId); }
@Override public Props fetchExecutionJobOutputProps(final int execId, final String jobId) throws ExecutorManagerException { return this.executionJobDao.fetchExecutionJobOutputProps(execId, jobId); }
@Override public Pair<Props, Props> fetchExecutionJobProps(final int execId, final String jobId) throws ExecutorManagerException { return this.executionJobDao.fetchExecutionJobProps(execId, jobId); }
final ExecutableNode oldNode = flow.getExecutableNode("job10"); oldNode.setStartTime(System.currentTimeMillis()); this.executionJobDao.uploadExecutableNode(oldNode, props); final ExecutableJobInfo info = this.executionJobDao.fetchJobInfo(10, "job10", 0); assertThat(flow.getEndTime()).isEqualTo(info.getEndTime()); assertThat(flow.getProjectId()).isEqualTo(info.getProjectId()); oldNode.setOutputProps(outputProps); oldNode.setEndTime(System.currentTimeMillis()); this.executionJobDao.updateExecutableNode(oldNode); final Props fInputProps = this.executionJobDao.fetchExecutionJobInputProps(10, "job10"); final Props fOutputProps = this.executionJobDao.fetchExecutionJobOutputProps(10, "job10"); final Pair<Props, Props> inOutProps = this.executionJobDao.fetchExecutionJobProps(10, "job10");
@Override public void uploadExecutableNode(final ExecutableNode node, final Props inputProps) throws ExecutorManagerException { this.executionJobDao.uploadExecutableNode(node, inputProps); }
@Override public ExecutableJobInfo fetchJobInfo(final int execId, final String jobId, final int attempts) throws ExecutorManagerException { return this.executionJobDao.fetchJobInfo(execId, jobId, attempts); }
@Override public void updateExecutableNode(final ExecutableNode node) throws ExecutorManagerException { this.executionJobDao.updateExecutableNode(node); }
@Override public List<ExecutableJobInfo> fetchJobInfoAttempts(final int execId, final String jobId) throws ExecutorManagerException { return this.executionJobDao.fetchJobInfoAttempts(execId, jobId); }
@Override public List<ExecutableJobInfo> fetchJobHistory(final int projectId, final String jobId, final int skip, final int size) throws ExecutorManagerException { return this.executionJobDao.fetchJobHistory(projectId, jobId, skip, size); }
@Override public void uploadAttachmentFile(final ExecutableNode node, final File file) throws ExecutorManagerException { this.executionJobDao.uploadAttachmentFile(node, file); }
@Override public List<Object> fetchAttachments(final int execId, final String jobId, final int attempt) throws ExecutorManagerException { return this.executionJobDao.fetchAttachments(execId, jobId, attempt); }
@Override public void uploadExecutableNode(final ExecutableNode node, final Props inputProps) throws ExecutorManagerException { this.executionJobDao.uploadExecutableNode(node, inputProps); }
@Override public ExecutableJobInfo fetchJobInfo(final int execId, final String jobId, final int attempts) throws ExecutorManagerException { return this.executionJobDao.fetchJobInfo(execId, jobId, attempts); }
@Override public void updateExecutableNode(final ExecutableNode node) throws ExecutorManagerException { this.executionJobDao.updateExecutableNode(node); }
@Override public List<ExecutableJobInfo> fetchJobInfoAttempts(final int execId, final String jobId) throws ExecutorManagerException { return this.executionJobDao.fetchJobInfoAttempts(execId, jobId); }
@Override public List<ExecutableJobInfo> fetchJobHistory(final int projectId, final String jobId, final int skip, final int size) throws ExecutorManagerException { return this.executionJobDao.fetchJobHistory(projectId, jobId, skip, size); }
@Override public void uploadAttachmentFile(final ExecutableNode node, final File file) throws ExecutorManagerException { this.executionJobDao.uploadAttachmentFile(node, file); }
@Override public List<Object> fetchAttachments(final int execId, final String jobId, final int attempt) throws ExecutorManagerException { return this.executionJobDao.fetchAttachments(execId, jobId, attempt); }
@Override public Pair<Props, Props> fetchExecutionJobProps(final int execId, final String jobId) throws ExecutorManagerException { return this.executionJobDao.fetchExecutionJobProps(execId, jobId); }
@Override public Props fetchExecutionJobInputProps(final int execId, final String jobId) throws ExecutorManagerException { return this.executionJobDao.fetchExecutionJobInputProps(execId, jobId); }