Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

    • -0
    • +1
    ./component/olingo4/Olingo4ComponentConsumerTest.java
    • -0
    • +1
    ./component/olingo4/Olingo4ComponentProducerTest.java
  1. … 2772 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.

    • -0
    • +1
    ./component/olingo4/Olingo4ComponentConsumerTest.java
    • -0
    • +1
    ./component/olingo4/Olingo4ComponentProducerTest.java
  1. … 2764 more files in changeset.
tiny cleanups: - remove unused import statements - make use of type inference for generic instance creation - remove obsolete 'public', 'static' and 'final' modifiers in interfaces - change field/method accesses to it's owning supertype - remove obsolete type castings - remove obsolete semicolons

    • -9
    • +9
    ./component/olingo4/Olingo4ComponentConsumerTest.java
  1. … 346 more files in changeset.
CAMEL-13917: Configuring endpoints with consumer. prefix for consumer options is no longer supported as they should be regular options instead. This also avoid reflection setting properties.

    • -10
    • +10
    ./component/olingo4/Olingo4ComponentConsumerTest.java
  1. … 12 more files in changeset.
CAMEL-13917: Configuring endpoints with consumer. prefix for consumer options is no longer supported as they should be regular options instead. This also avoid reflection setting properties.

    • -7
    • +7
    ./component/olingo4/Olingo4ComponentConsumerTest.java
  1. … 6 more files in changeset.
CAMEL-13917: Configuring endpoints with consumer. prefix for consumer options is no longer supported as they should be regular options instead. This also avoid reflection setting properties.

    • -4
    • +4
    ./component/olingo4/Olingo4ComponentConsumerTest.java
  1. … 164 more files in changeset.
Camel-Olingo4: Fixed CS

    • -65
    • +44
    ./component/olingo4/Olingo4ComponentConsumerTest.java
    • -2
    • +1
    ./component/olingo4/Olingo4ComponentProducerTest.java
    • -2
    • +2
    ./component/olingo4/Olingo4RouteTest.java
  1. … 12 more files in changeset.
CAMEL-13598: Implement ETag support in olingo components

* Supports odata services that implement concurrency properties on entities

by ensuring that when performing patch, update & delete operations, the

OlingoApp first reads the requisite entity and retrieves its ETag. This

is then added into the subsequent request under the If-Match header

* Adds additional tests for specifically testing the ETag functionality.

    • -2
    • +4
    ./component/olingo4/Olingo4ComponentProducerTest.java
  1. … 8 more files in changeset.
CAMEL-13852: use constants for http status code

    • -2
    • +2
    ./component/olingo4/Olingo4ComponentProducerTest.java
  1. … 1 more file in changeset.
CAMEL-13852: Support OData action's

    • -0
    • +21
    ./component/olingo4/Olingo4ComponentProducerTest.java
  1. … 5 more files in changeset.
CAMEL-13861: Fixes missing logic producing empty messages

* Olingo[*]Consumer

* Tests for null results as well as empty collections. Return 0 accordingly

* Adds and updates tests to assume no empty messages unless the

consumer.sendEmptyMessageWhenIdle property has been configured

    • -1
    • +143
    ./component/olingo4/Olingo4ComponentConsumerTest.java
  1. … 3 more files in changeset.
fix(13606): Stop Olingo Index Classes generating NP Exceptions

* Olingo*Index

* Provides null-checks to each method to avoid any NPE

* Tests

* The consumer testing routes were being started prior to the tests that

concerned them. Consequently, it was hit/miss whether the tests would

catch all messages generated by the routes. This matters for the

'already seen' tests as adding more of there meant tests failed with

messages having no bodies.

* Consumer tests broken out into their own classes and camel context

started in the test once the mock endpoints have been property setup.

    • -0
    • +211
    ./component/olingo4/Olingo4ComponentConsumerTest.java
    • -0
    • +432
    ./component/olingo4/Olingo4ComponentProducerTest.java
    • -562
    • +0
    ./component/olingo4/Olingo4ComponentTest.java
  1. … 5 more files in changeset.
fix(13606): Stop Olingo Index Classes generating NP Exceptions

* Olingo*Index

* Provides null-checks to each method to avoid any NPE

* Tests

* The consumer testing routes were being started prior to the tests that

concerned them. Consequently, it was hit/miss whether the tests would

catch all messages generated by the routes. This matters for the

'already seen' tests as adding more of there meant tests failed with

messages having no bodies.

* Consumer tests broken out into their own classes and camel context

started in the test once the mock endpoints have been property setup.

    • -0
    • +211
    ./component/olingo4/Olingo4ComponentConsumerTest.java
    • -0
    • +432
    ./component/olingo4/Olingo4ComponentProducerTest.java
    • -562
    • +0
    ./component/olingo4/Olingo4ComponentTest.java
  1. … 5 more files in changeset.
Fixed CS for Camel-Olingo4

    • -1
    • +1
    ./component/olingo4/Olingo4ComponentConsumerTest.java
    • -1
    • +1
    ./component/olingo4/Olingo4ComponentProducerTest.java
fix(13606): Stop Olingo Index Classes generating NP Exceptions

* Olingo*Index

* Provides null-checks to each method to avoid any NPE

* Tests

* The consumer testing routes were being started prior to the tests that

concerned them. Consequently, it was hit/miss whether the tests would

catch all messages generated by the routes. This matters for the

'already seen' tests as adding more of there meant tests failed with

messages having no bodies.

* Consumer tests broken out into their own classes and camel context

started in the test once the mock endpoints have been property setup.

    • -0
    • +270
    ./component/olingo4/Olingo4ComponentConsumerTest.java
    • -0
    • +431
    ./component/olingo4/Olingo4ComponentProducerTest.java
    • -621
    • +0
    ./component/olingo4/Olingo4ComponentTest.java
  1. … 5 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

    • -2
    • +2
    ./component/olingo4/AbstractOlingo4TestSupport.java
  1. … 15 more files in changeset.
CAMEL-13458: Fixed CS Closes #2883

  1. … 1 more file in changeset.
CAMEL-13458: Support return of collection properties in Olingo4

* Olingo4AppImpl

* If property has collection then return it.

* Tests to prove fix

* Olingo2ComponentTest

* Shore up tests to make them more reliable.

    • -17
    • +90
    ./component/olingo4/Olingo4ComponentTest.java
  1. … 2 more files in changeset.
CAMEL-13336: update license headers

    • -1
    • +1
    ./component/olingo4/AbstractOlingo4TestSupport.java
    • -1
    • +1
    ./component/olingo4/Olingo4RouteTest.java
  1. … 17922 more files in changeset.
CAMEL-13316: Olingo components handle value/property results

* When split, both olingo components handle results which are values or

properties rather than entities.

* Provides tests confirming the fix.

  1. … 3 more files in changeset.
CAMEL-13316: Olingo components handle value/property results

* When split, both olingo components handle results which are values or

properties rather than entities.

* Provides tests confirming the fix.

  1. … 3 more files in changeset.
CAMEL-13316: Olingo components handle value/property results

* When split, both olingo components handle results which are values or

properties rather than entities.

* Provides tests confirming the fix.

  1. … 3 more files in changeset.
CAMEL-13185: Add splitResults implementations to Olingo Components

* Adds splitResults methods to both Olingo 2 & 4 Consumers

    • -18
    • +72
    ./component/olingo4/Olingo4ComponentTest.java
  1. … 5 more files in changeset.
CAMEL-13185: Add splitResults implementations to Olingo Components

* Adds splitResults methods to both Olingo 2 & 4 Consumers

  1. … 3 more files in changeset.
Fixed CS for Camel-Olingo4

    • -46
    • +29
    ./component/olingo4/Olingo4ComponentTest.java
  1. … 1 more file in changeset.
Fixed CS for camel-olingo4

    • -1
    • +1
    ./component/olingo4/AbstractOlingo4TestSupport.java
CAMEL-13082: Filter results already seen by the Olingo consumers and producers Closes #2720 * Olingo[4,2]Configuration * Adds filterAlreadySeen property * Added here rather than to the endpoint as the latter would require ultimately, in order to satisfy various checks, changes to the endpoint read() method in the api's Olingo4AppImpl, which is unnecessary since this is used by the consumer.

* Olingo[4,2]Endpoint

* Adds filterAlreadySeen property names to the property names collection

so that parseQueryParams() does not remove it.

* Adds the filterAlreadySeen property during interceptProperties() in a

just-in-time manner (avoiding possibility of it causing problems with

endpoint and consumer initialisation).

* Olingo[4,2][Consumer,Producer]

* Adds a resultIndex for indexing hashcodes of existing results

* On receiving a response, if the resultIndex has been initialised then

the response results are checked by getting their hashcodes. If they're

in the resultIndex then they are discarded.

* Prior to any messages interceptProperties is called and if the properties

contain the filterAlreadySeen property then the resultIndex is initialised.

* Once the results have been placed in the exchange, interceptResult() is

called and some housekeeping is done to index all the results in the

resultIndex ready for checking on the next polling.

    • -1
    • +132
    ./component/olingo4/Olingo4ComponentTest.java
  1. … 15 more files in changeset.
CAMEL-13082: Filter results already seen by the Olingo consumers and producers Closes #2720 * Olingo[4,2]Configuration * Adds filterAlreadySeen property * Added here rather than to the endpoint as the latter would require ultimately, in order to satisfy various checks, changes to the endpoint read() method in the api's Olingo4AppImpl, which is unnecessary since this is used by the consumer.

* Olingo[4,2]Endpoint

* Adds filterAlreadySeen property names to the property names collection

so that parseQueryParams() does not remove it.

* Adds the filterAlreadySeen property during interceptProperties() in a

just-in-time manner (avoiding possibility of it causing problems with

endpoint and consumer initialisation).

* Olingo[4,2][Consumer,Producer]

* Adds a resultIndex for indexing hashcodes of existing results

* On receiving a response, if the resultIndex has been initialised then

the response results are checked by getting their hashcodes. If they're

in the resultIndex then they are discarded.

* Prior to any messages interceptProperties is called and if the properties

contain the filterAlreadySeen property then the resultIndex is initialised.

* Once the results have been placed in the exchange, interceptResult() is

called and some housekeeping is done to index all the results in the

resultIndex ready for checking on the next polling.

    • -1
    • +132
    ./component/olingo4/Olingo4ComponentTest.java
  1. … 15 more files in changeset.
CAMEL-13005: Fix cherry-pick conflicts

CAMEL-13005: olingo4 component serviceUri not set

    • -1
    • +1
    ./component/olingo4/AbstractOlingo4TestSupport.java
    • -38
    • +43
    ./component/olingo4/Olingo4ComponentTest.java
    • -0
    • +49
    ./component/olingo4/Olingo4RouteTest.java
  1. … 2 more files in changeset.