Project

General

Profile

task #9259

reduce fields in TermBase json serializations

Added by Andreas Kohlbecker about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Priority13
Category:
cdmlib-remote
Target version:
Start date:
10/19/2020
Due date:
% Done:

100%

Severity:
normal

Description

The fields in json serializations produced by the TermBaseBeanProcessor can be reduced.

here an example of the current situation:


"kindOfUnit": {

    "uri": "",
    "class": "DefinedTerm",
    "updated": "2019-02-05T17:23:15.000+01:00",
    "created": "2019-02-05T17:23:15.000+01:00",
    "protectedTitleCache": false,
    "uuid": "87adcd8d-ce69-4d16-ac35-4e77fb698e00",
    "termType": "KindOfUnit",
    "titleCache": "Unpublished image",
    "representation_L10n": "Unpublished image",
    "representation_L10n_abbreviatedLabel": "",
    "representation_L10n_languageIso": "eng",
    "representation_L10n_languageUuid": "e9f8cdb7-6819-44e8-95d3-e2d0690c3523"

the following fields are to be excluded in TermBaseBeanProcessor:

  • updated
  • created
  • protectedTitleCache
  • titleCache (not needed since only the *_L10n should be used by clients)
  • uri (should be retrieved via a separate request to the term service if needed)

Related issues

Related to Edit - task #9252: Harmonize SpecimenOrOberservationBase related DTOs Closed 10/14/2020

Associated revisions

Revision 3ae4f12f (diff)
Added by Andreas Kohlbecker about 1 month ago

fix #9259 reducing fields in TermBase json serializations

Revision 3c3d7701 (diff)
Added by Andreas Kohlbecker about 1 month ago

ref #9259 adapting dataportal to modified term serialization

Revision 098e4095 (diff)
Added by Andreas Kohlbecker about 1 month ago

ref #9259 adapting portal

History

#1 Updated by Andreas Kohlbecker about 1 month ago

  • Status changed from New to In Progress
  • Priority changed from New to Priority13

#2 Updated by Andreas Kohlbecker about 1 month ago

  • Description updated (diff)

#3 Updated by Andreas Kohlbecker about 1 month ago

  • Description updated (diff)

#4 Updated by Andreas Kohlbecker about 1 month ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 50

#5 Updated by Andreas Kohlbecker about 1 month ago

  • Status changed from Resolved to Closed
  • % Done changed from 50 to 100

#6 Updated by Andreas Kohlbecker about 1 month ago

  • Related to task #9252: Harmonize SpecimenOrOberservationBase related DTOs added

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)