Bug 1140616
| Summary: | refactor "rename" does not update switchyard.xml | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Fuse Service Works 6 | Reporter: | Jorge Morales <jmorales> | ||||||
| Component: | Tooling | Assignee: | Rob Cernich <rcernich> | ||||||
| Status: | CLOSED UPSTREAM | QA Contact: | Len DiMaggio <ldimaggi> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 6.0.0 GA | CC: | rmarting, soa-p-jira | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2025-02-10 03:42:58 UTC | 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Jorge Morales
2014-09-11 10:58:37 UTC
To workaround this issue, please specify switchyard.xml (or *.xml) in the "File name patterns:" field and make sure "Update fully qualified names in non-Java text files (forces preview) is checked. Hi; In a simple switchyard project with a Service (ExampleService) and a Bean Implementation (ExampleServiceBean) where the workaround is applied (refactor ExampleService to NewNameService), I can confirm that the switchyard.xml file is changed however new issues appears. In Problems view I find two errors about compiling/validating switchyard.xml. The problems are: Description Resource Path Location Type Missing Component Service: Service "NewNameService" is declared by the implementation but is missing from "ExampleServiceBean" component in switchyard.xml. switchyard.xml /switchyard-example/src/main/resources/META-INF Unknown SwitchYard Unimplemented Service Declaration: Service "ExampleService" defined by component "ExampleServiceBean" is not provided by the component's implementation. switchyard.xml /switchyard-example/src/main/resources/META-INF Unknown SwitchYard I attached the switchyard.xml before and after the refactor action. Created attachment 936587 [details]
switchyard.xml before to refactor action
Created attachment 936588 [details]
switchyard.xml after to refactor action
This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |