Skip to content

Commit

Permalink
EPMRPP-96485 || Remove lastModified field for back compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
pbortnik committed Oct 25, 2024
1 parent dd3ab61 commit 374300c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

env:
GH_USER_NAME: github.actor
RELEASE_VERSION: 5.12.0
RELEASE_VERSION: 5.12.1
REPOSITORY_URL: 'https://maven.pkg.github.com/'

jobs:
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ 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.12.2' : 'com.epam.reportportal:commons-bom:5.12.2')
mavenBom('io.zonky.test.postgres:embedded-postgres-binaries-bom:16.2.0')
}
}
Expand All @@ -69,7 +69,7 @@ dependencies {
implementation 'com.epam.reportportal:plugin-api'
} else {
implementation 'com.github.reportportal:commons-dao:acf1ec7'
implementation 'com.github.reportportal:commons:c8ef09c'
implementation 'com.github.reportportal:commons:30bcebb'
implementation 'com.github.reportportal:plugin-api:188792e'
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=5.12.0
version=5.12.1
description=EPAM Report portal. Main API Service
dockerPrepareEnvironment=
dockerJavaOpts=-Xmx1g -XX:+UseG1GC -XX:InitiatingHeapOccupancyPercent=70 -Djava.security.egd=file:/dev/./urandom
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ public class LaunchConverter {
resource.setStatus(db.getStatus() == null ? null : db.getStatus().toString());
resource.setStartTime(db.getStartTime() == null ? null : db.getStartTime());
resource.setEndTime(db.getEndTime() == null ? null : db.getEndTime());
ofNullable(db.getLastModified()).ifPresent(resource::setLastModified);
ofNullable(db.getAttributes()).ifPresent(attributes -> updateAttributes(resource, attributes));
ofNullable(resource.getAttributes()).ifPresentOrElse(a -> {
}, () -> resource.setAttributes(Collections.emptySet()));
Expand Down

0 comments on commit 374300c

Please sign in to comment.