import org.onap.ccsdk.cds.blueprintsprocessor.functions.k8s.instance.healthcheck.K8sRbInstanceHealthCheckList
import org.onap.ccsdk.cds.blueprintsprocessor.functions.k8s.instance.healthcheck.K8sRbInstanceHealthCheckSimple
import org.onap.ccsdk.cds.blueprintsprocessor.rest.service.BlueprintWebClientService
-import org.onap.ccsdk.cds.controllerblueprints.core.BlueprintProcessorException
+import org.onap.ccsdk.cds.controllerblueprints.core.BluePrintProcessorException
import org.onap.ccsdk.cds.controllerblueprints.core.utils.JacksonUtils
import org.slf4j.LoggerFactory
import org.springframework.http.HttpMethod.DELETE
} else if (result.status == 500 && result.body.contains("Did not find any objects with tag"))
null
else
- throw BlueprintProcessorException(result.body)
+ throw BluePrintProcessorException(result.body)
} catch (e: Exception) {
log.error("Caught exception trying to get k8s rb instance")
- throw BlueprintProcessorException("${e.message}")
+ throw BluePrintProcessorException("${e.message}")
}
}
} else if (result.status == 500 && result.body.contains("Error finding master table"))
null
else
- throw BlueprintProcessorException(result.body)
+ throw BluePrintProcessorException(result.body)
} catch (e: Exception) {
log.error("Caught exception trying to get k8s rb instance")
- throw BlueprintProcessorException("${e.message}")
+ throw BluePrintProcessorException("${e.message}")
}
}
} else if (result.status == 500 && result.body.contains("Error finding master table"))
null
else
- throw BlueprintProcessorException(result.body)
+ throw BluePrintProcessorException(result.body)
} catch (e: Exception) {
log.error("Caught exception trying to get k8s rb instance")
- throw BlueprintProcessorException("${e.message}")
+ throw BluePrintProcessorException("${e.message}")
}
}
} else if (result.status == 500 && result.body.contains("Error finding master table"))
null
else
- throw BlueprintProcessorException(result.body)
+ throw BluePrintProcessorException(result.body)
} catch (e: Exception) {
log.error("Caught exception trying to get k8s rb instance")
- throw BlueprintProcessorException("${e.message}")
+ throw BluePrintProcessorException("${e.message}")
}
}
} else if (result.status == 500 && result.body.contains("Error finding master table"))
null
else
- throw BlueprintProcessorException(result.body)
+ throw BluePrintProcessorException(result.body)
} catch (e: Exception) {
log.error("Caught exception trying to get k8s rb instance")
- throw BlueprintProcessorException("${e.message}")
+ throw BluePrintProcessorException("${e.message}")
}
}
} else if (result.status == 500 && result.body.contains("Error finding master table"))
null
else
- throw BlueprintProcessorException(result.body)
+ throw BluePrintProcessorException(result.body)
} catch (e: Exception) {
log.error("Caught exception trying to get k8s rb instance")
- throw BlueprintProcessorException("${e.message}")
+ throw BluePrintProcessorException("${e.message}")
}
}
} else if (result.status == 500 && result.body.contains("Error finding master table"))
null
else
- throw BlueprintProcessorException(result.body)
+ throw BluePrintProcessorException(result.body)
} catch (e: Exception) {
log.error("Caught exception trying to get k8s rb instance")
- throw BlueprintProcessorException("${e.message}")
+ throw BluePrintProcessorException("${e.message}")
}
}
)
parsedObject
} else
- throw BlueprintProcessorException(result.body)
+ throw BluePrintProcessorException(result.body)
} catch (e: Exception) {
log.error("Caught exception trying to create config instance")
- throw BlueprintProcessorException("${e.message}")
+ throw BluePrintProcessorException("${e.message}")
}
}
)
parsedObject
} else
- throw BlueprintProcessorException(result.body)
+ throw BluePrintProcessorException(result.body)
} catch (e: Exception) {
log.error("Caught exception trying to edit config instance")
- throw BlueprintProcessorException("${e.message}")
+ throw BluePrintProcessorException("${e.message}")
}
}
return result.status in 200..299
} catch (e: Exception) {
log.error("Caught exception trying to get k8s rb instance")
- throw BlueprintProcessorException("${e.message}")
+ throw BluePrintProcessorException("${e.message}")
}
}
)
parsedObject
} else
- throw BlueprintProcessorException(result.body)
+ throw BluePrintProcessorException(result.body)
} catch (e: Exception) {
log.error("Caught exception trying to get config instance")
- throw BlueprintProcessorException("${e.message}")
+ throw BluePrintProcessorException("${e.message}")
}
}
)
log.debug(result.toString())
if (result.status !in 200..299)
- throw BlueprintProcessorException(result.body)
+ throw BluePrintProcessorException(result.body)
} catch (e: Exception) {
log.error("Caught exception trying to delete config instance")
- throw BlueprintProcessorException("${e.message}")
+ throw BluePrintProcessorException("${e.message}")
}
}
)
parsedObject
} else
- throw BlueprintProcessorException(result.body)
+ throw BluePrintProcessorException(result.body)
} catch (e: Exception) {
log.error("Caught exception trying to get k8s rb instance")
- throw BlueprintProcessorException("${e.message}")
+ throw BluePrintProcessorException("${e.message}")
}
}
)
parsedObject
} else
- throw BlueprintProcessorException(result.body)
+ throw BluePrintProcessorException(result.body)
} catch (e: Exception) {
log.error("Caught exception trying to get k8s rb instance")
- throw BlueprintProcessorException("${e.message}")
+ throw BluePrintProcessorException("${e.message}")
}
}
)
log.debug(result.toString())
if (result.status !in 200..299)
- throw BlueprintProcessorException(result.body)
+ throw BluePrintProcessorException(result.body)
} catch (e: Exception) {
log.error("Caught exception trying to get k8s rb instance")
- throw BlueprintProcessorException("${e.message}")
+ throw BluePrintProcessorException("${e.message}")
}
}
}