Review Board 1.7.22


SQOOP-745 Sqoop2: Change "submit" client command to "submission"

Review Request #8435 - Created Dec. 9, 2012 and submitted

Jarek Cecho
SQOOP-745
Reviewers
Sqoop
sqoop-sqoop2
I've changed name of the submit command back to "submission".

 

Diff revision 1 (Latest)

  1. client/src/main/java/org/apache/sqoop/client/core/Constants.java: Loading...
client/src/main/java/org/apache/sqoop/client/core/Constants.java
Revision 72fe91c409433d2c52e5ef01083e284d1e3e8dc0 New Change
[20] 23 lines
[+20]
24

    
   
24

   
25
  // General string constants
25
  // General string constants
26
  public static final String RESOURCE_NAME = "client-resource";
26
  public static final String RESOURCE_NAME = "client-resource";
27
  public static final String BOLD_STR_SEQUENCE = "@|bold";
27
  public static final String BOLD_STR_SEQUENCE = "@|bold";
28
  public static final String END_STR_SEQUENCE = "|@";
28
  public static final String END_STR_SEQUENCE = "|@";

    
   
29

   
29
  // Options
30
  // Options
30

    
   
31

   
31
  public static final String OPT_XID = "xid";
32
  public static final String OPT_XID = "xid";
32
  public static final String OPT_ALL = "all";
33
  public static final String OPT_ALL = "all";
33
  public static final String OPT_JID = "jid";
34
  public static final String OPT_JID = "jid";
[+20] [20] 21 lines
[+20]
55
  public static final char OPT_WEBAPP_CHAR = 'w';
56
  public static final char OPT_WEBAPP_CHAR = 'w';
56
  public static final char OPT_SERVER_CHAR = 's';
57
  public static final char OPT_SERVER_CHAR = 's';
57
  public static final char OPT_CLIENT_CHAR = 'c';
58
  public static final char OPT_CLIENT_CHAR = 'c';
58
  public static final char OPT_PROTOCOL_CHAR = 'p';
59
  public static final char OPT_PROTOCOL_CHAR = 'p';
59

    
   
60

   
60

    
   

   
61

    
   

   
62
  // Resource keys for various commands, command options,
61
  // Resource keys for various commands, command options,
63
  // functions and descriptions
62
  // functions and descriptions
64
  public static final String CMD_CLONE = "clone";
63
  public static final String CMD_CLONE = "clone";
65
  public static final String CMD_CLONE_SC = "\\cl";
64
  public static final String CMD_CLONE_SC = "\\cl";
66

    
   
65

   
[+20] [20] 10 lines
[+20]
77
  public static final String CMD_SET_SC = "\\st";
76
  public static final String CMD_SET_SC = "\\st";
78

    
   
77

   
79
  public static final String CMD_SHOW = "show";
78
  public static final String CMD_SHOW = "show";
80
  public static final String CMD_SHOW_SC = "\\sh";
79
  public static final String CMD_SHOW_SC = "\\sh";
81

    
   
80

   
82
  public static final String CMD_SUBMISSION = "submit";
81
  public static final String CMD_SUBMISSION = "submission";
83
  public static final String CMD_SUBMISSION_SC = "\\sub";
82
  public static final String CMD_SUBMISSION_SC = "\\sub";
84

    
   
83

   
85
  public static final String CMD_UPDATE = "update";
84
  public static final String CMD_UPDATE = "update";
86
  public static final String CMD_UPDATE_SC = "\\up";
85
  public static final String CMD_UPDATE_SC = "\\up";
87

    
   
86

   
[+20] [20] 54 lines
[+20]
142
      "prompt.fill_conn_metadata";
141
      "prompt.fill_conn_metadata";
143
  public static final String RES_PROMPT_FILL_JOB_METADATA =
142
  public static final String RES_PROMPT_FILL_JOB_METADATA =
144
      "prompt.fill_job_metadata";
143
      "prompt.fill_job_metadata";
145

    
   
144

   
146

    
   
145

   
147

    
   

   
148

    
   

   
149
  public static final String RES_CLONE_USAGE =
146
  public static final String RES_CLONE_USAGE =
150
      "clone.usage";
147
      "clone.usage";
151
  public static final String RES_CLONE_CONN_SUCCESSFUL =
148
  public static final String RES_CLONE_CONN_SUCCESSFUL =
152
      "clone.conn_successful";
149
      "clone.conn_successful";
153
  public static final String RES_CLONE_JOB_SUCCESSFUL =
150
  public static final String RES_CLONE_JOB_SUCCESSFUL =
154
      "clone.job.successful";
151
      "clone.job.successful";
155
  public static final String RES_CLONE_CLONING_CONN =
152
  public static final String RES_CLONE_CLONING_CONN =
156
      "clone.cloning_conn";
153
      "clone.cloning_conn";
157
  public static final String RES_CLONE_CLONING_JOB =
154
  public static final String RES_CLONE_CLONING_JOB =
158
      "clone.cloning_job";
155
      "clone.cloning_job";
159

    
   
156

   
160

    
   

   
161
  public static final String RES_CREATE_USAGE =
157
  public static final String RES_CREATE_USAGE =
162
      "create.usage";
158
      "create.usage";
163
  public static final String RES_CREATE_CONN_SUCCESSFUL =
159
  public static final String RES_CREATE_CONN_SUCCESSFUL =
164
      "create.conn_successful";
160
      "create.conn_successful";
165
  public static final String RES_CREATE_JOB_SUCCESSFUL =
161
  public static final String RES_CREATE_JOB_SUCCESSFUL =
166
      "create.job_successful";
162
      "create.job_successful";
167
  public static final String RES_CREATE_CREATING_CONN =
163
  public static final String RES_CREATE_CREATING_CONN =
168
      "create.creating_conn";
164
      "create.creating_conn";
169
  public static final String RES_CREATE_CREATING_JOB =
165
  public static final String RES_CREATE_CREATING_JOB =
170
      "create.creating_job";
166
      "create.creating_job";
171

    
   
167

   
172

    
   

   
173
  public static final String RES_DELETE_USAGE =
168
  public static final String RES_DELETE_USAGE =
174
      "delete.usage";
169
      "delete.usage";
175

    
   
170

   
176
  public static final String RES_HELP_USAGE =
171
  public static final String RES_HELP_USAGE =
177
      "help.usage";
172
      "help.usage";
[+20] [20] 47 lines
[+20]
225
  public static final String RES_SHOW_PROMPT_CONNS_TO_SHOW =
220
  public static final String RES_SHOW_PROMPT_CONNS_TO_SHOW =
226
      "show.prompt_conns_to_show";
221
      "show.prompt_conns_to_show";
227
  public static final String RES_SHOW_PROMPT_CONN_INFO =
222
  public static final String RES_SHOW_PROMPT_CONN_INFO =
228
      "show.prompt_conn_info";
223
      "show.prompt_conn_info";
229

    
   
224

   
230

    
   

   
231
  public static final String RES_SHOW_PROMPT_DISPLAY_ALL_CONNECTORS =
225
  public static final String RES_SHOW_PROMPT_DISPLAY_ALL_CONNECTORS =
232
      "show.prompt_display_all_connectors";
226
      "show.prompt_display_all_connectors";
233
  public static final String RES_SHOW_PROMPT_DISPLAY_CONNECTOR_CID =
227
  public static final String RES_SHOW_PROMPT_DISPLAY_CONNECTOR_CID =
234
      "show.prompt_display_connector_cid";
228
      "show.prompt_display_connector_cid";
235
  public static final String RES_SHOW_CONNECTOR_USAGE =
229
  public static final String RES_SHOW_CONNECTOR_USAGE =
[+20] [20] 49 lines
[+20]
285
  public static final String RES_SHOW_PROMPT_VERSION_CLIENT_SERVER =
279
  public static final String RES_SHOW_PROMPT_VERSION_CLIENT_SERVER =
286
      "show.prompt_version_client_server";
280
      "show.prompt_version_client_server";
287
  public static final String RES_SHOW_PROMPT_VERSION_PROTOCOL =
281
  public static final String RES_SHOW_PROMPT_VERSION_PROTOCOL =
288
      "show.prompt_version_protocol";
282
      "show.prompt_version_protocol";
289

    
   
283

   
290

    
   

   
291

    
   

   
292
  public static final String RES_SQOOP_SHELL_BANNER =
284
  public static final String RES_SQOOP_SHELL_BANNER =
293
      "sqoop.shell_banner";
285
      "sqoop.shell_banner";
294
  public static final String RES_SQOOP_PROMPT_SHELL_LOADRC =
286
  public static final String RES_SQOOP_PROMPT_SHELL_LOADRC =
295
      "sqoop.prompt_shell_loadrc";
287
      "sqoop.prompt_shell_loadrc";
296
  public static final String RES_SQOOP_PROMPT_SHELL_LOADEDRC =
288
  public static final String RES_SQOOP_PROMPT_SHELL_LOADEDRC =
297
      "sqoop.prompt_shell_loadedrc";
289
      "sqoop.prompt_shell_loadedrc";
298

    
   
290

   
299

    
   
291

   
300
  public static final String RES_SUBMISSION_USAGE =
292
  public static final String RES_SUBMISSION_USAGE =
301
      "submission.usage";
293
      "submission.usage";
302

    
   
294

   
303

    
   

   
304
  public static final String RES_UPDATE_USAGE =
295
  public static final String RES_UPDATE_USAGE =
305
      "update.usage";
296
      "update.usage";
306
  public static final String RES_UPDATE_UPDATING_CONN =
297
  public static final String RES_UPDATE_UPDATING_CONN =
307
      "update.updating_conn";
298
      "update.updating_conn";
308
  public static final String RES_UPDATE_CONN_SUCCESSFUL =
299
  public static final String RES_UPDATE_CONN_SUCCESSFUL =
[+20] [20] 9 lines
  1. client/src/main/java/org/apache/sqoop/client/core/Constants.java: Loading...