Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
feat(): add optional proxy to UI
Browse files Browse the repository at this point in the history
  • Loading branch information
DelaunayAlex committed Nov 27, 2023
1 parent e74c815 commit f0f9293
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ void getConfigurationUrl() throws Exception {

@Test
void saveConfiguration() throws Exception {
JiraTargetConfiguration newConfiguration = new JiraTargetConfiguration("a new url", "a new username", "a new password", null, null, null);
JiraTargetConfiguration newConfiguration = new JiraTargetConfiguration("a new url", "a new username", "a new password", "", "", "");

mockMvc.perform(MockMvcRequestBuilders.post("/api/ui/jira/v1/configuration")
.contentType(MediaType.APPLICATION_JSON_VALUE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ private static Object[] securedEndPointList() {
{GET, "/api/ui/jira/v1/configuration", "ADMIN_ACCESS", null, OK},
{GET, "/api/ui/jira/v1/configuration/url", "SCENARIO_READ", null, OK},
{GET, "/api/ui/jira/v1/configuration/url", "CAMPAIGN_READ", null, OK},
{POST, "/api/ui/jira/v1/configuration", "ADMIN_ACCESS", "{\"url\":\"\",\"username\":\"\",\"password\":\"\"}", OK},
{POST, "/api/ui/jira/v1/configuration", "ADMIN_ACCESS", "{\"url\":\"\",\"username\":\"\",\"password\":\"\",\"urlProxy\":\"\",\"userProxy\":\"\",\"passwordProxy\":\"\"}", OK},

{POST, "/api/v1/ui/plugins/linkifier/", "ADMIN_ACCESS", "{\"pattern\":\"\",\"link\":\"\",\"id\":\"\"}", OK},
{DELETE, "/api/v1/ui/plugins/linkifier/id", "ADMIN_ACCESS", null, OK},
Expand Down

0 comments on commit f0f9293

Please sign in to comment.