| Summary: | Publishing Using The JsonRestClient Does Not Support Repository Resource Versioning | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 5 | Reporter: | Van Halbert <vhalbert> |
| Component: | EDS | Assignee: | Van Halbert <vhalbert> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 5.1.0.ER4 | CC: | rhauch |
| Target Milestone: | --- | ||
| Target Release: | FUTURE | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/SOA-2608 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-01-18 20:57:39 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: | |
|
Description
Van Halbert
2010-11-24 15:23:43 UTC
Link: Added: This issue Cloned from MODE-1027 Security: Added: Public Writer: Added: Darrin The ModeShape code was recently changed (via MODE-1027) so that the JsonRestClient will no longer first delete an existing file before publishing. Instead, the client checks whether there is an existing published file in the repository (at the desired location), and if so it does an update (via PUT); otherwise, the client adds the file to the repository (via POST). Then, the RESTful service behavior on PUT is slightly different. If the node that is to be updated is not already 'mix:versionable', then the RESTful service merely updates the node/subgraph. However, if the node being updated already is 'mix:versionable', then the RESTful service first does a JCR checkout of the node before updating, and after updating does a checkin. Therefore, while we are not changing the default behavior of the JsonRestClient to use JCR versioning, it now properly updates any existing content, and the RESTful service will properly use JCR versioning patterns if required when updating the content. We don't want to enable versioning by default, because the use case doesn't require it. After all, the ModeShape repository is NOT intended to be a Version Control System; it is used for publishing metadata and models for access at runtime via VDBs and JDBC. In the future releases we can let Eclipse plugin users decide whether they want to enable versioning. Since this change, the Eclipse plugin can be changed and used with SOA-P 5.1, and the repository will behave correctly. Release Notes Docs Status: Added: Documented as Known Issue Release Notes Text: Added: ModeShape publishing in JBDS will not support artifact versioning in the first release. Document as a KI. Link: Added: This issue is related to MODE-1080 This is the jira enhancement for enabling versioning from the eclipse plugin. |