Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 718AC200D39 for ; Fri, 27 Oct 2017 16:00:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6F90A1609E9; Fri, 27 Oct 2017 14:00:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B4428160BDC for ; Fri, 27 Oct 2017 16:00:04 +0200 (CEST) Received: (qmail 26134 invoked by uid 500); 27 Oct 2017 14:00:03 -0000 Mailing-List: contact dev-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list dev@sling.apache.org Received: (qmail 26083 invoked by uid 99); 27 Oct 2017 14:00:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Oct 2017 14:00:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id BC5FD1805C8 for ; Fri, 27 Oct 2017 14:00:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ZY9bgpwDb1J5 for ; Fri, 27 Oct 2017 14:00:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 375565FE64 for ; Fri, 27 Oct 2017 14:00:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8DA54E045B for ; Fri, 27 Oct 2017 14:00:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 49E84212F7 for ; Fri, 27 Oct 2017 14:00:00 +0000 (UTC) Date: Fri, 27 Oct 2017 14:00:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@sling.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SLING-7197) Completed Scheduled Jobs are not getting fetched MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 27 Oct 2017 14:00:05 -0000 [ https://issues.apache.org/jira/browse/SLING-7197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16222415#comment-16222415 ] ASF GitHub Bot commented on SLING-7197: --------------------------------------- cziegeler commented on issue #1: SLING-7197 Completed Scheduled Jobs are not getting fetched. URL: https://github.com/apache/sling-org-apache-sling-event/pull/1#issuecomment-339979327 Patch lgtm, can you confirm that it solves the problem at hand? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org > Completed Scheduled Jobs are not getting fetched > ------------------------------------------------ > > Key: SLING-7197 > URL: https://issues.apache.org/jira/browse/SLING-7197 > Project: Sling > Issue Type: Bug > Components: API > Affects Versions: Event 4.2.8 > Reporter: Praful Vaishnav > Fix For: Event 4.2.10 > > > Scheuled jobs are created as _slingevent:TimedEvent_ under path _/var/eventing/scheduled-jobs_. When these jobs execution are complete, they are moved under path `/var/eventing/jobs/finished`. Prior to completion, we can get scheduled jobs using [API JobManager.getScheduledJobs| https://sling.apache.org/apidocs/sling7/org/apache/sling/event/jobs/JobManager.html#getScheduledJobs-java.lang.String-long-java.util.Map...- ]. But I could not find any API to get scheduled jobs which are completed. [API JobManager.findJobs| https://sling.apache.org/apidocs/sling7/org/apache/sling/event/jobs/JobManager.html#findJobs-org.apache.sling.event.jobs.JobManager.QueryType-java.lang.String-long-java.util.Map...-] returns only jobs of type _slingevent:Job_ -- This message was sent by Atlassian JIRA (v6.4.14#64029)