Clone Tools
  • last updated 26 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
CAMEL-14568: camel component configurations include nested configuration classes

    • -0
    • +3
    ./component/olingo2/Olingo2Component.java
  1. … 665 more files in changeset.
Fixed olingo which was setting endpoint options wrong

    • -2
    • +1
    ./component/olingo2/Olingo2Endpoint.java
  1. … 1 more file in changeset.
CAMEL-14207: camel-olingo2 - Basic auth with endpointHttpHeaders not working

    • -2
    • +2
    ./component/olingo2/Olingo2AppWrapper.java
    • -1
    • +2
    ./component/olingo2/Olingo2Endpoint.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.

    • -0
    • +1
    ./component/olingo2/Olingo2Consumer.java
  1. … 2773 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/olingo2/Olingo2Consumer.java
  1. … 2765 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.

    • -6
    • +0
    ./component/olingo2/Olingo2Component.java
    • -5
    • +2
    ./component/olingo2/Olingo2Endpoint.java
  1. … 10 more files in changeset.
Camel-Olingo2: Fixed CS

    • -3
    • +2
    ./component/olingo2/Olingo2AppWrapper.java
    • -4
    • +3
    ./component/olingo2/Olingo2Component.java
    • -32
    • +37
    ./component/olingo2/Olingo2Configuration.java
    • -7
    • +10
    ./component/olingo2/Olingo2Consumer.java
    • -15
    • +13
    ./component/olingo2/Olingo2Endpoint.java
    • -4
    • +7
    ./component/olingo2/Olingo2Producer.java
  1. … 21 more files in changeset.
CAMEL-13870: Fast property configuration of Camel endpoints.

    • -1
    • +1
    ./component/olingo2/Olingo2Endpoint.java
  1. … 584 more files in changeset.
CAMEL-13870: Fast property configuration of Camel endpoints. Work in progress.

    • -1
    • +1
    ./component/olingo2/Olingo2Endpoint.java
  1. … 20 more files in changeset.
Switching to commons lang3 in a few places

  1. … 15 more files in changeset.
Switching to commons lang3 in a few places

  1. … 15 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
    • +2
    ./component/olingo2/Olingo2Consumer.java
  1. … 3 more files in changeset.
CAMEL-13822: Add Override annotations

    • -0
    • +3
    ./component/olingo2/Olingo2Endpoint.java
  1. … 3629 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.

    • -1
    • +70
    ./component/olingo2/Olingo2Index.java
  1. … 7 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.

    • -1
    • +70
    ./component/olingo2/Olingo2Index.java
  1. … 7 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.

    • -1
    • +70
    ./component/olingo2/Olingo2Index.java
  1. … 7 more files in changeset.
CAMEL-13336: update license headers

    • -1
    • +1
    ./component/olingo2/Olingo2AppWrapper.java
    • -1
    • +1
    ./component/olingo2/Olingo2Component.java
    • -1
    • +1
    ./component/olingo2/Olingo2Consumer.java
    • -1
    • +1
    ./component/olingo2/Olingo2Endpoint.java
    • -1
    • +1
    ./component/olingo2/Olingo2Producer.java
  1. … 17916 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
    ./component/olingo2/Olingo2Consumer.java
  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
    ./component/olingo2/Olingo2Consumer.java
  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
    ./component/olingo2/Olingo2Consumer.java
  1. … 3 more files in changeset.
CAMEL-13185: Add splitResults implementations to Olingo Components

* Adds splitResults methods to both Olingo 2 & 4 Consumers

    • -0
    • +19
    ./component/olingo2/Olingo2Consumer.java
    • -10
    • +10
    ./component/olingo2/Olingo2Index.java
  1. … 4 more files in changeset.
CAMEL-13185: Add splitResults implementations to Olingo Components

* Adds splitResults methods to both Olingo 2 & 4 Consumers

    • -0
    • +19
    ./component/olingo2/Olingo2Consumer.java
  1. … 3 more files in changeset.
Fixed CS for Camel-Olingo 2

    • -17
    • +19
    ./component/olingo2/Olingo2Index.java
  1. … 1 more file in changeset.
CAMEL-13077: Fix polling return for empty OData ODataFeeds (#2719) Closes #2732

* ApiConsumerHelper does not recognise ODataFeeds and thus defaults

to return a constant 1. This means that the scheduling polling is never

concluded to be idle and the backoffXXX consumer properties do not work.

* If the ODataFeed is empty then return 0 to allow for backoffXXX

properties

* This is an equivalent change to that already committed for olingo4

component.

    • -2
    • +10
    ./component/olingo2/Olingo2Consumer.java
CAMEL-13077: Fix polling return for empty OData ODataFeeds (#2719) Closes #2732

* ApiConsumerHelper does not recognise ODataFeeds and thus defaults

to return a constant 1. This means that the scheduling polling is never

concluded to be idle and the backoffXXX consumer properties do not work.

* If the ODataFeed is empty then return 0 to allow for backoffXXX

properties

* This is an equivalent change to that already committed for olingo4

component.

    • -1
    • +10
    ./component/olingo2/Olingo2Consumer.java
CAMEL-13077: Fix polling return for empty OData ODataFeeds (#2719) Closes #2732

* ApiConsumerHelper does not recognise ODataFeeds and thus defaults

to return a constant 1. This means that the scheduling polling is never

concluded to be idle and the backoffXXX consumer properties do not work.

* If the ODataFeed is empty then return 0 to allow for backoffXXX

properties

* This is an equivalent change to that already committed for olingo4

component.

    • -1
    • +11
    ./component/olingo2/Olingo2Consumer.java
CAMEL-13077: Fix polling return for empty OData ODataFeeds (#2719) Closes #2732

* ApiConsumerHelper does not recognise ODataFeeds and thus defaults

to return a constant 1. This means that the scheduling polling is never

concluded to be idle and the backoffXXX consumer properties do not work.

* If the ODataFeed is empty then return 0 to allow for backoffXXX

properties

* This is an equivalent change to that already committed for olingo4

component.

    • -1
    • +10
    ./component/olingo2/Olingo2Consumer.java
CAMEL-13077: Fix polling return for empty OData ODataFeeds (#2719) Closes #2732

* ApiConsumerHelper does not recognise ODataFeeds and thus defaults

to return a constant 1. This means that the scheduling polling is never

concluded to be idle and the backoffXXX consumer properties do not work.

* If the ODataFeed is empty then return 0 to allow for backoffXXX

properties

* This is an equivalent change to that already committed for olingo4

component.

    • -1
    • +10
    ./component/olingo2/Olingo2Consumer.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
    • +33
    ./component/olingo2/Olingo2Consumer.java
    • -0
    • +7
    ./component/olingo2/Olingo2Endpoint.java
    • -0
    • +151
    ./component/olingo2/Olingo2Index.java
    • -0
    • +33
    ./component/olingo2/Olingo2Producer.java
  1. … 11 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.

    • -0
    • +33
    ./component/olingo2/Olingo2Consumer.java
    • -0
    • +5
    ./component/olingo2/Olingo2Endpoint.java
    • -0
    • +151
    ./component/olingo2/Olingo2Index.java
    • -0
    • +33
    ./component/olingo2/Olingo2Producer.java
  1. … 11 more files in changeset.