Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENG-5526: Added missing filter in countContents method #285

Open
wants to merge 113 commits into
base: release/7.3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
8f92487
ENG-5270: avatar end points
mirkoPan Oct 31, 2023
79c542c
ENG-5270: fix code smell
mirkoPan Nov 2, 2023
dc61ade
ENG-5270: fix more code smells
mirkoPan Nov 2, 2023
826cf5f
ENG-5270: fix on formatting
mirkoPan Nov 2, 2023
e7c431c
ENG-5270: fix and test coverage
mirkoPan Nov 2, 2023
981117a
ENG-5270: profile validator test coverage
mirkoPan Nov 3, 2023
7466f06
ENG-5270: improved tests
mirkoPan Nov 3, 2023
e061646
ENG-5270: rewriting due to changes in the specifications (partial tes…
mirkoPan Nov 7, 2023
68b0373
ENG-5270: test coverage
mirkoPan Nov 10, 2023
f44dcb2
ENG-5270: test fix
mirkoPan Nov 10, 2023
60a8bfe
ENG-5270: error message required property fixed
mirkoPan Nov 13, 2023
1ab3d56
ENG-5199: default to ISO 639-1
mirkoPan Nov 14, 2023
852ac22
ENG-5318: user in Activity Stream Interceptor taken from request (no …
mirkoPan Nov 17, 2023
c92540c
ENG-5318: test coverage
mirkoPan Nov 17, 2023
758cabd
ENG-5318: removed test because it's not possible mock Method.class
mirkoPan Nov 20, 2023
d06b67f
ENG-5270: bug fix
mirkoPan Nov 20, 2023
7938bc9
ENG-5270: delete avatar end point
mirkoPan Nov 21, 2023
21a034f
ENG-5253: managed 422 in case of wrong typeCode
mirkoPan Nov 23, 2023
a586545
Merge pull request #239 from entando/ENG-5199
eugeniosant Nov 27, 2023
e799347
Merge pull request #243 from entando/ENG-5253
eugeniosant Dec 4, 2023
f0ed3a2
ENG-5270: Fix AvatarService
eugeniosant Dec 5, 2023
f6362c0
Merge pull request #233 from entando/ENG-5270
eugeniosant Dec 5, 2023
5c66d45
Merge pull request #241 from entando/ENG-5318
eugeniosant Dec 6, 2023
953fa65
ENG-5068: Fix NotFound Page status code
eugeniosant Dec 6, 2023
4a00b3f
ENG-5068: Code improvement
eugeniosant Dec 6, 2023
ff6bfc7
Merge pull request #247 from entando/ENG-5068
eugeniosant Dec 6, 2023
ca4b39a
ENG-5368: Fix bug in delete root page request
eugeniosant Dec 15, 2023
bad9f4d
ENG-5368: Fix bug on publish root page
eugeniosant Dec 15, 2023
2ffd30d
Merge pull request #250 from entando/ENG-5368
eugeniosant Dec 18, 2023
a338389
ENG-5405: Improvement Avatar API
eugeniosant Dec 20, 2023
711cfbc
Added tests in content dispender
eugeniosant Dec 20, 2023
fcf3830
ENG-5334: Fix Solr schema issue
eugeniosant Dec 12, 2023
1f6f6a8
ENG-5334: Improvement of test coverage
eugeniosant Dec 14, 2023
e56b45d
ENG-5405: Upgrade fields format
eugeniosant Dec 22, 2023
4146b8b
ENG-5414: Added missing metadata into resource attributes in content …
eugeniosant Jan 9, 2024
31aeae3
ENG-5414: Fix wrong tests for link attribute
eugeniosant Jan 9, 2024
4ce4875
Merge pull request #252 from entando/ENG-5414
eugeniosant Jan 9, 2024
4235cee
Merge pull request #249 from entando/ENG-5334
eugeniosant Jan 9, 2024
9e2c9f9
Merge pull request #251 from entando/ENG-5405
eugeniosant Jan 11, 2024
435aa2d
Readme upgrade
eugeniosant Jan 11, 2024
0536eb2
ENG-5114: Improvement of Avatar delete API response body
eugeniosant Jan 15, 2024
12a27e6
ENG-5114: Workaround for sonar analysis on deprecated Java version
eugeniosant Jan 15, 2024
2827e37
Merge pull request #253 from entando/ENG-5114
eugeniosant Jan 15, 2024
34ef7fc
ENG-5423: First step of integration of user preferences for user avatar
eugeniosant Jan 15, 2024
df16449
ENG-5423: Improvement of Gravatar integration
eugeniosant Jan 16, 2024
e083dc4
Merge branch 'release/7.3' into ENG-5423
eugeniosant Jan 16, 2024
63cbae8
ENG-5347: Upgrade java to version 17
eugeniosant Nov 27, 2023
d58a503
ENG-5347: Removed eap and wildfly images
eugeniosant Dec 4, 2023
8e35a8f
ENG-5347: Removed jboss-deployment-structure file
eugeniosant Dec 4, 2023
dbb9367
ENG-5423: Fix sonar issues
eugeniosant Jan 17, 2024
30a8b4d
ENG-5439: Upgrade default configuration of Versioning plugin
eugeniosant Jan 17, 2024
da09a0c
Merge pull request #255 from entando/ENG-5439
eugeniosant Jan 18, 2024
b80fbeb
Merge pull request #254 from entando/ENG-5423
eugeniosant Jan 18, 2024
7f1e33a
Merge branch 'release/7.3' into ENG-5347
eugeniosant Jan 18, 2024
c1fcbd9
ENG-5440: CDS-Connector: made `/public` path configurable
eugeniosant Jan 18, 2024
1146635
Merge pull request #256 from entando/ENG-5440
eugeniosant Jan 19, 2024
848fb4f
ENG-5444: Removed data associated with deleted user
eugeniosant Jan 22, 2024
802cb98
ENG-3474 Fixed colon in content description issue for content list wi…
riccardo-fadda Jan 23, 2024
f5d2140
ENG-3474: Added unit test and fix sonar issues
eugeniosant Jan 25, 2024
ae53bc3
Merge pull request #257 from entando/ENG-5444
eugeniosant Jan 29, 2024
fc60362
Merge pull request #258 from entando/ENG-3474_ColonInContentDescripti…
riccardo-fadda Jan 29, 2024
4c16962
Merge branch 'release/7.3' into ENG-5347
eugeniosant Jan 29, 2024
36bb562
ENG-5347: Pom upgrade
eugeniosant Jan 31, 2024
3d4107e
Merge pull request #246 from entando/ENG-5347
eugeniosant Jan 31, 2024
7b18ab9
ENG-5461: Restored transient fields after serialization of content at…
eugeniosant Jan 30, 2024
682437d
ENG-5461: Improvement test coverage
eugeniosant Jan 31, 2024
87b92c0
Merge pull request #259 from entando/ENG-5461
eugeniosant Jan 31, 2024
adeabfd
ENG-5464: Fix CDS internal section bug
eugeniosant Feb 5, 2024
e9a9eba
Merge pull request #260 from entando/ENG-5464
eugeniosant Feb 5, 2024
36768d7
ENG-5468: Fix extracting file with empty stream from CDS
eugeniosant Feb 12, 2024
adc8bca
ENG-5470: Added parameter to enable/disable Database Restore function
eugeniosant Feb 15, 2024
2c6ad65
ENG-5469: Database Restore function tenant aware
eugeniosant Feb 15, 2024
4154308
ENG-5469: Fix smell code
eugeniosant Feb 15, 2024
4c8722d
Merge pull request #261 from entando/ENG-5468
eugeniosant Feb 20, 2024
8008edb
ENG-5475: Added mapKey and mapValue into attributeDto for EnumeratorM…
eugeniosant Feb 21, 2024
532fab5
ENG-5485: Fix bug on publication of unpublished contents
eugeniosant Mar 7, 2024
ea2f511
Merge pull request #263 from entando/ENG-5475
eugeniosant Mar 8, 2024
d6a515f
ENG-5486: Added file length validation
eugeniosant Mar 8, 2024
0ecd7e2
Merge pull request #264 from entando/ENG-5485
eugeniosant Mar 11, 2024
5c99b10
Merge pull request #265 from entando/ENG-5486
eugeniosant Mar 12, 2024
ee7c255
ENG-5493: New asset search parameter: resourceId
eugeniosant Mar 15, 2024
d500a8d
ENG-5493: Improvement of resource finder
eugeniosant Mar 19, 2024
0b34ce5
Merge pull request #268 from entando/ENG-5493
eugeniosant Mar 19, 2024
9a76eef
ENG-5494: Add check for already existing files
eugeniosant Mar 20, 2024
d2b5cdb
ENG-5493: Improvement of resourceId search parameter
eugeniosant Mar 20, 2024
a7932fe
ENG-5494: Fix smell codes
eugeniosant Mar 20, 2024
6481f48
ENG-5494: Added function to move file from storage
eugeniosant Mar 20, 2024
cfc1243
ENG-5494: Improvement of asset upgrade functionality
eugeniosant Mar 26, 2024
8162ee4
ENG-5495 Fixing ch.qos.logback:logback-classic vulnerabilities
BrenoQVDS Mar 28, 2024
618a003
ENG-5496 Fixing org.springframework:spring-web vulnerabilities
BrenoQVDS Mar 28, 2024
60e337a
ENG-5497 Fixing struts vulnerabilities
BrenoQVDS Mar 29, 2024
7278f88
ENG-5499 Fixing spring-security-core vulnerability
BrenoQVDS Mar 31, 2024
ee13e4c
ENG-5499 Updating to the correct version
BrenoQVDS Mar 31, 2024
9d986c1
ENG-5500 Fixing com.jayway.jsonpath:json-path vulnerabilities
BrenoQVDS Mar 31, 2024
3ac82a1
ENG-5501 Fixing io.lettuce:lettuce-core vulnerability
BrenoQVDS Mar 31, 2024
57e34ff
ENG-5501 Updating netty-common to a compatible version
BrenoQVDS Mar 31, 2024
5212009
ENG-5502 Fixing org.apache.commons:commons-compress vulnerabilities
BrenoQVDS Apr 1, 2024
c70a22d
ENG-5503 Fixing jettison vulnerabilities
BrenoQVDS Apr 1, 2024
4b82ed8
ENG-5504 Fixing hibernate-validator vulnerabilities
BrenoQVDS Apr 1, 2024
5e3f9df
ENG-5505 Fixing liquibase vulnerabilities
BrenoQVDS Apr 1, 2024
8038ef6
Merge pull request #270 from entando/ENG-5495
BrenoQVDS Apr 3, 2024
29250b8
Merge pull request #271 from entando/ENG-5496
BrenoQVDS Apr 3, 2024
d7acc66
Merge pull request #272 from entando/ENG-5497
BrenoQVDS Apr 3, 2024
dacf788
Merge pull request #274 from entando/ENG-5500
BrenoQVDS Apr 3, 2024
17b5045
Merge pull request #275 from entando/ENG-5501
BrenoQVDS Apr 3, 2024
d6441b1
Merge pull request #276 from entando/ENG-5502
BrenoQVDS Apr 3, 2024
6cd778f
Merge pull request #277 from entando/ENG-5503
BrenoQVDS Apr 3, 2024
3ad00fb
Merge pull request #278 from entando/ENG-5504
BrenoQVDS Apr 3, 2024
327cc88
Merge pull request #279 from entando/ENG-5505
BrenoQVDS Apr 3, 2024
2325643
Merge branch 'release/7.3' into ENG-5499
BrenoQVDS Apr 3, 2024
fe99e0c
Merge pull request #273 from entando/ENG-5499
BrenoQVDS Apr 3, 2024
a723240
Merge pull request #269 from entando/ENG-5494
eugeniosant Apr 11, 2024
39c6cea
ENG-5526: Added missing filter in countContents method
eugeniosant Apr 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ga-publication.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: "Configure GA Repository"
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17
server-id: maven-central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ jobs:
--token "$ENTANDO_BOT_TOKEN" \
;
#~ JDK
- name: "Set up JDK 11"
- name: "Set up JDK 17"
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17
#~ MAVEN CACHE
- name: "Cache Maven packages"
uses: actions/cache@v2
Expand Down Expand Up @@ -119,10 +119,10 @@ jobs:
# ${{ secrets.ENTANDO_OPT_PPL_INSTALL_CMD }}
# ~/ppl-run checkout-branch pr --lcd "$LOCAL_CLONE_DIR"
# #~ JDK
# - name: "Set up JDK 11"
# - name: "Set up JDK 17"
# uses: actions/setup-java@v1
# with:
# java-version: 11
# java-version: 17
# #~ MAVEN CACHE
# - name: "Cache Maven packages"
# id: maven-cache
Expand Down
63 changes: 2 additions & 61 deletions .github/workflows/publication.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,12 @@ env:
ENTANDO_BOT_TOKEN: ${{ secrets.ENTANDO_BOT_TOKEN }}
PR_CHECKER_PATH: ".github/pr-title-checker-config.json"

JDK_VERSION: 11
JDK_VERSION: 17
BUILD_COMMANDS: mvn clean install;
DOCKER_EAP_IMAGE_BASE_NAME: entando/entando-de-app-eap
DOCKER_TOMCAT_IMAGE_BASE_NAME: entando/entando-de-app-tomcat
DOCKER_WILDFLY_IMAGE_BASE_NAME: entando/entando-de-app-wildfly
DOCKER_EAP-WILDFLY_IMAGE_ARCHITECTURE: linux/amd64
DOCKER_TOMCAT_IMAGE_ARCHITECTURE: linux/amd64,linux/arm64
DOCKER_IMAGE_CONTEXT: .
DOCKER_EAP_IMAGE_FILE: Dockerfile.eap
DOCKER_TOMCAT_IMAGE_FILE: Dockerfile.tomcat
DOCKER_WILDFLY_IMAGE_FILE: Dockerfile.wildfly
DOCKER_IMAGE_PUSH: true

jobs:
Expand Down Expand Up @@ -58,23 +53,6 @@ jobs:
- name: Build with Maven
run: ${{ env.BUILD_COMMANDS }}

- name: Docker meta-eap
id: meta-eap
uses: docker/metadata-action@v4
with:
images: |
${{ env.DOCKER_EAP_IMAGE_BASE_NAME }}
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr,value={{base_ref}}
type=ref,event=tag
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
type=raw,event=pr,value={{base_ref}}

- name: Docker meta-tomcat
id: meta-tomcat
uses: docker/metadata-action@v4
Expand All @@ -92,23 +70,6 @@ jobs:
type=sha
type=raw,event=pr,value={{base_ref}}

- name: Docker meta-wildfly
id: meta-wildfly
uses: docker/metadata-action@v4
with:
images: |
${{ env.DOCKER_WILDFLY_IMAGE_BASE_NAME }}
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr,value={{base_ref}}
type=ref,event=tag
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
type=raw,event=pr,value={{base_ref}}

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

Expand All @@ -130,16 +91,6 @@ jobs:
username: ${{ secrets.ENTANDO_RHT_DOCKER_USERNAME }}
password: ${{ secrets.ENTANDO_RHT_DOCKER_PASSWORD }}

- name: Build and push eap Docker image
uses: docker/build-push-action@v4
with:
context: ${{ env.DOCKER_IMAGE_CONTEXT }}
file: ${{ env.DOCKER_EAP_IMAGE_FILE }}
push: ${{ env.DOCKER_IMAGE_PUSH }}
tags: ${{ steps.meta-eap.outputs.tags }}
labels: ${{ steps.meta-eap.outputs.labels }}
platforms: ${{ env.DOCKER_EAP-WILDFLY_IMAGE_ARCHITECTURE }}

- name: Build tomcat Docker image for amd64
uses: docker/build-push-action@v4
with:
Expand Down Expand Up @@ -168,14 +119,4 @@ jobs:
push: ${{ env.DOCKER_IMAGE_PUSH }}
tags: ${{ steps.meta-tomcat.outputs.tags }}
labels: ${{ steps.meta-tomcat.outputs.labels }}
platforms: ${{ env.DOCKER_TOMCAT_IMAGE_ARCHITECTURE }}

- name: Build and push wildfly Docker image
uses: docker/build-push-action@v4
with:
context: ${{ env.DOCKER_IMAGE_CONTEXT }}
file: ${{ env.DOCKER_WILDFLY_IMAGE_FILE }}
push: ${{ env.DOCKER_IMAGE_PUSH }}
tags: ${{ steps.meta-wildfly.outputs.tags }}
labels: ${{ steps.meta-wildfly.outputs.labels }}
platforms: ${{ env.DOCKER_EAP-WILDFLY_IMAGE_ARCHITECTURE }}
platforms: ${{ env.DOCKER_TOMCAT_IMAGE_ARCHITECTURE }}
20 changes: 0 additions & 20 deletions Dockerfile.eap

This file was deleted.

4 changes: 2 additions & 2 deletions Dockerfile.tomcat
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM registry.hub.docker.com/entando/entando-tomcat-base:7.3.0
FROM registry.hub.docker.com/entando/entando-tomcat-base:v7.3.1-ENG-5347-PR-29-BB-release-2F-7.3
ARG VERSION

### Required OpenShift Labels
LABEL name="Entando App" \
maintainer="[email protected]" \
vendor="Entando Inc." \
version="${VERSION}" \
release="7.3.0" \
release="7.3.1" \
summary="Entando Application" \
description="This Entando app engine application provides APIs and composition for Entando applications"

Expand Down
21 changes: 0 additions & 21 deletions Dockerfile.wildfly

This file was deleted.

2 changes: 1 addition & 1 deletion admin-console/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.entando</groupId>
<artifactId>app-engine</artifactId>
<version>7.3.0</version>
<version>7.3.1</version>
</parent>
<groupId>org.entando.entando</groupId>
<artifactId>entando-admin-console</artifactId>
Expand Down
1 change: 0 additions & 1 deletion admin-console/src/main/webapp/404.jsp

This file was deleted.

3 changes: 0 additions & 3 deletions admin-console/src/main/webapp/META-INF/MANIFEST.MF

This file was deleted.

2 changes: 0 additions & 2 deletions admin-console/src/main/webapp/META-INF/context.xml

This file was deleted.

4 changes: 2 additions & 2 deletions admin-console/src/main/webapp/error.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Entando - Error</title>
<title>Error</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="utf-8" />
<link rel="stylesheet" href="<wp:resourceURL ignoreTenant="true" />administration/bootstrap/css/bootstrap.min.css" media="screen" />
</head>
<body>
<div class="container">
<h1>Entando - Error</h1>
<h1>Error</h1>
<p><a class="" href="<%=response.encodeURL(request.getContextPath()) %>">Go to Home</a></p>
<table class="table table-responsive table-striped">
<tr>
Expand Down
4 changes: 0 additions & 4 deletions admin-console/src/main/webapp/index.jsp

This file was deleted.

5 changes: 3 additions & 2 deletions admin-console/src/main/webapp/logout.jsp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<%@ taglib uri="/aps-core" prefix="wp" %>
<wp:info key="startLang" var="startLangCode" />
<jsp:forward page="/${startLangCode}/homepage.page"/>
<wp:info key="startLang" var="startLangCodeVar" />
<wp:info key="systemParam" paramName="homePageCode" var="homepageCodeVar" />
<jsp:forward page="/${startLangCodeVar}/${homepageCodeVar}.page"/>
2 changes: 1 addition & 1 deletion cds-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.entando</groupId>
<artifactId>app-engine</artifactId>
<version>7.3.0</version>
<version>7.3.1</version>
</parent>
<artifactId>entando-plugin-jpcds</artifactId>
<groupId>org.entando.entando.plugins</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
@Component
@CdsActive(true)
public class CdsConfiguration {

@Value("${resourceRootURL}")
private String baseURL;
@Value("${resourceDiskRootFolder}")
Expand All @@ -39,6 +39,10 @@ public class CdsConfiguration {
private boolean enabled;
@Value("${CDS_PUBLIC_URL:https://cds.entando.org}")
private String cdsPublicUrl;
@Value("${CDS_PUBLIC_PATH:}")
private String cdsPublicPath;
@Value("${CDS_INTERNAL_PUBLIC_SECTION:}")
private String cdsInternalPublicSection;
@Value("${CDS_PRIVATE_URL:https://cds.entando.org}")
private String cdsPrivateUrl;
@Value("${CDS_PATH:/api/v1}")
Expand All @@ -51,6 +55,5 @@ public class CdsConfiguration {
private String kcClientId;
@Value("${KEYCLOAK_CLIENT_SECRET:}")
private String kcClientSecret;



}
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ public class CdsRemoteCaller {
private Map<String, String> tenantsToken = new WeakHashMap<>();

@Autowired
public CdsRemoteCaller(@Qualifier("keycloakRestTemplate")RestTemplate restTemplate,@Qualifier("keycloakRestTemplateWithRedirect")RestTemplate restTemplateWithRedirect,
public CdsRemoteCaller(@Qualifier("keycloakRestTemplate")RestTemplate restTemplate,
@Qualifier("keycloakRestTemplateWithRedirect")RestTemplate restTemplateWithRedirect,
CdsConfiguration configuration) {
this.restTemplate = restTemplate;
this.restTemplateWithRedirect = restTemplateWithRedirect;
Expand Down
Loading
Loading