[GLASSFISH-15458] Rewrite asadmin set, get, list subcommands with devtests Created: 06/Jan/11 Updated: 17/Oct/12
|Fix Version/s:||future release|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Attachments:||Dotted Names and Object Names.htm|
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.