You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Rafal Rusin (JIRA)" <ji...@apache.org> on 2009/01/23 02:41:59 UTC

[jira] Created: (ODE-499) Extend + improve ODE JBI testing

Extend + improve ODE JBI testing
--------------------------------

                 Key: ODE-499
                 URL: https://issues.apache.org/jira/browse/ODE-499
             Project: ODE
          Issue Type: Improvement
          Components: JBI Integration
    Affects Versions: 2.0
            Reporter: Rafal Rusin




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


[jira] Updated: (ODE-499) Extend + improve ODE JBI testing

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafal Rusin updated ODE-499:
----------------------------

    Attachment: smx-helloworld-http.diff

- copied HelloWorld process to test resources inside jbi directory; now OdeJbiComponentLifeCycleTest uses it istead of distro/jbi/examples one
- created HelloWorld http soap JBI test case using servicemix-http component connected to ODE inside xml-described smx container (similar to servicemix internal tests)
- upgraded servicemix deps from 3.1-incubating to 3.2.3
- extended servicemix dependencies with servicemix-http component deps
- upgraded spring framework deps to 2.5.6 (those are used by dao-hibernate tests, which I rerun with success)
- upgraded xbean to 3.3 and 3.4.3 (those are used only by ODE JBI)


> Extend + improve ODE JBI testing
> --------------------------------
>
>                 Key: ODE-499
>                 URL: https://issues.apache.org/jira/browse/ODE-499
>             Project: ODE
>          Issue Type: Improvement
>          Components: JBI Integration
>    Affects Versions: 2.0
>            Reporter: Rafal Rusin
>         Attachments: smx-helloworld-http.diff
>
>
> I will track here progress of extending ODE JBI testing. 

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


[jira] Commented: (ODE-499) Extend + improve ODE JBI testing

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735068#action_12735068 ] 

Rafal Rusin commented on ODE-499:
---------------------------------

I simplified previous patch and added a framework for integrated JBI-ODE tests similar to axis-war. It's also based on test.properties. 
I added a HelloWorldJbiTest exposed via servicemix-http. 

This framework allows providing custom smx configurations in smx.xml for each test.


> Extend + improve ODE JBI testing
> --------------------------------
>
>                 Key: ODE-499
>                 URL: https://issues.apache.org/jira/browse/ODE-499
>             Project: ODE
>          Issue Type: Improvement
>          Components: JBI Integration
>    Affects Versions: 1.3.2
>            Reporter: Rafal Rusin
>             Fix For: 1.3.3
>
>         Attachments: jbi-tests.diff, no-flush-before-queries.diff
>
>
> It's waiting for commit

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


[jira] Updated: (ODE-499) Extend + improve ODE JBI testing

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafal Rusin updated ODE-499:
----------------------------

    Attachment: smx-helloworld-http-invoke-eip.diff

I added a test (InvokeExternal) for a following scenario:
HTTP <-> ODE1 <-> EIP <-> ODE2

It didn't work on trunk version. After doing INVOKE in ODE1, OdeConsumer reply in JBI used not implemented method _ode._server.getMessageExchangeByForeignKey.
I fixed it by setting an Object property on JBI MEX for storing ode's PartnerRoleMessageExchange object.
It works now. 

> Extend + improve ODE JBI testing
> --------------------------------
>
>                 Key: ODE-499
>                 URL: https://issues.apache.org/jira/browse/ODE-499
>             Project: ODE
>          Issue Type: Improvement
>          Components: JBI Integration
>    Affects Versions: 2.0
>            Reporter: Rafal Rusin
>         Attachments: smx-helloworld-http-invoke-eip.diff, smx-helloworld-http.diff
>
>
> I will track here progress of extending ODE JBI testing. 

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


[jira] Updated: (ODE-499) Extend + improve ODE JBI testing

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafal Rusin updated ODE-499:
----------------------------

    Description: I will track here progress of extending ODE JBI testing. 

> Extend + improve ODE JBI testing
> --------------------------------
>
>                 Key: ODE-499
>                 URL: https://issues.apache.org/jira/browse/ODE-499
>             Project: ODE
>          Issue Type: Improvement
>          Components: JBI Integration
>    Affects Versions: 2.0
>            Reporter: Rafal Rusin
>
> I will track here progress of extending ODE JBI testing. 

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


[jira] Updated: (ODE-499) Extend + improve ODE JBI testing

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafal Rusin updated ODE-499:
----------------------------

        Fix Version/s: 1.3
          Description: It's waiting for commit  (was: I will track here progress of extending ODE JBI testing. )
    Affects Version/s:     (was: 2.0)
                       1.3

> Extend + improve ODE JBI testing
> --------------------------------
>
>                 Key: ODE-499
>                 URL: https://issues.apache.org/jira/browse/ODE-499
>             Project: ODE
>          Issue Type: Improvement
>          Components: JBI Integration
>    Affects Versions: 1.3
>            Reporter: Rafal Rusin
>             Fix For: 1.3
>
>         Attachments: jbi-tests.diff, no-flush-before-queries.diff
>
>
> It's waiting for commit

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


[jira] Resolved: (ODE-499) Extend + improve ODE JBI testing

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafal Rusin resolved ODE-499.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.0

> Extend + improve ODE JBI testing
> --------------------------------
>
>                 Key: ODE-499
>                 URL: https://issues.apache.org/jira/browse/ODE-499
>             Project: ODE
>          Issue Type: Improvement
>          Components: JBI Integration
>    Affects Versions: 1.3.2
>            Reporter: Rafal Rusin
>             Fix For: 1.3.3, 2.0
>
>         Attachments: jbi-tests.diff, no-flush-before-queries.diff
>
>
> It's waiting for commit

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


[jira] Updated: (ODE-499) Extend + improve ODE JBI testing

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafal Rusin updated ODE-499:
----------------------------

    Attachment:     (was: smx-tests-01.diff)

> Extend + improve ODE JBI testing
> --------------------------------
>
>                 Key: ODE-499
>                 URL: https://issues.apache.org/jira/browse/ODE-499
>             Project: ODE
>          Issue Type: Improvement
>          Components: JBI Integration
>    Affects Versions: 2.0
>            Reporter: Rafal Rusin
>
> I will track here progress of extending ODE JBI testing. 

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


[jira] Updated: (ODE-499) Extend + improve ODE JBI testing

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafal Rusin updated ODE-499:
----------------------------

    Attachment: smx-tests-01.diff

I added InvokeExternalParallel test for testing concurrent invocations. 
I found that removing flushbeforequeries=false JPA option from dao-jpa/src/main/java/org/apache/ode/dao/jpa/BPELDAOConnectionFactoryImpl.java makes this test pass. It also passes on hibernate DAO without any patches.

> Extend + improve ODE JBI testing
> --------------------------------
>
>                 Key: ODE-499
>                 URL: https://issues.apache.org/jira/browse/ODE-499
>             Project: ODE
>          Issue Type: Improvement
>          Components: JBI Integration
>    Affects Versions: 2.0
>            Reporter: Rafal Rusin
>         Attachments: smx-helloworld-http-invoke-eip.diff, smx-helloworld-http.diff, smx-tests-01.diff
>
>
> I will track here progress of extending ODE JBI testing. 

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


[jira] Commented: (ODE-499) Extend + improve ODE JBI testing

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667232#action_12667232 ] 

Rafal Rusin commented on ODE-499:
---------------------------------

I work on a following (hudson stable) revision:

URL: http://svn.apache.org/repos/asf/ode/trunk
Repository Root: http://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 732587

If you want to try diffs from attachments, you can use this revision.


> Extend + improve ODE JBI testing
> --------------------------------
>
>                 Key: ODE-499
>                 URL: https://issues.apache.org/jira/browse/ODE-499
>             Project: ODE
>          Issue Type: Improvement
>          Components: JBI Integration
>    Affects Versions: 2.0
>            Reporter: Rafal Rusin
>         Attachments: smx-helloworld-http-invoke-eip.diff, smx-helloworld-http.diff, smx-tests-01.diff
>
>
> I will track here progress of extending ODE JBI testing. 

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


[jira] Commented: (ODE-499) Extend + improve ODE JBI testing

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736043#action_12736043 ] 

Rafal Rusin commented on ODE-499:
---------------------------------

For those of you guys developing in maven2, I created an external example project for BPEL Unit Testing using embedded SMX container. 
Details are here: http://top.touk.pl/confluence/display/top/BPEL+Unit+Tests+in+Maven2


> Extend + improve ODE JBI testing
> --------------------------------
>
>                 Key: ODE-499
>                 URL: https://issues.apache.org/jira/browse/ODE-499
>             Project: ODE
>          Issue Type: Improvement
>          Components: JBI Integration
>    Affects Versions: 1.3.2
>            Reporter: Rafal Rusin
>             Fix For: 1.3.3, 2.0
>
>         Attachments: jbi-tests.diff, no-flush-before-queries.diff
>
>
> It's waiting for commit

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


[jira] Updated: (ODE-499) Extend + improve ODE JBI testing

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexis Midon updated ODE-499:
-----------------------------

    Fix Version/s:     (was: 1.3.1)
                   1.3.2

> Extend + improve ODE JBI testing
> --------------------------------
>
>                 Key: ODE-499
>                 URL: https://issues.apache.org/jira/browse/ODE-499
>             Project: ODE
>          Issue Type: Improvement
>          Components: JBI Integration
>    Affects Versions: 1.3.1
>            Reporter: Rafal Rusin
>             Fix For: 1.3.2
>
>         Attachments: jbi-tests.diff, no-flush-before-queries.diff
>
>
> It's waiting for commit

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


[jira] Updated: (ODE-499) Extend + improve ODE JBI testing

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafal Rusin updated ODE-499:
----------------------------

    Attachment: no-flush-before-queries.diff
                jbi-tests.diff

I decided to move to ode1x branch with my contributions, because trunk is too unstable for now. 

I added a test case for FlushBeforeQueries=false, wchich consists of 50 invokes to external JBI endpoint. It fails before and passes after applying patch. 
I rerun successfully all tests on ode1x branch to make sure there's no regression after those 2 patches, so you can commit them. 

jbi-tests.diff also contains improvement that there's no more reference to jbi-examples.

I worked on revision 738300 (24th jan). 

> Extend + improve ODE JBI testing
> --------------------------------
>
>                 Key: ODE-499
>                 URL: https://issues.apache.org/jira/browse/ODE-499
>             Project: ODE
>          Issue Type: Improvement
>          Components: JBI Integration
>    Affects Versions: 2.0
>            Reporter: Rafal Rusin
>         Attachments: jbi-tests.diff, no-flush-before-queries.diff
>
>
> I will track here progress of extending ODE JBI testing. 

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


[jira] Updated: (ODE-499) Extend + improve ODE JBI testing

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafal Rusin updated ODE-499:
----------------------------

    Attachment:     (was: smx-helloworld-http.diff)

> Extend + improve ODE JBI testing
> --------------------------------
>
>                 Key: ODE-499
>                 URL: https://issues.apache.org/jira/browse/ODE-499
>             Project: ODE
>          Issue Type: Improvement
>          Components: JBI Integration
>    Affects Versions: 2.0
>            Reporter: Rafal Rusin
>
> I will track here progress of extending ODE JBI testing. 

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


[jira] Updated: (ODE-499) Extend + improve ODE JBI testing

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafal Rusin updated ODE-499:
----------------------------

    Attachment:     (was: smx-helloworld-http-invoke-eip.diff)

> Extend + improve ODE JBI testing
> --------------------------------
>
>                 Key: ODE-499
>                 URL: https://issues.apache.org/jira/browse/ODE-499
>             Project: ODE
>          Issue Type: Improvement
>          Components: JBI Integration
>    Affects Versions: 2.0
>            Reporter: Rafal Rusin
>
> I will track here progress of extending ODE JBI testing. 

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