(camel) 02/03: CAMEL-20543 - Camel-AWS-Bedrock-Agent: Support more operations on the producer side

2024-03-12 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch CAMEL-20543-2
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 9ce9815137122d7e91863d64160bb34fe46495da
Author: Andrea Cosentino 
AuthorDate: Tue Mar 12 09:33:00 2024 +0100

CAMEL-20543 - Camel-AWS-Bedrock-Agent: Support more operations on the 
producer side

Signed-off-by: Andrea Cosentino 
---
 .../apache/camel/component/aws2/bedrock/agent/aws-bedrock-agent.json  | 4 ++--
 .../camel/component/aws2/bedrock/agent/BedrockAgentConstants.java | 2 +-
 .../camel/component/aws2/bedrock/agent/BedrockAgentProducer.java  | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/components/camel-aws/camel-aws-bedrock/src/generated/resources/META-INF/org/apache/camel/component/aws2/bedrock/agent/aws-bedrock-agent.json
 
b/components/camel-aws/camel-aws-bedrock/src/generated/resources/META-INF/org/apache/camel/component/aws2/bedrock/agent/aws-bedrock-agent.json
index 5038d9dfe2a..b8860108341 100644
--- 
a/components/camel-aws/camel-aws-bedrock/src/generated/resources/META-INF/org/apache/camel/component/aws2/bedrock/agent/aws-bedrock-agent.json
+++ 
b/components/camel-aws/camel-aws-bedrock/src/generated/resources/META-INF/org/apache/camel/component/aws2/bedrock/agent/aws-bedrock-agent.json
@@ -27,7 +27,7 @@
 "dataSourceId": { "index": 1, "kind": "property", "displayName": "Data 
Source Id", "group": "common", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Define the Data source 
Id we are going to use" },
 "knowledgeBaseId": { "index": 2, "kind": "property", "displayName": 
"Knowledge Base Id", "group": "common", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Define the Knowledge 
Base Id we are going to use" },
 "modelId": { "index": 3, "kind": "property", "displayName": "Model Id", 
"group": "common", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "enum": [ "anthropic.claude-instant-v1", 
"anthropic.claude-v2", "anthropic.claude-v2:1" ], "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "descrip [...]
-"operation": { "index": 4, "kind": "property", "displayName": "Operation", 
"group": "common", "label": "", "required": true, "type": "object", "javaType": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentOperations", "enum": 
[ "startIngestionJob", "listIngestionJobs" ], "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "config [...]
+"operation": { "index": 4, "kind": "property", "displayName": "Operation", 
"group": "common", "label": "", "required": true, "type": "object", "javaType": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentOperations", "enum": 
[ "startIngestionJob", "listIngestionJobs", "getIngestionJob" ], "deprecated": 
false, "deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configura [...]
 "overrideEndpoint": { "index": 5, "kind": "property", "displayName": 
"Override Endpoint", "group": "common", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Set the need for 
overriding the endpoint. This option needs to be used i [...]
 "pojoRequest": { "index": 6, "kind": "property", "displayName": "Pojo 
Request", "group": "common", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "If we want to use a POJO 
request as body or not" },
 "profileCredentialsName": { "index": 7, "kind": "property", "displayName": 
"Profile Credentials Name", "group": "common", "label": "", "required": false, 

(camel) 02/03: CAMEL-20543 - Camel-AWS-Bedrock-Agent: Support more operations on the producer side

2024-03-08 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit c18843a1c60f9abe5fb97062d24e0ed672184de0
Author: Andrea Cosentino 
AuthorDate: Fri Mar 8 14:36:45 2024 +0100

CAMEL-20543 - Camel-AWS-Bedrock-Agent: Support more operations on the 
producer side

Signed-off-by: Andrea Cosentino 
---
 .../org/apache/camel/catalog/components/aws-bedrock-agent.json| 4 ++--
 .../apache/camel/component/aws2/bedrock/agent/aws-bedrock-agent.json  | 4 ++--
 .../camel/component/aws2/bedrock/agent/BedrockAgentProducer.java  | 1 -
 .../aws2/bedrock/agent/integration/BedrockAgentProducerIT.java| 2 --
 4 files changed, 4 insertions(+), 7 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-bedrock-agent.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-bedrock-agent.json
index ead55d6577f..d3b7a7545d5 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-bedrock-agent.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-bedrock-agent.json
@@ -28,7 +28,7 @@
 "knowledgeBaseId": { "index": 2, "kind": "property", "displayName": 
"Knowledge Base Id", "group": "producer", "label": "", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Define the Knowledge 
Base Id we are going to use" },
 "lazyStartProducer": { "index": 3, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Whether the producer should be started lazy (on the first message). By 
starting lazy you can use this to allow CamelContext and routes to startup in 
situations where a producer may otherwise fail [...]
 "modelId": { "index": 4, "kind": "property", "displayName": "Model Id", 
"group": "producer", "label": "", "required": true, "type": "string", 
"javaType": "java.lang.String", "enum": [ "anthropic.claude-instant-v1", 
"anthropic.claude-v2", "anthropic.claude-v2:1" ], "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "descr [...]
-"operation": { "index": 5, "kind": "property", "displayName": "Operation", 
"group": "producer", "label": "", "required": true, "type": "object", 
"javaType": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentOperations", "enum": 
[ "startIngestionJob" ], "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "descript [...]
+"operation": { "index": 5, "kind": "property", "displayName": "Operation", 
"group": "producer", "label": "", "required": true, "type": "object", 
"javaType": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentOperations", "enum": 
[ "startIngestionJob", "listIngestionJobs" ], "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "conf [...]
 "overrideEndpoint": { "index": 6, "kind": "property", "displayName": 
"Override Endpoint", "group": "producer", "label": "", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Set the need for 
overriding the endpoint. This option needs to be used [...]
 "pojoRequest": { "index": 7, "kind": "property", "displayName": "Pojo 
Request", "group": "producer", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "If we want to use a POJO 
request as body or not" },
 "profileCredentialsName": { "index": 8, "kind": "property", "displayName": 
"Profile Credentials Name", "group": "producer", "label": "", "required": 
false, "type": "string", "javaType": "java.lang.St

(camel) 02/03: CAMEL-20543 - Camel-AWS-Bedrock-Agent: Support more operations on the producer side

2024-03-08 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch CAMEL-20543
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 0b7d220b66c3fefbff520958f0c07390a6f4f8f2
Author: Andrea Cosentino 
AuthorDate: Fri Mar 8 14:36:45 2024 +0100

CAMEL-20543 - Camel-AWS-Bedrock-Agent: Support more operations on the 
producer side

Signed-off-by: Andrea Cosentino 
---
 .../org/apache/camel/catalog/components/aws-bedrock-agent.json| 4 ++--
 .../apache/camel/component/aws2/bedrock/agent/aws-bedrock-agent.json  | 4 ++--
 .../camel/component/aws2/bedrock/agent/BedrockAgentProducer.java  | 1 -
 .../aws2/bedrock/agent/integration/BedrockAgentProducerIT.java| 2 --
 4 files changed, 4 insertions(+), 7 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-bedrock-agent.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-bedrock-agent.json
index ead55d6577f..d3b7a7545d5 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-bedrock-agent.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-bedrock-agent.json
@@ -28,7 +28,7 @@
 "knowledgeBaseId": { "index": 2, "kind": "property", "displayName": 
"Knowledge Base Id", "group": "producer", "label": "", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Define the Knowledge 
Base Id we are going to use" },
 "lazyStartProducer": { "index": 3, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Whether the producer should be started lazy (on the first message). By 
starting lazy you can use this to allow CamelContext and routes to startup in 
situations where a producer may otherwise fail [...]
 "modelId": { "index": 4, "kind": "property", "displayName": "Model Id", 
"group": "producer", "label": "", "required": true, "type": "string", 
"javaType": "java.lang.String", "enum": [ "anthropic.claude-instant-v1", 
"anthropic.claude-v2", "anthropic.claude-v2:1" ], "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "descr [...]
-"operation": { "index": 5, "kind": "property", "displayName": "Operation", 
"group": "producer", "label": "", "required": true, "type": "object", 
"javaType": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentOperations", "enum": 
[ "startIngestionJob" ], "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "descript [...]
+"operation": { "index": 5, "kind": "property", "displayName": "Operation", 
"group": "producer", "label": "", "required": true, "type": "object", 
"javaType": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentOperations", "enum": 
[ "startIngestionJob", "listIngestionJobs" ], "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "conf [...]
 "overrideEndpoint": { "index": 6, "kind": "property", "displayName": 
"Override Endpoint", "group": "producer", "label": "", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Set the need for 
overriding the endpoint. This option needs to be used [...]
 "pojoRequest": { "index": 7, "kind": "property", "displayName": "Pojo 
Request", "group": "producer", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "If we want to use a POJO 
request as body or not" },
 "profileCredentialsName": { "index": 8, "kind": "property", "displayName": 
"Profile Credentials Name", "group": "producer", "label": "", "required": 
false, "type": "string", "javaType": "java.