You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org> on 2005/06/16 23:26:46 UTC

[jira] Created: (BEEHIVE-825) update WSM drt scripts to support in-container tests and add some initial tests

update WSM drt scripts to support in-container tests and add some initial tests
-------------------------------------------------------------------------------

         Key: BEEHIVE-825
         URL: http://issues.apache.org/jira/browse/BEEHIVE-825
     Project: Beehive
        Type: Improvement
  Components: Web Services (181)  
    Versions: V1    
 Environment: SVN 190999
    Reporter: Jeremiah Johnson
 Assigned to: Jeremiah Johnson 
    Priority: Minor
     Fix For: V1


There was some discussion about this on the beehive-dev list.  I will attach a patch that will run some in-container tests as well as the existing tests in the WSM drt target.  I have an initial set of tests that I will also include that apply the JSR 181 annotations and then check the resulting WSDL from the container for some key points.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (BEEHIVE-825) update WSM drt scripts to support in-container tests and add some initial tests

Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-825?page=all ]

Eddie O'Neil updated BEEHIVE-825:
---------------------------------

    Fix Version: TBD
                     (was: V1)

Moving this to fix in TBD since Jeremiah is still working on refactoring the tests.

> update WSM drt scripts to support in-container tests and add some initial tests
> -------------------------------------------------------------------------------
>
>          Key: BEEHIVE-825
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-825
>      Project: Beehive
>         Type: Test
>   Components: Web Services (181)
>     Versions: V1
>  Environment: SVN 190999
>     Reporter: Jeremiah Johnson
>     Assignee: Eddie O'Neil
>     Priority: Minor
>      Fix For: TBD
>  Attachments: BEEHIVE-825-patch1.txt, BEEHIVE-825-patch2.txt
>
> There was some discussion about this on the beehive-dev list.  I will attach a patch that will run some in-container tests as well as the existing tests in the WSM drt target.  I have an initial set of tests that I will also include that apply the JSR 181 annotations and then check the resulting WSDL from the container for some key points.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (BEEHIVE-825) update WSM drt scripts to support in-container tests and add some initial tests

Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-825?page=all ]
     
Eddie O'Neil resolved BEEHIVE-825:
----------------------------------

    Resolution: Fixed

Thanks, Jeremiah -- this looks great!  I made a couple of changes to the original patch as doc'ed in the comments for SVN commit 227409.

> update WSM drt scripts to support in-container tests and add some initial tests
> -------------------------------------------------------------------------------
>
>          Key: BEEHIVE-825
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-825
>      Project: Beehive
>         Type: Test
>   Components: Web Services (181)
>     Versions: V1
>  Environment: SVN 190999
>     Reporter: Jeremiah Johnson
>     Assignee: Eddie O'Neil
>     Priority: Minor
>      Fix For: TBD
>  Attachments: BEEHIVE-825-patch1.txt, BEEHIVE-825-patch2.txt, BEEHIVE-825-patch3.txt, BEEHIVE-825-patch4.txt
>
> There was some discussion about this on the beehive-dev list.  I will attach a patch that will run some in-container tests as well as the existing tests in the WSM drt target.  I have an initial set of tests that I will also include that apply the JSR 181 annotations and then check the resulting WSDL from the container for some key points.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (BEEHIVE-825) update WSM drt scripts to support in-container tests and add some initial tests

Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/BEEHIVE-825?page=comments#action_12314054 ] 

Eddie O'Neil commented on BEEHIVE-825:
--------------------------------------

Jeremiah--Hey, the tests look great.  

A couple of comments:

- can the tests be packaged into an axis/ package since they're Axis specific in the URLs used to get WSDLs?  Just makes is so that we don't have to do that later if it's ever needed
- can the wsm.properties file go away?  we don't have a holistic solution for the port-8080-override; once we've got one, we can carry it throughout all of the DRTs
- can the tests break a dependence on using a system property to override the URLs?  a longer-term / more general solution might use a .properties file in order to pass info that could be overridden to the tests.  feel free to take a crack at this if you'd like!

Eddie


> update WSM drt scripts to support in-container tests and add some initial tests
> -------------------------------------------------------------------------------
>
>          Key: BEEHIVE-825
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-825
>      Project: Beehive
>         Type: Test
>   Components: Web Services (181)
>     Versions: V1
>  Environment: SVN 190999
>     Reporter: Jeremiah Johnson
>     Assignee: Eddie O'Neil
>     Priority: Minor
>      Fix For: V1
>  Attachments: BEEHIVE-825-patch1.txt, BEEHIVE-825-patch2.txt
>
> There was some discussion about this on the beehive-dev list.  I will attach a patch that will run some in-container tests as well as the existing tests in the WSM drt target.  I have an initial set of tests that I will also include that apply the JSR 181 annotations and then check the resulting WSDL from the container for some key points.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (BEEHIVE-825) update WSM drt scripts to support in-container tests and add some initial tests

Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-825?page=all ]

Eddie O'Neil updated BEEHIVE-825:
---------------------------------

    Assign To: Jeremiah Johnson  (was: Eddie O'Neil)

Passing back to Jeremiah until these tests are reworked.

> update WSM drt scripts to support in-container tests and add some initial tests
> -------------------------------------------------------------------------------
>
>          Key: BEEHIVE-825
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-825
>      Project: Beehive
>         Type: Test
>   Components: Web Services (181)
>     Versions: V1
>  Environment: SVN 190999
>     Reporter: Jeremiah Johnson
>     Assignee: Jeremiah Johnson
>     Priority: Minor
>      Fix For: TBD
>  Attachments: BEEHIVE-825-patch1.txt, BEEHIVE-825-patch2.txt
>
> There was some discussion about this on the beehive-dev list.  I will attach a patch that will run some in-container tests as well as the existing tests in the WSM drt target.  I have an initial set of tests that I will also include that apply the JSR 181 annotations and then check the resulting WSDL from the container for some key points.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (BEEHIVE-825) update WSM drt scripts to support in-container tests and add some initial tests

Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-825?page=all ]

Eddie O'Neil updated BEEHIVE-825:
---------------------------------

    type: Test  (was: Improvement)

Switching to tests.

> update WSM drt scripts to support in-container tests and add some initial tests
> -------------------------------------------------------------------------------
>
>          Key: BEEHIVE-825
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-825
>      Project: Beehive
>         Type: Test
>   Components: Web Services (181)
>     Versions: V1
>  Environment: SVN 190999
>     Reporter: Jeremiah Johnson
>     Assignee: Eddie O'Neil
>     Priority: Minor
>      Fix For: V1
>  Attachments: BEEHIVE-825-patch1.txt, BEEHIVE-825-patch2.txt
>
> There was some discussion about this on the beehive-dev list.  I will attach a patch that will run some in-container tests as well as the existing tests in the WSM drt target.  I have an initial set of tests that I will also include that apply the JSR 181 annotations and then check the resulting WSDL from the container for some key points.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (BEEHIVE-825) update WSM drt scripts to support in-container tests and add some initial tests

Posted by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-825?page=all ]

Jeremiah Johnson reassigned BEEHIVE-825:
----------------------------------------

    Assign To: Eddie O'Neil  (was: Jeremiah Johnson)

I tested BEEHIVE-825-patch2.txt on RHEL and FC3.  Don't forget that I forgot wsm.properties in the add list.

> update WSM drt scripts to support in-container tests and add some initial tests
> -------------------------------------------------------------------------------
>
>          Key: BEEHIVE-825
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-825
>      Project: Beehive
>         Type: Improvement
>   Components: Web Services (181)
>     Versions: V1
>  Environment: SVN 190999
>     Reporter: Jeremiah Johnson
>     Assignee: Eddie O'Neil
>     Priority: Minor
>      Fix For: V1
>  Attachments: BEEHIVE-825-patch1.txt, BEEHIVE-825-patch2.txt
>
> There was some discussion about this on the beehive-dev list.  I will attach a patch that will run some in-container tests as well as the existing tests in the WSM drt target.  I have an initial set of tests that I will also include that apply the JSR 181 annotations and then check the resulting WSDL from the container for some key points.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (BEEHIVE-825) update WSM drt scripts to support in-container tests and add some initial tests

Posted by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-825?page=all ]

Jeremiah Johnson updated BEEHIVE-825:
-------------------------------------

    Attachment: BEEHIVE-825-patch1.txt

BEEHIVE-825-patch1.txt is a patch that I hope can fit the bill.  This adds some initial WSDL parsing tests for JSR 181 annotations Oneway and WebService.  Here are a few points of interest with this patch - I attempted to follow Eddie's suggestions from beehive-dev, but am not sure if my solutions are what he had in mind:

- added trunk/wsm/wsm.properties in style used by netui and controls
- still using system property in junit test - don't have a problem doing differently - just wasn't sure if you meant to load wsm.properties or have system property use wsm.properties or something else
- wsm/drt/build.xml had been leaving velocity.log after clean - I changed to remove it - is that okay?
- wsm/drt/build.xml build.webapp target updated to also build webservices and stage under build dir
- non-container junit target told to exclude the wsdl tests (org.apache.beehive.wsm.tests.wsdl)
- added in-container tests that currently look at org.apache.beehive.wsm.tests.wsdl.*Test

Note that the wsm/drt/build.xml is at the very end of the patch - this is the only file that was modified; all others in the patch are adds.

The following require 'svn add' after applying the patch:
tests/org/apache/beehive/wsm/tests/wsdl/WebServiceNameTest.java
tests/org/apache/beehive/wsm/tests/wsdl/WebServiceServiceNameTest.java
tests/org/apache/beehive/wsm/tests/wsdl/WebServiceTargetNamespaceTest.java
tests/org/apache/beehive/wsm/tests/wsdl/OnewayTest.java
webapp/WEB-INF/src-ws/WebServiceTargetNamespaceEmpty.java
webapp/WEB-INF/src-ws/oneway/Used.java
webapp/WEB-INF/src-ws/oneway/NotUsed.java
webapp/WEB-INF/src-ws/WebServiceTargetNamespaceNotUsed.java
webapp/WEB-INF/src-ws/webservice/NameEmpty.java
webapp/WEB-INF/src-ws/webservice/ServiceNameEmpty.java
webapp/WEB-INF/src-ws/webservice/NameUsed.java
webapp/WEB-INF/src-ws/webservice/TargetNamespaceEmpty.java
webapp/WEB-INF/src-ws/webservice/NameNotUsed.java
webapp/WEB-INF/src-ws/webservice/ServiceNameUsed.java
webapp/WEB-INF/src-ws/webservice/ServiceNameNotUsed.java
webapp/WEB-INF/src-ws/webservice/TargetNamespaceUsed.java
webapp/WEB-INF/src-ws/webservice/TargetNamespaceNotUsed.java

> update WSM drt scripts to support in-container tests and add some initial tests
> -------------------------------------------------------------------------------
>
>          Key: BEEHIVE-825
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-825
>      Project: Beehive
>         Type: Improvement
>   Components: Web Services (181)
>     Versions: V1
>  Environment: SVN 190999
>     Reporter: Jeremiah Johnson
>     Assignee: Jeremiah Johnson
>     Priority: Minor
>      Fix For: V1
>  Attachments: BEEHIVE-825-patch1.txt
>
> There was some discussion about this on the beehive-dev list.  I will attach a patch that will run some in-container tests as well as the existing tests in the WSM drt target.  I have an initial set of tests that I will also include that apply the JSR 181 annotations and then check the resulting WSDL from the container for some key points.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (BEEHIVE-825) update WSM drt scripts to support in-container tests and add some initial tests

Posted by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/BEEHIVE-825?page=comments#action_12313922 ] 

Jeremiah Johnson commented on BEEHIVE-825:
------------------------------------------

Oops - sorry - forgot the wsm.properties in the list of files to add to SVN.

> update WSM drt scripts to support in-container tests and add some initial tests
> -------------------------------------------------------------------------------
>
>          Key: BEEHIVE-825
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-825
>      Project: Beehive
>         Type: Improvement
>   Components: Web Services (181)
>     Versions: V1
>  Environment: SVN 190999
>     Reporter: Jeremiah Johnson
>     Assignee: Jeremiah Johnson
>     Priority: Minor
>      Fix For: V1
>  Attachments: BEEHIVE-825-patch1.txt, BEEHIVE-825-patch2.txt
>
> There was some discussion about this on the beehive-dev list.  I will attach a patch that will run some in-container tests as well as the existing tests in the WSM drt target.  I have an initial set of tests that I will also include that apply the JSR 181 annotations and then check the resulting WSDL from the container for some key points.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (BEEHIVE-825) update WSM drt scripts to support in-container tests and add some initial tests

Posted by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-825?page=all ]

Jeremiah Johnson updated BEEHIVE-825:
-------------------------------------

    Attachment: BEEHIVE-825-patch2.txt

This is the patch I should have included originally - it includes some WebMethod tests.  The WebParam and WebResult tests are where things get ugly, so I am holding on to those until this basic stuff is approved or rejected.  The others have header issues and also have to split doc / lit versus rpc / lit (and possibly rpc / enc?).

After patching (SVN 191189) you should be able to run all DRTs successfully.  If you want a small check initially, then go to trunk/wsm/drt and do 'ant clean drt'.

Here is the new list of adds:
tests/org/apache/beehive/wsm/tests/wsdl/WebServiceNameTest.java
tests/org/apache/beehive/wsm/tests/wsdl/WebServiceServiceNameTest.java
tests/org/apache/beehive/wsm/tests/wsdl/WebMethodOperationNameTest.java
tests/org/apache/beehive/wsm/tests/wsdl/WebServiceTargetNamespaceTest.java
tests/org/apache/beehive/wsm/tests/wsdl/OnewayTest.java
tests/org/apache/beehive/wsm/tests/wsdl/WebMethodActionTest.java
webapp/WEB-INF/src-ws/WebServiceTargetNamespaceEmpty.java
webapp/WEB-INF/src-ws/oneway/Used.java
webapp/WEB-INF/src-ws/oneway/NotUsed.java
webapp/WEB-INF/src-ws/WebServiceTargetNamespaceNotUsed.java
webapp/WEB-INF/src-ws/webservice/NameEmpty.java
webapp/WEB-INF/src-ws/webservice/ServiceNameEmpty.java
webapp/WEB-INF/src-ws/webservice/NameUsed.java
webapp/WEB-INF/src-ws/webservice/TargetNamespaceEmpty.java
webapp/WEB-INF/src-ws/webservice/NameNotUsed.java
webapp/WEB-INF/src-ws/webservice/ServiceNameUsed.java
webapp/WEB-INF/src-ws/webservice/ServiceNameNotUsed.java
webapp/WEB-INF/src-ws/webservice/TargetNamespaceUsed.java
webapp/WEB-INF/src-ws/webservice/TargetNamespaceNotUsed.java
webapp/WEB-INF/src-ws/webmethod/ActionNotUsed.java
webapp/WEB-INF/src-ws/webmethod/OperationNameEmpty.java
webapp/WEB-INF/src-ws/webmethod/OperationNameUsed.java
webapp/WEB-INF/src-ws/webmethod/OperationNameNotUsed.java
webapp/WEB-INF/src-ws/webmethod/ActionEmpty.java
webapp/WEB-INF/src-ws/webmethod/ActionUsed.java

> update WSM drt scripts to support in-container tests and add some initial tests
> -------------------------------------------------------------------------------
>
>          Key: BEEHIVE-825
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-825
>      Project: Beehive
>         Type: Improvement
>   Components: Web Services (181)
>     Versions: V1
>  Environment: SVN 190999
>     Reporter: Jeremiah Johnson
>     Assignee: Jeremiah Johnson
>     Priority: Minor
>      Fix For: V1
>  Attachments: BEEHIVE-825-patch1.txt, BEEHIVE-825-patch2.txt
>
> There was some discussion about this on the beehive-dev list.  I will attach a patch that will run some in-container tests as well as the existing tests in the WSM drt target.  I have an initial set of tests that I will also include that apply the JSR 181 annotations and then check the resulting WSDL from the container for some key points.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (BEEHIVE-825) update WSM drt scripts to support in-container tests and add some initial tests

Posted by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-825?page=all ]

Jeremiah Johnson reassigned BEEHIVE-825:
----------------------------------------

    Assign To: Eddie O'Neil  (was: Jeremiah Johnson)

This is ready for you to look at, if you are interested.  patch4.

> update WSM drt scripts to support in-container tests and add some initial tests
> -------------------------------------------------------------------------------
>
>          Key: BEEHIVE-825
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-825
>      Project: Beehive
>         Type: Test
>   Components: Web Services (181)
>     Versions: V1
>  Environment: SVN 190999
>     Reporter: Jeremiah Johnson
>     Assignee: Eddie O'Neil
>     Priority: Minor
>      Fix For: TBD
>  Attachments: BEEHIVE-825-patch1.txt, BEEHIVE-825-patch2.txt, BEEHIVE-825-patch3.txt, BEEHIVE-825-patch4.txt
>
> There was some discussion about this on the beehive-dev list.  I will attach a patch that will run some in-container tests as well as the existing tests in the WSM drt target.  I have an initial set of tests that I will also include that apply the JSR 181 annotations and then check the resulting WSDL from the container for some key points.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (BEEHIVE-825) update WSM drt scripts to support in-container tests and add some initial tests

Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-825?page=all ]
     
Eddie O'Neil closed BEEHIVE-825:
--------------------------------

    Assign To:     (was: Eddie O'Neil)

Patch has been committed and tests are running.  Closing.

> update WSM drt scripts to support in-container tests and add some initial tests
> -------------------------------------------------------------------------------
>
>          Key: BEEHIVE-825
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-825
>      Project: Beehive
>         Type: Test
>   Components: Web Services (181)
>     Versions: V1
>  Environment: SVN 190999
>     Reporter: Jeremiah Johnson
>     Priority: Minor
>      Fix For: TBD
>  Attachments: BEEHIVE-825-patch1.txt, BEEHIVE-825-patch2.txt, BEEHIVE-825-patch3.txt, BEEHIVE-825-patch4.txt
>
> There was some discussion about this on the beehive-dev list.  I will attach a patch that will run some in-container tests as well as the existing tests in the WSM drt target.  I have an initial set of tests that I will also include that apply the JSR 181 annotations and then check the resulting WSDL from the container for some key points.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira