Commit graph

2874 commits

Author SHA1 Message Date
rfeng
48d73d16fd Add test dep of sca-api
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819788 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 00:39:21 +00:00
rfeng
175ff4ef11 Refactor tuscany-endpoint module into tuscany-core
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819786 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 00:31:15 +00:00
rfeng
0d60e1e5b8 Remove session/conversation/request scope tests
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819776 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 00:00:54 +00:00
rfeng
e9c8ce586e Minor clean up
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819755 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 22:29:48 +00:00
rfeng
e68b19a201 Refactor the builder implementations into tuscany-builder module
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819750 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 22:14:46 +00:00
rfeng
772451f5ff Format the code
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819710 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 20:25:15 +00:00
rfeng
822a4036d5 Start to copy builders from assembly module
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819680 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 19:15:06 +00:00
rfeng
133d3e4ddc Rename policy-builder to builder as the module to host Tuscany model builders
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819676 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 19:11:13 +00:00
lresende
3894e149fe Copy JSON Databinding to start porting from 1.x to 2.x
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819259 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27 05:58:31 +00:00
lresende
f59132e231 TUSCANY-3280 - Removing support for obsolet scopes as in latest JAVACAA 1.1 draft spec and throwing exception when invalid scope is found
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819068 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 23:37:29 +00:00
lresende
6e55b9d5cf TUSCANY-3280 - Removing obsolete iTests that were exercising REQUEST Scope
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819066 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 23:35:55 +00:00
lresende
7ceed60d0a TUSCANY-3280 - Cleaning up the possible scopes as defined in latest JAVA CAA 1.1 spec draft
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819064 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 23:34:44 +00:00
lresende
5b858dce8d Minor cleanup
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819063 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 23:33:43 +00:00
lresende
64343a6787 Minor testcase re-formatting
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819062 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 23:32:39 +00:00
rfeng
9857eae38c Remove unused class
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819031 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 21:34:44 +00:00
rfeng
77738b4c5d Comment out the incorrect policy matching algorithm and enable itest/policies
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819013 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 21:15:31 +00:00
rfeng
cfb7e9a18f Refactor CompositeActivator, ComponentContext and other related interfaces into core-spi module
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819009 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 21:08:37 +00:00
lresende
d64d402c3c Copy ATOM Binding to start porting from 1.x to 2.x
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818884 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 15:26:14 +00:00
lresende
cb77cec04d Copy ATOM Binding to start porting from 1.x to 2.x
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818882 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 15:25:31 +00:00
lresende
d839ee7485 Copy JSON-RPC Binding to start porting from 1.x to 2.x
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818881 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 15:24:13 +00:00
lresende
2df15c90f6 Copy JSON-RPC Binding to start porting from 1.x to 2.x
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818880 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 15:23:46 +00:00
rfeng
4d1c0a9df5 Improve CompositeImpl.clone so that it clones both included and nested composites
Move the CompositeCloneBuilder to be called before the compositeIncludeBuilder so that the include builder doesn't have to mix with clone

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818657 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 23:22:13 +00:00
rfeng
8032feb211 Reformat the code
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818590 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 19:02:28 +00:00
rfeng
71fbc37a1e Refactor the CompositeBuilder interface to return Composite instead of void so that a builder can create a new instance of Composite
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818588 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 18:59:52 +00:00
slaws
f7a236b7c7 removed in favour of new file called tuscany-oasis-sca-tests-errors.properties
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818173 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 17:41:30 +00:00
slaws
6000b221ac Updates to make the runtime bridge implementations match the new interface in OASIS that allows individual errors to be checked for
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818171 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 17:37:40 +00:00
slaws
4c31e02ecc Correct the bridge string for the OSGi launcher
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818170 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 17:36:14 +00:00
slaws
d9e17fb6b1 tidy imports
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818098 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 13:26:08 +00:00
slaws
535a663121 Add a README to match the new layout
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818097 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 13:25:42 +00:00
slaws
851e86df3f Switch over to the new model builder. Old builders are still there and can be re-enabled just by reverting this commit if there are issues.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818033 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 10:08:54 +00:00
slaws
cfb8731e12 Top level pom and ant script (now only used for copying files). Am looking to see if we can remove the need for the file copying.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818026 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 09:48:43 +00:00
slaws
992895003c add tuscany test runner back into the new test layout
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818023 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 09:43:01 +00:00
lresende
d7f151f184 Cleaning up unused imports
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817938 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 02:48:57 +00:00
lresende
81b2296a6e Modifying iTest to exercise injection in private fields + enabling working tests that were ignored
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817937 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 02:47:53 +00:00
rfeng
536352a545 Apply the @attachTo to SCA domain info set for external policy attachment
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817852 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 21:40:50 +00:00
rfeng
86163b4ee4 Add logic to apply the xpath against the implementation composites
Add a more complicated test case

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817714 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 16:11:11 +00:00
slaws
399df0e965 Dump out nested composites also.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817709 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 15:55:52 +00:00
slaws
6f41d8779b Add reference promotion builder back in. Need to decide what to do with it. Also add some other comments.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817707 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 15:55:01 +00:00
slaws
9225984604 Turn of this test while looking at how to put them somewhere more appropriate
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817705 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 15:53:16 +00:00
slaws
04531b3fe0 Use the methods for retrieving collections as some specializations override these collection methods to calculate the contents.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817703 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 15:50:20 +00:00
slaws
f9ba7e2862 Correct the algorithm for selecting callback bindings to match what the old builders were doing. However this is not correct. In particular we should probably be always selecting the forward binding if not callback binding is specified.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817629 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 12:12:40 +00:00
slaws
1e2c393ad0 Add an operation that dumps out the domain composite as a string. Am using for debugging builders where I need to see what the result of the builder processing is.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817626 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 12:10:18 +00:00
slaws
f0625833a5 Add property messages
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817541 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 08:20:57 +00:00
slaws
4cc4831d56 Add in the binding specific builders steps.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817540 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 08:19:44 +00:00
slaws
e1fcbc51ba Add code to flatten wires (getting rid of the ComponentReferenceWireBuilder)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817534 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 08:01:03 +00:00
rfeng
c777fd48a1 Revert the MF change that introduces a dangling required-bundle
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817454 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 23:19:47 +00:00
rfeng
8158e1f8bc Update diagrams
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817450 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 22:34:41 +00:00
rfeng
ad58901d17 Update the diagrams
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817408 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 20:36:24 +00:00
rfeng
45e5477cc7 Clean up import statements
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817371 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 18:56:53 +00:00
rfeng
ca41745086 Add a more complicated test scenario
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817359 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 18:19:45 +00:00