summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-07-26TUSCANY-3630 Add xpath processing of externalAttachment elements in builderbdaniel1-60/+83
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@979153 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22Fixing a comment for the extractSourcePropertyName methodedwardsmj1-2/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@966658 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22Upgrade to the handling of @source attribute on component property elements ↵edwardsmj1-112/+280
as described by TUSCANY-3629 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@966653 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19Ignore policy sets on a composite implementation when the using component ↵bdaniel1-0/+7
has attached policies git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@965579 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19Inherit elements lower in the hierarchy first to ensure inheritance of ↵bdaniel1-6/+10
mutually exclusive intents is handled correctly git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@965578 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16Use default intent qualification on implementationsbdaniel1-26/+34
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@964906 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16Remove the compile dependency on assembly-xml to fix build errorrfeng1-30/+26
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@964878 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15Use binding type from system definitions to obtain mayProvide/alwaysProvide ↵bdaniel1-3/+16
values git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@964503 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15Check extension type for unresolved service side intents, only throw a ↵bdaniel1-9/+15
warning for unresolved reference side intents git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@964438 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15Validate that the noListener intent isn't specified on a servicebdaniel1-1/+17
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@964321 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14Ignore direct policy sets when external policy sets are attachedbdaniel2-10/+52
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@964064 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13TUSCANY-3616 - Add code to check that that interface contracts a reference ↵slaws2-5/+163
and reference binding and at service and service binding match. Motivated by BWS_2007. TO do this properly we have to test that the interfaces are described using the same IDL and if not convert to WSDL1.1 are required by the SCA specifications. There are a lot of changes here as doing this upset quite a few tests. Further work is required to look at the details of our WSDL generation process which looks a little suspect around wrapper namespaces. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@963624 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21BWS20006 - if a component reference binding.ws names a WSDL service with ↵slaws1-0/+18
more than one port then pick the first port. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@956539 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17Add a flag to the binding builder to indicate that generated data should be ↵slaws2-2/+2
regenerated. Also rename the methods for getting/setting the generated data to make it more obvious that that's what it's doing. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@955601 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17TUSCANY-3593 - Create an endpoint on the fly at the point a reference target ↵slaws2-13/+20
is resolved in order to handle callbacks. This investigation has raised some questions that OASIS needs to answer, e.g. how to handle policy in this late bound scenario. Also this code change turns off generated WSDL caching and also relies on the SCA binding being attached to the callback service to carry the binding URI but this causes problems if you explicitly specify binding.sca. So more work to do but the basic test passes now. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@955544 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15TUSCANY-3591 - correct the promotion hierarchy for callback ↵slaws2-39/+67
references/service. Thanks to Mike for working on this in parallel with writing the Otests for this. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@954864 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09Tidy the processing that creates the links between enpointreferences and ↵slaws1-36/+60
endpoints to represent callbacks. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@952936 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21Popluate the callback endpoints for endpoint referencesrfeng1-0/+9
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@947190 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19Merge branch 'jaxrs' into trunkrfeng1-10/+10
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@945980 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17Make sure callback endpoints are createdrfeng1-0/+12
When a component is invoked from a non bidirectional interface, inject null to the fields/setters with @Callback git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@945259 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17Make sure we use the value element (holding the property value) for conversionrfeng1-3/+2
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@945255 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13Allow direct access to the SCA schema. Rather than via the Tuscany schema. ↵slaws1-17/+38
At the moment I've turned off validation of sca namespace schema as the OASIS sca schema already includes a "value" element which is an any. So values should validate against anything. Am raising with OASIS but didn't want to do any more fiddling until I get an answer as the guts of this stuff is proving surprisingly frustrating. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@944004 13f79535-47bb-0310-9956-ffa450edef68
2010-05-06TUSCANY-3530 - first raft of changes to turn on property type checking at ↵slaws1-8/+137
deployment time. Required by ASM_5038 and ASM_5039. Still some TODOs including handling elements, composite properties, multiplicity and complex types derived from the component type. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@941695 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09TUSCANY-3531 - validate that composite reference don't override ↵slaws1-2/+30
nonOverridable component references git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@932474 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08TUSCANY-3527 switch the new message back into the assembly properties file ↵slaws1-1/+1
as it causes problems if the same logger is given two different files to retrieve messages from git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@931911 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08TUSCANY-3527 report error id binding.sca at a service has a uri. slaws1-3/+19
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@931842 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18remove commented out codeslaws1-19/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@924998 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18Add comment, re. doubts about location of external attachment processingslaws1-0/+3
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@924996 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18TUSCANY-3503 - turn off the automatic application of policy sets based on ↵slaws2-51/+143
intents. Various changes to tests to take account of this change. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@924994 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18Add a builder to calculate whether policy sets apply to the element to which ↵slaws2-96/+183
they are attached. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@924993 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11TUSCANY-3483 Add missed comments and remove commented out codeslaws1-28/+29
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@921921 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11TUSCANY-3483 - ensure that policies defined in the implementation are ↵slaws3-30/+117
applied correctly to the component service. This pointed out another problem in that if binding.sca was defined on the reference with no uri but with intents then the intents weren't being applied to the EPR because the binding was being ignored (as it's a targeted reference). git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@921903 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05TUSCANY-3486 - add the composite reference multiplicy resolution algorithm ↵slaws1-0/+67
as per the spec git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@919398 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03Adding FIXME as it seems that calling inherit for implementation duplicates ↵lresende1-0/+5
all itents and policySets into the impl git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@918588 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03Copy the test cases from binding-sca-runtime-axis2 and ↵rfeng1-4/+11
binding-sca-runtime-rmi into an itest Change the code to pass binding.sca with mapped uri with the endpoint git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@918327 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01Check that intents are properly satisfied, particularly in the qualified ↵slaws1-0/+41
intent case. Raise a warning if not. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@917504 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26Clean up the remote flag for endpoint and change the endpoint reference ↵rfeng3-50/+24
status to an enum git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@916778 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25Minor cleanup...lresende1-21/+7
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@916117 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25TUSCANY-3463 - Resolving/checking policies in the component levellresende1-0/+3
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@916113 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23Fixing resource bundle location that was missing the package structurelresende3-6/+11
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@915210 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19Align the interfaceContractMapper to the specrfeng6-12/+14
Remove the conversation related legacy code git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@912034 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12Moving error message to builder validation resource bundlelresende1-2/+2
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@909261 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10Fix some of minor bugs discovered by FindBugsrfeng5-11/+10
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@908639 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27Fix for TUSCANY-3409rfeng1-4/+4
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@903541 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25Add operation that returns the list of bindings that this policy is designed ↵slaws1-0/+5
to operation with. Am in two minds whether this should be on the provider or the builder. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@902789 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20Update to the latest version of OSGi Remote Service Adminrfeng2-1/+2
Fix the issues to pass OSGi SCA configuration type TCK git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@901079 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18Check that the policy sets for a particular endpoint, endpointreference or ↵slaws1-12/+50
implementation are expressed in one language. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@900548 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18Fix typo in commentslaws1-1/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@900418 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18Remove comment. The policy matching will now take place in the binder. ↵slaws1-4/+1
Called from either the NodeFactory (TODO) or at runtime when a reference is first used. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@900415 13f79535-47bb-0310-9956-ffa450edef68
2010-01-10TUSCANY-3417 TUSCANY-3417 consolidate enpointreference/endpoint matching ↵slaws3-725/+516
code into the binding. There is currently a bit, related to autowiring, still left on the builders awaiting some dependency juggling git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@897639 13f79535-47bb-0310-9956-ffa450edef68