You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Patrick Rhomberg (JIRA)" <ji...@apache.org> on 2018/05/16 17:13:00 UTC

[jira] [Created] (GEODE-5225) CreateAsyncEventQueueCommand duplicates class-with-parameters efforts.

Patrick Rhomberg created GEODE-5225:
---------------------------------------

             Summary: CreateAsyncEventQueueCommand duplicates class-with-parameters efforts.
                 Key: GEODE-5225
                 URL: https://issues.apache.org/jira/browse/GEODE-5225
             Project: Geode
          Issue Type: Bug
          Components: gfsh
            Reporter: Patrick Rhomberg


GEODE-3915 introduced the {{ClassName}} type and associated gfsh command-line converters to accept both a classname and associated parameters in a JSON format.  E.g.,

{noformat}
create async-event-queue \
--listener=path.to.my.ListenerClass{'param1':'value1','param2':'value2'}
{noformat}

The 'create async-event-queue' command currently duplicates this effort in a less elegant way, in the form of
{noformat}
create async-event-queue --listener=path.to.my.ListenerClass --listener-param=param1 --listener-param=value1 --listener-param=param2 --listener-param=value2
{noformat}

The {{listener}} option should be migrated to {{ClassName}} type and the {{listener-param}} option should be deprecated in favor of this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)