[ 
https://issues.apache.org/jira/browse/ODE-626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rafal Rusin updated ODE-626:
----------------------------

    Attachment: unpackJobDetails.patch

I ended up with quite large changes. Work is almost done (it passes all test 
cases), but I've got a few questions about cron scheduling implementation yet. 

I extracted entries for:
+  instanceId BIGINT,
+  mexId varchar(255),
+  processId varchar(255),
+  type varchar(255),
+  channel varchar(255),
+  correlatorId varchar(255),
+  correlationKey varchar(255),
+  retryCount int,
+  inMem int,
+  detailsExt blob,

I needed to hold blob column - detailsExt, which is used for instance cleanup. 
It uses columns cleanupInfo, pidsToExclude, pid and trasactionTimeout. I 
believe it's convenient to leave such blob column for various extensions. If 
extensions map is empty, then it's serialized to null in DB.

However, I've got 2 issues. 
- I needed to put JobDetailsImpl to bpel-iapi, because job details are 
instantiated inside ProcessConfImpl. I'd like to add factory method 
createDetails into Scheduler bpel-api and add scheduler dependency to 
ProcessConfImpl, but please confirm it. 
- I left pid column in cleanup runnables (ProcessCleanUpRunnable, 
RuntimeDataCleanupRunnable) inside detailsExt blob, but please confirm if I can 
change constructor 
public ProcessCleanUpRunnable(Serializable pid)
with _pid to QName and pass toString() here:
_contexts.dao.getConnection().createTransientProcess(_pid.toString())

OK, it's all. 
Thanks in advance for reply. 


> Unpack details blob from ODE_JOB table
> --------------------------------------
>
>                 Key: ODE-626
>                 URL: https://issues.apache.org/jira/browse/ODE-626
>             Project: ODE
>          Issue Type: Improvement
>          Components: BPEL Runtime
>    Affects Versions: 2.0
>            Reporter: Rafal Rusin
>             Fix For: 2.0
>
>         Attachments: unpackJobDetails.patch
>
>
> Related discussion is here:
> http://markmail.org/thread/iiy6utvsqew6nn6m

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to