com.sap.cloud.mt.subscription.json.DeploymentPayload Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of multi-tenant-subscription Show documentation
Show all versions of multi-tenant-subscription Show documentation
Spring Boot Enablement Parent
/*******************************************************************************
* © 2019-2024 SAP SE or an SAP affiliate company. All rights reserved.
******************************************************************************/
package com.sap.cloud.mt.subscription.json;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.ObjectWriter;
import java.io.IOException;
/**
* Created by d025461 on 09.05.17.
*/
public class DeploymentPayload {
public VcapService ADDITIONAL_VCAP_SERVICES;//NOSONAR
public String TARGET_CONTAINER;//NOSONAR
@Override
public String toString() {
ObjectWriter writer = new ObjectMapper().writer().withDefaultPrettyPrinter();
try {
return writer.writeValueAsString(this);
} catch (IOException e) {
return "Could not convert deploy payload to a string";
}
}
}