From 12ce5d4fc87bcd6ba72857410b7db62c1ecf389c Mon Sep 17 00:00:00 2001 From: Andrei Piankouski Date: Thu, 7 Sep 2023 13:26:37 +0300 Subject: [PATCH 1/6] EPMRPP-86199 || Add common Not found error --- build.gradle | 2 +- .../reportportal/commons/exception/rest/StatusCodeMapping.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index c45f22c..7e357f6 100644 --- a/build.gradle +++ b/build.gradle @@ -50,7 +50,7 @@ dependencies { if (releaseMode) { compile 'com.epam.reportportal:commons-model' } else { - compile 'com.github.reportportal:commons-model:232e69a5' + compile 'com.github.reportportal:commons-model:c94a391' } compile 'org.slf4j:slf4j-api' diff --git a/src/main/java/com/epam/ta/reportportal/commons/exception/rest/StatusCodeMapping.java b/src/main/java/com/epam/ta/reportportal/commons/exception/rest/StatusCodeMapping.java index 8708a97..384d8c5 100644 --- a/src/main/java/com/epam/ta/reportportal/commons/exception/rest/StatusCodeMapping.java +++ b/src/main/java/com/epam/ta/reportportal/commons/exception/rest/StatusCodeMapping.java @@ -38,6 +38,7 @@ private StatusCodeMapping() { private static final long serialVersionUID = 1L; { + put(ErrorType.NOT_FOUND, HttpStatus.NOT_FOUND); put(ErrorType.PROJECT_NOT_FOUND, HttpStatus.NOT_FOUND); put(ErrorType.LAUNCH_NOT_FOUND, HttpStatus.NOT_FOUND); put(ErrorType.TEST_ITEM_NOT_FOUND, HttpStatus.NOT_FOUND); From e859db23547e31be5791677e126e4059a2feae1c Mon Sep 17 00:00:00 2001 From: Pavel_Bortnik Date: Thu, 9 Nov 2023 19:59:48 +0300 Subject: [PATCH 2/6] EPMRPP-87316 || Update commons-model --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 7e357f6..14eee95 100644 --- a/build.gradle +++ b/build.gradle @@ -50,7 +50,7 @@ dependencies { if (releaseMode) { compile 'com.epam.reportportal:commons-model' } else { - compile 'com.github.reportportal:commons-model:c94a391' + compile 'com.github.reportportal:commons-model:9ec180be55' } compile 'org.slf4j:slf4j-api' From aed668d04ba4e0af906295d2c8e6ce32231bcdc6 Mon Sep 17 00:00:00 2001 From: PeeAyBee Date: Fri, 10 Nov 2023 19:47:13 +0300 Subject: [PATCH 3/6] Update build.gradle --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 14eee95..28843da 100644 --- a/build.gradle +++ b/build.gradle @@ -50,7 +50,7 @@ dependencies { if (releaseMode) { compile 'com.epam.reportportal:commons-model' } else { - compile 'com.github.reportportal:commons-model:9ec180be55' + compile 'com.github.reportportal:commons-model:bf40974' } compile 'org.slf4j:slf4j-api' From 29c30a17116e10fd85fc5a317f9c4b2c2f7477c4 Mon Sep 17 00:00:00 2001 From: PeeAyBee Date: Thu, 16 Nov 2023 20:50:00 +0300 Subject: [PATCH 4/6] EPMRPP-87613 || Add back compatibility with older plugins --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 28843da..d82a35b 100644 --- a/build.gradle +++ b/build.gradle @@ -50,7 +50,7 @@ dependencies { if (releaseMode) { compile 'com.epam.reportportal:commons-model' } else { - compile 'com.github.reportportal:commons-model:bf40974' + compile 'com.github.reportportal:commons-model:83f012f' } compile 'org.slf4j:slf4j-api' From b2a7fac3d338a0d539257b0d052111a798a633d9 Mon Sep 17 00:00:00 2001 From: Ivan_Kustau Date: Mon, 20 Nov 2023 12:34:39 +0300 Subject: [PATCH 5/6] EPMRPP-86835 || Update releaseMode to use Maven instead of Github --- build.gradle | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/build.gradle b/build.gradle index d82a35b..cec49d4 100644 --- a/build.gradle +++ b/build.gradle @@ -22,18 +22,9 @@ apply from: scriptsUrl + '/build-quality.gradle' repositories { - mavenCentral() - if (releaseMode) { - dependencyRepos.forEach { path -> - maven { - setUrl("https://maven.pkg.github.com/reportportal/${path}") - credentials { - username = findProperty("githubUserName") - password = findProperty("githubToken") - } - } - } - } else { + mavenCentral { url "https://repo1.maven.org/maven2" } + + if (!releaseMode) { maven { url 'https://jitpack.io' } } } From f65c5de24b26d01b35fd7b17baf9e3809bc7ed3a Mon Sep 17 00:00:00 2001 From: Pavel Bortnik Date: Fri, 15 Dec 2023 17:20:12 +0300 Subject: [PATCH 6/6] rc/5.11.0 || Update version --- .github/workflows/release.yml | 2 +- build.gradle | 2 +- gradle.properties | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 64a7ef9..7ea3814 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ on: env: GH_USER_NAME: github.actor SCRIPTS_VERSION: 5.10.0 - BOM_VERSION: 5.10.0 + BOM_VERSION: 5.11.0 jobs: release: diff --git a/build.gradle b/build.gradle index cec49d4..db9d84a 100644 --- a/build.gradle +++ b/build.gradle @@ -33,7 +33,7 @@ repositories { dependencyManagement { imports { mavenBom 'org.springframework.boot:spring-boot-dependencies:2.1.5.RELEASE' - mavenBom(releaseMode ? 'com.epam.reportportal:commons-bom:' + getProperty('bom.version') : 'com.github.reportportal:commons-bom:6aa55fc0') + mavenBom(releaseMode ? 'com.epam.reportportal:commons-bom:' + getProperty('bom.version') : 'com.github.reportportal:commons-bom:b7acb00') } } diff --git a/gradle.properties b/gradle.properties index dc4a068..1668d2c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version=5.10.1 +version=5.11.0 description=EPAM Report portal. Report Portal Validation and Error Handling Commons \ No newline at end of file