Bug 1039081 - Please remove "path" and "relative-to" attributes from CLI.
Summary: Please remove "path" and "relative-to" attributes from CLI.
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Transaction Manager
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: TBD EAP 7
Assignee: Carlo de Wolf
QA Contact: Hayk Hovsepyan
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-06 14:45 UTC by Hayk Hovsepyan
Modified: 2015-07-09 06:33 UTC (History)
6 users (show)

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.
Clone Of:
Environment:
Last Closed: 2015-03-31 12:58:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-4445 0 Major Resolved Remove "path" and "relative-to" attributes from CLI from transactions subsystem 2017-11-08 20:27:53 UTC

Description Hayk Hovsepyan 2013-12-06 14:45:19 UTC
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 17:33:59 UTC
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 09:56:58 UTC
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 12:29:58 UTC
Hi Tom,

I'll take care of the deprecation.

Comment 4 tom.jenkinson 2014-05-07 14:06:47 UTC
Thanks Brian - much appreciated

Comment 5 Brian Stansberry 2014-05-07 20:03:28 UTC
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 20:48:19 UTC
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 12:07:35 UTC
Added flags to get the deprecated code release noted

Comment 9 tom.jenkinson 2015-03-02 12:17:50 UTC
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 11:24:44 UTC
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 12:58:22 UTC
Deferred to https://issues.jboss.org/browse/WFLY-4445

Comment 15 JBoss JIRA Server 2015-07-09 06:33:24 UTC
Amos Feng <zfeng> 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.