Bug 996943
| Summary: | Policy definitions are not stored in the S-RAMP repository as distinct entities | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Fuse Service Works 6 | Reporter: | Stefan Bunciak <sbunciak> |
| Component: | DT Governance | Assignee: | Eric Wittmann <eric.wittmann> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Sedlacek <jsedlace> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.0 GA | CC: | atangrin, oskutka, soa-p-jira |
| Target Milestone: | ER3 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Stefan Bunciak
2013-08-14 10:34:07 UTC
The SwitchYard deriver (responsible for auto-deriving content from the switchyard.xml file) pulls out the policy information as simple custom properties rather than distinct derived artifacts. The reason is that the policy in the switchyard.xml is a simple value of an attribute. I used this information as the basis for this: https://docs.jboss.org/author/display/SWITCHYARD/Policy The JIRA for the development of the switchyard deriver is: https://issues.jboss.org/browse/SRAMP-156 I believe the relevant pull request for the policy attribute is: https://github.com/Governance/s-ramp/pull/271 Since the policy is just a value in an attribute, there didn't seem to be a point to making it a separate unique artifact (there is no additional meta-data). If more needs to be done I'm happy to be advised what it is. :) This SwitchYard deriver is just exploring implementation.bean tag for the 'requires' attribute but security policies are defined in service tag[0] so security/custom policies are just ignored. [0] https://github.com/jboss-switchyard/quickstarts/blob/master/demos/policy-security-wss-username/src/main/resources/META-INF/switchyard.xml Eric Wittmann <eric.wittmann> updated the status of jira SRAMP-231 to Coding In Progress Eric Wittmann <eric.wittmann> updated the status of jira SRAMP-231 to Resolved Eric Wittmann <eric.wittmann> updated the status of jira SRAMP-231 to Closed Eric Wittmann <eric.wittmann> made a comment on jira SRAMP-231 Note - I added new derived artifacts with type ComponentService. This new artifact type is for the <service> children from a <component> This is where you can find the 'requires' attribute value. This patch probably hasn't been included in ER2 build. I've deployed SwitchYard application with custom policy defined and an application with security policy defined and no artifacts with 'requires' attribute were found in S-RAMP repository browser (http://localhost:8080/s-ramp-ui/#artifacts). Stefan, am I correct in assuming that you don't get any derived artifacts of type ComponentService at all? Your assumption is correct. (In reply to Eric Wittmann from comment #8) > Stefan, am I correct in assuming that you don't get any derived artifacts of > type ComponentService at all? Verified in FSW 6.0.0.ER3. Artifacts of type SwitchYardComponentService contains 'requires' attribute with appropriate policy type (security,transaction,custom). |