You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/10/12 17:40:58 UTC
[camel-karaf] branch master updated: CAMEL-15664: Automatically
wrap secret properites with RAW when computing the URI (regen)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git
The following commit(s) were added to refs/heads/master by this push:
new 907826c CAMEL-15664: Automatically wrap secret properites with RAW when computing the URI (regen)
907826c is described below
commit 907826cc1434707cd8fd58d65fec5618cbd71a28
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Oct 12 19:40:47 2020 +0200
CAMEL-15664: Automatically wrap secret properites with RAW when computing the URI (regen)
---
.../paxlogging/PaxLoggingEndpointUriFactory.java | 24 ++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/components/camel-paxlogging/src/generated/java/org/apache/camel/component/paxlogging/PaxLoggingEndpointUriFactory.java b/components/camel-paxlogging/src/generated/java/org/apache/camel/component/paxlogging/PaxLoggingEndpointUriFactory.java
index 7b1ec16..85fcac0 100644
--- a/components/camel-paxlogging/src/generated/java/org/apache/camel/component/paxlogging/PaxLoggingEndpointUriFactory.java
+++ b/components/camel-paxlogging/src/generated/java/org/apache/camel/component/paxlogging/PaxLoggingEndpointUriFactory.java
@@ -2,6 +2,7 @@
package org.apache.camel.component.paxlogging;
import java.net.URISyntaxException;
+import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
@@ -17,15 +18,17 @@ public class PaxLoggingEndpointUriFactory extends org.apache.camel.support.compo
private static final String BASE = ":appender";
private static final Set<String> PROPERTY_NAMES;
+ private static final Set<String> SECRET_PROPERTY_NAMES;
static {
- Set<String> set = new HashSet<>(6);
- set.add("appender");
- set.add("bridgeErrorHandler");
- set.add("exceptionHandler");
- set.add("exchangePattern");
- set.add("basicPropertyBinding");
- set.add("synchronous");
- PROPERTY_NAMES = set;
+ Set<String> props = new HashSet<>(6);
+ props.add("basicPropertyBinding");
+ props.add("bridgeErrorHandler");
+ props.add("synchronous");
+ props.add("exchangePattern");
+ props.add("appender");
+ props.add("exceptionHandler");
+ PROPERTY_NAMES = Collections.unmodifiableSet(props);
+ SECRET_PROPERTY_NAMES = Collections.emptySet();
}
@Override
@@ -51,6 +54,11 @@ public class PaxLoggingEndpointUriFactory extends org.apache.camel.support.compo
}
@Override
+ public Set<String> secretPropertyNames() {
+ return SECRET_PROPERTY_NAMES;
+ }
+
+ @Override
public boolean isLenientProperties() {
return false;
}