[jira] [Commented] (KARAF-5580) Rename tools-jar-wraper to tools-jar-wrapper
[ https://issues.apache.org/jira/browse/KARAF-5580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337986#comment-16337986 ] ASF GitHub Bot commented on KARAF-5580: --- jbonofre opened a new pull request #26: [KARAF-5580] Rename tools-jar-wraper to tools-jar-wrapper and cleanup the pom.xml URL: https://github.com/apache/karaf-decanter/pull/26 This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Rename tools-jar-wraper to tools-jar-wrapper > > > Key: KARAF-5580 > URL: https://issues.apache.org/jira/browse/KARAF-5580 > Project: Karaf > Issue Type: Task > Components: decanter >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Fix For: decanter-2.0.0 > > > There's a mistake in the name of {{tools-jar-wraper}}. It should be named > {{tools-jar-wrapper}}. Furthermore, the {{pom.xml}} doesn't contain the ASF > header and it's not well formatted. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (KARAF-5580) Rename tools-jar-wraper to tools-jar-wrapper
Jean-Baptiste Onofré created KARAF-5580: --- Summary: Rename tools-jar-wraper to tools-jar-wrapper Key: KARAF-5580 URL: https://issues.apache.org/jira/browse/KARAF-5580 Project: Karaf Issue Type: Task Components: decanter Reporter: Jean-Baptiste Onofré Assignee: Jean-Baptiste Onofré Fix For: decanter-2.0.0 There's a mistake in the name of {{tools-jar-wraper}}. It should be named {{tools-jar-wrapper}}. Furthermore, the {{pom.xml}} doesn't contain the ASF header and it's not well formatted. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (KARAF-5579) Rename SLA bundles to Alerting
Jean-Baptiste Onofré created KARAF-5579: --- Summary: Rename SLA bundles to Alerting Key: KARAF-5579 URL: https://issues.apache.org/jira/browse/KARAF-5579 Project: Karaf Issue Type: Task Components: decanter Reporter: Jean-Baptiste Onofré Assignee: Jean-Baptiste Onofré Fix For: decanter-2.0.0 {{SLA}} is not a very accurate name (not very descriptive). I will rename to {{alerting}} in Decanter 2.x series. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KARAF-5574) Upgrade to Pax Web 6.1.2/Jetty 9.4.6
[ https://issues.apache.org/jira/browse/KARAF-5574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337689#comment-16337689 ] Jean-Baptiste Onofré commented on KARAF-5574: - That's a good point. +1, I will the change in Pax Web then if you agree. > Upgrade to Pax Web 6.1.2/Jetty 9.4.6 > > > Key: KARAF-5574 > URL: https://issues.apache.org/jira/browse/KARAF-5574 > Project: Karaf > Issue Type: Dependency upgrade > Components: karaf-webcontainer >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Fix For: 4.2.0 > > > In order to align with Camel, we should upgrade to Pax Web 6.1.2 that will > provide Jetty 9.4.6 support. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (KARAF-5574) Upgrade to Pax Web 7.0.0/Jetty 9.4.6
[ https://issues.apache.org/jira/browse/KARAF-5574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofré updated KARAF-5574: Summary: Upgrade to Pax Web 7.0.0/Jetty 9.4.6 (was: Upgrade to Pax Web 6.1.2/Jetty 9.4.6) > Upgrade to Pax Web 7.0.0/Jetty 9.4.6 > > > Key: KARAF-5574 > URL: https://issues.apache.org/jira/browse/KARAF-5574 > Project: Karaf > Issue Type: Dependency upgrade > Components: karaf-webcontainer >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Fix For: 4.2.0 > > > In order to align with Camel, we should upgrade to Pax Web 6.1.2 that will > provide Jetty 9.4.6 support. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KARAF-5574) Upgrade to Pax Web 6.1.2/Jetty 9.4.6
[ https://issues.apache.org/jira/browse/KARAF-5574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337685#comment-16337685 ] Achim Nierbeck commented on KARAF-5574: --- I know this doesn't belong here, but Jetty 9.4 should go into a Pax Web 7. Especially since 9.4 is the first jetty fully supporting J9 just sayin' > Upgrade to Pax Web 6.1.2/Jetty 9.4.6 > > > Key: KARAF-5574 > URL: https://issues.apache.org/jira/browse/KARAF-5574 > Project: Karaf > Issue Type: Dependency upgrade > Components: karaf-webcontainer >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Fix For: 4.2.0 > > > In order to align with Camel, we should upgrade to Pax Web 6.1.2 that will > provide Jetty 9.4.6 support. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KARAF-5578) Add repo URL for sling
[ https://issues.apache.org/jira/browse/KARAF-5578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337636#comment-16337636 ] ASF subversion and git services commented on KARAF-5578: Commit 2e650adab6d67771947a9af5a385104c84368c2e in karaf's branch refs/heads/master from [~ch...@die-schneider.net] [ https://gitbox.apache.org/repos/asf?p=karaf.git;h=2e650ad ] [KARAF-5578] Add repo url for sling > Add repo URL for sling > -- > > Key: KARAF-5578 > URL: https://issues.apache.org/jira/browse/KARAF-5578 > Project: Karaf > Issue Type: Improvement >Affects Versions: 4.2.0.M2 >Reporter: Christian Schneider >Assignee: Christian Schneider >Priority: Major > Fix For: 4.2.0 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (KARAF-5578) Add repo URL for sling
[ https://issues.apache.org/jira/browse/KARAF-5578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Schneider resolved KARAF-5578. Resolution: Fixed > Add repo URL for sling > -- > > Key: KARAF-5578 > URL: https://issues.apache.org/jira/browse/KARAF-5578 > Project: Karaf > Issue Type: Improvement >Affects Versions: 4.2.0.M2 >Reporter: Christian Schneider >Assignee: Christian Schneider >Priority: Major > Fix For: 4.2.0 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (KARAF-5578) Add repo URL for sling
Christian Schneider created KARAF-5578: -- Summary: Add repo URL for sling Key: KARAF-5578 URL: https://issues.apache.org/jira/browse/KARAF-5578 Project: Karaf Issue Type: Improvement Affects Versions: 4.2.0.M2 Reporter: Christian Schneider Assignee: Christian Schneider Fix For: 4.2.0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KARAF-5575) Upgrade file appender to use SCR config property
[ https://issues.apache.org/jira/browse/KARAF-5575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337623#comment-16337623 ] ASF GitHub Bot commented on KARAF-5575: --- jbonofre closed pull request #25: [KARAF-5575] Define the marshaller by configuration for the file appender URL: https://github.com/apache/karaf-decanter/pull/25 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/appender/file/src/main/cfg/org.apache.karaf.decanter.appender.file.cfg b/appender/file/src/main/cfg/org.apache.karaf.decanter.appender.file.cfg index 3b1a313..ee487cb 100644 --- a/appender/file/src/main/cfg/org.apache.karaf.decanter.appender.file.cfg +++ b/appender/file/src/main/cfg/org.apache.karaf.decanter.appender.file.cfg @@ -3,4 +3,7 @@ ## # File -#filename=${karaf.data}/decanter \ No newline at end of file +#filename=${karaf.data}/decanter + +# Marshaller +marshaller.target=(dataFormat=csv) \ No newline at end of file diff --git a/appender/file/src/main/java/org/apache/karaf/decanter/appender/file/FileAppender.java b/appender/file/src/main/java/org/apache/karaf/decanter/appender/file/FileAppender.java index 4256a07..f916eff 100644 --- a/appender/file/src/main/java/org/apache/karaf/decanter/appender/file/FileAppender.java +++ b/appender/file/src/main/java/org/apache/karaf/decanter/appender/file/FileAppender.java @@ -38,7 +38,9 @@ ) public class FileAppender implements EventHandler { -private Marshaller marshaller; +@Reference +public Marshaller marshaller; + private BufferedWriter writer; @Activate @@ -73,9 +75,4 @@ public void deactivate() throws Exception { this.writer.close(); } -@Reference(target="(" + Marshaller.SERVICE_KEY_DATAFORMAT + "=csv)") -public void setMarshaller(Marshaller marshaller) { -this.marshaller = marshaller; -} - } diff --git a/appender/file/src/test/java/org/apache/karaf/decanter/appender/file/TestFileAppender.java b/appender/file/src/test/java/org/apache/karaf/decanter/appender/file/TestFileAppender.java index a4b0cec..255327b 100644 --- a/appender/file/src/test/java/org/apache/karaf/decanter/appender/file/TestFileAppender.java +++ b/appender/file/src/test/java/org/apache/karaf/decanter/appender/file/TestFileAppender.java @@ -32,7 +32,7 @@ @Test public void testAppender() throws Exception { FileAppender fileAppender = new FileAppender(); -fileAppender.setMarshaller(new CsvMarshaller()); +fileAppender.marshaller = new CsvMarshaller(); fileAppender.open("target/test-classes/decanter"); Mapmap = new HashMap<>(); map.put("a", "b"); diff --git a/manual/src/main/asciidoc/user-guide/appenders.adoc b/manual/src/main/asciidoc/user-guide/appenders.adoc index 3ff507a..1e10e76 100644 --- a/manual/src/main/asciidoc/user-guide/appenders.adoc +++ b/manual/src/main/asciidoc/user-guide/appenders.adoc @@ -776,6 +776,9 @@ karaf@root()> feature:install decanter-appender-file By default, the file appender stores the collected data in `${karaf.data}/decanter` file. You can change the file where to store the data using the `filename` property in `etc/org.apache.karaf.decanter.appender.file.cfg` configuration file. +You can also change the marshaller to use. By default, the marshaller used is the CSV one. But you can switch to the JSON one +using the `marshaller.target` property in `etc/org.apache.karaf.decanter.appender.file.cfg` configuration file. + JDBC The Decanter JDBC appender allows your to store the data (coming from the collectors) into a database. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Upgrade file appender to use SCR config property > > > Key: KARAF-5575 > URL: https://issues.apache.org/jira/browse/KARAF-5575 > Project: Karaf > Issue Type: Improvement > Components: decanter >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Fix For: decanter-2.0.0 > > > Now we upgraded to OSGi Compendium 6.0.0 with updated SCR version, we can use > DS Config Property to in {{@Reference}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KARAF-5575) Upgrade file appender to use SCR config property
[ https://issues.apache.org/jira/browse/KARAF-5575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337624#comment-16337624 ] ASF subversion and git services commented on KARAF-5575: Commit a12370b345c8408730800095e1f3683f5769f0a0 in karaf-decanter's branch refs/heads/master from [~jbonofre] [ https://gitbox.apache.org/repos/asf?p=karaf-decanter.git;h=a12370b ] [KARAF-5575] Define the marshaller by configuration for the file appender > Upgrade file appender to use SCR config property > > > Key: KARAF-5575 > URL: https://issues.apache.org/jira/browse/KARAF-5575 > Project: Karaf > Issue Type: Improvement > Components: decanter >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Fix For: decanter-2.0.0 > > > Now we upgraded to OSGi Compendium 6.0.0 with updated SCR version, we can use > DS Config Property to in {{@Reference}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (KARAF-5501) Upgrade to Kibana 6.x
[ https://issues.apache.org/jira/browse/KARAF-5501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofré resolved KARAF-5501. - Resolution: Fixed > Upgrade to Kibana 6.x > - > > Key: KARAF-5501 > URL: https://issues.apache.org/jira/browse/KARAF-5501 > Project: Karaf > Issue Type: New Feature > Components: decanter >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Fix For: decanter-2.0.0 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KARAF-5501) Upgrade to Kibana 6.x
[ https://issues.apache.org/jira/browse/KARAF-5501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337615#comment-16337615 ] ASF subversion and git services commented on KARAF-5501: Commit 3fa02c0e487076c2cb4ce40de747cfc04596b92d in karaf-decanter's branch refs/heads/master from [~jbonofre] [ https://gitbox.apache.org/repos/asf?p=karaf-decanter.git;h=3fa02c0 ] [KARAF-5501] Add Kibana 6 feature > Upgrade to Kibana 6.x > - > > Key: KARAF-5501 > URL: https://issues.apache.org/jira/browse/KARAF-5501 > Project: Karaf > Issue Type: New Feature > Components: decanter >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Fix For: decanter-2.0.0 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KARAF-5575) Upgrade file appender to use SCR config property
[ https://issues.apache.org/jira/browse/KARAF-5575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337311#comment-16337311 ] ASF GitHub Bot commented on KARAF-5575: --- jbonofre opened a new pull request #25: [KARAF-5575] Define the marshaller by configuration for the file appender URL: https://github.com/apache/karaf-decanter/pull/25 This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Upgrade file appender to use SCR config property > > > Key: KARAF-5575 > URL: https://issues.apache.org/jira/browse/KARAF-5575 > Project: Karaf > Issue Type: Improvement > Components: decanter >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Fix For: decanter-2.0.0 > > > Now we upgraded to OSGi Compendium 6.0.0 with updated SCR version, we can use > DS Config Property to in {{@Reference}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (KARAF-5577) Define the marshaller in collector/appender configuration
Jean-Baptiste Onofré created KARAF-5577: --- Summary: Define the marshaller in collector/appender configuration Key: KARAF-5577 URL: https://issues.apache.org/jira/browse/KARAF-5577 Project: Karaf Issue Type: Improvement Components: decanter Reporter: Jean-Baptiste Onofré Assignee: Jean-Baptiste Onofré Fix For: decanter-2.0.0 Now we upgrade to OSGi Compendium 6.0.0, we can "extract" the target of {{@Reference}} in component configuration. See #5575 for instance. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Issue Comment Deleted] (KARAF-5501) Upgrade to Kibana 6.x
[ https://issues.apache.org/jira/browse/KARAF-5501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofré updated KARAF-5501: Comment: was deleted (was: As part of this, I'm refactoring the modules to move these in backend: {code:java} backend elasticsearch elasticsearch-2 elasticsearch-5 elasticsearch-6 kibana-4 kibana-6 orientdb{code}) > Upgrade to Kibana 6.x > - > > Key: KARAF-5501 > URL: https://issues.apache.org/jira/browse/KARAF-5501 > Project: Karaf > Issue Type: New Feature > Components: decanter >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Fix For: decanter-2.0.0 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (KARAF-5576) Move all backends in an unique module
Jean-Baptiste Onofré created KARAF-5576: --- Summary: Move all backends in an unique module Key: KARAF-5576 URL: https://issues.apache.org/jira/browse/KARAF-5576 Project: Karaf Issue Type: Improvement Components: decanter Reporter: Jean-Baptiste Onofré Assignee: Jean-Baptiste Onofré Fix For: decanter-2.0.0 To avoid the confusion and better read of the repo, I will move all backend embedded instances (elasticsearch, kibana, orientdb, ...) in an unique {{backend}} Maven module. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (KARAF-5575) Upgrade file appender to use SCR config property
Jean-Baptiste Onofré created KARAF-5575: --- Summary: Upgrade file appender to use SCR config property Key: KARAF-5575 URL: https://issues.apache.org/jira/browse/KARAF-5575 Project: Karaf Issue Type: Improvement Components: decanter Reporter: Jean-Baptiste Onofré Assignee: Jean-Baptiste Onofré Fix For: decanter-2.0.0 Now we upgraded to OSGi Compendium 6.0.0 with updated SCR version, we can use DS Config Property to in {{@Reference}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (KARAF-5574) Upgrade to Pax Web 6.1.2/Jetty 9.4.6
Jean-Baptiste Onofré created KARAF-5574: --- Summary: Upgrade to Pax Web 6.1.2/Jetty 9.4.6 Key: KARAF-5574 URL: https://issues.apache.org/jira/browse/KARAF-5574 Project: Karaf Issue Type: Dependency upgrade Components: karaf-webcontainer Reporter: Jean-Baptiste Onofré Assignee: Jean-Baptiste Onofré Fix For: 4.2.0 In order to align with Camel, we should upgrade to Pax Web 6.1.2 that will provide Jetty 9.4.6 support. -- This message was sent by Atlassian JIRA (v7.6.3#76005)