Search in sources :

Example 6 with FeatureSetting

use of com.sequenceiq.common.api.type.FeatureSetting in project cloudbreak by hortonworks.

the class Features method addUseSharedAltusCredential.

@JsonIgnore
public void addUseSharedAltusCredential(boolean enabled) {
    useSharedAltusCredential = new FeatureSetting();
    useSharedAltusCredential.setEnabled(enabled);
}
Also used : FeatureSetting(com.sequenceiq.common.api.type.FeatureSetting) JsonIgnore(com.fasterxml.jackson.annotation.JsonIgnore)

Example 7 with FeatureSetting

use of com.sequenceiq.common.api.type.FeatureSetting in project cloudbreak by hortonworks.

the class FeaturesBase method addWorkloadAnalytics.

@JsonIgnore
public void addWorkloadAnalytics(boolean enabled) {
    workloadAnalytics = new FeatureSetting();
    workloadAnalytics.setEnabled(enabled);
}
Also used : FeatureSetting(com.sequenceiq.common.api.type.FeatureSetting) JsonIgnore(com.fasterxml.jackson.annotation.JsonIgnore)

Example 8 with FeatureSetting

use of com.sequenceiq.common.api.type.FeatureSetting in project cloudbreak by hortonworks.

the class FeaturesBase method addCloudStorageLogging.

@JsonIgnore
public void addCloudStorageLogging(boolean enabled) {
    cloudStorageLogging = new FeatureSetting();
    cloudStorageLogging.setEnabled(enabled);
}
Also used : FeatureSetting(com.sequenceiq.common.api.type.FeatureSetting) JsonIgnore(com.fasterxml.jackson.annotation.JsonIgnore)

Example 9 with FeatureSetting

use of com.sequenceiq.common.api.type.FeatureSetting in project cloudbreak by hortonworks.

the class FeaturesBase method addClusterLogsCollection.

@JsonIgnore
public void addClusterLogsCollection(boolean enabled) {
    clusterLogsCollection = new FeatureSetting();
    clusterLogsCollection.setEnabled(enabled);
}
Also used : FeatureSetting(com.sequenceiq.common.api.type.FeatureSetting) JsonIgnore(com.fasterxml.jackson.annotation.JsonIgnore)

Example 10 with FeatureSetting

use of com.sequenceiq.common.api.type.FeatureSetting in project cloudbreak by hortonworks.

the class FeaturesBase method addMonitoring.

@JsonIgnore
public void addMonitoring(boolean enabled) {
    monitoring = new FeatureSetting();
    monitoring.setEnabled(enabled);
}
Also used : FeatureSetting(com.sequenceiq.common.api.type.FeatureSetting) JsonIgnore(com.fasterxml.jackson.annotation.JsonIgnore)

Aggregations

FeatureSetting (com.sequenceiq.common.api.type.FeatureSetting)22 JsonIgnore (com.fasterxml.jackson.annotation.JsonIgnore)12 Test (org.junit.jupiter.api.Test)6 BaseDiagnosticsCollectionRequest (com.sequenceiq.common.api.diagnostics.BaseDiagnosticsCollectionRequest)4 Features (com.sequenceiq.common.api.telemetry.model.Features)4 Telemetry (com.sequenceiq.common.api.telemetry.model.Telemetry)4 FeaturesResponse (com.sequenceiq.common.api.telemetry.response.FeaturesResponse)4 TelemetryRequest (com.sequenceiq.common.api.telemetry.request.TelemetryRequest)3 TelemetryResponse (com.sequenceiq.common.api.telemetry.response.TelemetryResponse)3 S3CloudStorageV1Parameters (com.sequenceiq.common.api.cloudstorage.old.S3CloudStorageV1Parameters)2 Stack (com.sequenceiq.freeipa.entity.Stack)2 UsageProto (com.cloudera.thunderhead.service.common.usage.UsageProto)1 StackV4Response (com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.StackV4Response)1 StackTags (com.sequenceiq.cloudbreak.cloud.model.StackTags)1 AwsInstanceTemplate (com.sequenceiq.cloudbreak.cloud.model.instance.AwsInstanceTemplate)1 BadRequestException (com.sequenceiq.cloudbreak.common.exception.BadRequestException)1 Json (com.sequenceiq.cloudbreak.common.json.Json)1 BackupRequest (com.sequenceiq.common.api.backup.request.BackupRequest)1 AdlsGen2CloudStorageV1Parameters (com.sequenceiq.common.api.cloudstorage.old.AdlsGen2CloudStorageV1Parameters)1 GcsCloudStorageV1Parameters (com.sequenceiq.common.api.cloudstorage.old.GcsCloudStorageV1Parameters)1