Commit graph

3621 commits

Author SHA1 Message Date
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
edwardsmj
88fbae2e36 Adding org.apache.tuscany.sca.assembly.impl package to imports in MANIFEST.MF to correct an OSGi access error.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1136897 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 14:48:10 +00:00
antelder
dbd04b3daf When uninstalling a contribution also remove any stopped DeployedComposites so that they get correctly rebuilt afresh on a re-start
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1136894 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 14:44:07 +00:00
antelder
f047ab5cd6 Add a method to get the URIs of all the contributions used by this DeployedComposite
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1136892 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 14:41:42 +00:00
slaws
9fbe040fb8 TUSCANY-3876 - minimum changes to turn of implementation model sharing and represent implementation policy correctly.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1136391 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 12:13:44 +00:00
slaws
a37832b899 TUSCANY-3873 - modify the policy matching algorithm for the case where the reference has a target but no policy and the service has policy. In this case the code now copies the service policy to the reference.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1136386 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 11:56:44 +00:00
slaws
817f391d1d Add intents to implementations. It shows that implementation policy is not being handled correctly.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1136033 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 13:31:01 +00:00
slaws
2612daddaf TUSCANY-3873 - Tidy so that it runs
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135456 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 10:10:46 +00:00
antelder
de386cde25 Add a test for explicit dependencies
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135455 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 10:09:13 +00:00
slaws
6aeeff9e3b TUSCANY-3873 - start of a test case to check out policy matching and to look at where an how policy interceptors are added along the reference, service and binding chains
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135444 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 09:48:46 +00:00
antelder
5d8998148b Update to support a contribution exploded (unzipped) into a file system directory
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135438 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 09:42:48 +00:00
antelder
c23d51cb0f Add readme files about the test directories
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135421 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 09:05:58 +00:00
antelder
41cfd14858 Update to support using a node.xml config file in the domain directory
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135417 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 08:57:19 +00:00
antelder
95bd96114e Add a test with a domain.properties file
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135394 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 07:15:35 +00:00
antelder
0e043d02b6 Update to only treat .jar, .zip and folders that don't start with . as contributions (so the .svn folders are ignored)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135392 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 07:15:02 +00:00
antelder
86341a0d86 Have a look at creating a domain node from a file system dirctory to see if its possible to do it in a way thats simpler than requiring a node.xml config file
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135391 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 07:00:09 +00:00
antelder
745f458002 Fix getDeployables so that any composites added with addDeployable are included in all the deployables
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135389 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 06:48:46 +00:00
antelder
4bdede666f Use the domain name not the uri when looking for a local registry
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135301 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 21:44:22 +00:00
antelder
5695a53ee0 Update for to use the domain uri and name from the registry and to use the domain name in the binding base uri for non-default domains
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135297 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 21:39:56 +00:00
antelder
3b4a10eca4 Update the name and uri variable names in the hazelcast regsitry to make it a bit clearer
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135296 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 21:37:16 +00:00
antelder
af803d2def Updates to the hazelcast registry manifest
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135295 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 21:35:54 +00:00
antelder
b522865099 Update the DomainRegistry to have getters for both the registry uri and name
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135294 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 21:35:05 +00:00
antelder
ca5efc2fe6 TUSCANY-3872: Apply patch from Greg Dritschler to fix AsyncJDKInvocationHandler should short-circuit Object methods
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135253 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 19:58:29 +00:00
antelder
9dc381f1ac Update so that for nodes that don't use the default domain name the domain name is included in the service uri (except for binding.sca)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135139 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 15:19:01 +00:00
antelder
a7b5ef23de Enable setting a default base uri thats used if a specific base is not set but a default value is
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135131 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 15:11:14 +00:00
bdaniel
6e8aa90f95 Add callback handling to PolicyAttachmentBuilder
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135123 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 15:02:01 +00:00
antelder
a88c0c1ceb Add an itest to look at having the domain name be able to be used as part of service endpoint URIs
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135092 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 11:25:45 +00:00
antelder
4793edeb2e Fix so that registering servlets with a * suffix in the path works
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1134878 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 07:26:14 +00:00
antelder
9203a2f808 Add a service discovery file
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1134877 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 07:21:16 +00:00
antelder
86438369d1 Add the osgi http host to build
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1134876 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 07:18:59 +00:00
antelder
e3c71c6098 Move the OSGi based http host from contrib to trunk as I'm starting to use it
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1134874 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 07:12:26 +00:00
antelder
37119a89dd Update to match the current trunk ServletHost interface
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1134520 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 04:58:31 +00:00
antelder
09d065edd7 Add missing import in the OSGi manifest
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1134516 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 04:44:06 +00:00
slaws
1831c66fa9 Flush the XML stream writer
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1134228 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 08:15:32 +00:00
slaws
4ebb9eeb6b TUSCANY-3867 - Add more output to the test so we can test when exceptions are thrown out of the Node
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1134225 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 08:09:35 +00:00
slaws
d4840d38ef TUSCANY-3867 - If an exception is detected at start time tidy up by stopping what's been started.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1134224 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 08:08:21 +00:00
slaws
fb9bf68455 TUSCANY-3867 - Add rethrows back in the start processing as we don;t want to blindly carry on starting things (as we do with stop processing)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1134223 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 08:05:58 +00:00
fmoga
65797038a6 Update LICENSE file with latest Atmosphere and Jersey versions.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1133896 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 14:35:15 +00:00
antelder
1e5cf3cd5c Add TODO about support for foreign endpoints
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1133827 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 12:29:30 +00:00
fmoga
d9e0a73826 Minor modifications to the comet samples.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1133716 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 08:37:15 +00:00
antelder
0de1e51265 Update with JIRA number for issue
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1133715 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 08:36:44 +00:00