Project

General

Profile

Actions

feature request #10474

open

Improve occurrence loading for taxon page

Added by Andreas Müller 3 months ago. Updated about 2 months ago.

Status:
New
Priority:
Highest
Category:
cdmlib-remote
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
normal
Tags:

Description

This is strongly related to #10322. There we already split SpecimenOrObservationBaseDTO and subtype DTOs into relatively pure DTOs and loader classes. But there are still a couple of issues left.

  • sort order for derivatives => implemented for sort on the short label
  • loading of the instances still partly takes place in the service classes, therefore some of the computing steps (computing summary label, boolean hasXXX values and updating the data after adding a derivative, ...) still takes place in the DTO but should be triggered by the loader class
  • for map computation there is still a separate call to separate remote method taxonOccurrencesFor which internally does the call to the loader again. We need some similar structure as distributionInfoFor which combines DTO base values as well as map parameters => wrapping occurrenceInfoDto implemented, but not yet including map parameters
  • do load not via model objects
  • adapt DTOs so that they work with jackson (see #note-5, see also #6992)
  • remove all model classes from DTOs (...) => this is mostly done, are there stillopen issues?
  • implement paging (exists for model objects in OccurrenceService.pageRootUnitsByAssociatedTaxon() maybe used in old derivate path view in dataportal and (without paging) in TaxEditor
  • create tests for DTO loading

Related issues

Related to EDIT - feature request #10322: Use DTOs for portal taxon page (cont.)In ProgressAndreas Müller

Actions
Related to EDIT - task #4911: improve performance of distributionInfoFor serviceDuplicateAndreas Müller

Actions
Related to EDIT - task #3336: Improve overall dataportal page loading performanceIn ProgressAndreas Müller

Actions
Related to EDIT - task #6992: Refactor and modernize REST web service API NewAndreas Müller

Actions
Actions #1

Updated by Andreas Müller 3 months ago

Actions #2

Updated by Andreas Müller 3 months ago

  • Related to task #4911: improve performance of distributionInfoFor service added
Actions #3

Updated by Andreas Müller 3 months ago

  • Related to task #3336: Improve overall dataportal page loading performance added
Actions #4

Updated by Andreas Müller 3 months ago

  • Description updated (diff)
Actions #5

Updated by Andreas Müller 3 months ago

  • Description updated (diff)

Joda time does not work with jackson yet:

Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Joda date/time type `org.joda.time.DateTime` not supported by default: add Module "com.fasterxml.jackson.datatype:jackson-datatype-joda" to enable handling (through reference chain: eu.etaxonomy.cdm.api.dto.portal.TaxonPageDto["rootSpecimens"]->java.util.ArrayList[0]->eu.etaxonomy.cdm.api.dto.FieldUnitDTO["derivatives"]->java.util.HashSet[0]->eu.etaxonomy.cdm.api.dto.DerivedUnitDTO["kindOfUnit"]->eu.etaxonomy.cdm.model.term.DefinedTerm["created"])
Actions #6

Updated by Andreas Müller 3 months ago

  • Description updated (diff)
Actions #7

Updated by Andreas Müller 3 months ago

  • Description updated (diff)
Actions #8

Updated by Andreas Müller 3 months ago

  • Description updated (diff)
Actions #10

Updated by Andreas Müller 3 months ago

  • Description updated (diff)
Actions #11

Updated by Andreas Müller 3 months ago

  • Description updated (diff)
Actions #12

Updated by Andreas Müller about 2 months ago

  • Description updated (diff)
Actions #13

Updated by Andreas Müller about 2 months ago

  • Related to task #6992: Refactor and modernize REST web service API added
Actions

Also available in: Atom PDF