Petals SE EIP

The MONIT traces of the RoutingSlip are not correct

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 2.8.0
  • Fix Version/s: 2.8.2, 2.9.0
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    Using the RoutingSlip to invoke several services generates the following incorrect MONIT traces, at SE EIP level:

    ... traceCode = 'provideFlowStepBegin', flowInstanceId = 'a0575940-01cd-11e4-8e6d-0024e8ae9b85', flowStepId = 'a1048930-01cd-11e4-8e6d-0024e8ae9b85', flowStepInterfaceName = '{http://annudef.defense.gouv.fr/personneabstract/}personneabstract', flowStepServiceName = '{http://annudef.defense.gouv.fr/personne/}personne', flowStepOperationName = '{http://annudef.defense.gouv.fr/personneabstract/}infoPersonne', flowStepEndpointName = 'perEipEdp', flowPreviousStepId = 'a0578050-01cd-11e4-8e6d-0024e8ae9b85'
    ...
    ... here we will find correct MONIT traces about the first service invocation
    ...
    ... here after we will find incorrect MONIT traces, containing null values, about other services invocations
    ...
    ... traceCode = 'provideFlowStepBegin', flowInstanceId = null, flowStepId = null, flowStepInterfaceName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponse', flowStepServiceName = '{http://annudef.defense.gouv.fr/personne/}dispatchPersonneResponse', flowStepOperationName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponse', flowStepEndpointName = 'dispatchPersonneResponseEp', flowPreviousStepId = null
    ... traceCode = 'provideFlowStepBegin', flowInstanceId = null, flowStepId = null, flowStepInterfaceName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponseByMail', flowStepServiceName = '{http://annudef.defense.gouv.fr/personne/}dispatchPersonneResponseByMail', flowStepOperationName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponse', flowStepEndpointName = 'dispatchPersonneResponseByMailEp', flowPreviousStepId = null
    ... traceCode = 'provideFlowStepBegin', flowInstanceId = null, flowStepId = null, flowStepInterfaceName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponseByFtp', flowStepServiceName = '{http://annudef.defense.gouv.fr/personne/}dispatchPersonneResponseByFtp', flowStepOperationName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponse', flowStepEndpointName = 'dispatchPersonneResponseByFtpEp', flowPreviousStepId = null

    It seems that the flow context is not propagated to services providers except for the first one.

    Show
    Using the RoutingSlip to invoke several services generates the following incorrect MONIT traces, at SE EIP level:
    ... traceCode = 'provideFlowStepBegin', flowInstanceId = 'a0575940-01cd-11e4-8e6d-0024e8ae9b85', flowStepId = 'a1048930-01cd-11e4-8e6d-0024e8ae9b85', flowStepInterfaceName = '{http://annudef.defense.gouv.fr/personneabstract/}personneabstract', flowStepServiceName = '{http://annudef.defense.gouv.fr/personne/}personne', flowStepOperationName = '{http://annudef.defense.gouv.fr/personneabstract/}infoPersonne', flowStepEndpointName = 'perEipEdp', flowPreviousStepId = 'a0578050-01cd-11e4-8e6d-0024e8ae9b85'
    ...
    ... here we will find correct MONIT traces about the first service invocation
    ...
    ... here after we will find incorrect MONIT traces, containing null values, about other services invocations
    ...
    ... traceCode = 'provideFlowStepBegin', flowInstanceId = null, flowStepId = null, flowStepInterfaceName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponse', flowStepServiceName = '{http://annudef.defense.gouv.fr/personne/}dispatchPersonneResponse', flowStepOperationName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponse', flowStepEndpointName = 'dispatchPersonneResponseEp', flowPreviousStepId = null
    ... traceCode = 'provideFlowStepBegin', flowInstanceId = null, flowStepId = null, flowStepInterfaceName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponseByMail', flowStepServiceName = '{http://annudef.defense.gouv.fr/personne/}dispatchPersonneResponseByMail', flowStepOperationName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponse', flowStepEndpointName = 'dispatchPersonneResponseByMailEp', flowPreviousStepId = null
    ... traceCode = 'provideFlowStepBegin', flowInstanceId = null, flowStepId = null, flowStepInterfaceName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponseByFtp', flowStepServiceName = '{http://annudef.defense.gouv.fr/personne/}dispatchPersonneResponseByFtp', flowStepOperationName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponse', flowStepEndpointName = 'dispatchPersonneResponseByFtpEp', flowPreviousStepId = null
    It seems that the flow context is not propagated to services providers except for the first one.
  • Environment:
    -

Activity

Hide
Christophe DENEUX added a comment - Wed, 2 Jul 2014 - 12:07:00 +0200

Exact, the flow context is not propagated to the service providers except for the first one. The service provider are invoked asynchronously. When receiving the first asynchronous reply, the flow context should be repositionend from the reply.

Show
Christophe DENEUX added a comment - Wed, 2 Jul 2014 - 12:07:00 +0200 Exact, the flow context is not propagated to the service providers except for the first one. The service provider are invoked asynchronously. When receiving the first asynchronous reply, the flow context should be repositionend from the reply.
Christophe DENEUX made changes - Wed, 2 Jul 2014 - 12:07:00 +0200
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Critical [ 2 ]
Christophe DENEUX made changes - Wed, 2 Jul 2014 - 12:07:26 +0200
Description Using the RoutingSlip to invoke several services generates the following incorrect MONIT traces, at SE EIP level:
{code}
... traceCode = 'provideFlowStepBegin', flowInstanceId = 'a0575940-01cd-11e4-8e6d-0024e8ae9b85', flowStepId = 'a1048930-01cd-11e4-8e6d-0024e8ae9b85', flowStepInterfaceName = '{http://annudef.defense.gouv.fr/personneabstract/}personneabstract', flowStepServiceName = '{http://annudef.defense.gouv.fr/personne/}personne', flowStepOperationName = '{http://annudef.defense.gouv.fr/personneabstract/}infoPersonne', flowStepEndpointName = 'perEipEdp', flowPreviousStepId = 'a0578050-01cd-11e4-8e6d-0024e8ae9b85'
...
... here we will find correct MONIT traces about the first service invocation
... here after we will find incorrect MONIT traces, containing null values, about other services invocations
...
... traceCode = 'provideFlowStepBegin', flowInstanceId = null, flowStepId = null, flowStepInterfaceName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponse', flowStepServiceName = '{http://annudef.defense.gouv.fr/personne/}dispatchPersonneResponse', flowStepOperationName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponse', flowStepEndpointName = 'dispatchPersonneResponseEp', flowPreviousStepId = null
... traceCode = 'provideFlowStepBegin', flowInstanceId = null, flowStepId = null, flowStepInterfaceName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponseByMail', flowStepServiceName = '{http://annudef.defense.gouv.fr/personne/}dispatchPersonneResponseByMail', flowStepOperationName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponse', flowStepEndpointName = 'dispatchPersonneResponseByMailEp', flowPreviousStepId = null
... traceCode = 'provideFlowStepBegin', flowInstanceId = null, flowStepId = null, flowStepInterfaceName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponseByFtp', flowStepServiceName = '{http://annudef.defense.gouv.fr/personne/}dispatchPersonneResponseByFtp', flowStepOperationName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponse', flowStepEndpointName = 'dispatchPersonneResponseByFtpEp', flowPreviousStepId = null
{code}

It seems that the flow context is not propagated to services providers except for the first one.
Using the RoutingSlip to invoke several services generates the following incorrect MONIT traces, at SE EIP level:
{code}
... traceCode = 'provideFlowStepBegin', flowInstanceId = 'a0575940-01cd-11e4-8e6d-0024e8ae9b85', flowStepId = 'a1048930-01cd-11e4-8e6d-0024e8ae9b85', flowStepInterfaceName = '{http://annudef.defense.gouv.fr/personneabstract/}personneabstract', flowStepServiceName = '{http://annudef.defense.gouv.fr/personne/}personne', flowStepOperationName = '{http://annudef.defense.gouv.fr/personneabstract/}infoPersonne', flowStepEndpointName = 'perEipEdp', flowPreviousStepId = 'a0578050-01cd-11e4-8e6d-0024e8ae9b85'
...
... here we will find correct MONIT traces about the first service invocation
...
... here after we will find incorrect MONIT traces, containing null values, about other services invocations
...
... traceCode = 'provideFlowStepBegin', flowInstanceId = null, flowStepId = null, flowStepInterfaceName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponse', flowStepServiceName = '{http://annudef.defense.gouv.fr/personne/}dispatchPersonneResponse', flowStepOperationName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponse', flowStepEndpointName = 'dispatchPersonneResponseEp', flowPreviousStepId = null
... traceCode = 'provideFlowStepBegin', flowInstanceId = null, flowStepId = null, flowStepInterfaceName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponseByMail', flowStepServiceName = '{http://annudef.defense.gouv.fr/personne/}dispatchPersonneResponseByMail', flowStepOperationName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponse', flowStepEndpointName = 'dispatchPersonneResponseByMailEp', flowPreviousStepId = null
... traceCode = 'provideFlowStepBegin', flowInstanceId = null, flowStepId = null, flowStepInterfaceName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponseByFtp', flowStepServiceName = '{http://annudef.defense.gouv.fr/personne/}dispatchPersonneResponseByFtp', flowStepOperationName = '{http://annudef.defense.gouv.fr/personneabstract/}dispatchPersonneResponse', flowStepEndpointName = 'dispatchPersonneResponseByFtpEp', flowPreviousStepId = null
{code}

It seems that the flow context is not propagated to services providers except for the first one.
Christophe DENEUX made changes - Wed, 2 Jul 2014 - 12:07:30 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe DENEUX added a comment - Wed, 2 Jul 2014 - 14:35:38 +0200

Fixed in trunk

Show
Christophe DENEUX added a comment - Wed, 2 Jul 2014 - 14:35:38 +0200 Fixed in trunk
Christophe DENEUX made changes - Wed, 2 Jul 2014 - 14:35:38 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 2.9.0 [ 10414 ]
Resolution Fixed [ 1 ]
Hide
Christophe DENEUX added a comment - Tue, 19 Aug 2014 - 10:30:16 +0200

Re-opened to be backported in branch petals-esb-enterprise-4.2.x

Show
Christophe DENEUX added a comment - Tue, 19 Aug 2014 - 10:30:16 +0200 Re-opened to be backported in branch petals-esb-enterprise-4.2.x
Christophe DENEUX made changes - Tue, 19 Aug 2014 - 10:30:16 +0200
Status Resolved [ 10004 ] Open [ 10002 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Tue, 19 Aug 2014 - 10:30:20 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe DENEUX added a comment - Tue, 19 Aug 2014 - 11:02:21 +0200

Backported in branch petals-esb-enterprise-4.2.x

Show
Christophe DENEUX added a comment - Tue, 19 Aug 2014 - 11:02:21 +0200 Backported in branch petals-esb-enterprise-4.2.x
Christophe DENEUX made changes - Tue, 19 Aug 2014 - 11:02:21 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 2.8.2 [ 10491 ]
Resolution Fixed [ 1 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
2m 1s
1
Christophe DENEUX
Wed, 2 Jul 2014 - 12:07:00 +0200
Open Open In Progress In Progress
30s
1
Christophe DENEUX
Wed, 2 Jul 2014 - 12:07:30 +0200
In Progress In Progress Resolved Resolved
2h 28m
1
Christophe DENEUX
Wed, 2 Jul 2014 - 14:35:38 +0200
Resolved Resolved Open Open
47d 19h 54m
1
Christophe DENEUX
Tue, 19 Aug 2014 - 10:30:16 +0200
Open Open In Progress In Progress
4s
1
Christophe DENEUX
Tue, 19 Aug 2014 - 10:30:20 +0200
In Progress In Progress Resolved Resolved
32m 1s
1
Christophe DENEUX
Tue, 19 Aug 2014 - 11:02:21 +0200

People

Dates

  • Created:
    Wed, 2 Jul 2014 - 12:04:59 +0200
    Updated:
    Tue, 19 Aug 2014 - 11:02:21 +0200
    Resolved:
    Tue, 19 Aug 2014 - 11:02:21 +0200