json.prop("kubernetesVersion", cloudUsage.kubernetesVersion());
json.prop("kubernetesPlatform", cloudUsage.kubernetesPlatform());
json.prop("kubernetesProvider", cloudUsage.kubernetesProvider());
+ json.prop("isHelmAutoscalingEnabled", cloudUsage.isHelmAutoscalingEnabled());
+ json.prop("isOnOpenshift", cloudUsage.isOnOpenshift());
json.prop("officialHelmChart", cloudUsage.officialHelmChart());
json.prop("containerRuntime", cloudUsage.containerRuntime());
json.prop("officialImage", cloudUsage.officialImage());
TelemetryData data = telemetryBuilder().build();
String json = writeTelemetryData(data);
- assertJson(json).isSimilarTo("""
+ assertJson(json).withStrictArrayOrder().isSimilarTo("""
{
"cloudUsage": {
"kubernetes": true,
"kubernetesVersion": "1.27",
"kubernetesPlatform": "linux/amd64",
"kubernetesProvider": "5.4.181-99.354.amzn2.x86_64",
+ "isHelmAutoscalingEnabled": true,
+ "isOnOpenshift": false,
"officialHelmChart": "10.1.0",
"officialImage": false,
"containerRuntime": "docker"
.setMessageSequenceNumber(1L)
.setPlugins(Collections.emptyMap())
.setManagedInstanceInformation(new TelemetryData.ManagedInstanceInformation(false, null))
- .setCloudUsage(new TelemetryData.CloudUsage(true, "1.27", "linux/amd64", "5.4.181-99.354.amzn2.x86_64", "10.1.0", false, false, "docker", false))
+ .setCloudUsage(new TelemetryData.CloudUsage(true, "1.27", "linux/amd64", "5.4.181-99.354.amzn2.x86_64", "10.1.0", false, true, "docker", false))
.setDatabase(new TelemetryData.Database("H2", "11"))
.setNcdId(NCD_ID);
}