[ 
https://issues.apache.org/jira/browse/KNOX-3002?focusedWorklogId=901876&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-901876
 ]

ASF GitHub Bot logged work on KNOX-3002:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Jan/24 08:12
            Start Date: 26/Jan/24 08:12
    Worklog Time Spent: 10m 
      Work Description: smolnar82 commented on code in PR #835:
URL: https://github.com/apache/knox/pull/835#discussion_r1467330890


##########
gateway-server/src/main/java/org/apache/knox/gateway/util/KnoxCLI.java:
##########
@@ -2392,6 +2413,55 @@ public String getUsage() {
 
   }
 
+  public class GenerateDescriptorCommand extends Command {
+
+    public static final String USAGE =
+            "generate-descriptor --service-urls-file \"path/to/urls.txt\" 
--service-name SERVICE_NAME \n" +
+                    "--provider-name my-provider.json --descriptor-name 
my-descriptor.json \n" +
+                    "[--output-dir /path/to/output_dir] \n" +
+                    "[--force] \n";
+    public static final String DESC =
+            "Create Knox topology descriptor file for one service\n"
+                    + "Options are as follows: \n"
+                    + "--service-urls-file (required) path to a text file 
containing service urls \n"
+                    + "--service-name (required) the name of the service, such 
as WEBHDFS, IMPALAUI or HIVE \n"
+                    + "--descriptor-name (required) name of descriptor to be 
created \n"
+                    + "--provider-name (required) name of the referenced 
shared provider \n"
+                    + "--output-dir (optional) output directory to save the 
descriptor file \n"

Review Comment:
   This is an optional field. The default value is missing from the description.





Issue Time Tracking
-------------------

    Worklog Id:     (was: 901876)
    Time Spent: 40m  (was: 0.5h)

> KnoxCLI command for generating descriptor for a role type from a list of hosts
> ------------------------------------------------------------------------------
>
>                 Key: KNOX-3002
>                 URL: https://issues.apache.org/jira/browse/KNOX-3002
>             Project: Apache Knox
>          Issue Type: New Feature
>          Components: KnoxCLI
>            Reporter: Attila Magyar
>            Assignee: Attila Magyar
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to