From e8282805a710343c854c991cb205c3697ee13aec Mon Sep 17 00:00:00 2001 From: siarhei_hrabko Date: Tue, 5 Mar 2024 18:54:31 +0300 Subject: [PATCH] EPMRPP-89420 || dao update --- build.gradle | 2 +- .../ws/converter/converters/ProjectSettingsConverter.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 3ecc41a2e5..0add00304b 100644 --- a/build.gradle +++ b/build.gradle @@ -73,7 +73,7 @@ dependencies { implementation 'com.epam.reportportal:plugin-api' } else { implementation 'com.github.reportportal:commons-events:e337f8b7be' - implementation 'com.github.reportportal:commons-dao:bbc6b76' + implementation 'com.github.reportportal:commons-dao:f6c9669' implementation 'com.github.reportportal:commons-rules:1f6bfed' implementation 'com.github.reportportal:commons-model:38a52fb' implementation 'com.github.reportportal:commons-reporting:5c74bb2' diff --git a/src/main/java/com/epam/ta/reportportal/ws/converter/converters/ProjectSettingsConverter.java b/src/main/java/com/epam/ta/reportportal/ws/converter/converters/ProjectSettingsConverter.java index d148d3264d..c676326454 100644 --- a/src/main/java/com/epam/ta/reportportal/ws/converter/converters/ProjectSettingsConverter.java +++ b/src/main/java/com/epam/ta/reportportal/ws/converter/converters/ProjectSettingsConverter.java @@ -49,8 +49,8 @@ private ProjectSettingsConverter() { resource.setLaunchesQuantity(project.getLaunchesQuantity()); resource.setProjectId(project.getId()); resource.setProjectName(project.getName()); - resource.setProjectKey(project.getKey()); - resource.setProjectSlug(project.getSlug()); + resource.setProjectKey(project.getProjectKey()); + resource.setProjectSlug(project.getProjectSlug()); resource.setCreationDate(EntityUtils.TO_DATE.apply(project.getCreationDate())); resource.setLastRun(ofNullable(project.getLastRun()).map(EntityUtils.TO_DATE).orElse(null)); resource.setEntryType(project.getProjectType());