bbende / nifi

Mirror of Apache NiFi
Apache License 2.0
1 stars 1 forks source link

Add a `description` field to the 'registry create-bucket' command #40

Closed aperepel closed 6 years ago

aperepel commented 6 years ago

The UI does not yet expose the field, but it's everywhere, depends on https://issues.apache.org/jira/browse/NIFIREG-141

bbende commented 6 years ago

This actually already there, the options for create bucket are:

 public void doInitialize(final Context context) {
        addOption(CommandOption.BUCKET_NAME.createOption());
        addOption(CommandOption.BUCKET_DESC.createOption());
    }

It is an optional argument since it is not required by registry.

aperepel commented 6 years ago

I thought the description was missing from the options, I missed it. No worries.