[jira] [Created] (CAMEL-20644) Camel-AWS-Bedrock-Agent-Runtime: Support usage of sessionId to continue the same session with the knowledge base

2024-04-03 Thread Andrea Cosentino (Jira)
Andrea Cosentino created CAMEL-20644:


 Summary: Camel-AWS-Bedrock-Agent-Runtime: Support usage of 
sessionId to continue the same session with the knowledge base
 Key: CAMEL-20644
 URL: https://issues.apache.org/jira/browse/CAMEL-20644
 Project: Camel
  Issue Type: Improvement
  Components: camel-aws
Reporter: Andrea Cosentino
Assignee: Andrea Cosentino
 Fix For: 4.6.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (CAMEL-20639) Support Strimzi KafkaTopic endpoint reference in Pipes

2024-04-03 Thread Claus Ibsen (Jira)


 [ 
https://issues.apache.org/jira/browse/CAMEL-20639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-20639.
-
Resolution: Fixed

> Support Strimzi KafkaTopic endpoint reference in Pipes
> --
>
> Key: CAMEL-20639
> URL: https://issues.apache.org/jira/browse/CAMEL-20639
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-jbang
>Affects Versions: 4.x
>Reporter: Christoph Deppisch
>Assignee: Christoph Deppisch
>Priority: Major
> Fix For: 4.6.0
>
>
> Add support for Strimzi KafkaTopic resources acting as source/sink in a Pipe. 
> Enhance the JBang bind command to properly handle topic resources.
>  
> {noformat}
> apiVersion: camel.apache.org/v1
> kind: Pipe
> metadata:
>   name: timer-to-kafka  
> spec:
>   source:
> ref:
>   kind: Kamelet
>   apiVersion: camel.apache.org/v1
>   name: timer-source
> properties:
>   message: "Hello Kafka!"
>   sink:
> ref:
>   kind: KafkaTopic
>   apiVersion: kafka.strimzi.io/v1beta2
>       name: my-topic
> properties:
>   brokers: my-cluster-kafka-bootstrap:9092{noformat}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (CAMEL-20643) camel-opentelemetry - OpenTelemetryTracingStrategy does not propagate OpenTelemetry Context in some cases

2024-04-03 Thread John Poth (Jira)
John Poth created CAMEL-20643:
-

 Summary: camel-opentelemetry - OpenTelemetryTracingStrategy does 
not propagate OpenTelemetry Context in some cases
 Key: CAMEL-20643
 URL: https://issues.apache.org/jira/browse/CAMEL-20643
 Project: Camel
  Issue Type: Improvement
  Components: camel-opentelemetry
Affects Versions: 4.5.0
Reporter: John Poth
Assignee: John Poth
 Fix For: 4.6.0


When the excludePatterns is set in some cases, our OpenTelemetryTracingStrategy 
does not propagate the OpenTelemetry Context. Having the current Context 
correctly set enables users to use the 
`io.opentelemetry.instrumentation.annotations.@WithSpan` annotation to create 
custom Spans. This is particularly useful when the user wants to create a Span 
only for a particular method within the Process even though it's disabled e.g:

 
{code:java}
  openTelemetryTracingStrategy.setExcludePatterns("longRunningProcess")
   ...

   .process(exchange -> {
  // No Span created by Camel because excluded 
   longRunningProcess();
}).id("longRunningProcess")

...

   private void longRunningProcess() {
// no Span
firstMethod();
// custom Span
secondMethod();
   }
   private void firstMethod() {
// no Span
   }
   @WithSpan
   private void secondMethod() {
// no Span
   } 
{code}
It would be nice to add an option in OpenTelemetryTracingStrategy to propagate 
the OpenTelemetry context even though the Processor isn't traced.

Thanks !



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (CAMEL-20639) Support Strimzi KafkaTopic endpoint reference in Pipes

2024-04-03 Thread Claus Ibsen (Jira)


 [ 
https://issues.apache.org/jira/browse/CAMEL-20639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-20639:

Fix Version/s: 4.6.0

> Support Strimzi KafkaTopic endpoint reference in Pipes
> --
>
> Key: CAMEL-20639
> URL: https://issues.apache.org/jira/browse/CAMEL-20639
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-jbang
>Affects Versions: 4.x
>Reporter: Christoph Deppisch
>Assignee: Christoph Deppisch
>Priority: Major
> Fix For: 4.6.0
>
>
> Add support for Strimzi KafkaTopic resources acting as source/sink in a Pipe. 
> Enhance the JBang bind command to properly handle topic resources.
>  
> {noformat}
> apiVersion: camel.apache.org/v1
> kind: Pipe
> metadata:
>   name: timer-to-kafka  
> spec:
>   source:
> ref:
>   kind: Kamelet
>   apiVersion: camel.apache.org/v1
>   name: timer-source
> properties:
>   message: "Hello Kafka!"
>   sink:
> ref:
>   kind: KafkaTopic
>   apiVersion: kafka.strimzi.io/v1beta2
>       name: my-topic
> properties:
>   brokers: my-cluster-kafka-bootstrap:9092{noformat}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (CAMEL-20642) Camel-AWS-Bedrock: Support Anthropic Haiku model

2024-04-03 Thread Andrea Cosentino (Jira)


 [ 
https://issues.apache.org/jira/browse/CAMEL-20642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Cosentino resolved CAMEL-20642.
--
Resolution: Fixed

> Camel-AWS-Bedrock: Support Anthropic Haiku model
> 
>
> Key: CAMEL-20642
> URL: https://issues.apache.org/jira/browse/CAMEL-20642
> Project: Camel
>  Issue Type: Sub-task
>Reporter: Andrea Cosentino
>Assignee: Andrea Cosentino
>Priority: Major
> Fix For: 4.6.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (CAMEL-20642) Camel-AWS-Bedrock: Support Anthropic Haiku model

2024-04-03 Thread Andrea Cosentino (Jira)
Andrea Cosentino created CAMEL-20642:


 Summary: Camel-AWS-Bedrock: Support Anthropic Haiku model
 Key: CAMEL-20642
 URL: https://issues.apache.org/jira/browse/CAMEL-20642
 Project: Camel
  Issue Type: Sub-task
Reporter: Andrea Cosentino
Assignee: Andrea Cosentino
 Fix For: 4.6.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (CAMEL-20641) Camel-AWS-Bedrock-Agent: Add information about failures in ingestion job as header

2024-04-03 Thread Andrea Cosentino (Jira)


 [ 
https://issues.apache.org/jira/browse/CAMEL-20641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Cosentino resolved CAMEL-20641.
--
Resolution: Fixed

> Camel-AWS-Bedrock-Agent: Add information about failures in ingestion job as 
> header
> --
>
> Key: CAMEL-20641
> URL: https://issues.apache.org/jira/browse/CAMEL-20641
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-aws
>Reporter: Andrea Cosentino
>Assignee: Andrea Cosentino
>Priority: Major
> Fix For: 4.6.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (CAMEL-20641) Camel-AWS-Bedrock-Agent: Add information about failures in ingestion job as header

2024-04-03 Thread Andrea Cosentino (Jira)
Andrea Cosentino created CAMEL-20641:


 Summary: Camel-AWS-Bedrock-Agent: Add information about failures 
in ingestion job as header
 Key: CAMEL-20641
 URL: https://issues.apache.org/jira/browse/CAMEL-20641
 Project: Camel
  Issue Type: Improvement
  Components: camel-aws
Reporter: Andrea Cosentino
Assignee: Andrea Cosentino
 Fix For: 4.6.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (CAMEL-20616) Provide SPDX SBOM in Camel project

2024-04-03 Thread Andrea Cosentino (Jira)


[ 
https://issues.apache.org/jira/browse/CAMEL-20616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17833459#comment-17833459
 ] 

Andrea Cosentino commented on CAMEL-20616:
--

This requires probably more work. They are not providing a way of aggregating 
the spdx output in a single file. So we end up having a file for each module.

> Provide SPDX SBOM in Camel project
> --
>
> Key: CAMEL-20616
> URL: https://issues.apache.org/jira/browse/CAMEL-20616
> Project: Camel
>  Issue Type: Improvement
>Reporter: Andrea Cosentino
>Assignee: Andrea Cosentino
>Priority: Major
> Fix For: 4.6.0
>
>
> https://github.com/spdx/spdx-maven-plugin
> It's still unclear what will be the standard between cyclonedx and spdx, so 
> it makes sense to provide both in our releases.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (CAMEL-20616) Provide SPDX SBOM in Camel project

2024-04-03 Thread Andrea Cosentino (Jira)


 [ 
https://issues.apache.org/jira/browse/CAMEL-20616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Cosentino updated CAMEL-20616:
-
Fix Version/s: Future
   (was: 4.6.0)

> Provide SPDX SBOM in Camel project
> --
>
> Key: CAMEL-20616
> URL: https://issues.apache.org/jira/browse/CAMEL-20616
> Project: Camel
>  Issue Type: Improvement
>Reporter: Andrea Cosentino
>Assignee: Andrea Cosentino
>Priority: Major
> Fix For: Future
>
>
> https://github.com/spdx/spdx-maven-plugin
> It's still unclear what will be the standard between cyclonedx and spdx, so 
> it makes sense to provide both in our releases.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (CAMEL-20639) Support Strimzi KafkaTopic endpoint reference in Pipes

2024-04-03 Thread Claus Ibsen (Jira)


 [ 
https://issues.apache.org/jira/browse/CAMEL-20639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen reassigned CAMEL-20639:
---

Assignee: Christoph Deppisch

> Support Strimzi KafkaTopic endpoint reference in Pipes
> --
>
> Key: CAMEL-20639
> URL: https://issues.apache.org/jira/browse/CAMEL-20639
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-jbang
>Affects Versions: 4.x
>Reporter: Christoph Deppisch
>Assignee: Christoph Deppisch
>Priority: Major
>
> Add support for Strimzi KafkaTopic resources acting as source/sink in a Pipe. 
> Enhance the JBang bind command to properly handle topic resources.
>  
> {noformat}
> apiVersion: camel.apache.org/v1
> kind: Pipe
> metadata:
>   name: timer-to-kafka  
> spec:
>   source:
> ref:
>   kind: Kamelet
>   apiVersion: camel.apache.org/v1
>   name: timer-source
> properties:
>   message: "Hello Kafka!"
>   sink:
> ref:
>   kind: KafkaTopic
>   apiVersion: kafka.strimzi.io/v1beta2
>       name: my-topic
> properties:
>   brokers: my-cluster-kafka-bootstrap:9092{noformat}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (CAMEL-20631) Support Knative endpoint references in Pipes

2024-04-03 Thread Claus Ibsen (Jira)


 [ 
https://issues.apache.org/jira/browse/CAMEL-20631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-20631.
-
Fix Version/s: 4.6.0
   Resolution: Fixed

> Support Knative endpoint references in Pipes
> 
>
> Key: CAMEL-20631
> URL: https://issues.apache.org/jira/browse/CAMEL-20631
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-jbang
>Affects Versions: 4.x
>Reporter: Christoph Deppisch
>Assignee: Christoph Deppisch
>Priority: Major
> Fix For: 4.6.0
>
>
> A Pipe has a source and a sink and supports Camel endpoint URI and Kamelet 
> references. We should also support references to Knative broker/cahnnel 
> resources such as
> {noformat}
> apiVersion: camel.apache.org/v1
> kind: Pipe
> metadata:
>   name: timer-to-knative
> spec:
>   source:
>     ref:
>       kind: Kamelet
>       apiVersion: camel.apache.org/v1
>       name: timer-source
>     properties:
>       message: Hello Knative
>   sink:
>     ref:
>       kind: Broker
>       apiVersion: eventing.knative.dev/v1
>       name: default
>     properties:
>       type: my-event-type{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (CAMEL-19535) camel-master: replace Thread.sleep in tests

2024-04-03 Thread Claus Ibsen (Jira)


 [ 
https://issues.apache.org/jira/browse/CAMEL-19535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-19535:

Fix Version/s: 4.6.0

> camel-master: replace Thread.sleep in tests
> ---
>
> Key: CAMEL-19535
> URL: https://issues.apache.org/jira/browse/CAMEL-19535
> Project: Camel
>  Issue Type: Task
>  Components: camel-master, tests
>Affects Versions: 4.0.0
>Reporter: Otavio Rodolfo Piske
>Assignee: Vaishnavi R
>Priority: Minor
>  Labels: easy, help-wanted
> Fix For: 4.6.0
>
>
> We have many tests which use Thread.sleep for synchronization. This is bug 
> prone and can introduce flakiness when running on environments with different 
> capacities.
> Ideally we should replace these with:
>  * [Awaitility|http://www.awaitility.org/]
>  * Java's native syncronization mechanism (Latches, Phasers, Locks, etc)
>  * Nothing (i.e.; in some cases the sleep can simply be removed)
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (CAMEL-20640) rest-dsl - Using code first and setting consumes/produces on rest configuration should be used for api-doc

2024-04-03 Thread Claus Ibsen (Jira)
Claus Ibsen created CAMEL-20640:
---

 Summary: rest-dsl - Using code first and setting consumes/produces 
on rest configuration should be used for api-doc
 Key: CAMEL-20640
 URL: https://issues.apache.org/jira/browse/CAMEL-20640
 Project: Camel
  Issue Type: Bug
  Components: rest
Reporter: Claus Ibsen
 Fix For: 4.x


When using rest-dsl code-first and have api-doc exposed then the generate doc 
does not include produces/consumes on the API operations if its configured 
globally in the rest configuration.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (CAMEL-19535) camel-master: replace Thread.sleep in tests

2024-04-03 Thread Claus Ibsen (Jira)


 [ 
https://issues.apache.org/jira/browse/CAMEL-19535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-19535.
-
Resolution: Fixed

> camel-master: replace Thread.sleep in tests
> ---
>
> Key: CAMEL-19535
> URL: https://issues.apache.org/jira/browse/CAMEL-19535
> Project: Camel
>  Issue Type: Task
>  Components: camel-master, tests
>Affects Versions: 4.0.0
>Reporter: Otavio Rodolfo Piske
>Assignee: Vaishnavi R
>Priority: Minor
>  Labels: easy, help-wanted
> Fix For: 4.6.0
>
>
> We have many tests which use Thread.sleep for synchronization. This is bug 
> prone and can introduce flakiness when running on environments with different 
> capacities.
> Ideally we should replace these with:
>  * [Awaitility|http://www.awaitility.org/]
>  * Java's native syncronization mechanism (Latches, Phasers, Locks, etc)
>  * Nothing (i.e.; in some cases the sleep can simply be removed)
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (CAMEL-20639) Support Strimzi KafkaTopic endpoint reference in Pipes

2024-04-03 Thread Christoph Deppisch (Jira)
Christoph Deppisch created CAMEL-20639:
--

 Summary: Support Strimzi KafkaTopic endpoint reference in Pipes
 Key: CAMEL-20639
 URL: https://issues.apache.org/jira/browse/CAMEL-20639
 Project: Camel
  Issue Type: Improvement
  Components: camel-jbang
Affects Versions: 4.x
Reporter: Christoph Deppisch


Add support for Strimzi KafkaTopic resources acting as source/sink in a Pipe. 
Enhance the JBang bind command to properly handle topic resources.

 
{noformat}
apiVersion: camel.apache.org/v1
kind: Pipe
metadata:
  name: timer-to-kafka  
spec:
  source:
ref:
  kind: Kamelet
  apiVersion: camel.apache.org/v1
  name: timer-source
properties:
  message: "Hello Kafka!"
  sink:
ref:
  kind: KafkaTopic
  apiVersion: kafka.strimzi.io/v1beta2
      name: my-topic
properties:
  brokers: my-cluster-kafka-bootstrap:9092{noformat}
 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)