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

Amareshwari Sriramadasu edited comment on LENS-1259 at 8/8/16 9:18 AM:
-----------------------------------------------------------------------

Here is the summary of ask and the approach :

Main usecases :
 - Users are interested to run the same report again - with no modifications.
 - Admin would like to re-submit a query, for debugging purpose or upon system 
failures.

Here are the characteristics of re-submission :
- Re-submit will always give a new handle to the query
- Re-submit is allowed by any user. We should provide optional email 
notification if submitter is different from re-submitter - mainly when admins 
do re-submit.
- Will be re-submitted with exact configuration as the earlier query. Will 
provide an option to ignore earlier configuration.
- Will be re-submitted with same query name.
- Will be re-submitted submitter as earlier submitter. Will provide an option 
to override submitter as current user.

REST API :
{code}
POST queries/{queryHandle} : Resubmit query and return a new query handle.
{code}
Query params :
boolean ignoreQueryConf Default:false
boolean overrideSubmitter Default:false
boolean notifyThruEmail Default:false

Thoughts?



was (Author: amareshwari):
Here is the summary of ask and the approach :

Main usecases :
 - Users are interested to run the same report again - with no modifications.
 - Admin would like to re-submit a query, for debugging purpose or upon system 
failures.

Here are the characteristics of re-submission :
- Re-submit will always give a new handle to the query
- Re-submit is allowed by any user. We should provide optional email 
notification if submitter is different from re-submitter - mainly when admins 
do re-submit.
- Will be re-submitted with exact configuration as the earlier query. Will 
provide an option to ignore earlier configuration.
- Will be re-submitted with same query name.
- Will be re-submitted submitter as earlier submitter. Will provide an option 
to override submitter as current user.

REST API :
POST queries/{queryHandle} : Resubmit query and return a new query handle.
Query params :
boolean ignoreQueryConf Default:false
boolean overrideSubmitter Default:false
boolean notifyThruEmail Default:false

Thoughts?


> Add ability to re-submit a query
> --------------------------------
>
>                 Key: LENS-1259
>                 URL: https://issues.apache.org/jira/browse/LENS-1259
>             Project: Apache Lens
>          Issue Type: Improvement
>          Components: server
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>             Fix For: 2.7
>
>
> This requirement is to re-submit a query given a query handle. It should be 
> resubmitted with same query name, query configuration. Relaunch to be done as 
> same submitted user.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to