openaire / iis

Information Inference Service of the OpenAIRE system
Apache License 2.0
20 stars 11 forks source link

Upgrade dhp-schemas version range from [2.0.0, 3.0.0) to [3.0.0, 4.0.0) #1396

Closed marekhorst closed 1 year ago

marekhorst commented 1 year ago

Originally requested in: https://support.openaire.eu/issues/1356#note-70.

marekhorst commented 1 year ago

It seems the major dhp schema change, from the IIS maintenance PoV, is related to introducing Subject class in place of generic StructuredProperty for the Result#subject field.

@claudioatzori In 3.0.16 I can see the Subject class is just an empty class wrapping StructuredProperty:

public class Subject extends StructuredProperty implements Serializable {
}

so I guess this is what was mentioned in the changelog under 3.0.14:

introduced specific type for result.subject

so there is no additional subject-related field I should maintain, am I right? If this is the case then I am just going to replace every StructuredProperty occurence with Subject and deploy new IIS version.