Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327474

Summary: Better access to aspects in transformations
Product: [SOA] JWT Reporter: Marc Dutoo <marc.dutoo>
Component: TransformationsAssignee: Marc Dutoo <marc.dutoo>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 1.0.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Marc Dutoo CLA 2010-10-11 13:15:40 EDT
1.
In the aspect properties transformation, not all aspects are included in the generated properties file. Typically, aspects of elements outside of an Activity (like Roles) are not available in the generated properties file.

However, this would be fairly useful. For example, a Role could have an aspect that holds information configuring how said Role maps to actual users, or allowing to dynamically change the mapping (like Bonita's variable mapper). So in jwt-transformation-properties, ExtractPropertiesService should also out them.


2.
In the XSL transformation tools, there are no ways to access aspect properties when transforming a workflow model using XSL.

However, this would be very useful. For instance, there is a good chance that any aspect that has an impact on the execution of the system might be required in the XSL transformation that produces an executable workflow model.
Comment 1 Marc Dutoo CLA 2010-10-11 13:37:02 EDT
1. OK

2. Improved CustomXslFunctions, still have to activate the code using it in XSL transformation service

& additional tests and samples still welcome.
Comment 2 Marc Dutoo CLA 2010-10-11 13:38:26 EDT
(in revision 980)
Comment 3 Marc Dutoo CLA 2010-11-03 12:40:52 EDT
2. activated the code using it in XSL transformation service
Comment 4 Marc Dutoo CLA 2011-06-06 11:49:31 EDT
Tested, works OK.