This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new a01eb2c63270 camel-aws2-cw: the metric-timestamp header javaType
leaves Instant unqualified (#30095)
a01eb2c63270 is described below
commit a01eb2c63270c3b36c587f0bda7bae9afefd7068
Author: dhairya05 <[email protected]>
AuthorDate: Mon Nov 16 01:39:45 2026 +0530
camel-aws2-cw: the metric-timestamp header javaType leaves Instant
unqualified (#30095)
---
.../resources/org/apache/camel/catalog/components/aws2-cw.json | 2 +-
.../resources/META-INF/org/apache/camel/component/aws2/cw/aws2-cw.json | 2 +-
.../src/main/java/org/apache/camel/component/aws2/cw/Cw2Constants.java | 2 +-
.../apache/camel/builder/endpoint/dsl/Cw2EndpointBuilderFactory.java | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-cw.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-cw.json
index f3cbcb83ea57..fb941f78dfaa 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-cw.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-cw.json
@@ -56,7 +56,7 @@
"CamelAwsCwMetricName": { "index": 2, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
Amazon CW metric name.", "constantName":
"org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_NAME" },
"CamelAwsCwMetricValue": { "index": 3, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType": "Double",
"deprecated": false, "autowired": false, "secret": false, "description": "The
Amazon CW metric value.", "constantName":
"org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_VALUE" },
"CamelAwsCwMetricUnit": { "index": 4, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
Amazon CW metric unit, the name of a StandardUnit such as Count or Bytes, in
any case.", "constantName":
"org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_UNIT" },
- "CamelAwsCwMetricTimestamp": { "index": 5, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "Instant", "deprecated": false, "autowired": false, "secret":
false, "description": "The Amazon CW metric timestamp. A java.util.Date works
too.", "constantName":
"org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_TIMESTAMP" },
+ "CamelAwsCwMetricTimestamp": { "index": 5, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "java.time.Instant", "deprecated": false, "autowired": false,
"secret": false, "description": "The Amazon CW metric timestamp. A
java.util.Date works too.", "constantName":
"org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_TIMESTAMP" },
"CamelAwsCwMetricDimensions": { "index": 6, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "Map<String, String>", "deprecated": false, "autowired": false,
"secret": false, "description": "A map of dimension names and dimension
values.", "constantName":
"org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_DIMENSIONS" },
"CamelAwsCwMetricDimensionName": { "index": 7, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The Amazon CW metric dimension name.", "constantName":
"org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_DIMENSION_NAME" },
"CamelAwsCwMetricDimensionValue": { "index": 8, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The Amazon CW metric dimension value.", "constantName":
"org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_DIMENSION_VALUE" },
diff --git
a/components/camel-aws/camel-aws2-cw/src/generated/resources/META-INF/org/apache/camel/component/aws2/cw/aws2-cw.json
b/components/camel-aws/camel-aws2-cw/src/generated/resources/META-INF/org/apache/camel/component/aws2/cw/aws2-cw.json
index f3cbcb83ea57..fb941f78dfaa 100644
---
a/components/camel-aws/camel-aws2-cw/src/generated/resources/META-INF/org/apache/camel/component/aws2/cw/aws2-cw.json
+++
b/components/camel-aws/camel-aws2-cw/src/generated/resources/META-INF/org/apache/camel/component/aws2/cw/aws2-cw.json
@@ -56,7 +56,7 @@
"CamelAwsCwMetricName": { "index": 2, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
Amazon CW metric name.", "constantName":
"org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_NAME" },
"CamelAwsCwMetricValue": { "index": 3, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType": "Double",
"deprecated": false, "autowired": false, "secret": false, "description": "The
Amazon CW metric value.", "constantName":
"org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_VALUE" },
"CamelAwsCwMetricUnit": { "index": 4, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType": "String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
Amazon CW metric unit, the name of a StandardUnit such as Count or Bytes, in
any case.", "constantName":
"org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_UNIT" },
- "CamelAwsCwMetricTimestamp": { "index": 5, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "Instant", "deprecated": false, "autowired": false, "secret":
false, "description": "The Amazon CW metric timestamp. A java.util.Date works
too.", "constantName":
"org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_TIMESTAMP" },
+ "CamelAwsCwMetricTimestamp": { "index": 5, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "java.time.Instant", "deprecated": false, "autowired": false,
"secret": false, "description": "The Amazon CW metric timestamp. A
java.util.Date works too.", "constantName":
"org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_TIMESTAMP" },
"CamelAwsCwMetricDimensions": { "index": 6, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "Map<String, String>", "deprecated": false, "autowired": false,
"secret": false, "description": "A map of dimension names and dimension
values.", "constantName":
"org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_DIMENSIONS" },
"CamelAwsCwMetricDimensionName": { "index": 7, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The Amazon CW metric dimension name.", "constantName":
"org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_DIMENSION_NAME" },
"CamelAwsCwMetricDimensionValue": { "index": 8, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The Amazon CW metric dimension value.", "constantName":
"org.apache.camel.component.aws2.cw.Cw2Constants#METRIC_DIMENSION_VALUE" },
diff --git
a/components/camel-aws/camel-aws2-cw/src/main/java/org/apache/camel/component/aws2/cw/Cw2Constants.java
b/components/camel-aws/camel-aws2-cw/src/main/java/org/apache/camel/component/aws2/cw/Cw2Constants.java
index 3132df50dd45..b288f17237f7 100644
---
a/components/camel-aws/camel-aws2-cw/src/main/java/org/apache/camel/component/aws2/cw/Cw2Constants.java
+++
b/components/camel-aws/camel-aws2-cw/src/main/java/org/apache/camel/component/aws2/cw/Cw2Constants.java
@@ -36,7 +36,7 @@ public interface Cw2Constants {
@Metadata(description = "The Amazon CW metric unit, the name of a
StandardUnit such as Count or Bytes, in any case.",
javaType = "String")
String METRIC_UNIT = "CamelAwsCwMetricUnit";
- @Metadata(description = "The Amazon CW metric timestamp. A java.util.Date
works too.", javaType = "Instant")
+ @Metadata(description = "The Amazon CW metric timestamp. A java.util.Date
works too.", javaType = "java.time.Instant")
String METRIC_TIMESTAMP = "CamelAwsCwMetricTimestamp";
@Metadata(description = "A map of dimension names and dimension values.",
javaType = "Map<String, String>")
String METRIC_DIMENSIONS = "CamelAwsCwMetricDimensions";
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Cw2EndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Cw2EndpointBuilderFactory.java
index b76052024b9e..772fbd8b8370 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Cw2EndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Cw2EndpointBuilderFactory.java
@@ -711,7 +711,7 @@ public interface Cw2EndpointBuilderFactory {
/**
* The Amazon CW metric timestamp. A java.util.Date works too.
*
- * The option is a: {@code Instant} type.
+ * The option is a: {@code java.time.Instant} type.
*
* Group: producer
*