Clone Tools
  • last updated 23 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
CAMEL-14544 (#3627)

* CAMEL-14544

* Fix Checkstyles

* Fix OSGI import version fro hazelcast

    • -7
    • +10
    ./hazelcast/HazelcastAtomicnumberProducerForSpringTest.java
    • -3
    • +9
    ./hazelcast/HazelcastAtomicnumberProducerTest.java
    • -6
    • +7
    ./hazelcast/HazelcastInstanceConsumerTest.java
    • -4
    • +5
    ./hazelcast/HazelcastListConsumerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastListProducerTest.java
    • -2
    • +3
    ./hazelcast/HazelcastMapConsumerTest.java
    • -2
    • +2
    ./hazelcast/HazelcastMapProducerForSpringTest.java
    • -2
    • +2
    ./hazelcast/HazelcastMapProducerTest.java
    • -2
    • +3
    ./hazelcast/HazelcastMultimapConsumerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastMultimapProducerForSpringTest.java
    • -1
    • +1
    ./hazelcast/HazelcastMultimapProducerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastQueueConsumerPollTest.java
    • -4
    • +5
    ./hazelcast/HazelcastQueueConsumerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastQueueProducerTest.java
    • -4
    • +5
    ./hazelcast/HazelcastReliableTopicConsumerTest.java
  1. … 42 more files in changeset.
Camel-Hazelcast: Fixed Hazelcast-seda config test

    • -1
    • +1
    ./hazelcast/HazelcastSedaConfigurationTest.java
Camel-Hazelcast: Fixed Hazelcast-seda config test

    • -1
    • +1
    ./hazelcast/HazelcastSedaConfigurationTest.java
Camel-Hazelcast: Fixed Hazelcast-seda configuration test

    • -1
    • +1
    ./hazelcast/HazelcastSedaConfigurationTest.java
Camel-Hazelcast: Fixed Hazelcast-seda configuration test

    • -1
    • +1
    ./hazelcast/HazelcastSedaConfigurationTest.java
CAMEL-14180: Fix Checkstyle issues

Seems that previous versions of Checkstyle had few issues with checking

import sort/grouping. So I've run impsort Maven plugin:

mvn net.revelc.code:impsort-maven-plugin:sort -Dimpsort.groups=java,javax,org.w3c,org.xml,junit -Dimpsort.removeUnused=true -Dimpsort.staticAfter=true

To sort all the imports according to the Checkstyle rule.

Few remaining issues around indentation and unnecessary parentheses I

fixed manually.

    • -1
    • +0
    ./hazelcast/HazelcastAtomicnumberProducerForSpringTest.java
    • -1
    • +0
    ./hazelcast/HazelcastAtomicnumberProducerTest.java
    • -1
    • +0
    ./hazelcast/HazelcastCamelTestHelper.java
    • -0
    • +1
    ./hazelcast/HazelcastCamelTestSupport.java
    • -1
    • +0
    ./hazelcast/HazelcastComponentInstanceReferenceNameSpringTest.java
    • -1
    • +0
    ./hazelcast/HazelcastComponentInstanceReferenceSpringTest.java
    • -2
    • +0
    ./hazelcast/HazelcastInstanceConsumerTest.java
    • -1
    • +0
    ./hazelcast/HazelcastListProducerTest.java
    • -1
    • +0
    ./hazelcast/HazelcastMapProducerForSpringTest.java
    • -1
    • +0
    ./hazelcast/HazelcastMapProducerTest.java
    • -1
    • +0
    ./hazelcast/HazelcastMultimapConsumerTest.java
    • -1
    • +0
    ./hazelcast/HazelcastMultimapProducerForSpringTest.java
    • -1
    • +0
    ./hazelcast/HazelcastMultimapProducerTest.java
    • -2
    • +1
    ./hazelcast/HazelcastQueueProducerTest.java
    • -1
    • +0
    ./hazelcast/HazelcastReplicatedmapConsumerTest.java
  1. … 2759 more files in changeset.
CAMEL-14180: Fix Checkstyle issues

Seems that previous versions of Checkstyle had few issues with checking

import sort/grouping. So I've run impsort Maven plugin:

mvn net.revelc.code:impsort-maven-plugin:sort -Dimpsort.groups=java,javax,org.w3c,org.xml,junit -Dimpsort.removeUnused=true -Dimpsort.staticAfter=true

To sort all the imports according to the Checkstyle rule.

Few remaining issues around indentation and unnecessary parentheses I

fixed manually.

    • -1
    • +0
    ./hazelcast/HazelcastAtomicnumberProducerForSpringTest.java
    • -1
    • +0
    ./hazelcast/HazelcastAtomicnumberProducerTest.java
    • -1
    • +0
    ./hazelcast/HazelcastCamelTestHelper.java
    • -0
    • +1
    ./hazelcast/HazelcastCamelTestSupport.java
    • -1
    • +0
    ./hazelcast/HazelcastComponentInstanceReferenceNameSpringTest.java
    • -1
    • +0
    ./hazelcast/HazelcastComponentInstanceReferenceSpringTest.java
    • -2
    • +0
    ./hazelcast/HazelcastInstanceConsumerTest.java
    • -1
    • +0
    ./hazelcast/HazelcastListProducerTest.java
    • -1
    • +0
    ./hazelcast/HazelcastMapProducerForSpringTest.java
    • -1
    • +0
    ./hazelcast/HazelcastMapProducerTest.java
    • -1
    • +0
    ./hazelcast/HazelcastMultimapConsumerTest.java
    • -1
    • +0
    ./hazelcast/HazelcastMultimapProducerForSpringTest.java
    • -1
    • +0
    ./hazelcast/HazelcastMultimapProducerTest.java
    • -2
    • +1
    ./hazelcast/HazelcastQueueProducerTest.java
    • -1
    • +0
    ./hazelcast/HazelcastReplicatedmapConsumerTest.java
  1. … 2751 more files in changeset.
CAMEL-12003: Fixed test

    • -1
    • +0
    ./hazelcast/HazelcastSedaConcurrentConsumersTest.java
CAMEL-13822: Add Override annotations

    • -0
    • +2
    ./hazelcast/HazelcastSedaRecoverableConsumerNewTransactionTest.java
    • -0
    • +2
    ./hazelcast/HazelcastSedaRecoverableConsumerRollbackTest.java
  1. … 3628 more files in changeset.
CAMEL-13557: Fixed test to use property binding support as the old has removed the legacy JDK PropertyEditor in CAMEL-13566

    • -1
    • +2
    ./hazelcast/HazelcastSedaConfigurationTest.java
CAMEL-13522: camel3 - The various Camel exceptions should favour extending runtime exception

    • -2
    • +2
    ./hazelcast/HazelcastErrorMessagesTest.java
  1. … 26 more files in changeset.
Do not use the deprecated uri field in @EndpointInject / @Consume / @Produce

    • -1
    • +1
    ./hazelcast/HazelcastSedaConcurrentConsumersTest.java
    • -1
    • +1
    ./hazelcast/HazelcastSedaFIFOTest.java
    • -1
    • +1
    ./hazelcast/HazelcastSedaInOnlyTest.java
    • -1
    • +1
    ./hazelcast/HazelcastSedaInOutTest.java
    • -1
    • +1
    ./hazelcast/HazelcastSedaRecoverableConsumerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastSedaSpringSupportTest.java
    • -1
    • +1
    ./hazelcast/HazelcastSedaTransferExchangeTest.java
  1. … 491 more files in changeset.
CAMEL-13336: update license headers

    • -1
    • +1
    ./hazelcast/HazelcastAtomicnumberProducerForSpringTest.java
    • -1
    • +1
    ./hazelcast/HazelcastAtomicnumberProducerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastCamelSpringTestSupport.java
    • -1
    • +1
    ./hazelcast/HazelcastCamelTestHelper.java
    • -1
    • +1
    ./hazelcast/HazelcastCamelTestSupport.java
    • -1
    • +1
    ./hazelcast/HazelcastComponentInstanceReferenceNameSpringTest.java
    • -1
    • +1
    ./hazelcast/HazelcastComponentInstanceReferenceSpringTest.java
    • -2
    • +1
    ./hazelcast/HazelcastConfigurationTest.java
    • -1
    • +1
    ./hazelcast/HazelcastErrorMessagesTest.java
    • -1
    • +1
    ./hazelcast/HazelcastInstanceConsumerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastListConsumerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastListProducerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastMapConsumerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastMapProducerForSpringTest.java
    • -1
    • +1
    ./hazelcast/HazelcastMapProducerTest.java
  1. … 17910 more files in changeset.
Camel-Hazelcast: Fixed build

    • -3
    • +3
    ./hazelcast/HazelcastConfigurationTest.java
CAMEL-10792: Allow Registry to bind beans.

    • -1
    • +1
    ./hazelcast/HazelcastConfigurationTest.java
  1. … 31 more files in changeset.
Fixed test

    • -19
    • +0
    ./hazelcast/HazelcastErrorMessagesTest.java
Remove files related to the removed HazelcastComponent

    • -3
    • +0
    ./hazelcast/HazelcastCamelTestHelper.java
  1. … 5 more files in changeset.
[CAMEL-10469] Remove @version in java source code

    • -1
    • +0
    ./hazelcast/HazelcastSedaConcurrentConsumersTest.java
  1. … 3763 more files in changeset.
polish

    • -2
    • +2
    ./hazelcast/HazelcastListConsumerTest.java
    • -5
    • +5
    ./hazelcast/HazelcastMapConsumerTest.java
    • -6
    • +6
    ./hazelcast/HazelcastMapProducerForSpringTest.java
    • -8
    • +8
    ./hazelcast/HazelcastMapProducerTest.java
    • -3
    • +3
    ./hazelcast/HazelcastMultimapConsumerTest.java
    • -2
    • +2
    ./hazelcast/HazelcastQueueConsumerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastQueueProducerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastReliableTopicConsumerTest.java
    • -3
    • +3
    ./hazelcast/HazelcastReplicatedmapConsumerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastSedaFIFOTest.java
    • -2
    • +2
    ./hazelcast/HazelcastSetConsumerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastTopicConsumerTest.java
  1. … 76 more files in changeset.
CAMEL-11869: Fixed some mockito flaky tests for camel-hazelcast

    • -2
    • +0
    ./hazelcast/HazelcastCamelTestSupport.java
    • -1
    • +3
    ./hazelcast/HazelcastInstanceConsumerTest.java
    • -6
    • +6
    ./hazelcast/HazelcastListConsumerTest.java
    • -8
    • +9
    ./hazelcast/HazelcastMapConsumerTest.java
    • -7
    • +7
    ./hazelcast/HazelcastMultimapConsumerTest.java
    • -3
    • +0
    ./hazelcast/HazelcastQueueConsumerPollTest.java
    • -6
    • +6
    ./hazelcast/HazelcastQueueConsumerTest.java
    • -5
    • +5
    ./hazelcast/HazelcastReliableTopicConsumerTest.java
    • -7
    • +7
    ./hazelcast/HazelcastReplicatedmapConsumerTest.java
    • -6
    • +6
    ./hazelcast/HazelcastSetConsumerTest.java
    • -5
    • +5
    ./hazelcast/HazelcastTopicConsumerTest.java
  1. … 3 more files in changeset.
CAMEL-11869: Upgrade mockito-core to 2.11.0 for camel-hazelcast

    • -1
    • +1
    ./hazelcast/HazelcastInstanceConsumerTest.java
    • -2
    • +2
    ./hazelcast/HazelcastMapConsumerTest.java
    • -2
    • +2
    ./hazelcast/HazelcastMapProducerForSpringTest.java
    • -2
    • +2
    ./hazelcast/HazelcastMultimapConsumerTest.java
    • -2
    • +2
    ./hazelcast/HazelcastQueueConsumerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastReliableTopicConsumerTest.java
    • -2
    • +2
    ./hazelcast/HazelcastReplicatedmapConsumerTest.java
    • -3
    • +3
    ./hazelcast/HazelcastRingbufferProducerForSpringTest.java
    • -4
    • +4
    ./hazelcast/HazelcastRingbufferProducerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastSedaRecoverableConsumerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastTopicConsumerTest.java
  1. … 1 more file in changeset.
CAMEL-11777: Use transaction aware queue in hazelcast:seda component

As mentioned in docs of hz (any version, current for example)

http://docs.hazelcast.org/docs/3.8.4/manual/html-single/index.html#creating-a-transaction-interface

Transaction do its work if queue initialized with help of transaction ctx

    • -1
    • +2
    ./hazelcast/HazelcastSedaRecoverableConsumerNewTransactionTest.java
    • -1
    • +2
    ./hazelcast/HazelcastSedaRecoverableConsumerRollbackTest.java
    • -0
    • +8
    ./hazelcast/HazelcastSedaRecoverableConsumerTest.java
  1. … 1 more file in changeset.
CAMEL-11666 - Fixed CS and regen docs

    • -1
    • +1
    ./hazelcast/HazelcastQueueConsumerPollTest.java
  1. … 9 more files in changeset.
CAMEL-11666 - Camel Hazelcast Queue Consumer implementation

    • -0
    • +85
    ./hazelcast/HazelcastQueueConsumerPollTest.java
  1. … 16 more files in changeset.
CAMEL-11694 - Camel-Hazelcast: Add more operation to queue - Retain All operation

    • -0
    • +11
    ./hazelcast/HazelcastQueueProducerTest.java
  1. … 1 more file in changeset.
CAMEL-11694 - Camel-Hazelcast: Add more operation to queue - Take operation

    • -0
    • +9
    ./hazelcast/HazelcastQueueProducerTest.java
  1. … 2 more files in changeset.
CAMEL-11685 - Camel-Hazelcast: Add removeAll and removeIf to queue component

    • -0
    • +23
    ./hazelcast/HazelcastQueueProducerTest.java
  1. … 2 more files in changeset.
Make option configurable - onErrorDelay

    • -0
    • +24
    ./hazelcast/HazelcastSedaConfigurationTest.java
    • -1
    • +1
    ./hazelcast/HazelcastSedaRecoverableConsumerTest.java
  1. … 13 more files in changeset.
CAMEL-11244: camel-hazelcast: use string/enum instead of numeric operation type

    • -8
    • +8
    ./hazelcast/HazelcastAtomicnumberProducerTest.java
    • -19
    • +19
    ./hazelcast/HazelcastListProducerTest.java
    • -22
    • +22
    ./hazelcast/HazelcastMapProducerTest.java
    • -11
    • +11
    ./hazelcast/HazelcastMultimapProducerTest.java
    • -13
    • +13
    ./hazelcast/HazelcastQueueProducerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastReliableTopicProducerTest.java
    • -8
    • +8
    ./hazelcast/HazelcastReplicatedmapProducerTest.java
    • -8
    • +8
    ./hazelcast/HazelcastRingbufferProducerTest.java
    • -11
    • +11
    ./hazelcast/HazelcastSetProducerTest.java
    • -1
    • +1
    ./hazelcast/HazelcastTopicProducerTest.java
    • -1
    • +1
    ./hazelcast/policy/HazelcastRoutePolicyMain.java
  1. … 30 more files in changeset.
checkstyle - move import

    • -2
    • +2
    ./hazelcast/HazelcastSedaRecoverableConsumerTest.java