package bio.terra.common.kubernetes;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "terra.common.kubernetes")
public class KubeProperties {
  // The pod that host the Buffer service app.
  private String podNameFilter;

  /**
   * Name of the Kubernetes pods we are running in. We uses common library uses this to list all
   * pods in the deployment, then uses podNameFilter to find the pod that host the app. e.g.m
   * podName can gives us buffer-service, buffer-cloudsql-proxy, and we use podNameFilter to find
   * buffer-service.
   */
  private String podName;

  /** Whether the app is running in Kubernetes. */
  private boolean inKubernetes;

  private String namespaceSuffix;

  public String getPodName() {
    return podName;
  }

  public void setPodName(String podName) {
    this.podName = podName;
  }

  public String getPodNameFilter() {
    return podNameFilter;
  }

  public void setPodNameFilter(String podNameFilter) {
    this.podNameFilter = podNameFilter;
  }

  public boolean isInKubernetes() {
    return inKubernetes;
  }

  public void setInKubernetes(boolean inKubernetes) {
    this.inKubernetes = inKubernetes;
  }

  public String getNamespaceSuffix() {
    return namespaceSuffix;
  }

  public void setNamespaceSuffix(String namespaceSuffix) {
    this.namespaceSuffix = namespaceSuffix;
  }
}

@@ -716,43 +716,8 @@
 s;%0A%0A
-  private String namespaceSuffix;%0A%0A
   pu
@@ -1177,187 +1177,7 @@
 %0A  %7D
-%0A%0A  public String getNamespaceSuffix() %7B%0A    return namespaceSuffix;%0A  %7D%0A%0A  public void setNamespaceSuffix(String namespaceSuffix) %7B%0A    this.namespaceSuffix = namespaceSuffix;%0A  %7D
 %0A%7D%0A

remove unused property (#38)