assertThat(action.description()).isNotNull();
assertThat(action.responseExample()).isNotNull();
assertThat(action.changelog()).extracting(Change::getVersion, Change::getDescription).containsExactlyInAnyOrder(
- tuple("7.6", "The use of module keys in parameter 'component' is deprecated"));
+ tuple("7.6", "The use of module keys in parameter 'component' is deprecated"),
+ tuple("10.1", "The use of module keys in parameter 'component' is removed"));
assertThat(action.params()).extracting(WebService.Param::key).containsExactlyInAnyOrder("component", "branch", "pullRequest");
WebService.Param component = action.param(PARAM_COMPONENT);
assertThat(action.description()).isNotNull();
assertThat(action.responseExample()).isNotNull();
assertThat(action.changelog()).extracting(Change::getVersion, Change::getDescription).containsExactlyInAnyOrder(
+ tuple("10.1", "The use of module keys in parameter 'component' is removed"),
tuple("10.1", "The use of 'BRC' as value for parameter 'qualifiers' is removed"),
tuple("7.6", "The use of 'BRC' as value for parameter 'qualifiers' is deprecated"),
tuple("7.6", "The use of module keys in parameter 'component' is deprecated"));
tuple("6.4", "The 'visibility' field is added"),
tuple("7.3", "The 'almRepoUrl' and 'almId' fields are added"),
tuple("7.6", "The use of module keys in parameter 'component' is deprecated"),
- tuple("8.8", "Deprecated parameter 'componentKey' has been removed. Please use parameter 'component' instead"));
+ tuple("8.8", "Deprecated parameter 'componentKey' has been removed. Please use parameter 'component' instead"),
+ tuple("10.1", "The use of module keys in parameter 'component' is removed"));
WebService.Param componentId = action.param(PARAM_COMPONENT);
assertThat(componentId.isRequired()).isFalse();
new Change("7.1", "field \"pullRequest\" added"),
new Change("7.6", format("The use of module keys in parameters '%s' is deprecated", TEXT_QUERY)),
new Change("8.8", "field \"logs\" is dropped"),
- new Change("10.0", "Remove deprecated field 'componentId'"))
+ new Change("10.0", "Remove deprecated field 'componentId'"),
+ new Change("10.1", String.format("The use of module keys in parameter '%s' is removed", PARAM_COMPONENT)))
.setSince("5.2");
action.createParam(PARAM_COMPONENT)
"Requires the following permission: 'Browse'.")
.setResponseExample(getClass().getResource("app-example.json"))
.setSince("4.4")
- .setChangelog(new Change("9.6", "The fields 'subProject', 'subProjectName' were removed from the response."))
- .setChangelog(new Change("7.6", String.format("The use of module keys in parameter '%s' is deprecated", PARAM_COMPONENT)))
+ .setChangelog(
+ new Change("10.1", String.format("The use of module keys in parameter '%s' is removed", PARAM_COMPONENT)),
+ new Change("9.6", "The fields 'subProject', 'subProjectName' were removed from the response."),
+ new Change("7.6", String.format("The use of module keys in parameter '%s' is deprecated", PARAM_COMPONENT)))
.setInternal(true)
.setHandler(this);
.setResponseExample(getClass().getResource("show-example.json"))
.setSince("5.4")
.setChangelog(
+ new Change("10.1", String.format("The use of module keys in parameter '%s' is removed", PARAM_COMPONENT)),
new Change("7.6", String.format("The use of module keys in parameter '%s' is deprecated", PARAM_COMPONENT)))
.setHandler(this);
.setSince("5.4")
.setResponseExample(getClass().getResource("tree-example.json"))
.setChangelog(
+ new Change("10.1", String.format("The use of module keys in parameter '%s' is removed", PARAM_COMPONENT)),
new Change("10.1", String.format("The use of 'BRC' as value for parameter '%s' is removed", PARAM_QUALIFIERS)),
new Change("7.6", String.format("The use of 'BRC' as value for parameter '%s' is deprecated", PARAM_QUALIFIERS)),
new Change("7.6", String.format("The use of module keys in parameter '%s' is deprecated", PARAM_COMPONENT)))
"Requires authentication and the following permission: 'Browse' on the project of the specified component.")
.setSince("6.3")
.setChangelog(
+ new Change("10.1", String.format("The use of module keys in parameter '%s' is removed", PARAM_COMPONENT)),
new Change("8.4", "It's no longer possible to set a file as favorite"),
new Change("7.7", "It's no longer possible to have more than 100 favorites by qualifier"),
new Change("7.7", "It's no longer possible to set a directory as favorite"),
.setDescription("Remove a component (project, portfolio, application etc.) as favorite for the authenticated user.<br>" +
"Requires authentication.")
.setSince("6.3")
- .setChangelog(new Change("7.6", String.format("The use of module keys in parameter '%s' is deprecated", PARAM_COMPONENT)))
+ .setChangelog(
+ new Change("10.1", String.format("The use of module keys in parameter '%s' is removed", PARAM_COMPONENT)),
+ new Change("7.6", String.format("The use of module keys in parameter '%s' is deprecated", PARAM_COMPONENT)))
.setPost(true)
.setHandler(this);
.setResponseExample(getClass().getResource("component-example.json"))
.setSince("5.4")
.setChangelog(
+ new Change("10.1", String.format("The use of module keys in parameter '%s' is removed", PARAM_COMPONENT)),
new Change("10.0", format("The use of the following metrics in 'metricKeys' parameter is not deprecated anymore: %s",
MeasuresWsModule.getDeprecatedMetrics())),
new Change("10.0", "the response field periods under measures field is removed."),
"</ul>")
.setResponseExample(getClass().getResource("list_definitions-example.json"))
.setSince("6.3")
- .setChangelog(new Change("7.6", String.format("The use of module keys in parameter '%s' is deprecated", PARAM_COMPONENT)))
+ .setChangelog(
+ new Change("10.1", String.format("The use of module keys in parameter '%s' is removed", PARAM_COMPONENT)),
+ new Change("7.6", String.format("The use of module keys in parameter '%s' is deprecated", PARAM_COMPONENT)))
.setHandler(this);
action.createParam(PARAM_COMPONENT)
.setDescription("Component key")
PARAM_VALUE, PARAM_VALUES)
.setSince("6.1")
.setChangelog(
+ new Change("10.1", String.format("The use of module keys in parameter '%s' is removed", PARAM_COMPONENT)),
new Change("8.8", "Deprecated parameter 'componentKey' has been removed"),
new Change("7.6", String.format("The use of module keys in parameter '%s' is deprecated", PARAM_COMPONENT)),
new Change("7.1", "The settings defined in conf/sonar.properties are read-only and can't be changed"))
.setResponseExample(getClass().getResource("values-example.json"))
.setSince("6.3")
.setChangelog(
+ new Change("10.1", String.format("The use of module keys in parameter '%s' is removed", PARAM_COMPONENT)),
new Change("9.1", "The secured settings values are no longer returned. Secured settings keys that have a value " +
"are now returned in setSecuredSettings array."),
new Change("7.6", String.format("The use of module keys in parameter '%s' is deprecated", PARAM_COMPONENT)),
.setResponseExample(getClass().getResource("component-example.json"))
.setSince("5.2")
.setChangelog(
+ new Change("10.1", String.format("The use of module keys in parameter '%s' is removed", PARAM_COMPONENT)),
new Change("8.8", "Deprecated parameter 'componentKey' has been removed. Please use parameter 'component' instead"),
new Change("7.6", format("The use of module keys in parameter '%s' is deprecated", PARAM_COMPONENT)),
new Change("7.3", "The 'almRepoUrl' and 'almId' fields are added"),
* This is a mandatory parameter.
* Possible values:
* <ul>
- * <li>"BRC"</li>
* <li>"DIR"</li>
* <li>"FIL"</li>
* <li>"TRK"</li>
* <li>"SVW"</li>
* <li>"APP"</li>
* <li>"TRK"</li>
- * <li>"BRC"</li>
* <li>"FIL"</li>
* <li>"UTS"</li>
* </ul>
/**
* Possible values:
* <ul>
- * <li>"BRC"</li>
* <li>"DIR"</li>
* <li>"FIL"</li>
* <li>"TRK"</li>
/**
* Possible values:
* <ul>
- * <li>"BRC"</li>
* <li>"DIR"</li>
* <li>"FIL"</li>
* <li>"TRK"</li>