I am looking to write a generic java service which can provide the initial IData object of a parent/top level service at the start of invoke. similar to how the audit mws logging works when the pipeline is set to include. has anyone got any experience of this.
do you mean something like this?:
IData currentPipeline = IDataUtil.deepClone(pipeline);
IDataUtil.put( pipelineCursor, “currentPipeline”, currentPipeline );
Thanks for your reply! it’s not exactly this. The service I’m looking to build will return the initial unmodified inputs of a top level service. I should be able to call it from a child and get that original payload. the main purpose of this service will be for debugging and inspecting failures.
varA = 1
varB = 2
Mapper varA = X
ah looks like the tags i used for the child invoke got sanitised it should be:
Invoke <java service to return original unmodified input: varA = 1, varB = 2>
I don´t think that this will be possible.
Once varA has been set to X, there is no way for the flow service to know that it has been originally set to 1.
One thing which might be helpful here, will be to use the savePipeline service, but this needs to be elabroated further as we didn´t have such a requirement in the past.
That makes sense. I was curious if it was possible via the Java API as it is recorded in MWS when the service auditing is enabled.
It’s probably better practice to use that method in any case.
service auditing is recording the input pipeline with which the service was invoked.
Later modifications during the processing of the service will not be recorded.
When using service auditing remember to configure the archive database schema and use pub.monitor.archive:* services from WmMoninitor package to remove older entries.
See Monitor Users Guide for further informations.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.