diff --git a/CHANGELOG.md b/CHANGELOG.md index 4603ae1c..a39eeb0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - `TmsLink` and `TmsLinks` annotations, by @HardNorth - `Issue` and `ExternalIssue` annotations, by @HardNorth - `rp.bts.project`, `rp.bts.url`, `rp.bts.issue.url`, `rp.bts.issue.fail` properties, which controls these annotations, by @HardNorth +- `ReportPortalClient.getProjectSettings` method, by @HardNorth ## [5.2.5] ### Added diff --git a/src/main/java/com/epam/reportportal/service/ReportPortalClient.java b/src/main/java/com/epam/reportportal/service/ReportPortalClient.java index 90d8aa91..69c8d3bf 100644 --- a/src/main/java/com/epam/reportportal/service/ReportPortalClient.java +++ b/src/main/java/com/epam/reportportal/service/ReportPortalClient.java @@ -19,6 +19,7 @@ import com.epam.ta.reportportal.ws.model.item.ItemCreatedRS; import com.epam.ta.reportportal.ws.model.launch.*; import com.epam.ta.reportportal.ws.model.log.SaveLogRQ; +import com.epam.ta.reportportal.ws.model.project.config.ProjectSettingsResource; import io.reactivex.Maybe; import okhttp3.MultipartBody; import retrofit2.http.*; @@ -60,4 +61,7 @@ public interface ReportPortalClient { @GET("v1/{projectName}/item/uuid/{itemUuid}") Maybe getItemByUuid(@Path("itemUuid") String itemUuid); + + @GET("v1/{projectName}/settings") + Maybe getProjectSettings(); }