From 9425990f532b1152c2d73db96c0f07ef5216a3d1 Mon Sep 17 00:00:00 2001 From: lresende Date: Thu, 12 Nov 2009 00:43:48 +0000 Subject: Moving 2.x contribs git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835178 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/binding/ejb/account/Customer.java | 35 +++ .../java/binding/ejb/account/CustomerImpl.java | 57 +++++ .../java/binding/ejb/calculator/AddService.java | 27 +++ .../binding/ejb/calculator/AddServiceHome.java | 31 +++ .../main/java/binding/jms/HelloWorldService.java | 26 +++ .../java/binding/jms/HelloWorldServiceImpl.java | 27 +++ .../main/java/calculator/warning/AddService.java | 32 +++ .../java/calculator/warning/AddServiceImpl.java | 44 ++++ .../warning/AddServiceImplWithServiceName.java | 46 ++++ .../java/calculator/warning/CalculatorClient.java | 45 ++++ .../java/calculator/warning/CalculatorService.java | 35 +++ .../calculator/warning/CalculatorServiceImpl.java | 70 ++++++ .../java/calculator/warning/DivideService.java | 28 +++ .../java/calculator/warning/DivideServiceImpl.java | 35 +++ .../java/calculator/warning/MultiplyService.java | 28 +++ .../calculator/warning/MultiplyServiceImpl.java | 35 +++ .../java/calculator/warning/PropertyService.java | 29 +++ .../calculator/warning/PropertyServiceImpl.java | 41 ++++ .../java/calculator/warning/SubtractService.java | 28 +++ .../calculator/warning/SubtractServiceImpl.java | 35 +++ .../SubtractServiceImplWithServiceName.java | 38 ++++ .../src/main/java/impl/java/AddService.java | 29 +++ .../src/main/java/impl/java/AddServiceImpl.java | 44 ++++ .../src/main/java/impl/java/CalculatorClient.java | 45 ++++ .../src/main/java/impl/java/CalculatorService.java | 35 +++ .../main/java/impl/java/CalculatorServiceImpl.java | 75 +++++++ .../src/main/java/impl/java/DivideService.java | 28 +++ .../src/main/java/impl/java/DivideServiceImpl.java | 35 +++ .../src/main/java/impl/java/MultiplyService.java | 28 +++ .../main/java/impl/java/MultiplyServiceImpl.java | 35 +++ .../src/main/java/impl/java/SubtractService.java | 28 +++ .../main/java/impl/java/SubtractServiceImpl.java | 35 +++ .../src/main/java/impl/spring/HelloWorld.java | 36 +++ .../src/main/java/impl/spring/HelloWorldProxy.java | 41 ++++ .../main/java/impl/spring/TestHelloWorldBean.java | 36 +++ .../java/interfacejava/xml/CalculatorService.java | 35 +++ .../interfacejava/xml/CalculatorServiceImpl.java | 75 +++++++ .../Calculator.composite | 49 +++++ .../DuplicateComponentName/Calculator.composite | 53 +++++ .../Calculator.composite | 55 +++++ .../dummyImplementation.composite | 31 +++ .../Calculator.composite | 56 +++++ .../dummyImplementation.composite | 32 +++ .../DuplicatePropertyName/Calculator.composite | 51 +++++ .../DuplicateReferenceName/Calculator.composite | 50 +++++ .../META-INF/sca/SpringHelloWorld-context.xml | 31 +++ .../Calculator.composite | 53 +++++ .../NoComponentImplementation/Calculator.composite | 52 +++++ .../NoCompositeNamespace/Calculator.composite | 48 ++++ .../NoMatchingBinding/Calculator.composite | 54 +++++ .../PromotedReferenceNotFound/Calculator.composite | 51 +++++ .../PromotedServiceNotFound/Calculator.composite | 51 +++++ .../PropertyAttribute/Calculator.composite | 55 +++++ .../CalculatorNullMustSupply.composite | 53 +++++ .../CalculatorOverrideManyAttribute.composite | 54 +++++ .../PropertyNotFound/Calculator.composite | 50 +++++ .../Calculator.composite | 51 +++++ .../Calculator.composite | 49 +++++ .../Calculator.composite | 49 +++++ .../ReferenceNotFound/Calculator.composite | 50 +++++ .../ReferenceWithoutTargets/Calculator.composite | 49 +++++ .../Calculator.composite | 54 +++++ .../Calculator.composite | 54 +++++ .../resources/XsdValidation/Calculator.composite | 51 +++++ .../ContributionReadException/Calculator.composite | 53 +++++ .../Calculator.composite | 53 +++++ .../Calculator.composite | 54 +++++ .../UnexpectedBindingElement/Calculator.composite | 55 +++++ .../Calculator.composite | 54 +++++ .../Calculator.composite | 54 +++++ .../InvalidWsdlElementAttr/Calculator.composite | 58 +++++ .../wsxml/MustUseWsdlBinding/Calculator.composite | 59 +++++ .../wsxml/WsdlBindingDoesNotMatch/helloworld.wsdl | 92 ++++++++ .../helloworldwsjms.composite | 34 +++ .../wsxml/WsdlPortTypeDoesNotMatch/helloworld.wsdl | 92 ++++++++ .../helloworldwsclient.composite | 45 ++++ .../wsxml/WsdlServiceDoesNotMatch/helloworld.wsdl | 92 ++++++++ .../helloworldwsjms.composite | 34 +++ .../UnknownEJBSessionType/account.composite | 35 +++ .../bindingejb/UnknownEJBVersion/account.composite | 35 +++ .../DoesntProcessActivationSpec/service.composite | 36 +++ .../DoesntProcessDestinationType/service.composite | 35 +++ .../DoesntProcessHeaders/service.composite | 36 +++ .../DoesntProcessResourceAdapter/service.composite | 32 +++ .../service.composite | 35 +++ .../service.composite | 35 +++ .../service.composite | 35 +++ .../InvalidCorrelationScheme/service.composite | 35 +++ .../InvalidJMSDeliveryMode/service.composite | 36 +++ .../InvalidJMSPriority/service.composite | 36 +++ .../service.composite | 35 +++ .../MissingActivationSpecName/service.composite | 36 +++ .../MissingConnectionFactoryName/service.composite | 36 +++ .../service.composite | 36 +++ .../service.composite | 36 +++ .../MustStartWithSchema/service.composite | 36 +++ .../bindingjms/UnexpectedElement/service.composite | 38 ++++ .../UnexpectedResponseElement/service.composite | 38 ++++ .../bindingjms/UnknownTokenInURI/service.composite | 36 +++ .../AttributePackageMissing/Calculator.composite | 55 +++++ .../AttributeNameSpaceMissing/Calculator.composite | 55 +++++ .../AttributeURIMissing/Calculator.composite | 55 +++++ .../META-INF/sca-contribution.xml | 24 ++ .../AttributeCompositeMissing/Calculator.composite | 53 +++++ .../AttributeCompositeMissing/sca-contribution.xml | 24 ++ .../MultipleCompositeErrors/Calculator.composite | 53 +++++ .../MultipleCompositeErrors/sca-contribution.xml | 31 +++ .../helloworld.composite | 29 +++ .../AttributeWithoutNamespace/helloworld.composite | 29 +++ .../impl/bpel/BPELProcessNotFound/deploy.xml | 30 +++ .../impl/bpel/BPELProcessNotFound/helloworld.bpel | 66 ++++++ .../BPELProcessNotFound/helloworld.componentType | 30 +++ .../bpel/BPELProcessNotFound/helloworld.composite | 29 +++ .../impl/bpel/BPELProcessNotFound/helloworld.wsdl | 82 +++++++ .../bpel/CannotResolveWSDLReference/deploy.xml | 30 +++ .../CannotResolveWSDLReference/helloworld.bpel | 66 ++++++ .../helloworld.componentType | 30 +++ .../helloworld.composite | 29 +++ .../impl/bpel/MyRolePartnerRoleNull/deploy.xml | 30 +++ .../bpel/MyRolePartnerRoleNull/helloworld.bpel | 66 ++++++ .../MyRolePartnerRoleNull/helloworld.componentType | 30 +++ .../MyRolePartnerRoleNull/helloworld.composite | 29 +++ .../bpel/MyRolePartnerRoleNull/helloworld.wsdl | 82 +++++++ .../impl/bpel/PartnerLinkHasBothAttr/deploy.xml | 30 +++ .../bpel/PartnerLinkHasBothAttr/helloworld.bpel | 68 ++++++ .../helloworld.componentType | 30 +++ .../PartnerLinkHasBothAttr/helloworld.composite | 29 +++ .../bpel/PartnerLinkHasBothAttr/helloworld.wsdl | 82 +++++++ .../impl/bpel/PartnerLinkNoMatchingType/deploy.xml | 30 +++ .../bpel/PartnerLinkNoMatchingType/helloworld.bpel | 66 ++++++ .../helloworld.componentType | 30 +++ .../PartnerLinkNoMatchingType/helloworld.composite | 29 +++ .../bpel/PartnerLinkNoMatchingType/helloworld.wsdl | 82 +++++++ .../impl/bpel/PartnerLinkTypeNoRoles/deploy.xml | 30 +++ .../bpel/PartnerLinkTypeNoRoles/helloworld.bpel | 66 ++++++ .../helloworld.componentType | 30 +++ .../PartnerLinkTypeNoRoles/helloworld.composite | 29 +++ .../bpel/PartnerLinkTypeNoRoles/helloworld.wsdl | 80 +++++++ .../impl/ejb/EJBLinkAttributeMissing/ejb.composite | 29 +++ .../ClassNotFoundException/Calculator.composite | 49 +++++ .../Calculator.composite | 49 +++++ .../OSGiTestService.componentType | 28 +++ .../CouldNotLocateOSGiBundle/osgitest.composite | 34 +++ .../MissingComponentTypeFile/osgitest.composite | 34 +++ .../OSGiTestService.componentType | 28 +++ .../PropertyShouldSpecifySR/osgitest.composite | 36 +++ .../CouldNotResolveLocation/resource.composite | 30 +++ .../LocationAttributeMissing/resource.composite | 30 +++ .../SpringHelloWorld.composite | 27 +++ .../SpringHelloWorld.composite | 27 +++ .../SpringHelloWorld-context.xml | 0 .../SpringHelloWorld.composite | 34 +++ .../TestHelloWorldBean.componentType | 27 +++ .../CouldNotResolveLocation/widget.composite | 29 +++ .../LocationAttributeMissing/widget.composite | 30 +++ .../xquery/CouldNotLocateFile/HelloWorld.composite | 28 +++ .../LocationAttributeMissing/HelloWorld.composite | 28 +++ .../ClassNotFoundException/Calculator.composite | 53 +++++ .../CalculatorServiceImpl.componentType | 27 +++ .../Calculator.composite | 53 +++++ .../CalculatorServiceImpl.componentType | 27 +++ .../InvalidWSDLInterfaceAttr/Calculator.composite | 54 +++++ .../helloworld-interface.wsdl | 67 ++++++ .../helloworld-service.wsdl | 49 +++++ .../xml/WsdlInterfaceDoesNotMatch/helloworld.wsdl | 92 ++++++++ .../helloworldwsjms.composite | 34 +++ .../ClassNotFoundException/Calculator.composite | 56 +++++ .../ClassNotFoundException/definitions.xml | 78 +++++++ .../Calculator.composite | 56 +++++ .../RequiredAttributeRolesMissing/definitions.xml | 78 +++++++ .../Calculator.composite | 56 +++++ .../AlwaysProvidedIntentNotFound/definitions.xml | 63 ++++++ .../Calculator.composite | 56 +++++ .../ErrorInPolicyIntentDefinition/definitions.xml | 76 +++++++ .../xml/IntentNotSpecified/Calculator.composite | 56 +++++ .../policy/xml/IntentNotSpecified/definitions.xml | 175 +++++++++++++++ .../MayProvideIntentNotFound/Calculator.composite | 56 +++++ .../xml/MayProvideIntentNotFound/definitions.xml | 63 ++++++ .../RequiredAttributeMissing/Calculator.composite | 56 +++++ .../xml/RequiredAttributeMissing/definitions.xml | 70 ++++++ .../xml/UnableToMapPolicies/Calculator.composite | 56 +++++ .../policy/xml/UnableToMapPolicies/definitions.xml | 242 +++++++++++++++++++++ .../Calculator.composite | 56 +++++ .../definitions.xml | 68 ++++++ 184 files changed, 8523 insertions(+) create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/binding/ejb/account/Customer.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/binding/ejb/account/CustomerImpl.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/binding/ejb/calculator/AddService.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/binding/ejb/calculator/AddServiceHome.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/binding/jms/HelloWorldService.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/binding/jms/HelloWorldServiceImpl.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/AddService.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/AddServiceImpl.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/AddServiceImplWithServiceName.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/CalculatorClient.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/CalculatorService.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/CalculatorServiceImpl.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/DivideService.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/DivideServiceImpl.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/MultiplyService.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/MultiplyServiceImpl.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/PropertyService.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/PropertyServiceImpl.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/SubtractService.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/SubtractServiceImpl.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/SubtractServiceImplWithServiceName.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/AddService.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/AddServiceImpl.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/CalculatorClient.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/CalculatorService.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/CalculatorServiceImpl.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/DivideService.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/DivideServiceImpl.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/MultiplyService.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/MultiplyServiceImpl.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/SubtractService.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/SubtractServiceImpl.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/impl/spring/HelloWorld.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/impl/spring/HelloWorldProxy.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/impl/spring/TestHelloWorldBean.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/interfacejava/xml/CalculatorService.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/java/interfacejava/xml/CalculatorServiceImpl.java create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/ComponentReferenceTargetNotFound/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateComponentName/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateImplementationPropertyName/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateImplementationPropertyName/dummyImplementation.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateImplementationReferenceName/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateImplementationReferenceName/dummyImplementation.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicatePropertyName/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateReferenceName/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/META-INF/sca/SpringHelloWorld-context.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/MultipleBindingsForService/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/NoComponentImplementation/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/NoCompositeNamespace/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/NoMatchingBinding/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/PromotedReferenceNotFound/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/PromotedServiceNotFound/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/PropertyAttribute/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/PropertyAttribute/CalculatorNullMustSupply.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/PropertyAttribute/CalculatorOverrideManyAttribute.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/PropertyNotFound/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceIncompatibleComponentInterface/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceIncompatibleInterface/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceIncompatibleMultiplicity/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceNotFound/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceWithoutTargets/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/ServiceNotFoundForComponentService/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/UnresolvedComponentImplementation/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/XsdValidation/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/ContributionReadException/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/PolicyImplValidationException/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/PolicyServiceValidationException/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/UnexpectedBindingElement/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/UnexpectedImplementationElement/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/UnexpectedInterfaceElement/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/InvalidWsdlElementAttr/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/MustUseWsdlBinding/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlBindingDoesNotMatch/helloworld.wsdl create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlBindingDoesNotMatch/helloworldwsjms.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlPortTypeDoesNotMatch/helloworld.wsdl create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlPortTypeDoesNotMatch/helloworldwsclient.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlServiceDoesNotMatch/helloworld.wsdl create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlServiceDoesNotMatch/helloworldwsjms.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingejb/UnknownEJBSessionType/account.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingejb/UnknownEJBVersion/account.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessActivationSpec/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessDestinationType/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessHeaders/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResourceAdapter/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseActivationSpec/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseConnectionFactory/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseDestinationType/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/InvalidCorrelationScheme/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/InvalidJMSDeliveryMode/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/InvalidJMSPriority/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/InvalidResponseDestinationType/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MissingActivationSpecName/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MissingConnectionFactoryName/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MissingResponseActivationSpec/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MissingResponseConnectionFactory/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MustStartWithSchema/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/UnexpectedElement/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/UnexpectedResponseElement/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/UnknownTokenInURI/service.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/java/AttributePackageMissing/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/namespace/AttributeNameSpaceMissing/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/resource/AttributeURIMissing/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/resource/AttributeURIMissing/META-INF/sca-contribution.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/xml/AttributeCompositeMissing/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/xml/AttributeCompositeMissing/sca-contribution.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/xml/MultipleCompositeErrors/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/xml/MultipleCompositeErrors/sca-contribution.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/AttributeUnrecognizedNamespace/helloworld.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/AttributeWithoutNamespace/helloworld.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/deploy.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.bpel create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.componentType create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.wsdl create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/deploy.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/helloworld.bpel create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/helloworld.componentType create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/helloworld.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/deploy.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.bpel create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.componentType create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.wsdl create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/deploy.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.bpel create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.componentType create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.wsdl create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/deploy.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.bpel create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.componentType create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.wsdl create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/deploy.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.bpel create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.componentType create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.wsdl create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/ejb/EJBLinkAttributeMissing/ejb.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/java/ClassNotFoundException/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/java/ContributionResolveException/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/CouldNotLocateOSGiBundle/OSGiTestService.componentType create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/CouldNotLocateOSGiBundle/osgitest.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/MissingComponentTypeFile/osgitest.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/PropertyShouldSpecifySR/OSGiTestService.componentType create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/PropertyShouldSpecifySR/osgitest.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/resource/CouldNotResolveLocation/resource.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/resource/LocationAttributeMissing/resource.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/ContributionResolveException/SpringHelloWorld.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/LocationAttributeMissing/SpringHelloWorld.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/UnableToResolveComponentType/SpringHelloWorld-context.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/UnableToResolveComponentType/SpringHelloWorld.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/UnableToResolveComponentType/TestHelloWorldBean.componentType create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/widget/CouldNotResolveLocation/widget.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/widget/LocationAttributeMissing/widget.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/xquery/CouldNotLocateFile/HelloWorld.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/impl/xquery/LocationAttributeMissing/HelloWorld.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/interfacejava/xml/ClassNotFoundException/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/interfacejava/xml/ClassNotFoundException/CalculatorServiceImpl.componentType create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/interfacejava/xml/ContributionResolveException/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/interfacejava/xml/ContributionResolveException/CalculatorServiceImpl.componentType create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/InvalidWSDLInterfaceAttr/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/InvalidWSDLInterfaceAttr/helloworld-interface.wsdl create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/InvalidWSDLInterfaceAttr/helloworld-service.wsdl create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/WsdlInterfaceDoesNotMatch/helloworld.wsdl create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/WsdlInterfaceDoesNotMatch/helloworldwsjms.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/policy/security/ClassNotFoundException/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/policy/security/ClassNotFoundException/definitions.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/policy/security/RequiredAttributeRolesMissing/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/policy/security/RequiredAttributeRolesMissing/definitions.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/AlwaysProvidedIntentNotFound/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/AlwaysProvidedIntentNotFound/definitions.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/ErrorInPolicyIntentDefinition/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/ErrorInPolicyIntentDefinition/definitions.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/IntentNotSpecified/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/IntentNotSpecified/definitions.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/MayProvideIntentNotFound/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/MayProvideIntentNotFound/definitions.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/RequiredAttributeMissing/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/RequiredAttributeMissing/definitions.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/UnableToMapPolicies/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/UnableToMapPolicies/definitions.xml create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/UnrecognizedIntentAttachPointType/Calculator.composite create mode 100644 sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/UnrecognizedIntentAttachPointType/definitions.xml (limited to 'sca-java-2.x/contrib/itest/validation/src/main') diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/binding/ejb/account/Customer.java b/sca-java-2.x/contrib/itest/validation/src/main/java/binding/ejb/account/Customer.java new file mode 100644 index 0000000000..ece64ae4b0 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/binding/ejb/account/Customer.java @@ -0,0 +1,35 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package binding.ejb.account; + +import org.oasisopen.sca.annotation.Remotable; + +@Remotable +public interface Customer { + + /** + * This method deposits the amount. method accesses external EJB to get the + * current balance and add the amount to existing balance. + * + * @param String amount to be deposited + * @return total amount in customer account after deposit + */ + Double depositAmount(java.lang.String accountNo, Double amount); + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/binding/ejb/account/CustomerImpl.java b/sca-java-2.x/contrib/itest/validation/src/main/java/binding/ejb/account/CustomerImpl.java new file mode 100644 index 0000000000..1a859b04d2 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/binding/ejb/account/CustomerImpl.java @@ -0,0 +1,57 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package binding.ejb.account; + +import org.oasisopen.sca.ServiceRuntimeException; +import org.oasisopen.sca.annotation.Reference; +import org.oasisopen.sca.annotation.Service; + +import binding.ejb.calculator.AddService; + +@Service(Customer.class) +public class CustomerImpl implements Customer { + + private AddService extEJBService = null; + + public AddService getExtEJBService() { + return extEJBService; + } + + @Reference + public void setExtEJBService(AddService extEJBService) { + this.extEJBService = extEJBService; + } + + // this method invokes external EJB through EJB reference binding + public Double depositAmount(java.lang.String accountNo, Double amount) { + + Double total = null; + + System.out.println("In component implementation. Invoking external EJB through EJB reference binding "); + + try { + Double balance = extEJBService.add(amount.doubleValue(), 1000); //invoke external ejb through ejb reference binding + total = balance + amount; + } catch (Exception e) { + throw new ServiceRuntimeException(e); + } + return total; + } + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/binding/ejb/calculator/AddService.java b/sca-java-2.x/contrib/itest/validation/src/main/java/binding/ejb/calculator/AddService.java new file mode 100644 index 0000000000..aec8998083 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/binding/ejb/calculator/AddService.java @@ -0,0 +1,27 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package binding.ejb.calculator; + +/** + * @version $Rev$ $Date$ + */ +public interface AddService { + double add(double n1, double n2); +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/binding/ejb/calculator/AddServiceHome.java b/sca-java-2.x/contrib/itest/validation/src/main/java/binding/ejb/calculator/AddServiceHome.java new file mode 100644 index 0000000000..5df24b6379 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/binding/ejb/calculator/AddServiceHome.java @@ -0,0 +1,31 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package binding.ejb.calculator; + +import java.rmi.RemoteException; + +import javax.ejb.CreateException; +import javax.ejb.EJBHome; + +public interface AddServiceHome extends EJBHome { + + AddService create() throws CreateException, RemoteException; + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/binding/jms/HelloWorldService.java b/sca-java-2.x/contrib/itest/validation/src/main/java/binding/jms/HelloWorldService.java new file mode 100644 index 0000000000..81d7d2e585 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/binding/jms/HelloWorldService.java @@ -0,0 +1,26 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package binding.jms; + +import org.oasisopen.sca.annotation.Remotable; + +@Remotable +public interface HelloWorldService { + String sayHello(String name); +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/binding/jms/HelloWorldServiceImpl.java b/sca-java-2.x/contrib/itest/validation/src/main/java/binding/jms/HelloWorldServiceImpl.java new file mode 100644 index 0000000000..a6a40b0ed1 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/binding/jms/HelloWorldServiceImpl.java @@ -0,0 +1,27 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package binding.jms; + +public class HelloWorldServiceImpl implements HelloWorldService { + + public String sayHello(String name) { + return "jmsHello " + name; + } + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/AddService.java b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/AddService.java new file mode 100644 index 0000000000..4df26ffd7b --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/AddService.java @@ -0,0 +1,32 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package calculator.warning; + +import org.oasisopen.sca.annotation.Remotable; + +/** + * The Add service interface + */ +@Remotable +public interface AddService { + + double add(double n1, double n2); + String getServiceName(); + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/AddServiceImpl.java b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/AddServiceImpl.java new file mode 100644 index 0000000000..32080df91b --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/AddServiceImpl.java @@ -0,0 +1,44 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package calculator.warning; + +import java.util.logging.Level; +import java.util.logging.Logger; + +import org.oasisopen.sca.annotation.Property; + +/** + * An implementation of the Add service + */ +public class AddServiceImpl implements AddService { + + @Property(name="serviceName") + protected String serviceName = "addService"; + + public double add(double n1, double n2) { + Logger logger = Logger.getLogger("calculator"); + logger.log(Level.FINEST, "Adding " + n1 + " and " + n2); + return n1 + n2; + } + + public String getServiceName(){ + return serviceName; + } + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/AddServiceImplWithServiceName.java b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/AddServiceImplWithServiceName.java new file mode 100644 index 0000000000..201726c451 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/AddServiceImplWithServiceName.java @@ -0,0 +1,46 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package calculator.warning; + +import java.util.logging.Level; +import java.util.logging.Logger; + +import org.oasisopen.sca.annotation.Property; +import org.oasisopen.sca.annotation.Service; + +/** + * An implementation of the Add service + */ +@Service(AddService.class) +public class AddServiceImplWithServiceName implements AddService { + + @Property(name="serviceName") + protected String serviceName = "addService"; + + public double add(double n1, double n2) { + Logger logger = Logger.getLogger("calculator"); + logger.log(Level.FINEST, "Adding " + n1 + " and " + n2); + return n1 + n2; + } + + public String getServiceName(){ + return serviceName; + } + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/CalculatorClient.java b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/CalculatorClient.java new file mode 100644 index 0000000000..185f17a5ca --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/CalculatorClient.java @@ -0,0 +1,45 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package calculator.warning; + +import org.apache.tuscany.sca.host.embedded.SCADomain; + +/** + * This client program shows how to create an SCA runtime, start it, + * and locate and invoke a SCA component + */ +public class CalculatorClient { + public static void main(String[] args) throws Exception { + + SCADomain scaDomain = SCADomain.newInstance("Calculator.composite"); + + CalculatorService calculatorService = + scaDomain.getService(CalculatorService.class, "CalculatorServiceComponent"); + + // Calculate + System.out.println("3 + 2=" + calculatorService.add(3, 2)); + System.out.println("3 - 2=" + calculatorService.subtract(3, 2)); + System.out.println("3 * 2=" + calculatorService.multiply(3, 2)); + System.out.println("3 / 2=" + calculatorService.divide(3, 2)); + + scaDomain.close(); + } + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/CalculatorService.java b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/CalculatorService.java new file mode 100644 index 0000000000..f472d6aaf6 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/CalculatorService.java @@ -0,0 +1,35 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package calculator.warning; + + +/** + * The Calculator service interface. + */ +public interface CalculatorService { + + double add(double n1, double n2); + + double subtract(double n1, double n2); + + double multiply(double n1, double n2); + + double divide(double n1, double n2); + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/CalculatorServiceImpl.java b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/CalculatorServiceImpl.java new file mode 100644 index 0000000000..3f93b8e8a5 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/CalculatorServiceImpl.java @@ -0,0 +1,70 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package calculator.warning; + +import org.oasisopen.sca.annotation.Reference; + + +/** + * An implementation of the Calculator service. + */ +public class CalculatorServiceImpl implements CalculatorService { + + private AddService addService; + private SubtractService subtractService; + private MultiplyService multiplyService; + private DivideService divideService; + + @Reference + public void setAddService(AddService addService) { + this.addService = addService; + } + + @Reference + public void setSubtractService(SubtractService subtractService) { + this.subtractService = subtractService; + } + + @Reference + public void setDivideService(DivideService divideService) { + this.divideService = divideService; + } + + @Reference + public void setMultiplyService(MultiplyService multiplyService) { + this.multiplyService = multiplyService; + } + + public double add(double n1, double n2) { + return addService.add(n1, n2); + } + + public double subtract(double n1, double n2) { + return subtractService.subtract(n1, n2); + } + + public double multiply(double n1, double n2) { + return multiplyService.multiply(n1, n2); + } + + public double divide(double n1, double n2) { + return divideService.divide(n1, n2); + } + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/DivideService.java b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/DivideService.java new file mode 100644 index 0000000000..a93d23e61c --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/DivideService.java @@ -0,0 +1,28 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package calculator.warning; + +/** + * The divide service interface + */ +public interface DivideService { + + double divide(double n1, double n2); + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/DivideServiceImpl.java b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/DivideServiceImpl.java new file mode 100644 index 0000000000..080594034b --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/DivideServiceImpl.java @@ -0,0 +1,35 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package calculator.warning; + +import java.util.logging.Level; +import java.util.logging.Logger; + +/** + * An implementation of the Divide service. + */ +public class DivideServiceImpl implements DivideService { + + public double divide(double n1, double n2) { + Logger logger = Logger.getLogger("calculator"); + logger.log(Level.FINEST, "Dividing " + n1 + " with " + n2); + return n1 / n2; + } + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/MultiplyService.java b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/MultiplyService.java new file mode 100644 index 0000000000..20d48e93d5 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/MultiplyService.java @@ -0,0 +1,28 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package calculator.warning; + +/** + * The interface for the multiply service + */ +public interface MultiplyService { + + double multiply(double n1, double n2); + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/MultiplyServiceImpl.java b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/MultiplyServiceImpl.java new file mode 100644 index 0000000000..96f0b55fa2 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/MultiplyServiceImpl.java @@ -0,0 +1,35 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package calculator.warning; + +import java.util.logging.Level; +import java.util.logging.Logger; + +/** + * An implementation of the Multiply service. + */ +public class MultiplyServiceImpl implements MultiplyService { + + public double multiply(double n1, double n2) { + Logger logger = Logger.getLogger("calculator"); + logger.log(Level.FINEST, "Multiplying " + n1 + " with " + n2); + return n1 * n2; + } + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/PropertyService.java b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/PropertyService.java new file mode 100644 index 0000000000..4f1ccc96f8 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/PropertyService.java @@ -0,0 +1,29 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package calculator.warning; + +/** + * The Property service interface + */ +public interface PropertyService { + + String getFirstName(); + String getLastName(); + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/PropertyServiceImpl.java b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/PropertyServiceImpl.java new file mode 100644 index 0000000000..599c3f7bb4 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/PropertyServiceImpl.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package calculator.warning; + +import org.oasisopen.sca.annotation.Property; + +/** + * An implementation of the Property service + */ +public class PropertyServiceImpl implements PropertyService { + + @Property(name="firstName", required=false) + protected String firstName; + + @Property(name="lastName", required=true) + protected String lastName; + + public String getFirstName(){ + return firstName; + } + + public String getLastName(){ + return lastName; + } +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/SubtractService.java b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/SubtractService.java new file mode 100644 index 0000000000..40e382dc74 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/SubtractService.java @@ -0,0 +1,28 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package calculator.warning; + +/** + * The interface for the multiply service + */ +public interface SubtractService { + + double subtract(double n1, double n2); + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/SubtractServiceImpl.java b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/SubtractServiceImpl.java new file mode 100644 index 0000000000..8cdbe0813d --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/SubtractServiceImpl.java @@ -0,0 +1,35 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package calculator.warning; + +import java.util.logging.Level; +import java.util.logging.Logger; + +/** + * An implementation of the subtract service. + */ +public class SubtractServiceImpl implements SubtractService { + + public double subtract(double n1, double n2) { + Logger logger = Logger.getLogger("calculator"); + logger.log(Level.FINEST, "Subtracting " + n1 + " from " + n2); + return n1 - n2; + } + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/SubtractServiceImplWithServiceName.java b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/SubtractServiceImplWithServiceName.java new file mode 100644 index 0000000000..823408908f --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/calculator/warning/SubtractServiceImplWithServiceName.java @@ -0,0 +1,38 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package calculator.warning; + +import java.util.logging.Level; +import java.util.logging.Logger; + +import org.oasisopen.sca.annotation.Service; + +/** + * An implementation of the subtract service. + */ +@Service(SubtractService.class) +public class SubtractServiceImplWithServiceName implements SubtractService { + + public double subtract(double n1, double n2) { + Logger logger = Logger.getLogger("calculator"); + logger.log(Level.FINEST, "Subtracting " + n1 + " from " + n2); + return n1 - n2; + } + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/AddService.java b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/AddService.java new file mode 100644 index 0000000000..0db8ce4f5c --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/AddService.java @@ -0,0 +1,29 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package impl.java; + +/** + * The Add service interface + */ +public interface AddService { + + double add(double n1, double n2); + String getServiceName(); + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/AddServiceImpl.java b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/AddServiceImpl.java new file mode 100644 index 0000000000..bdde8a4721 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/AddServiceImpl.java @@ -0,0 +1,44 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package impl.java; + +import java.util.logging.Level; +import java.util.logging.Logger; + +import org.oasisopen.sca.annotation.Property; + +/** + * An implementation of the Add service + */ +public class AddServiceImpl implements AddService { + + @Property(name="serviceName") + protected String serviceName = "addService"; + + public double add(double n1, double n2) { + Logger logger = Logger.getLogger("calculator"); + logger.log(Level.FINEST, "Adding " + n1 + " and " + n2); + return n1 + n2; + } + + public String getServiceName(){ + return serviceName; + } + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/CalculatorClient.java b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/CalculatorClient.java new file mode 100644 index 0000000000..e34ce3db26 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/CalculatorClient.java @@ -0,0 +1,45 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package impl.java; + +import org.apache.tuscany.sca.host.embedded.SCADomain; + +/** + * This client program shows how to create an SCA runtime, start it, + * and locate and invoke a SCA component + */ +public class CalculatorClient { + public static void main(String[] args) throws Exception { + + SCADomain scaDomain = SCADomain.newInstance("Calculator.composite"); + + CalculatorService calculatorService = + scaDomain.getService(CalculatorService.class, "CalculatorServiceComponent"); + + // Calculate + System.out.println("3 + 2=" + calculatorService.add(3, 2)); + System.out.println("3 - 2=" + calculatorService.subtract(3, 2)); + System.out.println("3 * 2=" + calculatorService.multiply(3, 2)); + System.out.println("3 / 2=" + calculatorService.divide(3, 2)); + + scaDomain.close(); + } + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/CalculatorService.java b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/CalculatorService.java new file mode 100644 index 0000000000..5d583fd604 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/CalculatorService.java @@ -0,0 +1,35 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package impl.java; + + +/** + * The Calculator service interface. + */ +public interface CalculatorService { + + double add(double n1, double n2); + + double subtract(double n1, double n2); + + double multiply(double n1, double n2); + + double divide(double n1, double n2); + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/CalculatorServiceImpl.java b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/CalculatorServiceImpl.java new file mode 100644 index 0000000000..138f1a4565 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/CalculatorServiceImpl.java @@ -0,0 +1,75 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package impl.java; + +import org.oasisopen.sca.annotation.Reference; + + +/** + * An implementation of the Calculator service. + */ +public class CalculatorServiceImpl implements CalculatorService { + + private AddService addService; + private SubtractService subtractService; + private MultiplyService multiplyService; + private DivideService divideService; + + @Reference + public void setAddService(AddService addService) { + this.addService = addService; + } + + @Reference + public void setSubtractService(SubtractService subtractService) { + this.subtractService = subtractService; + } + + @Reference + public void setDivideService(DivideService divideService) { + this.divideService = divideService; + } + + @Reference + public void setMultiplyService(MultiplyService multiplyService) { + this.multiplyService = multiplyService; + } + + @Reference + private void add(int n1, int n2) { + + } + + public double add(double n1, double n2) { + return addService.add(n1, n2); + } + + public double subtract(double n1, double n2) { + return subtractService.subtract(n1, n2); + } + + public double multiply(double n1, double n2) { + return multiplyService.multiply(n1, n2); + } + + public double divide(double n1, double n2) { + return divideService.divide(n1, n2); + } + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/DivideService.java b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/DivideService.java new file mode 100644 index 0000000000..85ebadc9a0 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/DivideService.java @@ -0,0 +1,28 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package impl.java; + +/** + * The divide service interface + */ +public interface DivideService { + + double divide(double n1, double n2); + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/DivideServiceImpl.java b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/DivideServiceImpl.java new file mode 100644 index 0000000000..863c298234 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/DivideServiceImpl.java @@ -0,0 +1,35 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package impl.java; + +import java.util.logging.Level; +import java.util.logging.Logger; + +/** + * An implementation of the Divide service. + */ +public class DivideServiceImpl implements DivideService { + + public double divide(double n1, double n2) { + Logger logger = Logger.getLogger("calculator"); + logger.log(Level.FINEST, "Dividing " + n1 + " with " + n2); + return n1 / n2; + } + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/MultiplyService.java b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/MultiplyService.java new file mode 100644 index 0000000000..e1bf7fbddc --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/MultiplyService.java @@ -0,0 +1,28 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package impl.java; + +/** + * The interface for the multiply service + */ +public interface MultiplyService { + + double multiply(double n1, double n2); + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/MultiplyServiceImpl.java b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/MultiplyServiceImpl.java new file mode 100644 index 0000000000..6346ea3582 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/MultiplyServiceImpl.java @@ -0,0 +1,35 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package impl.java; + +import java.util.logging.Level; +import java.util.logging.Logger; + +/** + * An implementation of the Multiply service. + */ +public class MultiplyServiceImpl implements MultiplyService { + + public double multiply(double n1, double n2) { + Logger logger = Logger.getLogger("calculator"); + logger.log(Level.FINEST, "Multiplying " + n1 + " with " + n2); + return n1 * n2; + } + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/SubtractService.java b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/SubtractService.java new file mode 100644 index 0000000000..57759bb496 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/SubtractService.java @@ -0,0 +1,28 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package impl.java; + +/** + * The interface for the multiply service + */ +public interface SubtractService { + + double subtract(double n1, double n2); + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/SubtractServiceImpl.java b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/SubtractServiceImpl.java new file mode 100644 index 0000000000..16e3e6a23d --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/java/SubtractServiceImpl.java @@ -0,0 +1,35 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package impl.java; + +import java.util.logging.Level; +import java.util.logging.Logger; + +/** + * An implementation of the subtract service. + */ +public class SubtractServiceImpl implements SubtractService { + + public double subtract(double n1, double n2) { + Logger logger = Logger.getLogger("calculator"); + logger.log(Level.FINEST, "Subtracting " + n1 + " from " + n2); + return n1 - n2; + } + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/impl/spring/HelloWorld.java b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/spring/HelloWorld.java new file mode 100644 index 0000000000..0cdd72942e --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/spring/HelloWorld.java @@ -0,0 +1,36 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package impl.spring; + +import org.oasisopen.sca.annotation.OneWay; +import org.oasisopen.sca.annotation.Remotable; + +/** + * Interface for the "hello world" service - predictably simple with a single operation + * "sayHello" + * + */ +@Remotable +public interface HelloWorld { + + @OneWay + String sayHello(String s); + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/impl/spring/HelloWorldProxy.java b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/spring/HelloWorldProxy.java new file mode 100644 index 0000000000..97d13c8190 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/spring/HelloWorldProxy.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package impl.spring; + +import org.oasisopen.sca.annotation.Reference; + +/** + * A simple proxy Java class which implements the HelloWorld interface but which uses + * a reference "delegate" to actually provide the HelloWorld service + * + */ +public class HelloWorldProxy implements HelloWorld { + + // Here is the reference "delegate" - it implements the HelloWorld interface... + @Reference + public HelloWorld delegate; + + public String sayHello(String s) { + // Simply call the reference to satisfy the service request... + System.out.println("HelloWorldProxy - calling sayHello"); + return delegate.sayHello(s); + } + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/impl/spring/TestHelloWorldBean.java b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/spring/TestHelloWorldBean.java new file mode 100644 index 0000000000..87904f2a72 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/impl/spring/TestHelloWorldBean.java @@ -0,0 +1,36 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package impl.spring; + +/** + * A simple test Spring bean which provides the HelloWorld service + * + */ + +public class TestHelloWorldBean implements HelloWorld { + + static String hello = "Hello "; + + // Classic "Hello xxx" response to any input message + public String sayHello(String message) { + System.out.println("TestHelloWorldBean - sayHello called"); + return (hello + message); + } + +} // end class TestHelloWorldBean diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/interfacejava/xml/CalculatorService.java b/sca-java-2.x/contrib/itest/validation/src/main/java/interfacejava/xml/CalculatorService.java new file mode 100644 index 0000000000..038e2c720f --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/interfacejava/xml/CalculatorService.java @@ -0,0 +1,35 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package interfacejava.xml; + +import org.oasisopen.sca.annotation.OneWay; +/** + * The Calculator service interface. + */ +public interface CalculatorService { + + double add(double n1, double n2); + + double subtract(double n1, double n2); + + double multiply(double n1, double n2); + + @OneWay + double divide(double n1, double n2); +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/java/interfacejava/xml/CalculatorServiceImpl.java b/sca-java-2.x/contrib/itest/validation/src/main/java/interfacejava/xml/CalculatorServiceImpl.java new file mode 100644 index 0000000000..4b67ebae97 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/java/interfacejava/xml/CalculatorServiceImpl.java @@ -0,0 +1,75 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package interfacejava.xml; + +import org.oasisopen.sca.annotation.Reference; + +import calculator.warning.AddService; +import calculator.warning.DivideService; +import calculator.warning.MultiplyService; +import calculator.warning.SubtractService; + + +/** + * An implementation of the Calculator service. + */ +public class CalculatorServiceImpl implements CalculatorService { + + private AddService addService; + private SubtractService subtractService; + private MultiplyService multiplyService; + private DivideService divideService; + + @Reference + public void setAddService(AddService addService) { + this.addService = addService; + } + + @Reference + public void setSubtractService(SubtractService subtractService) { + this.subtractService = subtractService; + } + + @Reference + public void setDivideService(DivideService divideService) { + this.divideService = divideService; + } + + @Reference + public void setMultiplyService(MultiplyService multiplyService) { + this.multiplyService = multiplyService; + } + + public double add(double n1, double n2) { + return addService.add(n1, n2); + } + + public double subtract(double n1, double n2) { + return subtractService.subtract(n1, n2); + } + + public double multiply(double n1, double n2) { + return multiplyService.multiply(n1, n2); + } + + public double divide(double n1, double n2) { + return divideService.divide(n1, n2); + } + +} diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/ComponentReferenceTargetNotFound/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/ComponentReferenceTargetNotFound/Calculator.composite new file mode 100644 index 0000000000..b2e7da05a2 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/ComponentReferenceTargetNotFound/Calculator.composite @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateComponentName/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateComponentName/Calculator.composite new file mode 100644 index 0000000000..4ba9f0724b --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateComponentName/Calculator.composite @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateImplementationPropertyName/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateImplementationPropertyName/Calculator.composite new file mode 100644 index 0000000000..b935dd194a --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateImplementationPropertyName/Calculator.composite @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + addService + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateImplementationPropertyName/dummyImplementation.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateImplementationPropertyName/dummyImplementation.composite new file mode 100644 index 0000000000..2b633f3139 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateImplementationPropertyName/dummyImplementation.composite @@ -0,0 +1,31 @@ + + + + + addService + addService + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateImplementationReferenceName/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateImplementationReferenceName/Calculator.composite new file mode 100644 index 0000000000..940e27a1e7 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateImplementationReferenceName/Calculator.composite @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateImplementationReferenceName/dummyImplementation.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateImplementationReferenceName/dummyImplementation.composite new file mode 100644 index 0000000000..50d78cb2a6 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateImplementationReferenceName/dummyImplementation.composite @@ -0,0 +1,32 @@ + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicatePropertyName/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicatePropertyName/Calculator.composite new file mode 100644 index 0000000000..bd788e47b8 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicatePropertyName/Calculator.composite @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + addService + addMyService + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateReferenceName/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateReferenceName/Calculator.composite new file mode 100644 index 0000000000..7281878c0f --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/DuplicateReferenceName/Calculator.composite @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/META-INF/sca/SpringHelloWorld-context.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/META-INF/sca/SpringHelloWorld-context.xml new file mode 100644 index 0000000000..609ffed02d --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/META-INF/sca/SpringHelloWorld-context.xml @@ -0,0 +1,31 @@ + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/MultipleBindingsForService/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/MultipleBindingsForService/Calculator.composite new file mode 100644 index 0000000000..08e18decc1 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/MultipleBindingsForService/Calculator.composite @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/NoComponentImplementation/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/NoComponentImplementation/Calculator.composite new file mode 100644 index 0000000000..36e71e398b --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/NoComponentImplementation/Calculator.composite @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/NoCompositeNamespace/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/NoCompositeNamespace/Calculator.composite new file mode 100644 index 0000000000..9a46e09363 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/NoCompositeNamespace/Calculator.composite @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/NoMatchingBinding/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/NoMatchingBinding/Calculator.composite new file mode 100644 index 0000000000..59017f0c09 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/NoMatchingBinding/Calculator.composite @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/PromotedReferenceNotFound/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/PromotedReferenceNotFound/Calculator.composite new file mode 100644 index 0000000000..462a95dd02 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/PromotedReferenceNotFound/Calculator.composite @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/PromotedServiceNotFound/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/PromotedServiceNotFound/Calculator.composite new file mode 100644 index 0000000000..4b6c44bd58 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/PromotedServiceNotFound/Calculator.composite @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/PropertyAttribute/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/PropertyAttribute/Calculator.composite new file mode 100644 index 0000000000..a397e3384c --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/PropertyAttribute/Calculator.composite @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Simon + Laws + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/PropertyAttribute/CalculatorNullMustSupply.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/PropertyAttribute/CalculatorNullMustSupply.composite new file mode 100644 index 0000000000..08fab865fa --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/PropertyAttribute/CalculatorNullMustSupply.composite @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/PropertyAttribute/CalculatorOverrideManyAttribute.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/PropertyAttribute/CalculatorOverrideManyAttribute.composite new file mode 100644 index 0000000000..3a5f59b17c --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/PropertyAttribute/CalculatorOverrideManyAttribute.composite @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Laws + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/PropertyNotFound/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/PropertyNotFound/Calculator.composite new file mode 100644 index 0000000000..8221e41430 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/PropertyNotFound/Calculator.composite @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + addService + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceIncompatibleComponentInterface/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceIncompatibleComponentInterface/Calculator.composite new file mode 100644 index 0000000000..9c5ae7027f --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceIncompatibleComponentInterface/Calculator.composite @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceIncompatibleInterface/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceIncompatibleInterface/Calculator.composite new file mode 100644 index 0000000000..3c85ed32e2 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceIncompatibleInterface/Calculator.composite @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceIncompatibleMultiplicity/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceIncompatibleMultiplicity/Calculator.composite new file mode 100644 index 0000000000..2d1a1e01f0 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceIncompatibleMultiplicity/Calculator.composite @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceNotFound/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceNotFound/Calculator.composite new file mode 100644 index 0000000000..efb457ac9e --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceNotFound/Calculator.composite @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceWithoutTargets/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceWithoutTargets/Calculator.composite new file mode 100644 index 0000000000..a5beaf4ec9 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/ReferenceWithoutTargets/Calculator.composite @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/ServiceNotFoundForComponentService/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/ServiceNotFoundForComponentService/Calculator.composite new file mode 100644 index 0000000000..06c3eeeaca --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/ServiceNotFoundForComponentService/Calculator.composite @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/UnresolvedComponentImplementation/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/UnresolvedComponentImplementation/Calculator.composite new file mode 100644 index 0000000000..821ce570c8 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/UnresolvedComponentImplementation/Calculator.composite @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/XsdValidation/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/XsdValidation/Calculator.composite new file mode 100644 index 0000000000..63ccaa9957 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/XsdValidation/Calculator.composite @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/ContributionReadException/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/ContributionReadException/Calculator.composite new file mode 100644 index 0000000000..da565081f3 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/ContributionReadException/Calculator.composite @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/PolicyImplValidationException/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/PolicyImplValidationException/Calculator.composite new file mode 100644 index 0000000000..6153d40c3d --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/PolicyImplValidationException/Calculator.composite @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/PolicyServiceValidationException/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/PolicyServiceValidationException/Calculator.composite new file mode 100644 index 0000000000..a3eb60bf58 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/PolicyServiceValidationException/Calculator.composite @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/UnexpectedBindingElement/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/UnexpectedBindingElement/Calculator.composite new file mode 100644 index 0000000000..6233d47d8d --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/UnexpectedBindingElement/Calculator.composite @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/UnexpectedImplementationElement/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/UnexpectedImplementationElement/Calculator.composite new file mode 100644 index 0000000000..6a9af9e070 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/UnexpectedImplementationElement/Calculator.composite @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/UnexpectedInterfaceElement/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/UnexpectedInterfaceElement/Calculator.composite new file mode 100644 index 0000000000..49b26c78f8 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/assemblyxml/UnexpectedInterfaceElement/Calculator.composite @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/InvalidWsdlElementAttr/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/InvalidWsdlElementAttr/Calculator.composite new file mode 100644 index 0000000000..c34a160b61 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/InvalidWsdlElementAttr/Calculator.composite @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/MustUseWsdlBinding/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/MustUseWsdlBinding/Calculator.composite new file mode 100644 index 0000000000..293c4d725d --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/MustUseWsdlBinding/Calculator.composite @@ -0,0 +1,59 @@ + + + + + + + + + http://localhost:8085/Calculator + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlBindingDoesNotMatch/helloworld.wsdl b/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlBindingDoesNotMatch/helloworld.wsdl new file mode 100644 index 0000000000..013a55b61e --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlBindingDoesNotMatch/helloworld.wsdl @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlBindingDoesNotMatch/helloworldwsjms.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlBindingDoesNotMatch/helloworldwsjms.composite new file mode 100644 index 0000000000..b7ff1e304f --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlBindingDoesNotMatch/helloworldwsjms.composite @@ -0,0 +1,34 @@ + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlPortTypeDoesNotMatch/helloworld.wsdl b/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlPortTypeDoesNotMatch/helloworld.wsdl new file mode 100644 index 0000000000..218dbc47c4 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlPortTypeDoesNotMatch/helloworld.wsdl @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlPortTypeDoesNotMatch/helloworldwsclient.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlPortTypeDoesNotMatch/helloworldwsclient.composite new file mode 100644 index 0000000000..5975c27663 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlPortTypeDoesNotMatch/helloworldwsclient.composite @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlServiceDoesNotMatch/helloworld.wsdl b/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlServiceDoesNotMatch/helloworld.wsdl new file mode 100644 index 0000000000..013a55b61e --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlServiceDoesNotMatch/helloworld.wsdl @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlServiceDoesNotMatch/helloworldwsjms.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlServiceDoesNotMatch/helloworldwsjms.composite new file mode 100644 index 0000000000..8cda0b007e --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/binding/wsxml/WsdlServiceDoesNotMatch/helloworldwsjms.composite @@ -0,0 +1,34 @@ + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingejb/UnknownEJBSessionType/account.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingejb/UnknownEJBSessionType/account.composite new file mode 100644 index 0000000000..781319d619 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingejb/UnknownEJBSessionType/account.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingejb/UnknownEJBVersion/account.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingejb/UnknownEJBVersion/account.composite new file mode 100644 index 0000000000..8a0dfac98b --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingejb/UnknownEJBVersion/account.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessActivationSpec/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessActivationSpec/service.composite new file mode 100644 index 0000000000..fcfe408582 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessActivationSpec/service.composite @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessDestinationType/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessDestinationType/service.composite new file mode 100644 index 0000000000..ede3b3fd40 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessDestinationType/service.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessHeaders/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessHeaders/service.composite new file mode 100644 index 0000000000..a8c89a0bf5 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessHeaders/service.composite @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResourceAdapter/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResourceAdapter/service.composite new file mode 100644 index 0000000000..b4e56d1789 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResourceAdapter/service.composite @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseActivationSpec/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseActivationSpec/service.composite new file mode 100644 index 0000000000..e68eb75d64 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseActivationSpec/service.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseConnectionFactory/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseConnectionFactory/service.composite new file mode 100644 index 0000000000..00c7a3f86b --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseConnectionFactory/service.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseDestinationType/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseDestinationType/service.composite new file mode 100644 index 0000000000..d656d47cfd --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/DoesntProcessResponseDestinationType/service.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/InvalidCorrelationScheme/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/InvalidCorrelationScheme/service.composite new file mode 100644 index 0000000000..ad1daacfcf --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/InvalidCorrelationScheme/service.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/InvalidJMSDeliveryMode/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/InvalidJMSDeliveryMode/service.composite new file mode 100644 index 0000000000..145aea9fbc --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/InvalidJMSDeliveryMode/service.composite @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/InvalidJMSPriority/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/InvalidJMSPriority/service.composite new file mode 100644 index 0000000000..c52da84a0c --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/InvalidJMSPriority/service.composite @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/InvalidResponseDestinationType/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/InvalidResponseDestinationType/service.composite new file mode 100644 index 0000000000..fb35f5d1b8 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/InvalidResponseDestinationType/service.composite @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MissingActivationSpecName/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MissingActivationSpecName/service.composite new file mode 100644 index 0000000000..fcdf25455c --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MissingActivationSpecName/service.composite @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MissingConnectionFactoryName/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MissingConnectionFactoryName/service.composite new file mode 100644 index 0000000000..14f1314a1b --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MissingConnectionFactoryName/service.composite @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MissingResponseActivationSpec/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MissingResponseActivationSpec/service.composite new file mode 100644 index 0000000000..1a3cb21ac6 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MissingResponseActivationSpec/service.composite @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MissingResponseConnectionFactory/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MissingResponseConnectionFactory/service.composite new file mode 100644 index 0000000000..80b8f9d938 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MissingResponseConnectionFactory/service.composite @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MustStartWithSchema/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MustStartWithSchema/service.composite new file mode 100644 index 0000000000..8fd1e2f554 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/MustStartWithSchema/service.composite @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/UnexpectedElement/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/UnexpectedElement/service.composite new file mode 100644 index 0000000000..b74682e1bd --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/UnexpectedElement/service.composite @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/UnexpectedResponseElement/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/UnexpectedResponseElement/service.composite new file mode 100644 index 0000000000..f439ab6260 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/UnexpectedResponseElement/service.composite @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/UnknownTokenInURI/service.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/UnknownTokenInURI/service.composite new file mode 100644 index 0000000000..e22f30152e --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/bindingjms/UnknownTokenInURI/service.composite @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/java/AttributePackageMissing/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/java/AttributePackageMissing/Calculator.composite new file mode 100644 index 0000000000..6ef7558d95 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/java/AttributePackageMissing/Calculator.composite @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/namespace/AttributeNameSpaceMissing/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/namespace/AttributeNameSpaceMissing/Calculator.composite new file mode 100644 index 0000000000..77a2715373 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/namespace/AttributeNameSpaceMissing/Calculator.composite @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/resource/AttributeURIMissing/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/resource/AttributeURIMissing/Calculator.composite new file mode 100644 index 0000000000..6e5fcf1286 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/resource/AttributeURIMissing/Calculator.composite @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/resource/AttributeURIMissing/META-INF/sca-contribution.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/resource/AttributeURIMissing/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..d3ce4d91c1 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/resource/AttributeURIMissing/META-INF/sca-contribution.xml @@ -0,0 +1,24 @@ + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/xml/AttributeCompositeMissing/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/xml/AttributeCompositeMissing/Calculator.composite new file mode 100644 index 0000000000..70f91d1a7d --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/xml/AttributeCompositeMissing/Calculator.composite @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/xml/AttributeCompositeMissing/sca-contribution.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/xml/AttributeCompositeMissing/sca-contribution.xml new file mode 100644 index 0000000000..7f5eb546e0 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/xml/AttributeCompositeMissing/sca-contribution.xml @@ -0,0 +1,24 @@ + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/xml/MultipleCompositeErrors/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/xml/MultipleCompositeErrors/Calculator.composite new file mode 100644 index 0000000000..70f91d1a7d --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/xml/MultipleCompositeErrors/Calculator.composite @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/xml/MultipleCompositeErrors/sca-contribution.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/xml/MultipleCompositeErrors/sca-contribution.xml new file mode 100644 index 0000000000..c1ff61f07c --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/contribution/xml/MultipleCompositeErrors/sca-contribution.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/AttributeUnrecognizedNamespace/helloworld.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/AttributeUnrecognizedNamespace/helloworld.composite new file mode 100644 index 0000000000..0dfe52985a --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/AttributeUnrecognizedNamespace/helloworld.composite @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/AttributeWithoutNamespace/helloworld.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/AttributeWithoutNamespace/helloworld.composite new file mode 100644 index 0000000000..d3f249720d --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/AttributeWithoutNamespace/helloworld.composite @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/deploy.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/deploy.xml new file mode 100644 index 0000000000..571aa37d58 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/deploy.xml @@ -0,0 +1,30 @@ + + + + + + true + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.bpel b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.bpel new file mode 100644 index 0000000000..a8eb389704 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.bpel @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + concat($tmpVar,' World') + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.componentType b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.componentType new file mode 100644 index 0000000000..2b360111cb --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.componentType @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.composite new file mode 100644 index 0000000000..575927a5de --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.composite @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.wsdl b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.wsdl new file mode 100644 index 0000000000..46cf381577 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/BPELProcessNotFound/helloworld.wsdl @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/deploy.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/deploy.xml new file mode 100644 index 0000000000..571aa37d58 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/deploy.xml @@ -0,0 +1,30 @@ + + + + + + true + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/helloworld.bpel b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/helloworld.bpel new file mode 100644 index 0000000000..a8eb389704 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/helloworld.bpel @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + concat($tmpVar,' World') + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/helloworld.componentType b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/helloworld.componentType new file mode 100644 index 0000000000..2b360111cb --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/helloworld.componentType @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/helloworld.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/helloworld.composite new file mode 100644 index 0000000000..b4623b5c2d --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/CannotResolveWSDLReference/helloworld.composite @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/deploy.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/deploy.xml new file mode 100644 index 0000000000..571aa37d58 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/deploy.xml @@ -0,0 +1,30 @@ + + + + + + true + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.bpel b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.bpel new file mode 100644 index 0000000000..973d1f618a --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.bpel @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + concat($tmpVar,' World') + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.componentType b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.componentType new file mode 100644 index 0000000000..2b360111cb --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.componentType @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.composite new file mode 100644 index 0000000000..b4623b5c2d --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.composite @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.wsdl b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.wsdl new file mode 100644 index 0000000000..46cf381577 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/MyRolePartnerRoleNull/helloworld.wsdl @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/deploy.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/deploy.xml new file mode 100644 index 0000000000..571aa37d58 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/deploy.xml @@ -0,0 +1,30 @@ + + + + + + true + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.bpel b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.bpel new file mode 100644 index 0000000000..5d2aeddc3d --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.bpel @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + concat($tmpVar,' World') + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.componentType b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.componentType new file mode 100644 index 0000000000..077df56290 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.componentType @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.composite new file mode 100644 index 0000000000..b4623b5c2d --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.composite @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.wsdl b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.wsdl new file mode 100644 index 0000000000..46cf381577 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkHasBothAttr/helloworld.wsdl @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/deploy.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/deploy.xml new file mode 100644 index 0000000000..571aa37d58 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/deploy.xml @@ -0,0 +1,30 @@ + + + + + + true + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.bpel b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.bpel new file mode 100644 index 0000000000..68df3156a8 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.bpel @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + concat($tmpVar,' World') + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.componentType b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.componentType new file mode 100644 index 0000000000..2b360111cb --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.componentType @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.composite new file mode 100644 index 0000000000..b4623b5c2d --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.composite @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.wsdl b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.wsdl new file mode 100644 index 0000000000..46cf381577 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkNoMatchingType/helloworld.wsdl @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/deploy.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/deploy.xml new file mode 100644 index 0000000000..571aa37d58 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/deploy.xml @@ -0,0 +1,30 @@ + + + + + + true + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.bpel b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.bpel new file mode 100644 index 0000000000..a8eb389704 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.bpel @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + concat($tmpVar,' World') + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.componentType b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.componentType new file mode 100644 index 0000000000..2b360111cb --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.componentType @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.composite new file mode 100644 index 0000000000..b4623b5c2d --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.composite @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.wsdl b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.wsdl new file mode 100644 index 0000000000..695fd60887 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/bpel/PartnerLinkTypeNoRoles/helloworld.wsdl @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/ejb/EJBLinkAttributeMissing/ejb.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/ejb/EJBLinkAttributeMissing/ejb.composite new file mode 100644 index 0000000000..94ee650207 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/ejb/EJBLinkAttributeMissing/ejb.composite @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/java/ClassNotFoundException/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/java/ClassNotFoundException/Calculator.composite new file mode 100644 index 0000000000..f3cf93ddaa --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/java/ClassNotFoundException/Calculator.composite @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/java/ContributionResolveException/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/java/ContributionResolveException/Calculator.composite new file mode 100644 index 0000000000..f9016219a5 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/java/ContributionResolveException/Calculator.composite @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/CouldNotLocateOSGiBundle/OSGiTestService.componentType b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/CouldNotLocateOSGiBundle/OSGiTestService.componentType new file mode 100644 index 0000000000..634c13b3cc --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/CouldNotLocateOSGiBundle/OSGiTestService.componentType @@ -0,0 +1,28 @@ + + + + + + + + GBP + 1.0 + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/CouldNotLocateOSGiBundle/osgitest.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/CouldNotLocateOSGiBundle/osgitest.composite new file mode 100644 index 0000000000..0d1861f2f5 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/CouldNotLocateOSGiBundle/osgitest.composite @@ -0,0 +1,34 @@ + + + + + + + + USD + 2.0 + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/MissingComponentTypeFile/osgitest.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/MissingComponentTypeFile/osgitest.composite new file mode 100644 index 0000000000..0d1861f2f5 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/MissingComponentTypeFile/osgitest.composite @@ -0,0 +1,34 @@ + + + + + + + + USD + 2.0 + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/PropertyShouldSpecifySR/OSGiTestService.componentType b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/PropertyShouldSpecifySR/OSGiTestService.componentType new file mode 100644 index 0000000000..634c13b3cc --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/PropertyShouldSpecifySR/OSGiTestService.componentType @@ -0,0 +1,28 @@ + + + + + + + + GBP + 1.0 + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/PropertyShouldSpecifySR/osgitest.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/PropertyShouldSpecifySR/osgitest.composite new file mode 100644 index 0000000000..881c24854b --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/osgi/PropertyShouldSpecifySR/osgitest.composite @@ -0,0 +1,36 @@ + + + + + + + + + + USD + 2.0 + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/resource/CouldNotResolveLocation/resource.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/resource/CouldNotResolveLocation/resource.composite new file mode 100644 index 0000000000..4e680f1200 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/resource/CouldNotResolveLocation/resource.composite @@ -0,0 +1,30 @@ + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/resource/LocationAttributeMissing/resource.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/resource/LocationAttributeMissing/resource.composite new file mode 100644 index 0000000000..e01643ed8f --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/resource/LocationAttributeMissing/resource.composite @@ -0,0 +1,30 @@ + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/ContributionResolveException/SpringHelloWorld.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/ContributionResolveException/SpringHelloWorld.composite new file mode 100644 index 0000000000..d776882ed0 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/ContributionResolveException/SpringHelloWorld.composite @@ -0,0 +1,27 @@ + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/LocationAttributeMissing/SpringHelloWorld.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/LocationAttributeMissing/SpringHelloWorld.composite new file mode 100644 index 0000000000..0d1ffc97e4 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/LocationAttributeMissing/SpringHelloWorld.composite @@ -0,0 +1,27 @@ + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/UnableToResolveComponentType/SpringHelloWorld-context.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/UnableToResolveComponentType/SpringHelloWorld-context.xml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/UnableToResolveComponentType/SpringHelloWorld.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/UnableToResolveComponentType/SpringHelloWorld.composite new file mode 100644 index 0000000000..99c529d77f --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/UnableToResolveComponentType/SpringHelloWorld.composite @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/UnableToResolveComponentType/TestHelloWorldBean.componentType b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/UnableToResolveComponentType/TestHelloWorldBean.componentType new file mode 100644 index 0000000000..c75f209b6d --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/spring/UnableToResolveComponentType/TestHelloWorldBean.componentType @@ -0,0 +1,27 @@ + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/widget/CouldNotResolveLocation/widget.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/widget/CouldNotResolveLocation/widget.composite new file mode 100644 index 0000000000..a5874707da --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/widget/CouldNotResolveLocation/widget.composite @@ -0,0 +1,29 @@ + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/widget/LocationAttributeMissing/widget.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/widget/LocationAttributeMissing/widget.composite new file mode 100644 index 0000000000..393b9fe674 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/widget/LocationAttributeMissing/widget.composite @@ -0,0 +1,30 @@ + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/xquery/CouldNotLocateFile/HelloWorld.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/xquery/CouldNotLocateFile/HelloWorld.composite new file mode 100644 index 0000000000..1dca444938 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/xquery/CouldNotLocateFile/HelloWorld.composite @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/xquery/LocationAttributeMissing/HelloWorld.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/xquery/LocationAttributeMissing/HelloWorld.composite new file mode 100644 index 0000000000..9a60183c5c --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/impl/xquery/LocationAttributeMissing/HelloWorld.composite @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacejava/xml/ClassNotFoundException/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacejava/xml/ClassNotFoundException/Calculator.composite new file mode 100644 index 0000000000..70f91d1a7d --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacejava/xml/ClassNotFoundException/Calculator.composite @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacejava/xml/ClassNotFoundException/CalculatorServiceImpl.componentType b/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacejava/xml/ClassNotFoundException/CalculatorServiceImpl.componentType new file mode 100644 index 0000000000..bc7bf3f250 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacejava/xml/ClassNotFoundException/CalculatorServiceImpl.componentType @@ -0,0 +1,27 @@ + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacejava/xml/ContributionResolveException/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacejava/xml/ContributionResolveException/Calculator.composite new file mode 100644 index 0000000000..a1a699fc75 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacejava/xml/ContributionResolveException/Calculator.composite @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacejava/xml/ContributionResolveException/CalculatorServiceImpl.componentType b/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacejava/xml/ContributionResolveException/CalculatorServiceImpl.componentType new file mode 100644 index 0000000000..7446e4f06a --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacejava/xml/ContributionResolveException/CalculatorServiceImpl.componentType @@ -0,0 +1,27 @@ + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/InvalidWSDLInterfaceAttr/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/InvalidWSDLInterfaceAttr/Calculator.composite new file mode 100644 index 0000000000..0bbb10706e --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/InvalidWSDLInterfaceAttr/Calculator.composite @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/InvalidWSDLInterfaceAttr/helloworld-interface.wsdl b/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/InvalidWSDLInterfaceAttr/helloworld-interface.wsdl new file mode 100644 index 0000000000..9d9376ad6c --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/InvalidWSDLInterfaceAttr/helloworld-interface.wsdl @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/InvalidWSDLInterfaceAttr/helloworld-service.wsdl b/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/InvalidWSDLInterfaceAttr/helloworld-service.wsdl new file mode 100644 index 0000000000..3885357625 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/InvalidWSDLInterfaceAttr/helloworld-service.wsdl @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/WsdlInterfaceDoesNotMatch/helloworld.wsdl b/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/WsdlInterfaceDoesNotMatch/helloworld.wsdl new file mode 100644 index 0000000000..013a55b61e --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/WsdlInterfaceDoesNotMatch/helloworld.wsdl @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/WsdlInterfaceDoesNotMatch/helloworldwsjms.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/WsdlInterfaceDoesNotMatch/helloworldwsjms.composite new file mode 100644 index 0000000000..d9252ba54f --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/interfacewsdl/xml/WsdlInterfaceDoesNotMatch/helloworldwsjms.composite @@ -0,0 +1,34 @@ + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/security/ClassNotFoundException/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/security/ClassNotFoundException/Calculator.composite new file mode 100644 index 0000000000..48c3c5ffc0 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/security/ClassNotFoundException/Calculator.composite @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/security/ClassNotFoundException/definitions.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/security/ClassNotFoundException/definitions.xml new file mode 100644 index 0000000000..53d1a581f0 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/security/ClassNotFoundException/definitions.xml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/security/RequiredAttributeRolesMissing/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/security/RequiredAttributeRolesMissing/Calculator.composite new file mode 100644 index 0000000000..48c3c5ffc0 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/security/RequiredAttributeRolesMissing/Calculator.composite @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/security/RequiredAttributeRolesMissing/definitions.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/security/RequiredAttributeRolesMissing/definitions.xml new file mode 100644 index 0000000000..ac45d95ce8 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/security/RequiredAttributeRolesMissing/definitions.xml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/AlwaysProvidedIntentNotFound/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/AlwaysProvidedIntentNotFound/Calculator.composite new file mode 100644 index 0000000000..48c3c5ffc0 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/AlwaysProvidedIntentNotFound/Calculator.composite @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/AlwaysProvidedIntentNotFound/definitions.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/AlwaysProvidedIntentNotFound/definitions.xml new file mode 100644 index 0000000000..5cf6963a96 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/AlwaysProvidedIntentNotFound/definitions.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + Communitcation thro this binding must prevent + unauthorized users from reading the messages. + + + + + + Communitcation thro this binding must prevent + unauthorized modification of the messages. + + + + + + Communitcation thro this binding required + Authentication. + + + + + + Need to figure out some description for this + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/ErrorInPolicyIntentDefinition/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/ErrorInPolicyIntentDefinition/Calculator.composite new file mode 100644 index 0000000000..48c3c5ffc0 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/ErrorInPolicyIntentDefinition/Calculator.composite @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/ErrorInPolicyIntentDefinition/definitions.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/ErrorInPolicyIntentDefinition/definitions.xml new file mode 100644 index 0000000000..d31c705fb5 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/ErrorInPolicyIntentDefinition/definitions.xml @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + Communitcation thro this binding must prevent + unauthorized users from reading the messages. + + + + + + Communitcation thro this binding must prevent + unauthorized modification of the messages. + + + + + + Communitcation thro this binding required + Authentication. + + + + + + All messages to and from this implementation must be logged + + + + + + Need to figure out some description for this + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/IntentNotSpecified/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/IntentNotSpecified/Calculator.composite new file mode 100644 index 0000000000..48c3c5ffc0 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/IntentNotSpecified/Calculator.composite @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/IntentNotSpecified/definitions.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/IntentNotSpecified/definitions.xml new file mode 100644 index 0000000000..d214a7f40a --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/IntentNotSpecified/definitions.xml @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + ... + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ... + + + + ... + + + + + + + + + Protect messages from unauthorized reading or modification + + + + + + Protect messages from unauthorized reading or modification + + + + + + + Communitcation thro this binding must prevent + unauthorized users from reading the messages. + + + + + + Communitcation thro this binding must prevent + unauthorized modification of the messages. + + + + + + Communitcation thro this binding required + Authentication. + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/MayProvideIntentNotFound/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/MayProvideIntentNotFound/Calculator.composite new file mode 100644 index 0000000000..48c3c5ffc0 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/MayProvideIntentNotFound/Calculator.composite @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/MayProvideIntentNotFound/definitions.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/MayProvideIntentNotFound/definitions.xml new file mode 100644 index 0000000000..ede1786942 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/MayProvideIntentNotFound/definitions.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + Communitcation thro this binding must prevent + unauthorized users from reading the messages. + + + + + + Communitcation thro this binding must prevent + unauthorized modification of the messages. + + + + + + Communitcation thro this binding required + Authentication. + + + + + + All messages to and from this implementation must be logged + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/RequiredAttributeMissing/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/RequiredAttributeMissing/Calculator.composite new file mode 100644 index 0000000000..48c3c5ffc0 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/RequiredAttributeMissing/Calculator.composite @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/RequiredAttributeMissing/definitions.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/RequiredAttributeMissing/definitions.xml new file mode 100644 index 0000000000..fcb43c949b --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/RequiredAttributeMissing/definitions.xml @@ -0,0 +1,70 @@ + + + + + + + + + + + + Communitcation thro this binding must prevent + unauthorized users from reading the messages. + + + + + + Communitcation thro this binding must prevent + unauthorized modification of the messages. + + + + + + Communitcation thro this binding required + Authentication. + + + + + + All messages to and from this implementation must be logged + + + + + + Need to figure out some description for this + + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/UnableToMapPolicies/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/UnableToMapPolicies/Calculator.composite new file mode 100644 index 0000000000..48c3c5ffc0 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/UnableToMapPolicies/Calculator.composite @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/UnableToMapPolicies/definitions.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/UnableToMapPolicies/definitions.xml new file mode 100644 index 0000000000..8346dcc01a --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/UnableToMapPolicies/definitions.xml @@ -0,0 +1,242 @@ + + + + + + + + + + + + FINER + + + + + + + Test Intent + + + + + + Protect messages from unauthorized reading or modification + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ... + + + + ... + + + + + + + + + + + sp:X509v3 + + + + + + + + + + + + + + + + + + Protect messages from unauthorized reading or modification + + + + + + Protect messages from unauthorized reading or modification + + + + + + + Communitcation thro this binding must prevent + unauthorized users from reading the messages. + + + + + + Communitcation thro this binding must prevent + unauthorized modification of the messages. + + + + + + Communitcation thro this binding required + Authentication. + + + + + + All messages to and from this implementation must be logged + + + + + + Need to figure out some description for this + + + \ No newline at end of file diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/UnrecognizedIntentAttachPointType/Calculator.composite b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/UnrecognizedIntentAttachPointType/Calculator.composite new file mode 100644 index 0000000000..48c3c5ffc0 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/UnrecognizedIntentAttachPointType/Calculator.composite @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/UnrecognizedIntentAttachPointType/definitions.xml b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/UnrecognizedIntentAttachPointType/definitions.xml new file mode 100644 index 0000000000..60f4de5cd3 --- /dev/null +++ b/sca-java-2.x/contrib/itest/validation/src/main/resources/policy/xml/UnrecognizedIntentAttachPointType/definitions.xml @@ -0,0 +1,68 @@ + + + + + + + + + + + Communitcation thro this binding must prevent + unauthorized users from reading the messages. + + + + + + Communitcation thro this binding must prevent + unauthorized modification of the messages. + + + + + + Communitcation thro this binding required + Authentication. + + + + + + All messages to and from this implementation must be logged + + + + + + Need to figure out some description for this + + + + \ No newline at end of file -- cgit v1.2.3