Author: kelvingoodson
Date: Thu Apr 1 16:49:05 2010
New Revision: 930039
URL: http://svn.apache.org/viewvc?rev=930039&view=rev
Log:
add compliance messages
Modified:
tuscany/sca-java-2.x/trunk/compliance-tests/policy/src/test/resources/tuscany-oasis-sca-tests-errors.properties
tuscany/sca-java-2.x/trunk/modules/assembly-xml/src/main/resources/org/apache/tuscany/sca/policy/xml/policy-xml-validation-messages.properties
tuscany/sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/definitions-validation-messages.properties
Modified:
tuscany/sca-java-2.x/trunk/compliance-tests/policy/src/test/resources/tuscany-oasis-sca-tests-errors.properties
URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/compliance-tests/policy/src/test/resources/tuscany-oasis-sca-tests-errors.properties?rev=930039&r1=930038&r2=930039&view=diff
==============================================================================
---
tuscany/sca-java-2.x/trunk/compliance-tests/policy/src/test/resources/tuscany-oasis-sca-tests-errors.properties
(original)
+++
tuscany/sca-java-2.x/trunk/compliance-tests/policy/src/test/resources/tuscany-oasis-sca-tests-errors.properties
Thu Apr 1 16:49:05 2010
@@ -22,16 +22,16 @@ POL_3004=org.oasisopen.sca.ServiceRuntim
POL_3005=org.oasisopen.sca.ServiceRuntimeException: [Contribution: POL_3005,
Artifact: META-INF/definitions.xml, Definitions:
jar:file:***/POL_3005.zip!/META-INF/definitions.xml] - [POL30005] The intent
dupQualifiers has more than one qualifier with the name qual1
POL_3006=org.oasisopen.sca.ServiceRuntimeException: [Contribution: POL_3006,
Artifact: META-INF/definitions.xml, Definitions:
jar:file:***/POL_3006.zip!/META-INF/definitions.xml] - [POL30006] The profile
intent name bad.ProfileIntent must not have the character "." in it
POL_3009=org.oasisopen.sca.ServiceRuntimeException: [Contribution: POL_3009,
Artifact: META-INF/definitions.xml, Definitions:
jar:file:***/POL_3009.zip!/META-INF/definitions.xml] - [POL30010] The policy
set TwoIntentMapPolicySet has more than one intent map with the name testIntent6
-POL_3012=org.oasisopen.sca.ServiceRuntimeException: [Contribution:
http://tuscany.apache.org/SystemContribution] - Required Intent -
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}undefinedIntent2 not
found for ProfileIntent
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}badProfileIntent
-POL_3013=org.oasisopen.sca.ServiceRuntimeException: [Contribution:
http://tuscany.apache.org/SystemContribution] - Excluded Intent
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}undefinedIntent not
found for intent
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}noMuxIntent
+POL_3012=org.oasisopen.sca.ServiceRuntimeException: [Contribution:
http://tuscany.apache.org/SystemContribution] - [POL30015] Required Intent -
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}undefinedIntent2 not
found for ProfileIntent
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}badProfileIntent
+POL_3013=org.oasisopen.sca.ServiceRuntimeException: [Contribution:
http://tuscany.apache.org/SystemContribution] - [POL30016] Excluded Intent
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}undefinedIntent not
found for intent
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}noMuxIntent
POL_3014=org.oasisopen.sca.ServiceRuntimeException: [Contribution:
Policy_General, Definitions:
jar:file:***/Policy_General.zip!/META-INF/definitions.xml] - DuplicatePolicySet
POL_3015=org.apache.tuscany.sca.contribution.processor.ContributionReadException:
javax.xml.xpath.XPathExpressionException
POL_3016=org.apache.tuscany.sca.contribution.processor.ContributionReadException:
javax.xml.xpath.XPathExpressionException
POL_3017=org.oasisopen.sca.ServiceRuntimeException: [Contribution:
http://tuscany.apache.org/SystemContribution] - [POL30020] The policy set
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}BadIntentMapPolicySet
intent map testIntent6 has missing qualifiers: testIntent6.qual2 The intent
map qualifiers must match the provided intent qualifiers.
-POL_3018=org.oasisopen.sca.ServiceRuntimeException: [Contribution: POL_3018,
Artifact: META-INF/definitions.xml, Definitions:
jar:file:***/POL_3018.zip!/META-INF/definitions.xml] - Intent Map provides for
Intent not specified as provided by parent PolicySet - BadIntentMapPolicySet
+POL_3018=org.oasisopen.sca.ServiceRuntimeException: [Contribution: POL_3018,
Artifact: META-INF/definitions.xml, Definitions:
jar:file:***/POL_3018.zip!/META-INF/definitions.xml] - [POL30021] Intent Map
provides for Intent not specified as provided by parent PolicySet -
BadIntentMapPolicySet
POL_3020=TUSCANY-3371
POL_4012=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: TestClient,
Service: TestInvocation] - [POL40009,ASM60009,ASM60010] Intent
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}testIntent3 and
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}testIntent4 are mutually
exclusive
-POL_4027=org.oasisopen.sca.ServiceRuntimeException: [Contribution: POL_4027,
Artifact: META-INF/definitions.xml, Definitions:
jar:file:***/POL_4027.zip!/META-INF/definitions.xml] - Duplicate binding type
{http://docs.oasis-open.org/ns/opencsa/sca/200912}dupBinding.type found in
domain
+POL_4027=org.oasisopen.sca.ServiceRuntimeException: [Contribution: POL_4027,
Artifact: META-INF/definitions.xml, Definitions:
jar:file:***/POL_4027.zip!/META-INF/definitions.xml] - [POL40020] Duplicate
binding type {http://docs.oasis-open.org/ns/opencsa/sca/200912}dupBinding.type
found in domain
POL_4028=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}] - [POL40002] The policy
{http://docs.oasis-open.org/ns/opencsa/scatests/200903}PolicySetExtAttachProp
has been attached to a property or one of its children. This is not allowed.
POL_5001=org.oasisopen.sca.ServiceRuntimeException: [Contribution:
http://tuscany.apache.org/SystemContribution] - [POL50001] An extension to
support the implementation type
{http://docs.oasis-open.org/ns/opencsa/sca/200912}unknown.type cant be found in
the domain
POL_9006=TUSCANY-1649
Modified:
tuscany/sca-java-2.x/trunk/modules/assembly-xml/src/main/resources/org/apache/tuscany/sca/policy/xml/policy-xml-validation-messages.properties
URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/assembly-xml/src/main/resources/org/apache/tuscany/sca/policy/xml/policy-xml-validation-messages.properties?rev=930039&r1=930038&r2=930039&view=diff
==============================================================================
---
tuscany/sca-java-2.x/trunk/modules/assembly-xml/src/main/resources/org/apache/tuscany/sca/policy/xml/policy-xml-validation-messages.properties
(original)
+++
tuscany/sca-java-2.x/trunk/modules/assembly-xml/src/main/resources/org/apache/tuscany/sca/policy/xml/policy-xml-validation-messages.properties
Thu Apr 1 16:49:05 2010
@@ -23,12 +23,12 @@ MappedIntentNotFound = Mapped Intent - {
ProvidedIntentNotFound = Provided Intent - {0} not found for PolicySet {1}
UnableToMapPolicies = Unable to map policies for default qualifier in
IntentMap for - {0} in policy set - {1}
IntentMapDoesNotMatch = Intent provided by IntentMap {0} does not match parent
qualifier {1} in policyset - {2}
-IntentNotSpecified = Intent Map provides for Intent not specified as provided
by parent PolicySet - {0}
+IntentNotSpecified = [POL30021] Intent Map provides for Intent not specified
as provided by parent PolicySet - {0}
ContrainsAttributeMissing = Constrains attribute missing from Policy Intent
Definition {0}
-RequiredIntentNotFound = Required Intent - {0} not found for ProfileIntent {1}
+RequiredIntentNotFound = [POL30015] Required Intent - {0} not found for
ProfileIntent {1}
QualifiableIntentNotFound = Qualifiable Intent - {0} not found for
QualifiedIntent {1}
ErrorInPolicyIntentDefinition = Error in PolicyIntent Definition - {0} {1}
-ExcludedIntentNotFound = Excluded Intent {0} not found for intent {1}
+ExcludedIntentNotFound = [POL30016] Excluded Intent {0} not found for intent
{1}
UnrecognizedIntentAttachPointType = Unrecognized IntentAttachPointType - {0}
RequiredAttributeMissing = Required attribute {0} missing from extension type
definition
AlwaysProvidedIntentNotFound = Always Provided Intent - {0} not found for
ExtensionType {1}
Modified:
tuscany/sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/definitions-validation-messages.properties
URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/definitions-validation-messages.properties?rev=930039&r1=930038&r2=930039&view=diff
==============================================================================
---
tuscany/sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/definitions-validation-messages.properties
(original)
+++
tuscany/sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/definitions-validation-messages.properties
Thu Apr 1 16:49:05 2010
@@ -22,4 +22,4 @@
DuplicateIntent = [ASM10001,POL30002] Duplicate intent {0} found in domain
DuplicatePolicysSet = Duplicate policy set {0} found in domain
DuplicateImplementationType = Duplicate implementation type {0} found in domain
-DuplicateBindingType = Duplicate binding type {0} found in domain
+DuplicateBindingType = [POL40020] Duplicate binding type {0} found in domain