Commit graph

2712 commits

Author SHA1 Message Date
antelder
ee2e094cf6 Update the launcher script default config to use the domain node main
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808932 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 15:58:21 +00:00
antelder
b29c62732e Add a launche main class to the domain node
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808931 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 15:57:00 +00:00
antelder
ea57556670 Fix NPE when contribution jar doesn't have a manifest
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808928 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 15:55:56 +00:00
antelder
5a518addab Add domain-node to distro
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808927 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 15:54:45 +00:00
antelder
cafed1b5d7 Update manifest
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808926 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 15:53:57 +00:00
antelder
4509ca848c Update domain-node to use the new endpoint wrapper and runtime configuration so that the inVm/tribes endpoint registry can be choosen and configured via the domain node URI
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808875 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 13:05:34 +00:00
antelder
135d6e4b83 Add endpoint-wrapper module to the build
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808872 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 13:03:36 +00:00
antelder
bf8aee352a Add a new endpoint module that wraps the existing ones choosing which to use based on the runtime configuration. I think ideally we'd change this so the exitsing inVM registry is the default one and it looks up and remote registry itself and uses that if configured
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808871 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 13:01:58 +00:00
antelder
4a125b077c Update the tribes based endpoint registry to support being configured from the runtime configuration
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808869 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 12:58:09 +00:00
antelder
841a47ff38 Enable setting configuration on the NodeFactoryImpl
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808868 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 12:56:21 +00:00
antelder
70fd3294f8 Add interface for a way to pass configuration around
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808867 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 12:55:28 +00:00
antelder
4d5469d095 Update the magic random ranking number so it possible to use the extenstion
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808847 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 10:56:19 +00:00
antelder
9324004670 Update to add a method to check if a wire target is out of date compared to teh endpoint registry (see ML discussion 'Endpoint registry and stopping/starting nodes'
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808838 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 10:15:19 +00:00
antelder
ac78a258e3 Add testcase for restarting DomainNodes and work around a problem that uncovers with stopping the NodeFactory kills all DOmainNodes
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808793 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 07:40:28 +00:00
antelder
f89c1bcbe8 Remove the FIXME from the testcase name as it works now
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808618 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 20:45:04 +00:00
antelder
1c3d230b1a More fixes to get invocations working when a node is restarted
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808613 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 20:41:53 +00:00
slaws
98b9c96779 backing up a few minor changes. This version of the builders not in use.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808555 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 17:58:54 +00:00
slaws
8387ddd748 When running binding-sca-axis unit tests in Eclipse I was getting javax.jms not found from Axis. Was working OK in maven. I added the package import to the Tuscany module manifest and this seems to get the tests working for me in Eclipse. It not immediately clear to me how changing this bundle helps out the Axis bundle but I've lost track a bit of the complex relationship between tuscany and axis bundles so need to look closer. This may help others in the mean time.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808554 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 17:57:15 +00:00
slaws
0237e9c852 Move the reference/service resetting outside the loop as they don't need to be there.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808553 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 17:53:50 +00:00
slaws
08112844bc Add policy matching to the endpoint builder and prepare for problems to be raised at runtime and at build time.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808552 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 17:52:39 +00:00
slaws
7ee9e68dfc Ensure that the same intents are present at reference and service ends of the wire
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808551 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 17:47:54 +00:00
slaws
a61e8ff3ea TUSCANY-3242 turn off policy tests as I'm just about to check in some policy matching code that shows that the test isn't as I would expect it to.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808550 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 17:46:40 +00:00
antelder
59da0d3c02 Rename it back to FIXME as i've cleanup to much and it doesn'twork again :-(
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808467 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 15:46:56 +00:00
antelder
659e057fee Remove FIXME from testcase name so it get run in th ebuild
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808458 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 15:33:55 +00:00
antelder
f6d17baa1f Initial update to handle nodes being restarted. Similar changes needed in many places but this gets the StopStartNodesTestCase running
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808457 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 15:32:18 +00:00
antelder
19c0a532d9 During rebuild also reset the status of the endpoint reference so it gets rebuilt correctly
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808440 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 14:50:20 +00:00
antelder
645a4e2e37 Throw exception if scope container isn't running (need to do similar for all the scope containers, this is just to start getting things working)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808439 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 14:49:11 +00:00
ramkumar
7e638d7516 Fixes to generate proper exception for ASM_6029 and ASM_6030 otests
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808356 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 10:34:14 +00:00
antelder
c752d35eb6 Add a testcase for using two nodes and stopping and restarting the sevrice node. This doesn't work as the runtime keeps using the original nodes references so doesn't pick up that the service node has changed
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808333 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 09:14:14 +00:00
antelder
e55e032a7f Add domain node to build
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808040 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 15:08:50 +00:00
antelder
dd536b2120 Update manifest
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808039 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 15:08:09 +00:00
antelder
e7f544aad7 Update to activate the separate nodes tests as it works now after the 808033 fix
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808034 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 15:00:00 +00:00
antelder
ab550fc32f Change endpoint registry to not use a static for the Maps so there's one per node not per jvm. Interestingly I expected this to break some node itests but it didn't so i'm committing as it gets the DomainNode tests working
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808033 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 14:58:52 +00:00
antelder
c0374800cf Remove unused import
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808022 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 14:17:27 +00:00
antelder
665ab14343 Update testcase to have more meaningful method names
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808020 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 14:15:11 +00:00
antelder
61a1dec4d8 Start of a test for multiple nodes within a single JVM
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808002 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 13:22:53 +00:00
antelder
2b49ef6c14 Update the node creation to be per test so it properly tests the scenarios
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808001 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 13:22:24 +00:00
antelder
d4f85eaf9b Update the client jar to remove the sayHello call in the init method as its complicating the test
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808000 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 13:21:42 +00:00
antelder
a98c6019b8 Split big test method into several discrete test methods
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@807972 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 11:58:30 +00:00
antelder
e785933e66 Update test for removing a contribution so that the test actually works
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@807968 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 11:50:10 +00:00
antelder
ad0d7c60d6 Initial code for ASM_5036 fix, note the TUSCANY-3236 TODO and also it might be better to find a place later on in processing to do this check
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@807951 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 10:18:26 +00:00
antelder
a034a1925c Correct arg type in warning method to match error method
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@807915 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 07:53:12 +00:00
antelder
a000967da5 Fix TUSCANY-3231 and ASM_5029, spot that property with many=false has multiple value elements
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@807619 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 13:31:34 +00:00
antelder
5fffa71fd0 Fix ASM_5031, wire with @replace=true overrides reference @target attribute
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@807545 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 10:36:00 +00:00
lresende
3735ba152a TUSCANY-3233 - Applying patch from Florian Pinel
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@807331 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 18:29:36 +00:00
slaws
a7c5f24d55 More progress on the ModelBuilder approach. Doesn't work yet but I'm using it to understand the work that has been done on policies recently and how that could fit in.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@807304 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 16:48:45 +00:00
slaws
eac10477a5 Allow services/references/properties to be retrieved by name from a component
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@807302 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 16:35:15 +00:00
antelder
4a66d6df2f Guard against NPE
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@807278 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 15:11:00 +00:00
antelder
6842f1c6dc Fix ASM_5021use wire target when autowire and single reference binding target@
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@807257 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 14:57:35 +00:00
antelder
7173ddb389 Fix NPE when autowire is null (ASM_5031 though this doesn't yet fix the test)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@806485 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 10:33:52 +00:00