Commit graph

12,799 commits

Author SHA1 Message Date
slaws
897243d3cc TUSCANY-3916 Add the code to write the callback interface alongside the forward interface. However turn off all the interface writing as I'm not very happy about the implementation so am disabling wit while I give it some thought.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1161528 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 12:03:05 +00:00
slaws
ce82a7f210 TUSCANY-3932 - Rework the callack wire calculation to be based on non-runtime configurations. I've modified the Endpoint writing algorithm to write out automatically calculated callback bindings as well as callback bindings specified explicitly by the user.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1161527 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 11:59:58 +00:00
slaws
f35d48772e Allow the binding.sca URI to be configured with the base URI as with all other bindings. The default binding now delegates to other remote bindings which require access to the properly based URI. I've had to make a change to the hazelcast binding that was assuming that the binding URI was the same as the EPR URI which is not the case.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1161525 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 11:51:11 +00:00
slaws
d571ecabe1 Configure the default binding to use binding.ws in the remote case rather than binding.hazelcast as the latter doesn't support callbacks
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1161522 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 11:48:34 +00:00
slaws
e7e31fc577 Ignore the remote missmatch test cases at this function is still not working
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1161520 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 11:47:03 +00:00
slaws
e3dda74633 Add auditing to callback compatibility testing
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1161519 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 11:45:53 +00:00
antelder
ff5a82cbb8 Add an async itest that uses distributed nodes and a synchronous service. This one does work, woohoo
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1161058 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 11:46:36 +00:00
antelder
7a7cbbe3fc Add an async client-service itest that uses distributed nodes. This is taken out with @Ignore presently as it doesn't work due to some bugs in the Tuscany generated wsdl thats in the endpoint registry
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1161035 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 10:06:29 +00:00
antelder
c29118af5e Add JMS and WS versions of the async client talking to sync service itests
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1161007 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 08:42:05 +00:00
antelder
536743a299 Add a testcase for a client using the various client APIs talking to a synchronous service
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1161000 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 08:32:33 +00:00
antelder
d409ec3756 Update jms wireformats to fix NPE with async services
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1160610 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 10:40:56 +00:00
antelder
111c7ec0e7 Add itests for jms wireformats textXml, bytes, and bytesXml. These don't work presently due to some databinding issue so taken out of the build with @Ignore
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1160608 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 10:34:44 +00:00
eranda
7ebeba3069 creating a service test cases for 3 components
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1160071 13f79535-47bb-0310-9956-ffa450edef68
2011-08-21 21:58:20 +00:00
nash
73b3008553 TUSCANY-2735: Add tests for generic types
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159968 13f79535-47bb-0310-9956-ffa450edef68
2011-08-21 11:55:43 +00:00
antelder
97502d6c76 Add an itest for async services using jms with jms text wireformat
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159783 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 20:47:51 +00:00
antelder
458cc11ebc Fix jms text wireformat to work with async services
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159781 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 20:46:35 +00:00
antelder
ba24704005 Add the jmsobject async itest to build as the wireformat is working now
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159768 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 20:05:11 +00:00
antelder
7bda76851b Fix NPE in jmsObject wireformat with async services
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159761 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 19:55:46 +00:00
eranda
26a29763aa Making REST services from the datastores(Apache Cassandra, Apacha CouchDB and Apache Hadoop/hbase)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159757 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 19:42:16 +00:00
antelder
b2a9742330 Add an async test using jms wireformats. taken out with @Ignore for now as it doesn't work
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159653 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 14:46:59 +00:00
slaws
ba97a1cc4f TUSCANY-3916 - Add callback and match tests to motivate the correction of the runtime to handle callback interfaces in the distributed case
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159650 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 14:38:52 +00:00
slaws
b9a4910ce5 TUSCANY-3916 - Correct comment to reflect what I believe is the reality
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159624 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 13:17:08 +00:00
slaws
4ca42d5aea TUSCANY-3916 - Add local callback miss-match case. Remote callback case to follow.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159623 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 13:15:52 +00:00
slaws
ed8ec6354e Add miss-matched local interface. Accept for the time being that interface matching for remote java interfaces is rather lenient when Java beans are involved.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159615 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 12:38:10 +00:00
antelder
d8cda281dd Include the async-services itest in build
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159601 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 11:46:02 +00:00
antelder
88f3136111 Add a sleep after the sync request otherwise the next async request fails for a reason i've still to work out. Otherwise all these tests work ok for me now so committing so i can see if they work ok on hudson now without hanging
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159600 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 11:44:01 +00:00
slaws
99cd88c169 TUSCANY-3912 - Local correct to output as a result of http://www.osoa.org/jira/browse/ASSEMBLY-265. Awaiting official OASIS change.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159574 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 10:22:18 +00:00
slaws
6140696701 Local correct to output as a result of http://www.osoa.org/jira/browse/ASSEMBLY-265. Awaiting official OASIS change.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159573 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 10:20:35 +00:00
slaws
d090088ab6 TUSCANY-3916 - add missing OSGi dependencies
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159557 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 09:17:56 +00:00
antelder
0de27104d2 TUSCANY-3906: Apply patch from Eric Larsen for an enhancement to ThreadMessageContext enabling external tooling to retrieve the previous message context in a given invocation chain.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159380 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 19:50:52 +00:00
antelder
85d474bb04 Remove exclude for 4020 test as it is fixed now with the latest oasis code
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159209 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 13:27:17 +00:00
antelder
b2dc2079e7 Add xalan depnendency which is required because wss4j uses the xalan URI toString method. (dragging in all xalan just to get a uri toString seems less than ideal, it has been changed in later wss4j releases, no idea if they work with the rest of the Tuscany Axis2 release and dependencies though
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159205 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 13:22:11 +00:00
antelder
5a5e16912a Remove xalan dependency as it conflicts iwth the base jdk which includes some xalan classes
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159204 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 13:19:28 +00:00
antelder
16964c4e49 Add exclude for 4020 test thats been failing for ages
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1159076 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 08:12:00 +00:00
slaws
9d69b5d4b2 TUSCANY-3922 - apply Jennifer's patch to add some missing doPrivileged calls around various classloader calls. Thanks for the patch Jennifer.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1158793 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 16:04:45 +00:00
antelder
1798efc6a2 TUSCANY-3920: Copy fix from TUSCANY-3713 to the ExtensibleStAXArtifactProcessor
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1158766 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 15:20:35 +00:00
slaws
af12c60eda Add interface-matching to the build so at least the distributed part is exercised.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1158751 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 14:47:30 +00:00
slaws
653f7665b4 Mark the local miss-match test as ignored pending ML discussion
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1158750 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 14:45:45 +00:00
slaws
78060b13f0 Correct typo in test name
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1158748 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 14:42:03 +00:00
slaws
dd2d74ed9c Remove unused dependencies
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1158744 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 14:36:48 +00:00
slaws
86d0dd2ba9 Fix comment typo
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1158742 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 14:32:19 +00:00
antelder
9159c4372b TUSCANY-3921: attemot to ensure that dependentContributions doesn't contain duplicates
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1158729 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 14:18:01 +00:00
antelder
ddf21f5551 Add aWS version of the simple async test
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1158654 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 12:21:31 +00:00
antelder
b06a00325d Add an explicit interface to the service as that seems to be the only way to get the asycn service to work, and use a target on the reference for the same reason
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1158653 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 12:20:41 +00:00
antelder
8bf69f3ae7 Extend the async simple test to use the JMS binding. This doesn't work, it seems the runtime isn't doing the databinding conversion so the service gets argument type mismatch
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1158631 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 11:14:17 +00:00
antelder
70b0286aea The RuntimeInvoker currently swallows exceptions with a TODO comment, update this to at least do a printStackTrace so there is some hint somehting went wrong
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1158625 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 11:03:28 +00:00
antelder
650058d314 Extend the async services test with a new client and service that work in as simple a way as possible
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1158614 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 10:29:14 +00:00
slaws
9ec0f9811d TUSCANY-3912 - Apply Greg's suggested change to clear component reference targets when nonOverrideable is false (overrideable = true which means that composite reference targets override any targets on the component reference that they promote. This change called for a change to otest 5023 which I added to the Tuscany compliance tests at r1158595. Thanks for working on this Greg.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1158598 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 09:44:39 +00:00
slaws
7fa003e256 Update assembly test to OASIS r644 + local changes to 1) correct missing speech marks from 5023 2) change expected service name in 12004 (which was re-introduced to the test suite late on and which we haven't been running in Tuscany.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1158595 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 09:38:58 +00:00
slaws
cdcd689895 TUSCANY-3916 - A test for interface miss-matches
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1158181 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 10:12:18 +00:00