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
The following commit(s) were added to refs/heads/main by this push:
new c136d09d7bb Regen for commit f6a8dcec4ec1f1d7ac3b2743424e498ab16407cd
c136d09d7bb is described below
commit c136d09d7bbf41049e758098246ea1b786c909f1
Author: oscerd <[email protected]>
AuthorDate: Mon Jun 12 14:03:59 2023 +0000
Regen for commit f6a8dcec4ec1f1d7ac3b2743424e498ab16407cd
Signed-off-by: GitHub <[email protected]>
---
.../console/RouteCircuitBreakerDevConsole.java | 3 +-
.../dsl/Aws2CwComponentBuilderFactory.java | 35 ++++++++++++++++++++++
2 files changed, 37 insertions(+), 1 deletion(-)
diff --git
a/core/camel-console/src/main/java/org/apache/camel/impl/console/RouteCircuitBreakerDevConsole.java
b/core/camel-console/src/main/java/org/apache/camel/impl/console/RouteCircuitBreakerDevConsole.java
index 89754acf0d6..ce0ec6061b6 100644
---
a/core/camel-console/src/main/java/org/apache/camel/impl/console/RouteCircuitBreakerDevConsole.java
+++
b/core/camel-console/src/main/java/org/apache/camel/impl/console/RouteCircuitBreakerDevConsole.java
@@ -47,7 +47,8 @@ public class RouteCircuitBreakerDevConsole extends
AbstractDevConsole {
int sc = cb.getSuccess();
int fc = cb.getFailures();
String lastFailure = cb.getLastFailure() > 0 ?
TimeUtils.printSince(cb.getLastFailure()) : "n/a";
- sb.append(String.format(" %s: %s (success: %d failure:
%d last-failure: %s)\n", rid, state, sc, fc, lastFailure));
+ sb.append(String.format(" %s: %s (success: %d failure:
%d last-failure: %s)\n", rid, state, sc, fc,
+ lastFailure));
}
}
}
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2CwComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2CwComponentBuilderFactory.java
index b66bd8ecdad..48f89bb9a20 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2CwComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2CwComponentBuilderFactory.java
@@ -134,6 +134,22 @@ public interface Aws2CwComponentBuilderFactory {
doSetProperty("overrideEndpoint", overrideEndpoint);
return this;
}
+ /**
+ * If using a profile credentials provider this parameter will set the
+ * profile name.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param profileCredentialsName the value to set
+ * @return the dsl builder
+ */
+ default Aws2CwComponentBuilder profileCredentialsName(
+ java.lang.String profileCredentialsName) {
+ doSetProperty("profileCredentialsName", profileCredentialsName);
+ return this;
+ }
/**
* To define a proxy host when instantiating the CW client.
*
@@ -275,6 +291,23 @@ public interface Aws2CwComponentBuilderFactory {
doSetProperty("useDefaultCredentialsProvider",
useDefaultCredentialsProvider);
return this;
}
+ /**
+ * Set whether the Cloudwatch client should expect to load credentials
+ * through a profile credentials provider.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: producer
+ *
+ * @param useProfileCredentialsProvider the value to set
+ * @return the dsl builder
+ */
+ default Aws2CwComponentBuilder useProfileCredentialsProvider(
+ boolean useProfileCredentialsProvider) {
+ doSetProperty("useProfileCredentialsProvider",
useProfileCredentialsProvider);
+ return this;
+ }
/**
* The metric value.
*
@@ -366,6 +399,7 @@ public interface Aws2CwComponentBuilderFactory {
case "lazyStartProducer": ((Cw2Component)
component).setLazyStartProducer((boolean) value); return true;
case "name": getOrCreateConfiguration((Cw2Component)
component).setName((java.lang.String) value); return true;
case "overrideEndpoint": getOrCreateConfiguration((Cw2Component)
component).setOverrideEndpoint((boolean) value); return true;
+ case "profileCredentialsName":
getOrCreateConfiguration((Cw2Component)
component).setProfileCredentialsName((java.lang.String) value); return true;
case "proxyHost": getOrCreateConfiguration((Cw2Component)
component).setProxyHost((java.lang.String) value); return true;
case "proxyPort": getOrCreateConfiguration((Cw2Component)
component).setProxyPort((java.lang.Integer) value); return true;
case "proxyProtocol": getOrCreateConfiguration((Cw2Component)
component).setProxyProtocol((software.amazon.awssdk.core.Protocol) value);
return true;
@@ -375,6 +409,7 @@ public interface Aws2CwComponentBuilderFactory {
case "unit": getOrCreateConfiguration((Cw2Component)
component).setUnit((java.lang.String) value); return true;
case "uriEndpointOverride":
getOrCreateConfiguration((Cw2Component)
component).setUriEndpointOverride((java.lang.String) value); return true;
case "useDefaultCredentialsProvider":
getOrCreateConfiguration((Cw2Component)
component).setUseDefaultCredentialsProvider((boolean) value); return true;
+ case "useProfileCredentialsProvider":
getOrCreateConfiguration((Cw2Component)
component).setUseProfileCredentialsProvider((boolean) value); return true;
case "value": getOrCreateConfiguration((Cw2Component)
component).setValue((java.lang.Double) value); return true;
case "autowiredEnabled": ((Cw2Component)
component).setAutowiredEnabled((boolean) value); return true;
case "accessKey": getOrCreateConfiguration((Cw2Component)
component).setAccessKey((java.lang.String) value); return true;