Skip to content

Commit

Permalink
Update urls in octoperf engine to generate URLs that point to the new…
Browse files Browse the repository at this point in the history
… Octoperf UI.
  • Loading branch information
rabelenda-abstracta committed Jun 14, 2024
1 parent c6b5a26 commit 55148be
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class OctoPerfClient extends BaseRemoteEngineApiClient {

private static final Logger LOG = LoggerFactory.getLogger(OctoPerfClient.class);
private static final String BASE_URL = "https://api.octoperf.com";
private static final String BASE_APP_URL = BASE_URL + "/app/#/app";
private static final String BASE_APP_URL = BASE_URL + "/ui";

private final OctoPerfApi api;
private final String apiKey;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public List<BenchReportItem> getItems() {
}

public void setProject(Project project) {
this.url = project.getBaseUrl() + "/analysis/" + id;
this.url = project.getBaseUrl() + "/analysis/report/" + id;
}

public String getUrl() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public String getBaseUrl() {

@JsonIgnore
public String getUrl() {
return getBaseUrl() + "/design";
return getBaseUrl() + "/design/virtual-user";
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public Project getProject() {

@JsonIgnore
public String getUrl() {
return project.getBaseUrl() + "/runtime/" + id;
return project.getBaseUrl() + "/runtime/scenario/" + id;
}

public static class BackendListenerSettings {
Expand Down

0 comments on commit 55148be

Please sign in to comment.