camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/8] camel git commit: CAMEL-10366: Include input/output/deprecated in the spring model json schema files so they are similar to EIP model files. Thanks to Aurelien Pupier for reporting this.
Date Fri, 07 Oct 2016 15:11:47 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.18.x ea4b27fbe -> 461d4dd69


CAMEL-10366: Include input/output/deprecated in the spring model json schema files so they
are similar to EIP model files. Thanks to Aurelien Pupier for reporting this.


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

Branch: refs/heads/camel-2.18.x
Commit: ef88e60af5dab348c779216b008c5dfe7730cc06
Parents: ea4b27f
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Wed Oct 5 11:49:18 2016 -0400
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Oct 7 10:08:47 2016 -0500

----------------------------------------------------------------------
 .../org/apache/camel/tools/apt/SpringAnnotationProcessor.java   | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ef88e60a/tooling/apt/src/main/java/org/apache/camel/tools/apt/SpringAnnotationProcessor.java
----------------------------------------------------------------------
diff --git a/tooling/apt/src/main/java/org/apache/camel/tools/apt/SpringAnnotationProcessor.java
b/tooling/apt/src/main/java/org/apache/camel/tools/apt/SpringAnnotationProcessor.java
index 064872f..e6ea40c 100644
--- a/tooling/apt/src/main/java/org/apache/camel/tools/apt/SpringAnnotationProcessor.java
+++ b/tooling/apt/src/main/java/org/apache/camel/tools/apt/SpringAnnotationProcessor.java
@@ -128,7 +128,10 @@ public class SpringAnnotationProcessor {
         }
         buffer.append("\n    \"description\": \"").append(safeNull(eipModel.getDescription())).append("\",");
         buffer.append("\n    \"javaType\": \"").append(eipModel.getJavaType()).append("\",");
-        buffer.append("\n    \"label\": \"").append(safeNull(eipModel.getLabel())).append("\"");
+        buffer.append("\n    \"label\": \"").append(safeNull(eipModel.getLabel())).append("\",");
+        buffer.append("\n    \"deprecated\": \"").append("false").append("\",");
+        buffer.append("\n    \"input\": \"").append("false").append("\",");
+        buffer.append("\n    \"output\": \"").append("false").append("\"");
         buffer.append("\n  },");
 
         buffer.append("\n  \"properties\": {");


Mime
View raw message