Skip to content

Commit 9e99ea0

Browse files
committed
ENG-5316: Upgrade java to version 17
1 parent 0e5c2ca commit 9e99ea0

52 files changed

Lines changed: 506 additions & 462 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ga-publication.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: "Configure GA Repository"
4747
uses: actions/setup-java@v1
4848
with:
49-
java-version: 11
49+
java-version: 17
5050
server-id: maven-central
5151
server-username: MAVEN_USERNAME
5252
server-password: MAVEN_PASSWORD

.github/workflows/pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ jobs:
7272
--token "$ENTANDO_BOT_TOKEN" \
7373
;
7474
#~ JDK
75-
- name: "Set up JDK 11"
75+
- name: "Set up JDK 17"
7676
uses: actions/setup-java@v1
7777
with:
78-
java-version: 11
78+
java-version: 17
7979
#~ MAVEN CACHE
8080
- name: "Cache Maven packages"
8181
uses: actions/cache@v2
@@ -119,10 +119,10 @@ jobs:
119119
# ${{ secrets.ENTANDO_OPT_PPL_INSTALL_CMD }}
120120
# ~/ppl-run checkout-branch pr --lcd "$LOCAL_CLONE_DIR"
121121
# #~ JDK
122-
# - name: "Set up JDK 11"
122+
# - name: "Set up JDK 17"
123123
# uses: actions/setup-java@v1
124124
# with:
125-
# java-version: 11
125+
# java-version: 17
126126
# #~ MAVEN CACHE
127127
# - name: "Cache Maven packages"
128128
# id: maven-cache

.github/workflows/publication.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
ENTANDO_BOT_TOKEN: ${{ secrets.ENTANDO_BOT_TOKEN }}
1111
PR_CHECKER_PATH: ".github/pr-title-checker-config.json"
1212

13-
JDK_VERSION: 11
13+
JDK_VERSION: 17
1414
BUILD_COMMANDS: mvn clean install;
1515
DOCKER_EAP_IMAGE_BASE_NAME: entando/entando-de-app-eap
1616
DOCKER_TOMCAT_IMAGE_BASE_NAME: entando/entando-de-app-tomcat

Dockerfile.eap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM registry.hub.docker.com/entando/entando-eap73-clustered-base:7.2.0
1+
FROM registry.hub.docker.com/entando/entando-eap73-clustered-base:7.4.0-ENG-5316-PR-28
22
ARG VERSION
33

44
### Required OpenShift Labels
55
LABEL name="Entando App" \
66
maintainer="dev@entando.com" \
77
vendor="Entando Inc." \
88
version="${VERSION}" \
9-
release="7.0.0" \
9+
release="7.4.0" \
1010
summary="Entando Application" \
1111
description="This Entando app engine application provides APIs and composition for Entando applications"
1212

Dockerfile.tomcat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM registry.hub.docker.com/entando/entando-tomcat-base:7.2.0-IT-410-PR-26
1+
FROM registry.hub.docker.com/entando/entando-tomcat-base:7.4.0-ENG-5316-PR-28
22
ARG VERSION
33

44
### Required OpenShift Labels
55
LABEL name="Entando App" \
66
maintainer="dev@entando.com" \
77
vendor="Entando Inc." \
88
version="${VERSION}" \
9-
release="7.0.0" \
9+
release="7.4.0" \
1010
summary="Entando Application" \
1111
description="This Entando app engine application provides APIs and composition for Entando applications"
1212

Dockerfile.wildfly

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.hub.docker.com/entando/entando-wildfly17-base:7.2.0
1+
FROM registry.hub.docker.com/entando/entando-wildfly17-base:7.4.0-ENG-5316-PR-28
22

33
ARG VERSION
44

@@ -7,7 +7,7 @@ LABEL name="Entando App" \
77
maintainer="dev@entando.com" \
88
vendor="Entando Inc." \
99
version="${VERSION}" \
10-
release="7.0.0" \
10+
release="7.4.0" \
1111
summary="Entando Application" \
1212
description="This Entando app engine application provides APIs and composition for Entando applications"
1313

admin-console/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.entando</groupId>
66
<artifactId>app-engine</artifactId>
7-
<version>7.3.0-SNAPSHOT</version>
7+
<version>7.4.0-SNAPSHOT</version>
88
</parent>
99
<groupId>org.entando.entando</groupId>
1010
<artifactId>entando-admin-console</artifactId>

cds-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.entando</groupId>
77
<artifactId>app-engine</artifactId>
8-
<version>7.3.0-SNAPSHOT</version>
8+
<version>7.4.0-SNAPSHOT</version>
99
</parent>
1010
<artifactId>entando-plugin-jpcds</artifactId>
1111
<groupId>org.entando.entando.plugins</groupId>

cms-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.entando</groupId>
77
<artifactId>app-engine</artifactId>
8-
<version>7.3.0-SNAPSHOT</version>
8+
<version>7.4.0-SNAPSHOT</version>
99
</parent>
1010
<groupId>org.entando.entando.plugins</groupId>
1111
<artifactId>entando-plugin-jacms</artifactId>

cms-plugin/src/main/java/com/agiletec/plugins/jacms/aps/system/services/content/ContentManager.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
package com.agiletec.plugins.jacms.aps.system.services.content;
1515

1616
import com.agiletec.aps.system.ApsSystemUtils;
17-
import com.agiletec.aps.system.SystemConstants;
1817
import com.agiletec.aps.system.common.entity.ApsEntityManager;
1918
import com.agiletec.aps.system.common.entity.IEntityDAO;
2019
import com.agiletec.aps.system.common.entity.IEntitySearcherDAO;
@@ -53,8 +52,9 @@
5352
* Contents manager. This implements all the methods needed to create and manage
5453
* the contents.
5554
*/
56-
public class ContentManager extends ApsEntityManager
57-
implements IContentManager, GroupUtilizer<String>, PageUtilizer, ContentUtilizer, ResourceUtilizer, CategoryUtilizer {
55+
public class ContentManager extends ApsEntityManager
56+
implements IContentManager, GroupUtilizer<String>, PageUtilizer,
57+
ContentUtilizer<String>, ResourceUtilizer<String>, CategoryUtilizer<String, String> {
5858

5959
private static final EntLogger logger = EntLogFactory.getSanitizedLogger(ContentManager.class);
6060

@@ -615,7 +615,7 @@ public List getPageUtilizers(String pageCode) throws EntException {
615615
}
616616

617617
@Override
618-
public List getContentUtilizers(String contentId) throws EntException {
618+
public List<String> getContentUtilizers(String contentId) throws EntException {
619619
try {
620620
return this.getContentDAO().getContentUtilizers(contentId);
621621
} catch (Throwable t) {
@@ -633,7 +633,7 @@ public List<String> getGroupUtilizers(String groupName) throws EntException {
633633
}
634634

635635
@Override
636-
public List getResourceUtilizers(String resourceId) throws EntException {
636+
public List<String> getResourceUtilizers(String resourceId) throws EntException {
637637
try {
638638
return this.getContentDAO().getResourceUtilizers(resourceId);
639639
} catch (Throwable t) {
@@ -642,7 +642,7 @@ public List getResourceUtilizers(String resourceId) throws EntException {
642642
}
643643

644644
@Override
645-
public List getCategoryUtilizers(String resourceId) throws EntException {
645+
public List<String> getCategoryUtilizers(String resourceId) throws EntException {
646646
try {
647647
return this.getContentDAO().getCategoryUtilizers(resourceId);
648648
} catch (Throwable t) {
@@ -661,7 +661,7 @@ public void reloadCategoryReferences(String categoryCode) {
661661

662662
@SuppressWarnings("rawtypes")
663663
@Override
664-
public List getCategoryUtilizersForReloadReferences(String categoryCode) {
664+
public List<String> getCategoryUtilizersForReloadReferences(String categoryCode) {
665665
List<String> contentIdToReload = new ArrayList<>();
666666
try {
667667
Set<String> contents = this.getContentUpdaterService().getContentsId(categoryCode);

0 commit comments

Comments
 (0)