[jira] [Commented] (CAMEL-20704) Duplicate case branch in ExpressionDeserializers

2024-04-23 Thread Dmitrii Kriukov (Jira)


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

Dmitrii Kriukov commented on CAMEL-20704:
-

This ticket can be closed as per comment in PR: the target file is autogenerated

> Duplicate case branch in ExpressionDeserializers
> 
>
> Key: CAMEL-20704
> URL: https://issues.apache.org/jira/browse/CAMEL-20704
> Project: Camel
>  Issue Type: Task
>  Components: camel-yaml-dsl
>Reporter: Dmitrii Kriukov
>Assignee: Dmitrii Kriukov
>Priority: Minor
>
> case "expression-type":
> { return constructExpressionType(node); }
> case "expressionType": \{ return constructExpressionType(node); }



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


[jira] [Updated] (CAMEL-20714) SourceCache implements Externalizable but doesn't have a public no-arg constructor

2024-04-23 Thread Dmitrii Kriukov (Jira)


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

Dmitrii Kriukov updated CAMEL-20714:

Description: Class org.apache.camel.util.xml.SourceCache  (was: Class 
org.apache.camel.util.xml.StringSource)

> SourceCache implements Externalizable but doesn't have a public no-arg 
> constructor
> --
>
> Key: CAMEL-20714
> URL: https://issues.apache.org/jira/browse/CAMEL-20714
> Project: Camel
>  Issue Type: Bug
>  Components: came-core
>Reporter: Dmitrii Kriukov
>Assignee: Dmitrii Kriukov
>Priority: Major
>
> Class org.apache.camel.util.xml.SourceCache



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


[jira] [Updated] (CAMEL-20714) SourceCache implements Externalizable but doesn't have a public no-arg constructor

2024-04-23 Thread Dmitrii Kriukov (Jira)


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

Dmitrii Kriukov updated CAMEL-20714:

Summary: SourceCache implements Externalizable but doesn't have a public 
no-arg constructor  (was: StringSource implements Externalizable but doesn't 
have a public no-arg constructor)

> SourceCache implements Externalizable but doesn't have a public no-arg 
> constructor
> --
>
> Key: CAMEL-20714
> URL: https://issues.apache.org/jira/browse/CAMEL-20714
> Project: Camel
>  Issue Type: Bug
>  Components: came-core
>Reporter: Dmitrii Kriukov
>Assignee: Dmitrii Kriukov
>Priority: Major
>
> Class org.apache.camel.util.xml.StringSource



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


[jira] [Created] (CAMEL-20714) StringSource implements Externalizable but doesn't have a public no-arg constructor

2024-04-23 Thread Dmitrii Kriukov (Jira)
Dmitrii Kriukov created CAMEL-20714:
---

 Summary: StringSource implements Externalizable but doesn't have a 
public no-arg constructor
 Key: CAMEL-20714
 URL: https://issues.apache.org/jira/browse/CAMEL-20714
 Project: Camel
  Issue Type: Bug
  Components: came-core
Reporter: Dmitrii Kriukov
Assignee: Dmitrii Kriukov


Class org.apache.camel.util.xml.StringSource



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


[jira] [Assigned] (CAMEL-20713) Equals() in TagData doesn't check the type of parameter

2024-04-23 Thread Dmitrii Kriukov (Jira)


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

Dmitrii Kriukov reassigned CAMEL-20713:
---

Assignee: Dmitrii Kriukov

> Equals() in TagData doesn't check the type of parameter
> ---
>
> Key: CAMEL-20713
> URL: https://issues.apache.org/jira/browse/CAMEL-20713
> Project: Camel
>  Issue Type: Bug
>Reporter: Dmitrii Kriukov
>Assignee: Dmitrii Kriukov
>Priority: Major
>
> Component is camel-plc4x - can't choose it
> Line 147 in TagData



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


[jira] [Created] (CAMEL-20713) Equals() in TagData doesn't check the type of parameter

2024-04-23 Thread Dmitrii Kriukov (Jira)
Dmitrii Kriukov created CAMEL-20713:
---

 Summary: Equals() in TagData doesn't check the type of parameter
 Key: CAMEL-20713
 URL: https://issues.apache.org/jira/browse/CAMEL-20713
 Project: Camel
  Issue Type: Bug
Reporter: Dmitrii Kriukov


Component is camel-plc4x - can't choose it
Line 147 in TagData



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


[jira] [Created] (CAMEL-20712) Exception not thrown in MessagePredicate line 62

2024-04-23 Thread Dmitrii Kriukov (Jira)
Dmitrii Kriukov created CAMEL-20712:
---

 Summary: Exception not thrown in MessagePredicate line 62
 Key: CAMEL-20712
 URL: https://issues.apache.org/jira/browse/CAMEL-20712
 Project: Camel
  Issue Type: Bug
  Components: camel-quickfix
Reporter: Dmitrii Kriukov
Assignee: Dmitrii Kriukov


RuntimeCamelException.wrapRuntimeCamelException(e){color:#cc7832};{color}


If it's expected to throw it, please let me know - I will create a PR



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


[jira] [Created] (CAMEL-20711) compare() method of EipOptionComparator doesn't return 0 for equal elements

2024-04-23 Thread Dmitrii Kriukov (Jira)
Dmitrii Kriukov created CAMEL-20711:
---

 Summary: compare() method of EipOptionComparator doesn't return 0 
for equal elements
 Key: CAMEL-20711
 URL: https://issues.apache.org/jira/browse/CAMEL-20711
 Project: Camel
  Issue Type: Bug
  Components: tooling
Reporter: Dmitrii Kriukov


Line 1519
If it's expected, it's good to have a comment



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


[jira] [Created] (CAMEL-20710) Strings are compared with != in NettyServerBootstrapConfiguration

2024-04-23 Thread Dmitrii Kriukov (Jira)
Dmitrii Kriukov created CAMEL-20710:
---

 Summary: Strings are compared with != in 
NettyServerBootstrapConfiguration
 Key: CAMEL-20710
 URL: https://issues.apache.org/jira/browse/CAMEL-20710
 Project: Camel
  Issue Type: Bug
  Components: camel-netty
Reporter: Dmitrii Kriukov
Assignee: Dmitrii Kriukov


Line 668:

{color:#172b4d}} else if (unixDomainSocketPath != other.unixDomainSocketPath) {
The reason for that can be that the both strings are interned - in that case we 
need a comment.
The safe option is to use equals()
{color}



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


[jira] [Created] (CAMEL-20709) 'param' var in DIRegistry is used as array, but isn't of array type

2024-04-23 Thread Dmitrii Kriukov (Jira)
Dmitrii Kriukov created CAMEL-20709:
---

 Summary: 'param' var in DIRegistry is used as array, but isn't of 
array type
 Key: CAMEL-20709
 URL: https://issues.apache.org/jira/browse/CAMEL-20709
 Project: Camel
  Issue Type: Bug
  Components: tooling
Reporter: Dmitrii Kriukov


Line 213:

{color:#172b4d}System.arraycopy(values.values().toArray(), 0, param, 0, 
values.size());
If it's expected, it's goot to put a comment.
{color}



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


[jira] [Created] (CAMEL-20708) 'client' var in JiraEndpoint is used dore double lock and misses volatile keyword

2024-04-23 Thread Dmitrii Kriukov (Jira)
Dmitrii Kriukov created CAMEL-20708:
---

 Summary: 'client' var in JiraEndpoint is used dore double lock and 
misses volatile keyword
 Key: CAMEL-20708
 URL: https://issues.apache.org/jira/browse/CAMEL-20708
 Project: Camel
  Issue Type: Bug
  Components: camel-jira
Reporter: Dmitrii Kriukov
Assignee: Dmitrii Kriukov


Line 122 in JiraEndpoint



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


[jira] [Created] (CAMEL-20707) Two Optionals in HttpComponentVerifierExtension are checked for null

2024-04-23 Thread Dmitrii Kriukov (Jira)
Dmitrii Kriukov created CAMEL-20707:
---

 Summary: Two Optionals in HttpComponentVerifierExtension are 
checked for null
 Key: CAMEL-20707
 URL: https://issues.apache.org/jira/browse/CAMEL-20707
 Project: Camel
  Issue Type: Bug
  Components: camel-http
Reporter: Dmitrii Kriukov
Assignee: Dmitrii Kriukov


Line 211

if (proxyAuthUsername != null && proxyAuthPassword != null) {


They should be checked with isPresent() instead



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


[jira] [Created] (CAMEL-20706) camel-salesforce fails to build on Windows 11 on ARM

2024-04-23 Thread Craig Ziesman (Jira)
Craig Ziesman created CAMEL-20706:
-

 Summary: camel-salesforce fails to build on Windows 11 on ARM
 Key: CAMEL-20706
 URL: https://issues.apache.org/jira/browse/CAMEL-20706
 Project: Camel
  Issue Type: Test
  Components: camel-salesforce
Reporter: Craig Ziesman


Protobuf compilation fails on Windows 11 on ARM because there is no {{protoc}} 
executable available for ARM.

{{Failed to execute goal 
org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (default) on 
project camel-salesforce: Unable to resolve artifact: Missing:}}
{{[ERROR] --}}
{{[ERROR] 1) com.google.protobuf:protoc:exe:windows-aarch_64:3.25.3}}

{{}}

{{[ERROR] 1 required artifact is missing.}}


camel-kudo skips building on Windows due to lack of library support. 
{{camel-salesforce}} needs to be skipped on Windows on ARM until the {{protoc}} 
executable becomes available.



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


[jira] [Resolved] (CAMEL-20513) Camel-AWS-Bedrock: Support Amazon Titan Multimodal Embeddings G1 Model

2024-04-23 Thread Andrea Cosentino (Jira)


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

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

> Camel-AWS-Bedrock: Support Amazon Titan Multimodal Embeddings G1 Model
> --
>
> Key: CAMEL-20513
> URL: https://issues.apache.org/jira/browse/CAMEL-20513
> 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] [Assigned] (CAMEL-20705) camel-core: ScheduledPollConsumer has non-atomic operations on volatile fields

2024-04-23 Thread Otavio Rodolfo Piske (Jira)


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

Otavio Rodolfo Piske reassigned CAMEL-20705:


Assignee: Otavio Rodolfo Piske

> camel-core: ScheduledPollConsumer has non-atomic operations on volatile fields
> --
>
> Key: CAMEL-20705
> URL: https://issues.apache.org/jira/browse/CAMEL-20705
> Project: Camel
>  Issue Type: Task
>  Components: camel-core
>Affects Versions: 4.6.0
>Reporter: Otavio Rodolfo Piske
>Assignee: Otavio Rodolfo Piske
>Priority: Major
>  Labels: help-wanted
>
> This can leads to incorrect results and/or corrupted information. Consider 
> migrating to LongAdder or AtomicInteger.



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


[jira] [Updated] (CAMEL-20705) camel-core: ScheduledPollConsumer has non-atomic operations on volatile fields

2024-04-23 Thread Otavio Rodolfo Piske (Jira)


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

Otavio Rodolfo Piske updated CAMEL-20705:
-
Labels: help-wanted  (was: easy)

> camel-core: ScheduledPollConsumer has non-atomic operations on volatile fields
> --
>
> Key: CAMEL-20705
> URL: https://issues.apache.org/jira/browse/CAMEL-20705
> Project: Camel
>  Issue Type: Task
>  Components: camel-core
>Affects Versions: 4.6.0
>Reporter: Otavio Rodolfo Piske
>Priority: Major
>  Labels: help-wanted
>
> This can leads to incorrect results and/or corrupted information. Consider 
> migrating to LongAdder or AtomicInteger.



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


[jira] [Updated] (CAMEL-20705) camel-core: ScheduledPollConsumer has non-atomic operations on volatile fields

2024-04-23 Thread Otavio Rodolfo Piske (Jira)


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

Otavio Rodolfo Piske updated CAMEL-20705:
-
Estimated Complexity: Novice  (was: Unknown)

> camel-core: ScheduledPollConsumer has non-atomic operations on volatile fields
> --
>
> Key: CAMEL-20705
> URL: https://issues.apache.org/jira/browse/CAMEL-20705
> Project: Camel
>  Issue Type: Task
>  Components: camel-core
>Affects Versions: 4.6.0
>Reporter: Otavio Rodolfo Piske
>Priority: Major
>  Labels: easy
>
> This can leads to incorrect results and/or corrupted information. Consider 
> migrating to LongAdder or AtomicInteger.



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


[jira] [Created] (CAMEL-20705) camel-core: ScheduledPollConsumer has non-atomic operations on volatile fields

2024-04-23 Thread Otavio Rodolfo Piske (Jira)
Otavio Rodolfo Piske created CAMEL-20705:


 Summary: camel-core: ScheduledPollConsumer has non-atomic 
operations on volatile fields
 Key: CAMEL-20705
 URL: https://issues.apache.org/jira/browse/CAMEL-20705
 Project: Camel
  Issue Type: Task
  Components: camel-core
Affects Versions: 4.6.0
Reporter: Otavio Rodolfo Piske


This can leads to incorrect results and/or corrupted information. Consider 
migrating to LongAdder or AtomicInteger.



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


[jira] [Updated] (CAMEL-20705) camel-core: ScheduledPollConsumer has non-atomic operations on volatile fields

2024-04-23 Thread Otavio Rodolfo Piske (Jira)


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

Otavio Rodolfo Piske updated CAMEL-20705:
-
Labels: easy  (was: )

> camel-core: ScheduledPollConsumer has non-atomic operations on volatile fields
> --
>
> Key: CAMEL-20705
> URL: https://issues.apache.org/jira/browse/CAMEL-20705
> Project: Camel
>  Issue Type: Task
>  Components: camel-core
>Affects Versions: 4.6.0
>Reporter: Otavio Rodolfo Piske
>Priority: Major
>  Labels: easy
>
> This can leads to incorrect results and/or corrupted information. Consider 
> migrating to LongAdder or AtomicInteger.



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


[jira] [Resolved] (CAMEL-20703) Typo in OutputAwareFromDefinitionDeserializer - non-null string literal is null checked

2024-04-23 Thread Otavio Rodolfo Piske (Jira)


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

Otavio Rodolfo Piske resolved CAMEL-20703.
--
Fix Version/s: 4.6.0
   Resolution: Fixed

Fixed with the linked PR.

> Typo in OutputAwareFromDefinitionDeserializer - non-null string literal is 
> null checked
> ---
>
> Key: CAMEL-20703
> URL: https://issues.apache.org/jira/browse/CAMEL-20703
> Project: Camel
>  Issue Type: Bug
>  Components: camel-yaml-dsl
>Reporter: Dmitrii Kriukov
>Assignee: Dmitrii Kriukov
>Priority: Major
> Fix For: 4.6.0
>
>
> {color:#172b4d}ObjectHelper.notNull("uri", "The uri must set");{color}



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


[jira] [Updated] (CAMEL-20704) Duplicate case branch in ExpressionDeserializers

2024-04-23 Thread Otavio Rodolfo Piske (Jira)


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

Otavio Rodolfo Piske updated CAMEL-20704:
-
Issue Type: Task  (was: Bug)

> Duplicate case branch in ExpressionDeserializers
> 
>
> Key: CAMEL-20704
> URL: https://issues.apache.org/jira/browse/CAMEL-20704
> Project: Camel
>  Issue Type: Task
>  Components: camel-yaml-dsl
>Reporter: Dmitrii Kriukov
>Assignee: Dmitrii Kriukov
>Priority: Minor
>
> case "expression-type":
> { return constructExpressionType(node); }
> case "expressionType": \{ return constructExpressionType(node); }



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


[jira] [Resolved] (CAMEL-20505) Google Calendar Streams CloudEvent Transformer

2024-04-23 Thread Andrea Cosentino (Jira)


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

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

> Google Calendar Streams CloudEvent Transformer
> --
>
> Key: CAMEL-20505
> URL: https://issues.apache.org/jira/browse/CAMEL-20505
> 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)