MetricsProperties metrics = this.props.getHourMetrics(); if (Constants.AnalyticsConstants.VERSION_ELEMENT.equals(currentNode)) { metrics.setVersion(value); MetricsProperties metrics = this.props.getMinuteMetrics(); if (Constants.AnalyticsConstants.VERSION_ELEMENT.equals(currentNode)) { metrics.setVersion(value);
MetricsProperties metrics = this.props.getHourMetrics(); if (Constants.AnalyticsConstants.VERSION_ELEMENT.equals(currentNode)) { metrics.setVersion(value); MetricsProperties metrics = this.props.getMinuteMetrics(); if (Constants.AnalyticsConstants.VERSION_ELEMENT.equals(currentNode)) { metrics.setVersion(value);
private void testAnalyticsDisable(ServiceClient client, ServiceProperties props) throws StorageException, InterruptedException { props.getLogging().setLogOperationTypes(EnumSet.noneOf(LoggingOperations.class)); props.getLogging().setRetentionIntervalInDays(null); props.getLogging().setVersion("1.0"); props.getHourMetrics().setMetricsLevel(MetricsLevel.DISABLED); props.getHourMetrics().setRetentionIntervalInDays(null); props.getHourMetrics().setVersion("1.0"); props.getMinuteMetrics().setMetricsLevel(MetricsLevel.DISABLED); props.getMinuteMetrics().setRetentionIntervalInDays(null); props.getMinuteMetrics().setVersion("1.0"); props.getCors().getCorsRules().clear(); callUploadServiceProps(client, props, null); assertServicePropertiesAreEqual(props, callDownloadServiceProperties(client)); }
props.getHourMetrics().setVersion("1.0"); props.getMinuteMetrics().setVersion("1.0");
hours.setVersion("1.0"); callUploadServiceProps(client, props, fileProps);
minutes.setVersion("1.0"); callUploadServiceProps(client, props, fileProps);