History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: POLICY-42
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Michael Rowley (BEA)
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OASIS SCA Policy TC

Infoset for policySet/@appliesTo

Created: 16/Dec/07 10:16 PM   Updated: 24/Feb/09 08:10 AM
Component/s: None
Affects Version/s: 1.1
Fix Version/s: 1.1

Environment: Policy Framework Specification section 3.3 Policy Sets
Issue Links:
Relates to
This issue relates to:
POLICY-15 External mechanism for attaching inte... Minor Closed
 


 Description  « Hide
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.



 All   Comments   Change History      Sort Order:
Kaanu Joshi [25/Mar/08 05:17 AM]
Linking issues 15 and 42 based on Michael Rowley's email. Please find the text below:
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

Dave Booz [02/Oct/08 10:53 AM]
Resolved at Oct F2F with text



Dave Booz [24/Feb/09 08:05 AM]
CD02 accepted on Feb 23 telecon