This is an automated email from the ASF dual-hosted git repository. cdutz pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/plc4x.git
commit b0e774751ca66729892236086422dae8881737a8 Author: Christofer Dutz <[email protected]> AuthorDate: Tue Aug 27 15:56:34 2019 +0200 - Fixed a problem during the install phase. --- plc4j/integrations/logstash-plugin/pom.xml | 2 +- .../src/test/java/org/apache/plc4x/logstash/Plc4xInputTest.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/plc4j/integrations/logstash-plugin/pom.xml b/plc4j/integrations/logstash-plugin/pom.xml index b2560b1..1886a76 100644 --- a/plc4j/integrations/logstash-plugin/pom.xml +++ b/plc4j/integrations/logstash-plugin/pom.xml @@ -200,7 +200,7 @@ <artifacts> <artifact> <!-- Ignore the error ... this variable is calculated in the "validate" phase --> - <file>${project.build.directory}/gem/${project.artifactId}-${current-full-version}.gem</file> + <file>${project.build.directory}/gem/logstash-input-plc4x-${current-full-version}.gem</file> <type>gem</type> </artifact> </artifacts> diff --git a/plc4j/integrations/logstash-plugin/src/test/java/org/apache/plc4x/logstash/Plc4xInputTest.java b/plc4j/integrations/logstash-plugin/src/test/java/org/apache/plc4x/logstash/Plc4xInputTest.java index 839117b..4e92980 100644 --- a/plc4j/integrations/logstash-plugin/src/test/java/org/apache/plc4x/logstash/Plc4xInputTest.java +++ b/plc4j/integrations/logstash-plugin/src/test/java/org/apache/plc4x/logstash/Plc4xInputTest.java @@ -20,6 +20,7 @@ package org.apache.plc4x.logstash; import co.elastic.logstash.api.Configuration; import org.assertj.core.util.Maps; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.logstash.plugins.ConfigurationImpl; @@ -29,13 +30,14 @@ import java.util.function.Consumer; public class Plc4xInputTest { @Test + @Disabled("This test only works with a running instance of the freeopcua server running on the same machine") public void testPlc4xInput() { Map<String, Object> configValues = new HashMap<>(); Map<String, Object> jobValues = new HashMap<>(); Map<String,Object> queries = new HashMap<>(); queries.put("testfield", "ns=2;i=4"); - List<String> sources = Arrays.asList("TestConnection"); + List<String> sources = Collections.singletonList("TestConnection"); jobValues.put("rate", 300); jobValues.put("queries", queries);
