[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [sca-policy] ISSUE 42: Infoset for policySet/@appliesTo
This issue should be marked as depending
on issue 15 (external attachment of policy sets). The issue 15 resolution is
likely going to make use of an XPath expression that runs on a post-processed
infoset. The infoset that policySet/@appliesTo is executed on should be the
same infoset as is used for issue 15, unless there is a good reason not to. The
use cases are almost identical so the arguments for post-processing are the
same. The main difference, in my way of thinking, is that external attachment
is “pushing” policySets onto the infoset, whereas @appliesTo is “pulling”
them onto the infoset based on intents. One possible exception to this would be
that the policySet algorithm can’t be applied to the infoset prior to
executing @appliesTo, since @appliesTo evaluation is part of that policySet
algorithm (it would be a circular definition). Michael From: Joshi,
Kaanu [mailto:Kaanu.Joshi@patni.com] Hi, A new issue has been
created in the SCA Policy TC JIRA. The URL for this issue is http://www.osoa.org/jira/browse/POLICY-42
. Thanks and Regards, Kaanu Joshi From: RAISER: TARGET: Policy Framework Specification
section 3.3 Policy Sets DESCRIPTION: In the existing policy
framework specification, the @appliesTo attribute is described as being
executed against the composite file as it was written. However, the
composite contains bindings, targets and policies that may be overridden by the
component that uses that composite (with implementation.composite). In
this case, the writer of the policySet usually wants the @appliesTo expression
to be evaluated against the effective
description of the components/bindings/etc. PROPOSAL: @appliesTo should be applied to a
pre-processed infoset. The processing step should modify the composite
file by applying any overrides, reference targets or property values that are
specified by the component that uses the composite. |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]