[GLASSFISH-15458] Rewrite asadmin set, get, list subcommands with devtests Created: 06/Jan/11  Updated: 17/Oct/12

Status: Open
Project: glassfish
Component/s: admin
Affects Version/s: 3.1
Fix Version/s: future release

Type: Improvement Priority: Critical
Reporter: Tom Mueller Assignee: zhouronghui
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: HTML File Dotted Names and Object Names.htm    
Issue Links:
depends on GLASSFISH-6310 get server.* should return list of im... Open
depends on GLASSFISH-15418 cannot change description of props co... Resolved
depends on GLASSFISH-9489 asadmin get "*level*" produces no result Open
blocks GLASSFISH-15731 properties/attributes changes result ... Open
blocks GLASSFISH-16165 Make the set command faster Open
Tags: ee7ri_cleanup_deferred


During the 3.1 release, many bugs have been filed against the set, get, and list asadmin subcommands, especially the set command. There isn't any comprehensive developer test suite that tests the functionality of these commands. The manual page documentation doesn't specify the complete behavior of the commands. For example, for any particular attribute, there are two ways to specify the attribute, e.g.:




but the dotted-name manual page doesn't mention this.

One problem within the code is that the data structures that are manipulated by the commands are not precisely defined. For example, there is a method called V2DottedNameSupport.getAliasedParent, that returns a TreeNode array with name and relativeName members. However, the meaning of "name" and "relativeName" within that structure are not defined clearly, and depending on different situations, different values are returned.

This enhancement request is meant to be an umbrella feature to request the rewriting of these commands and to identify specific bugs that need to be fixed as part of the rewrite. This work must also include developing a comprehensive developer test suite for list, get and set.

Comment by Tom Mueller [ 10/Jan/11 ]

The DottedNamesObjectNames.htm file contains information from the AS8 release about the definition of dotted names. This should be helpful in reimplementing the set/get/list commands.

Comment by Tom Mueller [ 17/Oct/12 ]

Marking the fix version field as "future-release". This is based on an evaluation by John, Michael, and Tom WRT to the PRD for the Java EE 7 RI/SDK. This issues was deemed to not be a P1 for that release. If this is in error or there are other reasons why this RFE should be targeted for the Java EE 7 RI/SDK release, then change the fix version field back to an appropriate build.

Generated at Sun Nov 29 18:40:42 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.