sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Veena Basavaraj (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SQOOP-1436) Sqoop2: Custom form name
Date Fri, 22 Aug 2014 19:42:11 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14107147#comment-14107147
] 

Veena Basavaraj edited comment on SQOOP-1436 at 8/22/14 7:40 PM:
-----------------------------------------------------------------

Minor questions: should we
- Also validate that the custom name meets the java identifier requirements?
- Would it be good to enforce some length restriction on this attribute? Things like this
might be hard to change later.


was (Author: vybs):
Minor questions: should we
-Also validate that the custom name meets the java identifier requirements?
- would it be good to enforce some length restriction on this attribute? Things like this
might be hard to change later.

> Sqoop2: Custom form name
> ------------------------
>
>                 Key: SQOOP-1436
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1436
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Abraham Elmahrek
>            Assignee: Veena Basavaraj
>              Labels: newbie
>             Fix For: 1.99.4
>
>
> Form names and input names are currently derived from the configuration property name
that they exist in (example 1). It would be nice if custom names could be provided so that
the property names could remain simple.
> Example 1:
> The derived form name for the "table" property in the configuration object below is "table".
> {code}
> @ConfigurationClass
> public class FromJobConfiguration {
>   @Form public TableForm table;
>   ...
> }
> {code}
> Example 2:
> The form name for the "table" member in the the configuration object below is "from-table".
> {code}
> @ConfigurationClass
> public class FromJobConfiguration {
>   @Form(name="from-table")
>   public TableForm table;
>   ...
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message