Commit graph

2843 commits

Author SHA1 Message Date
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
slaws
a89055accb Correct the reference multiplicity validation algorithm to match what OASIS is expecting
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@806124 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 11:15:59 +00:00
slaws
61b35b18fe Move top level monitor.pushContext calls to each build so we are doing this consistently
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@806123 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 11:12:28 +00:00
slaws
939d98d62b Create monitor instance in test case as monitor.puchContext calls will fail without it.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@806122 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 11:10:01 +00:00
slaws
8a5ed3881d Process includes within composite implementations (ASM_6026)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@806120 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 11:08:55 +00:00
slaws
263bb5ebd8 fix typo
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@806104 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 10:05:37 +00:00
rfeng
e16b718589 Fix for ASM_5026 related property processing
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@806026 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 02:58:09 +00:00
antelder
70262376b1 Fix OASIS test ASM_5016 - correct interface check order, note also requires TUSCANY-3218 and TUSCANY-3219 for OASIS fixes to get the test passing ok
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@805843 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 15:36:50 +00:00
antelder
5cb9df5238 Fix OASIS test ASM_5012 - its ok to override a reference with multiplicity of zero-N with one-one or one-N
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@805831 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 15:09:49 +00:00
antelder
21d52f1baa Fix OASIS test ASM_5015 - its ok to override a reference with multiplicity zero-one with one-one
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@805808 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 13:56:54 +00:00
rfeng
fda28189a0 Add a filter to exclude files in the development mode (a bundle as a PDE project)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@805632 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 00:04:33 +00:00
rfeng
f449ada1fb Update the osgi remote service admin interfaces/classes
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@805623 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 23:04:29 +00:00
rfeng
59cec57eec Disable osgi junit test for now
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@805622 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 23:03:57 +00:00
rfeng
1c5a41e1c5 Make the 3rd party jar dependencies consistent in version to avoid conflicts
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@805621 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 23:01:37 +00:00
rfeng
5f660e23d9 Add contribution to the error message
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@805535 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 18:40:59 +00:00
rfeng
a72c2bf1b5 Add otest to the eclipse profile
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@805515 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 17:58:45 +00:00
rfeng
286e08fe4d Fix for ASM_4008
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@805498 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 17:04:59 +00:00
slaws
fd9e2c5c3d Push component name to the monitor context and sort out some incorrect indentation
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@805438 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 15:01:46 +00:00
slaws
16a134b8a4 Use composite name and not URI as top level context
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@805436 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 15:00:10 +00:00
slaws
a08ed65533 Change no component reference target warning to error (ASM_6020). Push some context into the monitor.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@805425 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 14:27:28 +00:00