));
}
@Override
public Object convert(Object o, TypeDescriptor sourceType, TypeDescriptor targetType) {
Service source = (Service) o;
<BUG>String serviceName = KubernetesHelper.getName(source);
String serviceNamespace = KubernetesHelper.getNamespace(source);
String serviceProtocol = getProtocolOfService(source);
Boolean serviceExternal = isServiceExternal(source);
serviceNamespace = serviceNamespace != null ? serviceNamespace : KubernetesHelper.defaultNamespace();
String str = KubernetesHelper.getServiceURL(kubernetesClient, serviceName, serviceNamespace, serviceProtocol, serviceExternal);</BUG>
try {

));
}
@Override
public Object convert(Object o, TypeDescriptor sourceType, TypeDescriptor targetType) {
Service source = (Service) o;
String serviceProtocol = getProtocolOfService(source);
String servicePort = getPortOfService(source);
String str = getServiceURL(kubernetesClient, source, serviceProtocol, servicePort);
try {
