Skip to content

Commit

Permalink
Merge pull request #220 from matt-richardson/mattr/update-launch
Browse files Browse the repository at this point in the history
Add support for the launch update endpoint
  • Loading branch information
HardNorth committed Oct 10, 2023
2 parents 6e90887 + c7d7985 commit ba93b56
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@

import com.epam.ta.reportportal.ws.model.*;
import com.epam.ta.reportportal.ws.model.item.ItemCreatedRS;
import com.epam.ta.reportportal.ws.model.launch.LaunchResource;
import com.epam.ta.reportportal.ws.model.launch.MergeLaunchesRQ;
import com.epam.ta.reportportal.ws.model.launch.StartLaunchRQ;
import com.epam.ta.reportportal.ws.model.launch.StartLaunchRS;
import com.epam.ta.reportportal.ws.model.launch.*;
import com.epam.ta.reportportal.ws.model.log.SaveLogRQ;
import io.reactivex.Maybe;
import okhttp3.MultipartBody;
Expand All @@ -36,6 +33,9 @@ public interface ReportPortalClient {
@POST("v1/{projectName}/launch/merge")
Maybe<LaunchResource> mergeLaunches(@Body MergeLaunchesRQ rq);

@PUT("v1/{projectName}/launch/{launchId}/update")
Maybe<LaunchResource> updateLaunch(@Path("launchId") String launchId, @Body UpdateLaunchRQ rq);

@PUT("v1/{projectName}/launch/{launchId}/finish")
Maybe<OperationCompletionRS> finishLaunch(@Path("launchId") String launch, @Body FinishExecutionRQ rq);

Expand Down

0 comments on commit ba93b56

Please sign in to comment.