Clone Tools
  • last updated 28 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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
    • +234
    ./camel/component/olingo2/Olingo2ComponentConsumerTest.java
    • -0
    • +384
    ./camel/component/olingo2/Olingo2ComponentProducerTest.java
  1. … 5 more files in changeset.
Fixed CS for Camel-Olingo2

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
    • +234
    ./camel/component/olingo2/Olingo2ComponentConsumerTest.java
    • -0
    • +365
    ./camel/component/olingo2/Olingo2ComponentProducerTest.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

  1. … 15 more files 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.

  1. … 2 more files in changeset.
CAMEL-13316: Fixed CS for Olingo 2

CAMEL-13316: Fixed CS for Olingo 2

CAMEL-13316: Fixed CS for Olingo 2

CAMEL-13336: update license headers

    • -2
    • +1
    ./camel/component/olingo2/Olingo2SampleServer.java
  1. … 17920 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. … 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-Olingo 2

  1. … 1 more file 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. … 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. … 15 more files in changeset.
CAMEL-13062: olingo2 component serviceUri not set

    • -0
    • +88
    ./camel/component/olingo2/Olingo2RouteTest.java
  1. … 2 more files in changeset.
Move stuff around to isolate o.a.c.util from o.a.c and o.a.c.support from o.a.c.impl

# Conflicts:

# camel-core/src/main/java/org/apache/camel/impl/InterceptSendToEndpointProcessor.java

  1. … 2744 more files in changeset.
CAMEL-12816: Fixed CS in some components

  1. … 826 more files in changeset.
Remove #toString calls on arguments of parameterized log messages.

  1. … 27 more files in changeset.
[CAMEL-12761] Switch to junit 4

  1. … 3178 more files in changeset.
polish

    • -24
    • +24
    ./camel/component/olingo2/Olingo2AppAPITest.java
  1. … 91 more files in changeset.
[CAMEL-11425] camel-olingo2 - Add ability to send/receive endpoint HTTP headers.

    • -30
    • +30
    ./camel/component/olingo2/Olingo2AppAPITest.java
  1. … 10 more files in changeset.
CAMEL-10517 - Remove Unnecessary suppress warnings

  1. … 39 more files in changeset.
Polish

  1. … 1 more file in changeset.
Polish

  1. … 12 more files in changeset.
fix olingo2's sporadic test error caused by non-determinism

    • -4
    • +11
    ./camel/component/olingo2/Olingo2AppAPITest.java
fix olingo2's sporadic test error caused by non-determinism

fix olingo2's sporadic test error caused by non-determinism

    • -4
    • +11
    ./camel/component/olingo2/Olingo2AppAPITest.java