|
|
-
Review Request: SQOOP-494 Create client infrastructure to allow interactive selection of options of a command.Cheolsoo Park 2012-06-28, 01:14
----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/5626/ ----------------------------------------------------------- Review request for Sqoop and Bilung Lee. Description ------- If a command does not have full options specified, instead of displaying full help, the shell could get into an interactive session to gather the options one by one from the user. This addresses bug SQOOP-494. https://issues.apache.org/jira/browse/SQOOP-494 Diffs ----- /branches/sqoop2/client/pom.xml 1354162 /branches/sqoop2/client/src/main/java/org/apache/sqoop/client/shell/SetServerFunction.java 1354162 /branches/sqoop2/client/src/main/java/org/apache/sqoop/client/shell/ShowConnectorFunction.java 1354162 /branches/sqoop2/client/src/main/java/org/apache/sqoop/client/shell/ShowServerFunction.java 1354162 /branches/sqoop2/client/src/main/java/org/apache/sqoop/client/shell/ShowVersionFunction.java 1354162 /branches/sqoop2/client/src/main/java/org/apache/sqoop/client/shell/SqoopFunction.java 1354162 /branches/sqoop2/client/src/main/java/org/apache/sqoop/client/shell/SqoopShell.java 1354162 /branches/sqoop2/client/src/main/java/org/apache/sqoop/client/shell/interactivesession/MultiChoiceQuestion.java PRE-CREATION /branches/sqoop2/client/src/main/java/org/apache/sqoop/client/shell/interactivesession/Question.java PRE-CREATION /branches/sqoop2/client/src/main/java/org/apache/sqoop/client/shell/interactivesession/ShortAnswerQuestion.java PRE-CREATION /branches/sqoop2/client/src/main/java/org/apache/sqoop/client/shell/interactivesession/YesNoQuestion.java PRE-CREATION /branches/sqoop2/client/src/test/java/org/apache/sqoop/client/TestInteractiveSession.java PRE-CREATION Diff: https://reviews.apache.org/r/5626/diff/ Testing ------- Added two unit tests for "set server" and "show server". Thanks, Cheolsoo Park |