Description
For example, look at any JDBC connector commands or ListJndiBindingCommand and could be more. When you launch gfsh (and not connected) then you can see these commands are available.
create jdbc-connection (Available) (Experimental) Create a connection for communicating with a database through jdbc. create jdbc-mapping (Available) (Experimental) Create a mapping for a region for use with a JDBC database connection.
There is a test to test the availability marker but the test itself has a bug due to which the command authors are not warned about the marker. Look into CommandAvailabilityIndicatorTest
if (cliMetaData != null && !cliMetaData.shellOnly()) -> here cliMetaData could be null if the command author forget to annotate the command.
Attachments
Issue Links
- is duplicated by
-
GEODE-5048 Availability Indicator for "list jndi-bindings", "list jdbc-connections" and "list jdbc-mappings" are wrong
- Closed