Petals BC Quartz

Unable to deploy 2 jobs as service consumers of the same service provider defining its endpoint as autogenerated

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.7.0
  • Fix Version/s: 1.7.1
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    The Quartz job name is computed from interface name, service name and endpoint name. If no endpoint is provided, the value null is used.

    So, potential problem can occurs if we want to create jobs to call a same service provider with an autogenerated endpoint (impossible to set the endpoint name at consumer level): one job name identifying two jobs

    <jbi:consumes interface-name="mvt:Mouvement" service-name="mvt:MouvementService">
        <petalsCDK:operation>mvt:desactiver</petalsCDK:operation>
        ...
        <quartz:cron-expression>${mouvement.desactivation.cron}</quartz:cron-expression>
        ...
    </jbi:consumes>
    
    <jbi:consumes interface-name="mvt:Mouvement" service-name="mvt:MouvementService">
        <petalsCDK:operation>mvt:suspend</petalsCDK:operation>
        ...
        <quartz:cron-expression>${mouvement.suspend.cron}</quartz:cron-expression>
        ...
    </jbi:consumes>

    So please add support of autogenerated endpoints

    Show
    The Quartz job name is computed from interface name, service name and endpoint name. If no endpoint is provided, the value null is used. So, potential problem can occurs if we want to create jobs to call a same service provider with an autogenerated endpoint (impossible to set the endpoint name at consumer level): one job name identifying two jobs
    <jbi:consumes interface-name="mvt:Mouvement" service-name="mvt:MouvementService">
        <petalsCDK:operation>mvt:desactiver</petalsCDK:operation>
        ...
        <quartz:cron-expression>${mouvement.desactivation.cron}</quartz:cron-expression>
        ...
    </jbi:consumes>
    
    <jbi:consumes interface-name="mvt:Mouvement" service-name="mvt:MouvementService">
        <petalsCDK:operation>mvt:suspend</petalsCDK:operation>
        ...
        <quartz:cron-expression>${mouvement.suspend.cron}</quartz:cron-expression>
        ...
    </jbi:consumes>
    So please add support of autogenerated endpoints
  • Environment:
    -

Activity

Christophe DENEUX made changes - Fri, 24 Jun 2022 - 12:13:22 +0200
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Christophe DENEUX made changes - Fri, 24 Jun 2022 - 12:13:24 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Fri, 24 Jun 2022 - 12:34:30 +0200
Summary Unable to deploy 2 jobs as service consumers of service provider defining its endpoint as autogenerated Unable to deploy 2 jobs as service consumers of the same service provider defining its endpoint as autogenerated
Hide
Christophe DENEUX added a comment - Fri, 24 Jun 2022 - 12:37:32 +0200

Fixed in branch petals-bc-quartz-1.6.x

Show
Christophe DENEUX added a comment - Fri, 24 Jun 2022 - 12:37:32 +0200 Fixed in branch petals-bc-quartz-1.6.x
Christophe DENEUX made changes - Fri, 24 Jun 2022 - 12:37:32 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 1.7.1 [ 11050 ]
Resolution Fixed [ 1 ]
Hide
Christophe DENEUX added a comment - Fri, 24 Jun 2022 - 12:37:53 +0200

Reopened to merge in trunk

Show
Christophe DENEUX added a comment - Fri, 24 Jun 2022 - 12:37:53 +0200 Reopened to merge in trunk
Christophe DENEUX made changes - Fri, 24 Jun 2022 - 12:37:53 +0200
Status Resolved [ 10004 ] Open [ 10002 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Fri, 24 Jun 2022 - 12:37:55 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe DENEUX added a comment - Fri, 24 Jun 2022 - 12:45:02 +0200

Merged in trunk

Show
Christophe DENEUX added a comment - Fri, 24 Jun 2022 - 12:45:02 +0200 Merged in trunk
Christophe DENEUX made changes - Fri, 24 Jun 2022 - 12:45:02 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Resolution Fixed [ 1 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
2m 44s
1
Christophe DENEUX
Fri, 24 Jun 2022 - 12:13:22 +0200
Open Open In Progress In Progress
2s
1
Christophe DENEUX
Fri, 24 Jun 2022 - 12:13:24 +0200
In Progress In Progress Resolved Resolved
24m 8s
1
Christophe DENEUX
Fri, 24 Jun 2022 - 12:37:32 +0200
Resolved Resolved Open Open
21s
1
Christophe DENEUX
Fri, 24 Jun 2022 - 12:37:53 +0200
Open Open In Progress In Progress
2s
1
Christophe DENEUX
Fri, 24 Jun 2022 - 12:37:55 +0200
In Progress In Progress Resolved Resolved
7m 7s
1
Christophe DENEUX
Fri, 24 Jun 2022 - 12:45:02 +0200



People

Dates

  • Created:
    Fri, 24 Jun 2022 - 12:10:38 +0200
    Updated:
    Fri, 24 Jun 2022 - 12:45:02 +0200
    Resolved:
    Fri, 24 Jun 2022 - 12:45:02 +0200