-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #138 from europeana/EA-3860-upgrade-to-Java-17
EA-3860 upgrade to java 17
- Loading branch information
Showing
7 changed files
with
26 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Builds a docker image from a locally built Maven war. Requires 'mvn package' to have been run beforehand | ||
FROM tomcat:9-jre11 | ||
FROM tomcat:9-jre17 | ||
LABEL Author="Europeana Foundation <[email protected]>" | ||
WORKDIR /usr/local/tomcat/webapps | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 12 additions & 3 deletions
15
api/src/main/java/eu/europeana/fulltext/api/model/v2/AnnotationFullBodyV2.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,27 @@ | ||
package eu.europeana.fulltext.api.model.v2; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
import ioinformarics.oss.jackson.module.jsonld.annotation.JsonldType; | ||
|
||
/** | ||
* Created by luthien on 14/06/2018. | ||
*/ | ||
@JsonldType("oa:SpecificResource") | ||
@JsonPropertyOrder({"id"}) | ||
|
||
@JsonPropertyOrder({"id","type"}) | ||
public class AnnotationFullBodyV2 extends AnnotationBodyV2{ | ||
|
||
private static final String TYPE = "oa:SpecificResource"; | ||
|
||
private static final long serialVersionUID = 3894020068338298481L; | ||
|
||
public AnnotationFullBodyV2(String id) { | ||
super(id); | ||
} | ||
|
||
@Override | ||
@JsonProperty("@type") | ||
public String getType() { | ||
return TYPE; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters