WebService.Action def = ws.getDef();
assertThat(def.key()).isEqualTo("add_group");
assertThat(def.isPost()).isTrue();
- assertThat(def.isInternal()).isTrue();
assertThat(def.params()).extracting(WebService.Param::key).containsExactlyInAnyOrder("groupName", "gateName");
}
WebService.Action def = ws.getDef();
assertThat(def.key()).isEqualTo("add_user");
assertThat(def.isPost()).isTrue();
- assertThat(def.isInternal()).isTrue();
assertThat(def.params()).extracting(WebService.Param::key).containsExactlyInAnyOrder("login", "gateName");
}
WebService.Action def = ws.getDef();
assertThat(def.key()).isEqualTo("remove_group");
assertThat(def.isPost()).isTrue();
- assertThat(def.isInternal()).isTrue();
assertThat(def.params()).extracting(WebService.Param::key).containsExactlyInAnyOrder("groupName", "gateName");
}
WebService.Action def = ws.getDef();
assertThat(def.key()).isEqualTo("remove_user");
assertThat(def.isPost()).isTrue();
- assertThat(def.isInternal()).isTrue();
assertThat(def.params()).extracting(WebService.Param::key).containsExactlyInAnyOrder("login", "gateName");
}
WebService.Action def = ws.getDef();
assertThat(def.key()).isEqualTo("search_groups");
assertThat(def.isPost()).isFalse();
- assertThat(def.isInternal()).isTrue();
assertThat(def.params()).extracting(WebService.Param::key)
.containsExactlyInAnyOrder("gateName", "selected", "q", "p", "ps");
}
WebService.Action def = ws.getDef();
assertThat(def.key()).isEqualTo("search_users");
assertThat(def.isPost()).isFalse();
- assertThat(def.isInternal()).isTrue();
assertThat(def.params()).extracting(WebService.Param::key)
.containsExactlyInAnyOrder("gateName", "selected", "q", "p", "ps");
}
"</ul>")
.setHandler(this)
.setPost(true)
- .setInternal(true)
.setSince("9.2");
super.defineGateAndGroupParameters(action);
"</ul>")
.setHandler(this)
.setPost(true)
- .setInternal(true)
.setSince("9.2");
super.defineGateAndUserParameters(action);
"</ul>")
.setHandler(this)
.setPost(true)
- .setInternal(true)
.setSince("9.2");
super.defineGateAndGroupParameters(action);
"</ul>")
.setHandler(this)
.setPost(true)
- .setInternal(true)
.setSince("9.2");
super.defineGateAndUserParameters(action);
" <li>Edit right on the specified quality gate</li>" +
"</ul>")
.setHandler(this)
- .setInternal(true)
.addSelectionModeParam()
.addSearchQuery("sonar", "group names")
.addPagingParams(25)
" <li>Edit right on the specified quality gate</li>" +
"</ul>")
.setHandler(this)
- .setInternal(true)
.addSearchQuery("freddy", "names", "logins")
.addSelectionModeParam()
.addPagingParams(25)