Petals View

enhance the flow with the operation of the exchange

Details

  • Type: Improvement Request Improvement Request
  • Status: New New
  • Resolution: Unresolved
  • Affects Version/s: 1.2
  • Fix Version/s: None
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    Now the notifications from the esb have got the operation of the exchange:

    <wsnebm:NotifyContent xmlns:wsnebm="http://www.ebmwebsourcing.com/WS-BaseNotification/NotifyContent" xmlns:ebm="http://www.ebmwebsourcing.com/wsnotification/specificTypes" correlationId="petals:uid:D78B43CE50F7E74691464192412521834" endpoint="BrokerEndpoint" interface="{http://orange.com/ros/services/newbrokerTSE/v1}Broker" meuuid="petals:uid:E2EC1F101B2180A0C04697117315218441" notifDate="1298035077141" operation="{http://orange.com/ros/services/newbrokerTSE/v1}deleteCustomer" processPath="petals:uid:D78B43CE50F7E74691464192692621835" processType="1" service="{http://orange.com/ros/services/newbrokerTSE/v1}BrokerService" status="0">                <wsnebm:params/>            </wsnebm:NotifyContent>

    To get this new xml attribute, we just have to put the context policy operation option:

    <jbi:consumes interface-name="wsn-br:NotificationBroker" service-name="notification:NotificationBrokerService">
    			<!-- CDK specific fields -->
    			<petalsCDK:operation>Subscribe</petalsCDK:operation>
    			<petalsCDK:mep>InOut</petalsCDK:mep>
    			<!-- Component specific elements -->
    			<!-- Subscription to process on init : -->
    			<kpi:TopicExpressionDialect>http://docs.oasis-open.org/wsn/t-1/TopicExpression/Full</kpi:TopicExpressionDialect>
    			<kpi:TopicExpressionNamespace>http://petals.ow2.org/topic</kpi:TopicExpressionNamespace>
    			<kpi:TopicExpressionPrefix>petals</kpi:TopicExpressionPrefix>
    			<kpi:TopicExpressionContent>petals:component/cdk/producer/in[@wstop:topic='true']</kpi:TopicExpressionContent>
    			<kpi:MessageContentSOADialect>http://www.ebmwebsourcing.com/wsnotification/soaparameter</kpi:MessageContentSOADialect>
    			<kpi:MessageContentSOAInterfaceNamespace>http://orange.com/ros/services/newbrokerTSE/v1</kpi:MessageContentSOAInterfaceNamespace>
    			<kpi:MessageContentSOAInterfaceName>Broker</kpi:MessageContentSOAInterfaceName>
    			<kpi:MessageContentProcessTypeDialect>http://www.ebmwebsourcing.com/wsnotification/processtype</kpi:MessageContentProcessTypeDialect>
    			<kpi:MessageContentProcessTypeList>1|2|3|4|5</kpi:MessageContentProcessTypeList>
    			<kpi:TransformPolicy>/newBroker-orchestrator-in.xsl</kpi:TransformPolicy>
    			<kpi:ContextPolicyCorrelationId>true</kpi:ContextPolicyCorrelationId>
    			<kpi:ContextPolicyInterface>true</kpi:ContextPolicyInterface>
    			<kpi:ContextPolicyEndpoint>true</kpi:ContextPolicyEndpoint>
    			<kpi:ContextPolicyMeuuid>true</kpi:ContextPolicyMeuuid>
    			<kpi:ContextPolicyNotifDate>true</kpi:ContextPolicyNotifDate>
    			<kpi:ContextPolicyService>true</kpi:ContextPolicyService>
    			<kpi:ContextPolicyStatus>true</kpi:ContextPolicyStatus>
    			<kpi:ContextPolicyOperation>true</kpi:ContextPolicyOperation>
    			<kpi:ProcessPolicyAction>create</kpi:ProcessPolicyAction>
    		</jbi:consumes>

    So now, we would like to update petals view to:
    ->store into flowstep the operation with the others attributes
    ->store into the flow step ref the operation to identify the step on the interface namespace, the service namespace...and the operation namespace .

    Show
    Now the notifications from the esb have got the operation of the exchange:
    <wsnebm:NotifyContent xmlns:wsnebm="http://www.ebmwebsourcing.com/WS-BaseNotification/NotifyContent" xmlns:ebm="http://www.ebmwebsourcing.com/wsnotification/specificTypes" correlationId="petals:uid:D78B43CE50F7E74691464192412521834" endpoint="BrokerEndpoint" interface="{http://orange.com/ros/services/newbrokerTSE/v1}Broker" meuuid="petals:uid:E2EC1F101B2180A0C04697117315218441" notifDate="1298035077141" operation="{http://orange.com/ros/services/newbrokerTSE/v1}deleteCustomer" processPath="petals:uid:D78B43CE50F7E74691464192692621835" processType="1" service="{http://orange.com/ros/services/newbrokerTSE/v1}BrokerService" status="0">                <wsnebm:params/>            </wsnebm:NotifyContent>
    To get this new xml attribute, we just have to put the context policy operation option:
    <jbi:consumes interface-name="wsn-br:NotificationBroker" service-name="notification:NotificationBrokerService">
    			<!-- CDK specific fields -->
    			<petalsCDK:operation>Subscribe</petalsCDK:operation>
    			<petalsCDK:mep>InOut</petalsCDK:mep>
    			<!-- Component specific elements -->
    			<!-- Subscription to process on init : -->
    			<kpi:TopicExpressionDialect>http://docs.oasis-open.org/wsn/t-1/TopicExpression/Full</kpi:TopicExpressionDialect>
    			<kpi:TopicExpressionNamespace>http://petals.ow2.org/topic</kpi:TopicExpressionNamespace>
    			<kpi:TopicExpressionPrefix>petals</kpi:TopicExpressionPrefix>
    			<kpi:TopicExpressionContent>petals:component/cdk/producer/in[@wstop:topic='true']</kpi:TopicExpressionContent>
    			<kpi:MessageContentSOADialect>http://www.ebmwebsourcing.com/wsnotification/soaparameter</kpi:MessageContentSOADialect>
    			<kpi:MessageContentSOAInterfaceNamespace>http://orange.com/ros/services/newbrokerTSE/v1</kpi:MessageContentSOAInterfaceNamespace>
    			<kpi:MessageContentSOAInterfaceName>Broker</kpi:MessageContentSOAInterfaceName>
    			<kpi:MessageContentProcessTypeDialect>http://www.ebmwebsourcing.com/wsnotification/processtype</kpi:MessageContentProcessTypeDialect>
    			<kpi:MessageContentProcessTypeList>1|2|3|4|5</kpi:MessageContentProcessTypeList>
    			<kpi:TransformPolicy>/newBroker-orchestrator-in.xsl</kpi:TransformPolicy>
    			<kpi:ContextPolicyCorrelationId>true</kpi:ContextPolicyCorrelationId>
    			<kpi:ContextPolicyInterface>true</kpi:ContextPolicyInterface>
    			<kpi:ContextPolicyEndpoint>true</kpi:ContextPolicyEndpoint>
    			<kpi:ContextPolicyMeuuid>true</kpi:ContextPolicyMeuuid>
    			<kpi:ContextPolicyNotifDate>true</kpi:ContextPolicyNotifDate>
    			<kpi:ContextPolicyService>true</kpi:ContextPolicyService>
    			<kpi:ContextPolicyStatus>true</kpi:ContextPolicyStatus>
    			<kpi:ContextPolicyOperation>true</kpi:ContextPolicyOperation>
    			<kpi:ProcessPolicyAction>create</kpi:ProcessPolicyAction>
    		</jbi:consumes>
    So now, we would like to update petals view to: ->store into flowstep the operation with the others attributes ->store into the flow step ref the operation to identify the step on the interface namespace, the service namespace...and the operation namespace .

Activity

Hide
Frédéric Gardes added a comment - Thu, 19 May 2011 - 16:49:43 +0200

We've got a dead block: there is a check that doesn't allow to create flow steps with the operation:

Le interface+service n'est pas unique (une autre étape a la même valeur).

We need "Le interface+service+operation n'est pas unique (une autre étape a la même valeur)."

Now, we can't create without operation (not implemented), and create only for the first operation of the service: we're blocked for all the others operations of the wsdl.

Moreover, if a flow not declared into the referantial is received...we're completly bloqued because when we update the "Inconnu" flow...it changes because of the operation added, and doesn't detect that's the same flow, and create another new (keeping the 'Inconnu' step).

Help me! Help me please!

Show
Frédéric Gardes added a comment - Thu, 19 May 2011 - 16:49:43 +0200 We've got a dead block: there is a check that doesn't allow to create flow steps with the operation:
Le interface+service n'est pas unique (une autre étape a la même valeur).
We need "Le interface+service+operation n'est pas unique (une autre étape a la même valeur)." Now, we can't create without operation (not implemented), and create only for the first operation of the service: we're blocked for all the others operations of the wsdl. Moreover, if a flow not declared into the referantial is received...we're completly bloqued because when we update the "Inconnu" flow...it changes because of the operation added, and doesn't detect that's the same flow, and create another new (keeping the 'Inconnu' step). Help me! Help me please!
Hide
Frédéric Gardes added a comment - Thu, 21 Apr 2011 - 09:25:42 +0200

Under test for us...

Show
Frédéric Gardes added a comment - Thu, 21 Apr 2011 - 09:25:42 +0200 Under test for us...
Hide
Frédéric Gardes added a comment - Fri, 18 Feb 2011 - 15:44:56 +0100

The 2 pages to enhance, to add the operation, on attachments

Show
Frédéric Gardes added a comment - Fri, 18 Feb 2011 - 15:44:56 +0100 The 2 pages to enhance, to add the operation, on attachments

People

Dates

  • Created:
    Fri, 18 Feb 2011 - 15:33:04 +0100
    Updated:
    Thu, 19 May 2011 - 16:49:43 +0200