Skip to content

Commit

Permalink
5.13.0 Release (#1058)
Browse files Browse the repository at this point in the history
* EPMRPP-89095 || Add new scim related fields (#1037)

* EPMRPP-89105, EPMRPP-89100, EPMRPP-92451 || Add additional uer fields for scim

* EPMRPP-89105, EPMRPP-89100, EPMRPP-92451 || Add active flag for user

* EPMRPP-89105, EPMRPP-89100, EPMRPP-92451 || Add active flag for user

* EPMRPP-89105, EPMRPP-89100, EPMRPP-92451 || Update user entity

* EPMRPP-89105, EPMRPP-89100, EPMRPP-92451 || Update ReportPortalUser

* EPMRPP-89105, EPMRPP-89100, EPMRPP-92451 || Add missed active fetcher

* EPMRPP-89105, EPMRPP-89100, EPMRPP-92451 || Add fields to base select query

* EPMRPP-89095 || Add db migration script

* EPMRPP-89095 || Fix unit tests

* EPMRPP-89095 || Fix unit tests

* EPMRPP-92655 || Add scim type (#1039)

* EPMRPP-96070 || Add dynamic insert for default db values (#1042)

* EPMRPP-96070 || Add dynamic insert for user object to use default database values

* EPMRPP-96070 || Add dynamic insert for user object to use default database values

* EPMRPP-96177 || Unique errors. Empty clusters shouldn't be displayed on UI (#1046)

* EPMRPP-96481 || UUID validation (#1048)

* EPMRPP-96481 || Change user uuid type

* EPMRPP-96481 || Add user uuid handling in query builder

* EPMRPP-95299 save last login time as integer value of milliseconds (#1049)

* EPMRPP-95299 save last login time as integer value of milliseconds

* EPMRPP-96944 || Add tracking event when user changes instance invitation settings (#1052)

* EPMRPP-96481 || Change user uuid type

* EPMRPP-96481 || Add user uuid handling in query builder

* EPMRPP-96944 || Add instance activity constants

* EPMRPP-97122 || Update java (#1051)

* Update dependencies (#1054)

* Import commons-collections4 as api (#1055)

* Import jackson-datatype-jsr310 as api (#1056)

* 5.13.0 || Update release version

---------

Co-authored-by: APiankouski <[email protected]>
Co-authored-by: Siarhei Hrabko <[email protected]>
  • Loading branch information
3 people authored Dec 5, 2024
1 parent acf1ec7 commit 1501b10
Show file tree
Hide file tree
Showing 51 changed files with 611 additions and 463 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up JDK 11
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
java-version: '21'

- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/manually-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up JDK 11
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
java-version: '21'

- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ on:
env:
GH_USER_NAME: github.actor
SCRIPTS_VERSION: 5.12.0
BOM_VERSION: 5.12.1
MIGRATIONS_VERSION: 5.12.0
RELEASE_VERSION: 5.12.1
BOM_VERSION: 5.13.0
MIGRATIONS_VERSION: 5.13.0
RELEASE_VERSION: 5.13.0

jobs:
release:
Expand All @@ -23,11 +23,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up JDK 11
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
java-version: '21'

- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand Down
56 changes: 32 additions & 24 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ plugins {
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'java'
id 'java-library'
id 'nu.studer.jooq' version '3.0.3'
id 'org.owasp.dependencycheck' version '5.3.1'
id 'org.owasp.dependencycheck' version '11.1.0'
id "org.jooq.jooq-codegen-gradle" version "${jooqVersion}"
}

apply from: 'project-properties.gradle'
apply from: "$scriptsUrl/release-commons.gradle"
apply from: "$scriptsUrl/signing.gradle"
apply from: "$scriptsUrl/copy-database-scripts.gradle"
apply from: "$scriptsUrl/build-quality.gradle"
apply from: "$scriptsUrl/jacoco.gradle"
//apply from: "$scriptsUrl/build-quality.gradle"
//apply from: "$scriptsUrl/jacoco.gradle"
apply from: 'jooq.gradle'

repositories {
Expand All @@ -24,9 +24,16 @@ repositories {
}
}

java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}

ext['spring-boot.version'] = '2.5.15'

dependencyManagement {
imports {
mavenBom(releaseMode ? 'com.epam.reportportal:commons-bom:5.12.1' : 'com.epam.reportportal:commons-bom:5.12.1')
mavenBom(releaseMode ? 'com.epam.reportportal:commons-bom:5.13.0' : 'com.epam.reportportal:commons-bom:5.13.0')
mavenBom('io.zonky.test.postgres:embedded-postgres-binaries-bom:16.2.0')
}
}
Expand All @@ -35,47 +42,45 @@ dependencies {
if (releaseMode) {
implementation 'com.epam.reportportal:commons'
} else {
implementation 'com.github.reportportal:commons:d4be022'
implementation 'com.github.reportportal:commons:develop-SNAPSHOT'
}

implementation 'org.springframework.security:spring-security-core'
implementation 'org.springframework:spring-webmvc'
implementation 'org.apache.tika:tika-core'

//https://nvd.nist.gov/vuln/detail/CVE-2020-10683 (dom4j 2.1.3 version dependency) AND https://nvd.nist.gov/vuln/detail/CVE-2019-14900
compile('org.springframework.boot:spring-boot-starter-data-jpa') {
api('org.springframework.boot:spring-boot-starter-data-jpa') {
exclude group: 'org.hibernate', module: 'hibernate-core'
}
implementation 'org.springframework:spring-jdbc:5.3.33'
implementation 'org.hibernate:hibernate-core:5.6.15.Final'
//

//https://nvd.nist.gov/vuln/detail/CVE-2020-13692
compile 'org.postgresql:postgresql:42.7.3'
compile 'org.jooq:jooq'
jooqRuntime 'org.postgresql:postgresql:42.7.3'
implementation 'org.postgresql:postgresql:42.7.3'
api 'org.jooq:jooq'

compile 'io.minio:minio:6.0.13'
implementation 'io.minio:minio:6.0.13'

implementation group: 'org.json', name: 'json', version: '20231013'
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
compile 'org.hibernate.validator:hibernate-validator'
api 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
implementation 'org.hibernate.validator:hibernate-validator'

compile 'org.apache.commons:commons-collections4:4.4'
compile 'commons-fileupload:commons-fileupload:1.4'
compile('commons-validator:commons-validator:1.6') {
api 'org.apache.commons:commons-collections4:4.4'
api 'commons-fileupload:commons-fileupload:1.4'
api('commons-validator:commons-validator:1.6') {
exclude group: 'commons-beanutils', module: 'commons-beanutils'
}

compile 'org.jasypt:jasypt:1.9.3'
api 'org.jasypt:jasypt:1.9.3'

compile 'io.zonky.test:embedded-postgres:2.0.6'
//Fix CVE-2024-25710, CVE-2024-26308
compile 'org.apache.commons:commons-compress:1.26.0'
compile 'org.flywaydb:flyway-core:6.3.1'
api 'io.zonky.test:embedded-postgres:2.0.6'
api 'org.apache.commons:commons-compress:1.26.0'
implementation 'org.flywaydb:flyway-core:6.3.1'

compile 'org.apache.jclouds.api:s3:2.5.0'
compile 'org.apache.jclouds.provider:aws-s3:2.5.0'
api 'org.apache.jclouds.api:s3:2.5.0'
implementation 'org.apache.jclouds.provider:aws-s3:2.5.0'
implementation 'org.apache.jclouds.api:filesystem:2.5.0'

// add lombok support
Expand All @@ -86,8 +91,11 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-cache'
implementation 'com.github.ben-manes.caffeine:caffeine'

testImplementation 'net.bytebuddy:byte-buddy:1.14.9'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.flywaydb.flyway-test-extensions:flyway-spring-test:6.1.0'
testImplementation 'org.ow2.asm:asm:9.5'
testImplementation 'org.ow2.asm:asm-util:9.5'

}

Expand All @@ -112,4 +120,4 @@ tasks.withType(JavaCompile) {

checkCommitNeeded.dependsOn removeScripts
test.dependsOn copyTestDatabaseScripts
build.dependsOn jacocoTestReport
//build.dependsOn jacocoTestReport
5 changes: 3 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
version=5.12.2
lombokVersion=1.18.30
version=5.13.0
lombokVersion=1.18.30
jooqVersion=3.19.13
Binary file modified gradle/wrapper/gradle-wrapper.jar
100755 → 100644
Binary file not shown.
7 changes: 4 additions & 3 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Fri Mar 13 21:13:13 MSK 2020
distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-all.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 1501b10

Please sign in to comment.