Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1039081 - Please remove "path" and "relative-to" attributes from CLI.
Please remove "path" and "relative-to" attributes from CLI.
Status: CLOSED DEFERRED
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Transaction Manager (Show other bugs)
6.2.0
Unspecified Unspecified
unspecified Severity low
: ---
: TBD EAP 7
Assigned To: Carlo de Wolf
Hayk Hovsepyan
Russell Dickenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-06 09:45 EST by Hayk Hovsepyan
Modified: 2015-07-09 02:33 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Due to functionality not included in JBoss EAP 6, the `path` and `relative-to` attributes have no use in the transactions subsystem of the CLI. These attributes have been deprecated in this release of the product and will be removed entirely in a future release.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-03-31 08:58:22 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker WFLY-4445 Major Resolved Remove "path" and "relative-to" attributes from CLI from transactions subsystem 2017-11-08 15:27 EST

  None (edit)
Description Hayk Hovsepyan 2013-12-06 09:45:19 EST
Description of problem:
As "process-id/file" functionality is not yet added in EAP, the "path" and "relative-to" attributes are useless in transactions subsystem of CLI.
Please remove them.
Also please remove them from "jboss-as-txn***.xsd" file as well.
Comment 1 Brian Stansberry 2013-12-06 12:33:59 EST
We cannot remove these without breaking API. Whether they do anything or not, they are part of the API.

We could change the subsystem to annotate them as deprecated and log a WARN or INFO message if they are set. And remove them from the next version of the xsd and the parser for that (but they remain in the previous xsds and their associated parsers.) But does it make more sense to instead spend that energy actually exposing the process-id/file functionality?

Note that the CoreEnvironmentBean varDir property that these attribute feed says nothing about being limited in use only to process-id/file functionality. So before making any change I'd need to see a clear statement from the Narayana team that it's safe to no longer set the property and will remain safe.
Comment 2 tom.jenkinson 2014-05-07 05:56:58 EDT
Hi Brian,

There are two relative-to settings. One called object-store-relative-to and that still should work. There is also a relative-to for the core environment service which is not used. The only process ID types we use are the uuid method and the socket process method. relative-to and path although modifiable would have no affect on the transaction manager.

I think it must have been there since the start when all the config must have been converted. It would not ever activate though.

I realise you assigned it to me, do you want us to deprecate it or are you happy to?

Thanks,
Tom
Comment 3 Brian Stansberry 2014-05-07 08:29:58 EDT
Hi Tom,

I'll take care of the deprecation.
Comment 4 tom.jenkinson 2014-05-07 10:06:47 EDT
Thanks Brian - much appreciated
Comment 5 Brian Stansberry 2014-05-07 16:03:28 EDT
Pull request to deprecate these is https://github.com/jbossas/jboss-eap/pull/1311. I'm not moving this to POST status though or scheduling for 6.3 as this deprecation work is just step one; the requested removal will be in a later release.
Comment 6 tom.jenkinson 2014-09-26 16:48:19 EDT
Is it normal to leave a BZ open once the code is deprecated? I would expect there is some process to sweep these at a later date? If not, please can we update this to TBDEAP7?
Comment 8 tom.jenkinson 2015-03-02 07:07:35 EST
Added flags to get the deprecated code release noted
Comment 9 tom.jenkinson 2015-03-02 07:17:50 EST
Just to confirm that the deprecation has been done for EAP 6 and the actual removal will not be done for EAP6 but for EAP7. I just need to get the release notes update to reflect the fact the deprecation was done.
Comment 12 Ondrej Chaloupka 2015-03-19 07:24:44 EDT
Created a WFLY issue for this could be fixed for EAP7
https://issues.jboss.org/browse/WFLY-4445
Comment 13 Carlo de Wolf 2015-03-31 08:58:22 EDT
Deferred to https://issues.jboss.org/browse/WFLY-4445
Comment 15 JBoss JIRA Server 2015-07-09 02:33:24 EDT
Amos Feng <zfeng@redhat.com> updated the status of jira WFLY-4445 to Coding In Progress

Note You need to log in before you can comment on or make changes to this bug.