Skip to content

Instantly share code, notes, and snippets.

View oscerd's full-sized avatar

Andrea Cosentino oscerd

View GitHub Profile
- route:
from:
uri: "kamelet:timer-source"
parameters:
message: '{"id":"1","message":"Camel Rocks"}'
contentType: "application/json"
repeatCount: 1
steps:
- setHeader:
name: "query"
2023-11-09 13:20:55,985 [main ] INFO DockerClientFactory - Connected to docker:
Server Version: 24.0.5
API Version: 1.43
Operating System: Fedora Linux 39 (Workstation Edition)
Total Memory: 31838 MB
2023-11-09 13:20:56,138 [main ] INFO 1 - Creating container for image: testcontainers/ryuk:0.5.1
2023-11-09 13:20:56,263 [main ] INFO 1 - Container testcontainers/ryuk:0.5.1 is starting: db2689bbe3c6a13974877aa7d8118c7497c6405a41393f44b0be3b08bd973b4d
2023-11-09 13:20:56,484 [main ] ERROR 1 - Could not start container
com.github.dockerjava.api.exception.InternalServerErrorException: Status 500: {"message":"failed to create task for container: failed to create shim task: ttrpc: cannot marshal unknown type: *task.CreateTaskRequest: unknown"}
[oscerd@ghost camel-example-mybatis]$ jbang run -Dcamel.jbang.version=4.1.0-SNAPSHOT camel@apache/camel transform src/main/resources/OSGI-INF/blueprint/camel-mybatis.xml --format=yaml --resolve-placeholders --uri-as-parameters --output=peppe.yaml
[oscerd@ghost camel-example-mybatis]$ jbang run -Dcamel.jbang.version=4.1.0-SNAPSHOT camel@apache/camel run peppe.yaml src/main/java/org/apache/camel/example/mybatis/DatabaseInitializationBean.java src/main/java/org/apache/camel/example/mybatis/OrderService.java src/main/java/org/apache/camel/example/mybatis/Order.java src/main/resources/SqlMapConfig.xml src/main/resources/org/apache/camel/example/mybatis/Order.xml --deps=org.apache.derby:derby:10.11.1.1
apiVersion: v1
kind: Pod
metadata:
name: security-context-demo
spec:
securityContext:
runAsUser: 1000
runAsGroup: 3000
fsGroup: 2000
volumes:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Camel :: YAML DSL :: Parent [pom]
[INFO] Camel :: YAML DSL :: Maven Plugins [maven-plugin]
[INFO] Camel :: YAML DSL :: Common [jar]
[INFO] Camel :: YAML DSL :: Deserializers [jar]
[INFO] Camel :: YAML DSL [jar]
[INFO]
template:
beans:
- name: kafkaHeaderDeserializer
type: "#class:org.apache.camel.kamelets.utils.serialization.kafka.KafkaHeaderDeserializer"
property:
- key: enabled
value: '{{deserializeHeaders}}'
- name: myAggregatorStrategy
type: "#class:org.apache.camel.processor.aggregate.StringAggregationStrategy"
property:
2023-03-15 12:58:35.566 ERROR 111161 --- [ main] .download.MavenDependencyDownloader : Error downloading: org.apache.camel:camel-rest:4.0.0-SNAPSHOT due: org.apache.camel.main.download.DownloadException: Unknown error occurred while trying to resolve dependencies
java.util.concurrent.ExecutionException: org.apache.camel.main.download.DownloadException: Unknown error occurred while trying to resolve dependencies
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:?]
at java.util.concurrent.FutureTask.get(FutureTask.java:205) ~[?:?]
at org.apache.camel.main.download.DownloadThreadPool.awaitCompletion(DownloadThreadPool.java:60) ~[camel-kamelet-main-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
at org.apache.camel.main.download.DownloadThreadPool.download(DownloadThreadPool.java:52) ~[camel-kamelet-main-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
at org.apache.camel.main.download.MavenDependencyDownloader.doDownloadDependency(MavenDependencyDownloader.java:213) ~[camel-kamelet-main-4.0.0-SNAPSHOT.jar:4
This file has been truncated, but you can view the full file.
{
"bomFormat" : "CycloneDX",
"specVersion" : "1.4",
"serialNumber" : "urn:uuid:59bb891b-239d-4582-a2fe-b46211b4557e",
"version" : 1,
"metadata" : {
"timestamp" : "2023-01-18T16:27:32Z",
"tools" : [
{
"vendor" : "OWASP Foundation",
# ---------------------------------------------------------------------------
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# ---------------------------------------------------------------------------
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#