You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by fo...@apache.org on 2017/08/18 10:50:13 UTC
camel git commit: CAMEL-11438 added javadoc to the endpoint class
Repository: camel
Updated Branches:
refs/heads/master 703f7a436 -> 95a788b98
CAMEL-11438 added javadoc to the endpoint class
+ test class polished
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/95a788b9
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/95a788b9
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/95a788b9
Branch: refs/heads/master
Commit: 95a788b98ea7250521458ee483c4046e3daa0ab7
Parents: 703f7a4
Author: Franz Forsthofer <fr...@sap.com>
Authored: Fri Aug 18 12:46:27 2017 +0200
Committer: Franz Forsthofer <fr...@sap.com>
Committed: Fri Aug 18 12:46:27 2017 +0200
----------------------------------------------------------------------
.../component/crypto/cms/CryptoCmsEndpoint.java | 5 +++++
.../component/crypto/cms/SpringComponentTest.java | 16 ++++++++++++++++
2 files changed, 21 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/95a788b9/components/camel-crypto-cms/src/main/java/org/apache/camel/component/crypto/cms/CryptoCmsEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-crypto-cms/src/main/java/org/apache/camel/component/crypto/cms/CryptoCmsEndpoint.java b/components/camel-crypto-cms/src/main/java/org/apache/camel/component/crypto/cms/CryptoCmsEndpoint.java
index 1966062..d2deef0 100644
--- a/components/camel-crypto-cms/src/main/java/org/apache/camel/component/crypto/cms/CryptoCmsEndpoint.java
+++ b/components/camel-crypto-cms/src/main/java/org/apache/camel/component/crypto/cms/CryptoCmsEndpoint.java
@@ -29,6 +29,11 @@ import org.apache.camel.spi.UriEndpoint;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriPath;
+/**
+ * The crypto cms component is used for encrypting data in CMS Enveloped Data
+ * format, decrypting CMS Enveloped Data, signing data in CMS Signed Data
+ * format, and verifying CMS Signed Data.
+ */
@UriEndpoint(firstVersion = "2.20.0", scheme = "crypto-cms", title = "Crypto CMS", syntax = "crypto-cms:cryptoOperation:name", producerOnly = true, label = "security,transformation")
public class CryptoCmsEndpoint extends DefaultEndpoint {
private final Processor processor;
http://git-wip-us.apache.org/repos/asf/camel/blob/95a788b9/components/camel-crypto-cms/src/test/java/org/apache/camel/component/crypto/cms/SpringComponentTest.java
----------------------------------------------------------------------
diff --git a/components/camel-crypto-cms/src/test/java/org/apache/camel/component/crypto/cms/SpringComponentTest.java b/components/camel-crypto-cms/src/test/java/org/apache/camel/component/crypto/cms/SpringComponentTest.java
index d8ecd70..e5b9414 100644
--- a/components/camel-crypto-cms/src/test/java/org/apache/camel/component/crypto/cms/SpringComponentTest.java
+++ b/components/camel-crypto-cms/src/test/java/org/apache/camel/component/crypto/cms/SpringComponentTest.java
@@ -1,3 +1,19 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.camel.component.crypto.cms;
import org.apache.camel.CamelContext;