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

ASF GitHub Bot commented on SYNCOPE-660:
----------------------------------------

Github user ilgrosso commented on a diff in the pull request:

    https://github.com/apache/syncope/pull/6#discussion_r31246817
  
    --- Diff: 
console/src/main/java/org/apache/syncope/console/rest/JobRestClient.java ---
    @@ -0,0 +1,31 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + *   http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing,
    + * software distributed under the License is distributed on an
    + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    + * KIND, either express or implied.  See the License for the
    + * specific language governing permissions and limitations
    + * under the License.
    + */
    +package org.apache.syncope.console.rest;
    +
    +import org.springframework.stereotype.Component;
    +
    +@Component
    +public abstract class JobRestClient extends BaseRestClient{
    +
    +    public abstract boolean isJobRunning(final long reportId);
    --- End diff --
    
    `reportId` or `taskId`? Just put `id`


> Extend control over asynchronous job execution
> ----------------------------------------------
>
>                 Key: SYNCOPE-660
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-660
>             Project: Syncope
>          Issue Type: Improvement
>            Reporter: Francesco Chicchiriccò
>            Assignee: Giacomo Lamonaco
>             Fix For: 1.2.5, 2.0.0
>
>
> Asynchronous job execution, generally delegated to Quartz, can currently be 
> checked only at completion, and only by indirectly checking the status on 
> related JPA entities (TaskExec, ReportExec, ...).
> A REST endpoint should be provided for reporting on jobs execution and 
> providing the ability to control (e.g. stop / pause / resume / ...) .



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

Reply via email to