"Require 'Administer' permission on the related project.<br/>" +
"Note that additional information are returned by api/webhooks/delivery.")
.setResponseExample(Resources.getResource(this.getClass(), "example-deliveries.json"))
- .setInternal(true)
.setHandler(this);
action.createParam(COMPONENT_PARAM)
"Require 'Administer System' permission.<br/>" +
"Note that additional information are returned by api/webhooks/delivery.")
.setResponseExample(Resources.getResource(this.getClass(), "example-delivery.json"))
- .setInternal(true)
.setHandler(this);
action.createParam(PARAM_ID)
public void test_definition() {
assertThat(ws.getDef().params()).extracting(WebService.Param::key).containsOnly("componentKey", "ceTaskId");
assertThat(ws.getDef().isPost()).isFalse();
- assertThat(ws.getDef().isInternal()).isTrue();
+ assertThat(ws.getDef().isInternal()).isFalse();
assertThat(ws.getDef().responseExampleAsString()).isNotEmpty();
}
public void test_definition() {
assertThat(ws.getDef().params()).extracting(WebService.Param::key).containsOnly("deliveryId");
assertThat(ws.getDef().isPost()).isFalse();
- assertThat(ws.getDef().isInternal()).isTrue();
+ assertThat(ws.getDef().isInternal()).isFalse();
assertThat(ws.getDef().responseExampleAsString()).isNotEmpty();
}