This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git.
from 22d86e3 Regen all configs with secret/sensitive values (ref: issue
#1050)
new e1dd911 Avoid using static hostnames in tests
new a96e2cf Refactor the CXF servers into a service for simpler reuse
new 5225149 Abstracted the CXF service client setup from the CXF test code
new 633931b Convert the CXF sink test case to use the base Sink test class
new d062ce4 Convert the CXF source test case to use the base source test
class
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../services/kafka/EmbeddedKafkaService.java | 5 +-
.../DefaultKafkaConnectPropertyFactory.java | 10 +-
.../common/test/CamelSourceTestSupport.java | 2 -
.../kafkaconnector/common/utils/NetworkUtils.java | 27 ++-
tests/itests-cxf/pom.xml | 5 +
.../kafkaconnector/cxf/client/CXFServiceUtil.java | 48 ++++++
.../kafkaconnector/cxf/common/CXFProperties.java} | 10 +-
.../cxf/{source => common}/HelloService.java | 2 +-
.../cxf/services/CXFEmbeddedServerService.java | 107 ++++++++++++
.../kafkaconnector/cxf/services/CXFService.java} | 24 ++-
.../cxf/services/JaxWsServiceConfigurator.java} | 8 +-
.../services/ServerFactoryBeanConfigurator.java} | 8 +-
.../cxf/sink/CamelSinkCXFITCase.java | 181 ++++++++-------------
.../cxf/sink/CamelSinkCXFPropertyFactory.java | 3 +-
.../camel/kafkaconnector/cxf/sink/GreeterImpl.java | 20 ++-
.../kafkaconnector/cxf/sink/HelloServiceImpl.java | 2 +-
...Impl.java => SinkJaxWsServiceConfigurator.java} | 16 +-
...java => SinkServerFactoryBeanConfigurator.java} | 19 ++-
.../cxf/source/CamelSourceCXFITCase.java | 144 +++++++---------
.../src/test/resources/hello-service-test.xml} | 16 +-
.../src/test/resources/jaxws-test.xml} | 16 +-
.../http/sink/CamelSinkHTTPITCase.java | 2 +-
.../syslog/sink/CamelSinkSyslogITCase.java | 4 +-
.../syslog/source/CamelSourceSyslogITCase.java | 4 +-
24 files changed, 415 insertions(+), 268 deletions(-)
create mode 100644
tests/itests-cxf/src/test/java/org/apache/camel/kafkaconnector/cxf/client/CXFServiceUtil.java
copy
tests/{itests-ssh/src/test/java/org/apache/camel/kafkaconnector/ssh/common/SshProperties.java
=>
itests-cxf/src/test/java/org/apache/camel/kafkaconnector/cxf/common/CXFProperties.java}
(74%)
rename
tests/itests-cxf/src/test/java/org/apache/camel/kafkaconnector/cxf/{source =>
common}/HelloService.java (95%)
create mode 100644
tests/itests-cxf/src/test/java/org/apache/camel/kafkaconnector/cxf/services/CXFEmbeddedServerService.java
copy
tests/{itests-ssh/src/test/java/org/apache/camel/kafkaconnector/ssh/services/SshService.java
=>
itests-cxf/src/test/java/org/apache/camel/kafkaconnector/cxf/services/CXFService.java}
(65%)
copy
tests/{itests-common/src/test/java/org/apache/camel/kafkaconnector/common/test/FunctionalTestMessageProducer.java
=>
itests-cxf/src/test/java/org/apache/camel/kafkaconnector/cxf/services/JaxWsServiceConfigurator.java}
(80%)
copy
tests/{itests-common/src/test/java/org/apache/camel/kafkaconnector/common/test/FunctionalTestMessageProducer.java
=>
itests-cxf/src/test/java/org/apache/camel/kafkaconnector/cxf/services/ServerFactoryBeanConfigurator.java}
(79%)
copy
tests/itests-cxf/src/test/java/org/apache/camel/kafkaconnector/cxf/sink/{GreeterImpl.java
=> SinkJaxWsServiceConfigurator.java} (67%)
copy
tests/itests-cxf/src/test/java/org/apache/camel/kafkaconnector/cxf/sink/{GreeterImpl.java
=> SinkServerFactoryBeanConfigurator.java} (57%)
copy tests/{itests-hdfs/src/test/resources/hdfs-site.xml =>
itests-cxf/src/test/resources/hello-service-test.xml} (72%)
copy tests/{itests-hdfs/src/test/resources/hdfs-site.xml =>
itests-cxf/src/test/resources/jaxws-test.xml} (72%)