NIFI-1185:

- Using banners from the NCM rather than replicating to a node.
This commit is contained in:
Matt Gilman 2015-12-15 12:51:14 -05:00
parent c75b5cfcea
commit 51b8ecd01b
1 changed files with 1 additions and 5 deletions

View File

@ -979,11 +979,7 @@ public class ControllerResource extends ApplicationResource {
)
@QueryParam(CLIENT_ID) @DefaultValue(StringUtils.EMPTY) ClientIdParameter clientId) {
// replicate if cluster manager
if (properties.isClusterManager()) {
return clusterManager.applyRequest(HttpMethod.GET, getAbsolutePath(), getRequestParameters(true), getHeaders()).getResponse();
}
// get the banner from the properties - will come from the NCM when clustered
final String bannerText = properties.getBannerText();
// create the DTO