Commit graph

3661 commits

Author SHA1 Message Date
antelder
44730b6cf8 Correct archetype variable names which i think got incorrectly updated after a global edit
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140972 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 06:08:48 +00:00
antelder
f2b77129d6 TUSCANY-3861: Move up to the new bundle plugin release
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140963 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 04:22:46 +00:00
bdaniel
f0fa1a8ac4 Commit patch for TUSCANY-3887 to add doPrivileged blocks to EquinoxServiceDiscoverer
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140741 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 17:30:44 +00:00
slaws
38a689a546 TUSCANY-3881 - fix a typo in the original commit
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140706 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 16:20:56 +00:00
slaws
1e9176c213 Fix for hanging compliance test JCA_11017. In some cases Axis doesn't have the "In" context available at the point at which the outgoing message is sent. There is already code in TransportReferenceInterceptor to capture the "In" context when a response is received. The test was hanging as this was causing a crash so the client waited for ever for a response which never came.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140687 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 15:37:25 +00:00
antelder
4742dbf43d When the domainURI is null use a default
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140683 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 15:19:08 +00:00
antelder
d92638d6a9 Fix NPE when the domainURI is null
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140682 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 15:18:25 +00:00
antelder
303c0a330f Add some guards around setting the contribution classloader
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140455 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 07:02:58 +00:00
scottkurz
12589a56d3 Swap incorrectly-ordered sourceOperation, targetOperation in MediatoryImpl.copyOutput to reflect conventions. Adjust var names for clarity. TODO - add test of binding-sca-runtime which exposes the previous error.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140211 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 15:42:44 +00:00
antelder
5d464e807e Add some more logging to NodeImpl
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140066 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 09:18:47 +00:00
antelder
a1e074f42d Make DeployedComposite set the Contribution ClassLoader when a composite is started. It feels like there should be a better place for this to be happening, perhaps in the builder somewhere but for now this ensures that a composite's contribution will have a classloader set after the a composite is started.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140065 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 09:17:09 +00:00
antelder
a46ba8d3bf Remove all the code trying to derive a domain name from the uri and instead let the registry do that
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140052 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 08:35:42 +00:00
antelder
fab34c8f3e Support using null for the domain name and deriving the name from the uri
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140051 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 08:34:33 +00:00
antelder
b295282539 Make getModelResolverInstance public so you can find the resolver used for a particular type
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140050 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 08:33:37 +00:00
antelder
f8fac93e0e TUSCANY-3886: removing hanging itest from build
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140043 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 08:00:00 +00:00
antelder
9952c3627e Remove the storing of wsdl in the registry as it snot used by anythiny presently now that the client has been changed to get the contribution jars itself
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1139503 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 08:36:14 +00:00
slaws
cc712845b9 Take a look at the sequence of interceptors that gets called when an exception is thrown. Seems to be OK at first view when we depend on InterceptorAsyncImpl.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1138966 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 16:20:49 +00:00
slaws
8f96cc1b7e TUSCANY-3881 - create a context bean to hold a more consistent of Axis2 context in the reference and service side chains.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1138899 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 14:31:42 +00:00
slaws
7553afa5b5 TUSCANY-3877 - fix up test policies to match the corrected appliesTo processing.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1138865 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 13:06:49 +00:00
slaws
e9fc3c9cf8 TUSCANY-3873 - A stop gap solution to running the appliesTo algorithm against a matched endpoint reference. Waiting on the discussion from TUSCANY-3877 before producing the full solution.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1138864 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 13:05:00 +00:00
slaws
4f538657ed TUSCANY-3878 - check policy language equality based on the namspace of the policy element rather than the full element QName
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1138859 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 12:57:26 +00:00
antelder
ec7ff637d9 Add a way to set whether or not the domain name is included as the root of the service endpoint uri
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1138822 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 10:50:23 +00:00
antelder
5cf230ac41 Add a method to get the domain name as well as the domain URI
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1138815 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 10:25:12 +00:00
antelder
24b76e5ca7 Add some comment reminder about hot updates of a node.xml defined Node might work like
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1138812 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 10:19:12 +00:00
antelder
90c433dedb Add a test to show how to find info about a contributions artifacts
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1138751 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 07:28:49 +00:00
bdaniel
0b0a543b41 Refactor appliesTo builder based on spec clarifications
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1138105 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 17:31:10 +00:00
slaws
2c9c36e7af Add a binding.ws specific policy set and capture the order in which the interceptors should be called so that this can be explicitly checked by the test. The test also looks at the result of the matchin process which is not correct at present because "appliesTo" processing is not performed for runtime resolved references.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1138071 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 16:08:48 +00:00
slaws
74016a7999 Temporarily disable the interceptors test so that I can commit some changes that won't work until the infrastructure is updated.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137987 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 12:59:18 +00:00
bdaniel
dcc1e7ce96 Revert change to only inherit interaction intents on interfaces. Though the implementation intents are not used at runtime, they are used for validation.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137968 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 11:54:22 +00:00
antelder
6fecd93cd8 Correct module parent to fix Hudson build issue
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137884 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 07:03:11 +00:00
antelder
83474be200 Update old plugin name
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137598 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 11:42:17 +00:00
antelder
a3d3bbee39 Add some experimental code to look at dynamic updates to a running Node
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137548 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 08:51:59 +00:00
antelder
51fe8b9843 Avoid exception in updateCOntribution if the contribution doesn't exist for some reason, and add a new method to uninstall a contribution and stop any started composites that were using it
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137546 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 08:50:59 +00:00
antelder
e0d0f979b5 Update contribution update to handle additional deployed composites and a testcase for that
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137311 13f79535-47bb-0310-9956-ffa450edef68
2011-06-19 07:44:31 +00:00
antelder
82d2e8d40f Add an impl to the update contribution method and a testcase
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137308 13f79535-47bb-0310-9956-ffa450edef68
2011-06-19 07:25:03 +00:00
antelder
f78a216e05 Start adding a method to update an installed contribution
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137305 13f79535-47bb-0310-9956-ffa450edef68
2011-06-19 06:55:40 +00:00
antelder
221db46620 Add another test for recursive composites
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137302 13f79535-47bb-0310-9956-ffa450edef68
2011-06-19 06:37:19 +00:00
antelder
980d972a9e add testcase missed off on the composite update commit
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137297 13f79535-47bb-0310-9956-ffa450edef68
2011-06-19 06:16:44 +00:00
antelder
63c1ddba4b Correct typo
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137296 13f79535-47bb-0310-9956-ffa450edef68
2011-06-19 06:12:55 +00:00
antelder
c5d3f9f932 Add a method to restart started composites that depend on another composite. That so you can updated a composite and have everything thats using it pick up the changes
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137224 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 18:20:09 +00:00
antelder
7550f84364 Clear out old endpoints before adding the binding endpoints. Without this you get duplicated endpoints when reusing contributions. It may be that we need a better way of resetting this and other things for restarts
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137222 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 18:06:51 +00:00
antelder
a0bfcca6d8 Keep track of the fuse composites
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137221 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 18:04:51 +00:00
antelder
d9f47b9f82 Update Composite to keep track of 'fused' includes. 'Fused' is the term the code is using for the merging of the inlcudes inline into the composite. But after that process has happened there was nolonger any way to find what includes a composite had so this new method enables still finding that
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137220 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 18:03:56 +00:00
antelder
2fd232ad16 Change setting a contributions dependencies explicitly from using the domain.properties file to use a <contributionName>.dependencies file to be more consistent with how the other files are used
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137135 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 07:46:51 +00:00
bdaniel
7a1fb15ee8 Correctly remove policies from endpoints and endpoint references when there are multiple endpoints
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137040 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 21:27:59 +00:00
bdaniel
46639afca6 Endpoints should only inherit interaction intents
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137036 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 21:24:20 +00:00
bdaniel
f75a5166c0 Only create tx impl interceptors for valid policies
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137033 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 21:22:24 +00:00
bdaniel
f922d1b271 Allow tx interaction policies to attach to services and references in addition to bindings
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137030 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 21:18:34 +00:00
antelder
ccb49a7f5e Add a testcase for stopCompositeAndUninstallUnused
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1136909 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 15:22:53 +00:00
antelder
b9c6321ba3 Add a method to stop a running composite and then uninstall any contributions that were used by the composite and are unused now that the composite is stopped
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1136907 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 15:04:06 +00:00