Clone Tools
  • last updated 21 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
CAMEL-13870: Fast property configuration of Camel endpoints.

  1. … 584 more files in changeset.
CAMEL-13870: Fast property configuration of Camel endpoints. Work in progress.

  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. … 3 more files in changeset.
CAMEL-13822: Add Override annotations

  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. … 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. … 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. … 7 more files in changeset.
CAMEL-13336: update license headers

    • -1
    • +1
    ./olingo2/internal/Olingo2Constants.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 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

  1. … 4 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-Olingo 2

  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.

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.

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.

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.

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.

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
    • +17
    ./olingo2/Olingo2Configuration.java
    • -0
    • +151
    ./olingo2/Olingo2Index.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
    • +17
    ./olingo2/Olingo2Configuration.java
    • -0
    • +151
    ./olingo2/Olingo2Index.java
  1. … 11 more files in changeset.
CAMEL-13063: Olingo2Endpoint swallowing consumer. options

CAMEL-13063: Olingo2Endpoint swallowing consumer. options

CAMEL-13063: Olingo2Endpoint swallowing consumer. options

CAMEL-13063: Olingo2Endpoint swallowing consumer. options

CAMEL-13063: Olingo2Endpoint swallowing consumer. options

CAMEL-13062: olingo2 component serviceUri not set

  1. … 4 more files in changeset.
CAMEL-13051: Remove @deprecated consumerClass attribute on @UriEndpoint.

  1. … 155 more files in changeset.