camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: CAMEL-9799: Polished
Date Sat, 07 Oct 2017 09:05:00 GMT
Repository: camel
Updated Branches:
  refs/heads/master 732ba9d36 -> 751934bd6


CAMEL-9799: Polished


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/751934bd
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/751934bd
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/751934bd

Branch: refs/heads/master
Commit: 751934bd663b21bfd6793d50fa7ece223a34fd42
Parents: 732ba9d
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Sat Oct 7 11:04:41 2017 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sat Oct 7 11:04:41 2017 +0200

----------------------------------------------------------------------
 .../src/main/docs/json-validator-component.adoc                  | 4 ++--
 .../camel/component/jsonvalidator/JsonValidatorEndpoint.java     | 3 ++-
 components/readme.adoc                                           | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/751934bd/components/camel-json-validator/src/main/docs/json-validator-component.adoc
----------------------------------------------------------------------
diff --git a/components/camel-json-validator/src/main/docs/json-validator-component.adoc b/components/camel-json-validator/src/main/docs/json-validator-component.adoc
index 1bb3e20..c046296 100644
--- a/components/camel-json-validator/src/main/docs/json-validator-component.adoc
+++ b/components/camel-json-validator/src/main/docs/json-validator-component.adoc
@@ -1,6 +1,6 @@
 == JSON Schema Validator Component
 
-*Available as of Camel version *
+*Available as of Camel version 2.20*
 
 The JSON Schema Validator component performs bean validation of the message body
 agains JSON Schemas using the Everit.org JSON Schema library
@@ -124,4 +124,4 @@ we can validate incoming JSON with the following Camel route, where `myschema.js
 from("direct:start")
   .to("json-validator:myschema.json")
   .to("mock:end")
-----
+----
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/751934bd/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonValidatorEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonValidatorEndpoint.java
b/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonValidatorEndpoint.java
index c301508..0b5cc8d 100644
--- a/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonValidatorEndpoint.java
+++ b/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonValidatorEndpoint.java
@@ -40,7 +40,8 @@ import org.slf4j.LoggerFactory;
  * Validates the payload of a message using Everit JSON schema validator.
  */
 @ManagedResource(description = "Managed JsonValidatorEndpoint")
-@UriEndpoint(scheme = "json-validator", title = "JSON Schema Validator", syntax = "json-validator:resourceUri",
producerOnly = true, label = "validation,json")
+@UriEndpoint(scheme = "json-validator", firstVersion = "2.20.0", title = "JSON Schema Validator",
syntax = "json-validator:resourceUri",
+    producerOnly = true, label = "validation")
 public class JsonValidatorEndpoint extends ResourceEndpoint {
 
     private static final Logger LOG = LoggerFactory.getLogger(JsonValidatorEndpoint.class);

http://git-wip-us.apache.org/repos/asf/camel/blob/751934bd/components/readme.adoc
----------------------------------------------------------------------
diff --git a/components/readme.adoc b/components/readme.adoc
index 9520eae..0cf3301 100644
--- a/components/readme.adoc
+++ b/components/readme.adoc
@@ -441,7 +441,7 @@ Number of Components: 284 in 195 JAR artifacts (17 deprecated)
 `jpa:entityType` | 1.0 | The jpa component enables you to store and retrieve Java objects
from databases using JPA.
 
 | link:camel-json-validator/src/main/docs/json-validator-component.adoc[JSON Schema Validator]
(camel-json-validator) +
-`json-validator:resourceUri` |  | Validates the payload of a message using Everit JSON schema
validator.
+`json-validator:resourceUri` | 2.20 | Validates the payload of a message using Everit JSON
schema validator.
 
 | link:camel-jt400/src/main/docs/jt400-component.adoc[JT400] (camel-jt400) +
 `jt400:userID:password/systemName/objectPath.type` | 1.5 | The jt400 component allows you
to exchanges messages with an AS/400 system using data queues or program call.


Mime
View raw message