Skip to content

Commit

Permalink
adjust serialized names of telemetry license data
Browse files Browse the repository at this point in the history
  • Loading branch information
tmetzke committed Sep 18, 2020
1 parent c736ffe commit b920115
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Expand Up @@ -27,10 +27,12 @@ public class Internals {

public static final String SERIALIZED_APPLICATION_SERVER = "application-server";
public static final String SERIALIZED_CAMUNDA_INTEGRATION = "camunda-integration";
public static final String SERIALIZED_LICENSE_KEY = "license-key";

protected Database database;
@SerializedName(value = SERIALIZED_APPLICATION_SERVER)
protected ApplicationServer applicationServer;
@SerializedName(value = SERIALIZED_LICENSE_KEY)
protected LicenseKeyData licenseKey;
protected Map<String, Command> commands;
@SerializedName(value = SERIALIZED_CAMUNDA_INTEGRATION)
Expand Down
Expand Up @@ -18,11 +18,18 @@

import java.util.Map;

import com.google.gson.annotations.SerializedName;

public class LicenseKeyData {

public static final String SERIALIZED_VALID_UNTIL = "valid-until";
public static final String SERIALIZED_IS_UNLIMITED = "unlimited";

protected String customer;
protected String type;
@SerializedName(value = SERIALIZED_VALID_UNTIL)
protected String validUntil;
@SerializedName(value = SERIALIZED_IS_UNLIMITED)
protected Boolean isUnlimited;
protected Map<String, String> features;
protected String raw;
Expand Down

0 comments on commit b920115

Please sign in to comment.