You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2017/11/02 07:25:19 UTC
[camel] 04/05: Fix again Kubernetes example and Regen
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit e7edf94e66d63ec5fe1436dd9260b28810e9a805
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Nov 2 08:22:40 2017 +0100
Fix again Kubernetes example and Regen
---
camel-core/readme.adoc | 2 +-
components/readme.adoc | 4 ++--
.../java/org/apache/camel/example/cdi/kubernetes/Application.java | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/camel-core/readme.adoc b/camel-core/readme.adoc
index 5c6d3bd..83d34b8 100644
--- a/camel-core/readme.adoc
+++ b/camel-core/readme.adoc
@@ -103,7 +103,7 @@ Data Formats
// dataformats: START
-Number of Data Formats: 4 in 39 JAR artifacts (3 deprecated)
+Number of Data Formats: 4 in 39 JAR artifacts (4 deprecated)
[width="100%",cols="4,1,5",options="header"]
|===
diff --git a/components/readme.adoc b/components/readme.adoc
index 4c3e3c1..d3fd456 100644
--- a/components/readme.adoc
+++ b/components/readme.adoc
@@ -871,7 +871,7 @@ Data Formats
^^^^^^^^^^^^
// dataformats: START
-Number of Data Formats: 48 in 39 JAR artifacts (3 deprecated)
+Number of Data Formats: 48 in 39 JAR artifacts (4 deprecated)
[width="100%",cols="4,1,5",options="header"]
|===
@@ -959,7 +959,7 @@ Number of Data Formats: 48 in 39 JAR artifacts (3 deprecated)
| link:camel-xmlbeans/src/main/docs/xmlBeans-dataformat.adoc[XML Beans] (camel-xmlbeans) | 1.2 | *deprecated* XML Beans data format is used for unmarshal a XML payload to POJO or to marshal POJO back to XML payload.
-| link:camel-xmljson/src/main/docs/xmljson-dataformat.adoc[XML JSon] (camel-xmljson) | 2.10 | XML JSon data format can convert from XML to JSON and vice-versa directly without stepping through intermediate POJOs.
+| link:camel-xmljson/src/main/docs/xmljson-dataformat.adoc[XML JSon] (camel-xmljson) | 2.10 | *deprecated* XML JSon data format can convert from XML to JSON and vice-versa directly without stepping through intermediate POJOs.
| link:camel-xmlrpc/src/main/docs/xmlrpc-dataformat.adoc[XML RPC] (camel-xmlrpc) | 2.11 | The XML RPC data format is used for working with the XML RPC protocol.
diff --git a/examples/camel-example-cdi-kubernetes/src/main/java/org/apache/camel/example/cdi/kubernetes/Application.java b/examples/camel-example-cdi-kubernetes/src/main/java/org/apache/camel/example/cdi/kubernetes/Application.java
index a7737ca..b427fee 100644
--- a/examples/camel-example-cdi-kubernetes/src/main/java/org/apache/camel/example/cdi/kubernetes/Application.java
+++ b/examples/camel-example-cdi-kubernetes/src/main/java/org/apache/camel/example/cdi/kubernetes/Application.java
@@ -68,7 +68,7 @@ public class Application {
pod.getStatus().getPhase(),
pod.getStatus().getContainerStatuses().stream()
.mapToInt(ContainerStatus::getRestartCount).sum(),
- formatDuration(Duration.between(ZonedDateTime.parse(pod.getStatus().getStartTime().getTime()), ZonedDateTime.now()))))
+ formatDuration(Duration.between(ZonedDateTime.parse(pod.getStatus().getStartTime()), ZonedDateTime.now()))))
.forEach(System.out::println);
});
}
--
To stop receiving notification emails like this one, please contact
"commits@camel.apache.org" <co...@camel.apache.org>.