Skip to content

Instantly share code, notes, and snippets.

@DuncanDoyle
Created July 8, 2020 10:29
Show Gist options
  • Save DuncanDoyle/5360a804cc8315e6260be824319dfac8 to your computer and use it in GitHub Desktop.
Save DuncanDoyle/5360a804cc8315e6260be824319dfac8 to your computer and use it in GitHub Desktop.
{
"apiVersion": "camel.apache.org/v1",
"kind": "Integration",
"metadata": {
"creationTimestamp": "2020-07-08T09:20:24Z",
"generation": 1,
"name": "timed-greeter",
"namespace": "knativetutorial",
"resourceVersion": "638666",
"selfLink": "/apis/camel.apache.org/v1/namespaces/knativetutorial/integrations/timed-greeter",
"uid": "18432e49-0afc-42c3-a71f-50ca51a88539"
},
"spec": {
"flows": [
{
"from": {
"parameters": {
"period": 10000
},
"steps": [
{
"set-body": {
"constant": "Welcome to Apache Camel K"
}
},
{
"set-header": {
"name": "ContentType",
"simple": "text/plain"
}
},
{
"transform": {
"simple": "${body.toUpperCase()}"
}
},
{
"to": {
"uri": "log:info?multiline=true\u0026showAll=true"
}
}
],
"uri": "timer:tick"
}
}
]
},
"status": {
"conditions": [
{
"lastTransitionTime": "2020-07-08T09:20:24Z",
"lastUpdateTime": "2020-07-08T09:20:24Z",
"message": "camel-k",
"reason": "IntegrationPlatformAvailable",
"status": "True",
"type": "IntegrationPlatformAvailable"
},
{
"lastTransitionTime": "2020-07-08T09:20:24Z",
"lastUpdateTime": "2020-07-08T09:20:24Z",
"message": "kit-bs2ojc1spooqs7l1b9kg",
"reason": "IntegrationKitAvailable",
"status": "True",
"type": "IntegrationKitAvailable"
},
{
"lastTransitionTime": "2020-07-08T09:20:24Z",
"lastUpdateTime": "2020-07-08T09:20:24Z",
"message": "different controller strategy used (deployment)",
"reason": "CronJobNotAvailableReason",
"status": "False",
"type": "CronJobAvailable"
},
{
"lastTransitionTime": "2020-07-08T09:20:24Z",
"lastUpdateTime": "2020-07-08T09:20:24Z",
"message": "deployment name is timed-greeter",
"reason": "DeploymentAvailable",
"status": "True",
"type": "DeploymentAvailable"
},
{
"lastTransitionTime": "2020-07-08T09:20:24Z",
"lastUpdateTime": "2020-07-08T09:20:24Z",
"message": "no http service required",
"reason": "ServiceNotAvailable",
"status": "False",
"type": "ServiceAvailable"
},
{
"lastTransitionTime": "2020-07-08T09:20:24Z",
"lastUpdateTime": "2020-07-08T09:20:24Z",
"message": "no target service found",
"reason": "RouteNotAvailable",
"status": "False",
"type": "ExposureAvailable"
},
{
"lastTransitionTime": "2020-07-08T09:20:27Z",
"lastUpdateTime": "2020-07-08T09:20:27Z",
"reason": "ReplicaSetReady",
"status": "True",
"type": "Ready"
}
],
"dependencies": [
"camel:core-languages",
"camel:log",
"camel:timer",
"mvn:org.apache.camel.k/camel-k-loader-yaml",
"mvn:org.apache.camel.k/camel-k-runtime-main"
],
"digest": "v9PlceAa4Ya7G4KaLcvfcvmRuv8RbagOmramGzz-v_MA",
"generatedSources": [
{
"content": "- from:\n parameters:\n period: 10000\n steps:\n - set-body:\n constant: Welcome to Apache Camel K\n - set-header:\n name: ContentType\n simple: text/plain\n - transform:\n simple: ${body.toUpperCase()}\n - to:\n uri: log:info?multiline=true\u0026showAll=true\n uri: timer:tick\n",
"name": "camel-k-embedded-flow.yaml"
}
],
"image": "image-registry.openshift-image-registry.svc:5000/knativetutorial/camel-k-kit-bs2ojc1spooqs7l1b9kg@sha256:aaa19c11bfb2f3a2e170d2ba9d9fdd98dd23b8f3331baea61011050138c7ceec",
"kit": "kit-bs2ojc1spooqs7l1b9kg",
"phase": "Running",
"platform": "camel-k",
"profile": "OpenShift",
"replicas": 1,
"runtimeProvider": "main",
"runtimeVersion": "1.3.0",
"version": "1.0.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment