Project

General

Profile

feature request #4754

Implement webservice to get the date of the last change or to check if there are any changes since a certain date

Added by Andreas Müller about 6 years ago. Updated about 1 month ago.

Status:
New
Priority:
Priority14
Category:
cdmlib-remote
Target version:
Start date:
03/30/2015
Due date:
% Done:

0%

Severity:
normal

Description

This can be implemented via the Auditing information.

Input will be a certain date, output boolean value saying if anything has changed since that date (any AuditEvent after this date exists).

see also #4755

History

#1 Updated by Andreas Müller about 6 years ago

see also #4755 for a similar request

#2 Updated by Patrick Plitzner over 5 years ago

  • Assignee changed from Andreas Müller to p.plitzner -
  • Target version deleted (Redlist 2020)

#3 Updated by Andreas Kohlbecker over 5 years ago

Is this a requirement for a special service only or a general feature?

Who is the audience for this information, is it for machines only or for humans? I am asking since our REST services naturally already implement the protocol (HTTP header) to communicate this information. Only our persistence layer it not capable of providing correct the last updated timestamp for complex objects.

BTW: the OAI-PMH webservice already implements a similar function.

#4 Updated by Andreas Müller over 5 years ago

It is meant for machines. Good to know about the http and OAI-PMH solutions.

However, most important here is to implement a functionality to really compute the data in persistence/service (probably services as buisness logic is involved to know what data belongs to a certain data unit (e.g. which data belongs to a taxon and defines an update)

#5 Updated by Andreas Müller over 4 years ago

  • Description updated (diff)
  • Due date set to 05/31/2016
  • Target version changed from 228 to Redlist 2020 - Tasks without Milestone

#6 Updated by Andreas Müller over 1 year ago

  • Target version changed from Redlist 2020 - Tasks without Milestone to Release 5.12

#7 Updated by Andreas Müller over 1 year ago

  • Due date deleted (05/31/2016)
  • Assignee changed from Patrick Plitzner to Andreas Müller

#8 Updated by Andreas Müller over 1 year ago

  • Priority changed from New to Priority14

#9 Updated by Andreas Müller about 1 year ago

  • Target version changed from Release 5.12 to Release 5.13

#10 Updated by Andreas Müller about 1 year ago

  • Target version changed from Release 5.13 to Release 5.14

#11 Updated by Andreas Müller about 1 year ago

  • Target version changed from Release 5.14 to Release 5.15

#12 Updated by Andreas Müller 10 months ago

  • Target version changed from Release 5.15 to Release 5.18

#13 Updated by Andreas Müller 5 months ago

  • Target version changed from Release 5.18 to Release 5.19

#14 Updated by Andreas Kohlbecker 5 months ago

  • Private changed from Yes to No

BTW: this is the relevant method in the AbstractOaiPmhController: eu.etaxonomy.cdm.remote.controller.oaipmh.AbstractOaiPmhController.listRecords(@RequestParam(value="from", required=false) DateTime from, @RequestParam(value="until", required=false) DateTime until, @RequestParam(value="metadataPrefix", required=true) MetadataPrefix metadataPrefix, @RequestParam(value="set", required=false) SetSpec set). Internally it used the IAuditEventService.find() method

#15 Updated by Andreas Müller 3 months ago

  • Target version changed from Release 5.19 to Release 5.21

#16 Updated by Andreas Müller about 1 month ago

  • Target version changed from Release 5.21 to Release 5.22

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)