Clone Tools
  • last updated 20 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Http4+get with body (#3372)

* added support for GET with body on http4

* added support for GET with body on http4

* Update camel-http4 :: Added test method for getWithBody + update doc new param getWithBody

* Fix unit test for camel-http4#getWithBody

* CAMEL-14118: Add getWithBody option to camel-http and also fix so an explicit GET wont attempt to read body as its not in use, this helps CAMEL-14115

backport of cf8c9a6 (cherry-pick)

  1. … 5 more files in changeset.
CAMEL-13792 - Rename components to default names, Camel-http4 to Camel-http

    • -95
    • +0
    ./http4/AdviceAndInterceptHttp4IssueTest.java
    • -262
    • +0
    ./http4/CamelComponentVerifierExtensionTest.java
    • -261
    • +0
    ./http4/CamelComponentVerifierTest.java
    • -108
    • +0
    ./http4/HeaderFilteringTest.java
    • -140
    • +0
    ./http4/HttpAuthenticationTest.java
    • -38
    • +0
    ./http4/HttpBodyWithOtherProtocalNameTest.java
    • -119
    • +0
    ./http4/HttpBridgeEndpointTest.java
    • -41
    • +0
    ./http4/HttpCamelHeadersNotCopiedTest.java
    • -124
    • +0
    ./http4/HttpCamelHeadersTest.java
    • -45
    • +0
    ./http4/HttpClientConfigurerTest.java
  1. … 207 more files in changeset.
Removed unused imports

    • -1
    • +0
    ./http4/HttpEndpointOptionsNotChangeComponentTest.java
    • -1
    • +0
    ./http4/HttpReferenceParameterTest.java
    • -1
    • +0
    ./http4/HttpsTwoComponentsSslContextParametersGetTest.java
    • -2
    • +0
    ./http4/HttpsTwoDifferentSslContextParametersGetTest.java
Camel-Http4: Fixed CS

    • -5
    • +6
    ./http4/HttpEndpointOptionsNotChangeComponentTest.java
Camel-Http4: Use BindToRegistry annotation where possible

    • -8
    • +6
    ./http4/HttpEndpointOptionsNotChangeComponentTest.java
    • -9
    • +10
    ./http4/HttpProducerSessionTest.java
    • -9
    • +6
    ./http4/HttpReferenceParameterTest.java
    • -13
    • +16
    ./http4/HttpsTwoComponentsSslContextParametersGetTest.java
    • -9
    • +10
    ./http4/HttpsTwoDifferentSslContextParametersGetTest.java
CAMEL-13514: Service API should not use checked exceptions in start/stop methods.

    • -1
    • +1
    ./http4/HttpsTwoDifferentSslContextParametersGetTest.java
  1. … 36 more files in changeset.
Do not use the deprecated uri field in @EndpointInject / @Consume / @Produce

    • -1
    • +1
    ./http4/HttpProducerConnectionCloseTest.java
    • -1
    • +1
    ./http4/HttpProducerExplicitConnectionCloseTest.java
  1. … 496 more files in changeset.
Fix camel-http4 tests

    • -10
    • +0
    ./http4/HttpsSslContextParametersGetTest.java
Fix camel-http4 tests on JDK11, specify SSL and TLS protocol versions explicitly, default should be set to TLS1.3 once we fully move to JDK11

  1. … 2 more files in changeset.
CAMEL-13336: update license headers

    • -1
    • +1
    ./http4/AdviceAndInterceptHttp4IssueTest.java
    • -1
    • +1
    ./http4/CamelComponentVerifierExtensionTest.java
    • -1
    • +1
    ./http4/CamelComponentVerifierTest.java
    • -1
    • +1
    ./http4/HttpBodyWithOtherProtocalNameTest.java
    • -1
    • +1
    ./http4/HttpCamelHeadersNotCopiedTest.java
  1. … 17910 more files in changeset.
Fixed CS for Camel-Http4

CAMEL-8293: camel-test should use Registry and let user bind beans more easily instead of having to use JndiRegistry.

    • -6
    • +4
    ./http4/HttpProducerConnectionCloseTest.java
  1. … 46 more files in changeset.
CAMEL-13249 Fixed the build of camel-http4

CAMEL-13249: invoke `applyFilterToCamelHeaders`...

... instead of `applyFilterToExternalHeaders`

This changes the invocation in

`HttpRestHeaderFilterStrategy::applyFilterToCamelHeaders` to delegate to

`super::applyFilterToCamelHeaders` instead of

`super::applyFilterToExternalHeaders`.

Also adds integration test demonstrating the issue and refactors

`HttpRestHeaderFilterStrategyTest` from `components/camel-http4` to

`/components/camel-http-common` as it doesn't depend on `http4`

component and tests a class in `camel-http-common`.

    • -0
    • +108
    ./http4/HeaderFilteringTest.java
    • -108
    • +0
    ./http4/HttpHeaderFilterStrategyTest.java
  1. … 6 more files in changeset.
CAMEL-13249: invoke `applyFilterToCamelHeaders`...

... instead of `applyFilterToExternalHeaders`

This changes the invocation in

`HttpRestHeaderFilterStrategy::applyFilterToCamelHeaders` to delegate to

`super::applyFilterToCamelHeaders` instead of

`super::applyFilterToExternalHeaders`.

Also adds integration test demonstrating the issue and refactors

`HttpRestHeaderFilterStrategyTest` from `components/camel-http4` to

`/components/camel-http-common` as it doesn't depend on `http4`

component and tests a class in `camel-http-common`.

    • -0
    • +108
    ./http4/HeaderFilteringTest.java
    • -111
    • +0
    ./http4/HttpHeaderFilterStrategyTest.java
  1. … 6 more files in changeset.
CAMEL-13249: invoke `applyFilterToCamelHeaders`...

... instead of `applyFilterToExternalHeaders`

This changes the invocation in

`HttpRestHeaderFilterStrategy::applyFilterToCamelHeaders` to delegate to

`super::applyFilterToCamelHeaders` instead of

`super::applyFilterToExternalHeaders`.

Also adds integration test demonstrating the issue and refactors

`HttpRestHeaderFilterStrategyTest` from `components/camel-http4` to

`/components/camel-http-common` as it doesn't depend on `http4`

component and tests a class in `camel-http-common`.

    • -0
    • +108
    ./http4/HeaderFilteringTest.java
    • -111
    • +0
    ./http4/HttpHeaderFilterStrategyTest.java
  1. … 6 more files in changeset.
Move service helper classes into a separate package to avoid split packages for OSGi

    • -1
    • +1
    ./http4/HttpCustomComponentNameTest.java
  1. … 350 more files in changeset.
Fixed CS for camel-http4

    • -1
    • +1
    ./http4/HttpCustomComponentNameTest.java
    • -1
    • +1
    ./http4/HttpsTwoComponentsSslContextParametersGetTest.java
  1. … 3 more files in changeset.
Using the correct TLS algorithm in some of the tests

  1. … 2 more files in changeset.
Merge remote-tracking branch 'origin/master' into camel-3.x

    • -2
    • +2
    ./http4/HttpsTwoComponentsSslContextParametersGetTest.java
    • -2
    • +2
    ./http4/HttpsTwoDifferentSslContextParametersGetTest.java
  1. … 8 more files in changeset.
Fixed some CS issues, deprecated links and eclipse warnings in camel-http4

    • -3
    • +2
    ./http4/CamelComponentVerifierExtensionTest.java
    • -35
    • +35
    ./http4/CamelComponentVerifierTest.java
    • -2
    • +2
    ./http4/HttpsTwoComponentsSslContextParametersGetTest.java
    • -2
    • +2
    ./http4/HttpsTwoDifferentSslContextParametersGetTest.java
    • -15
    • +15
    ./http4/rest/RestCamelComponentVerifierTest.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
    • +1
    ./http4/HttpCustomComponentNameTest.java
    • -1
    • +1
    ./http4/HttpHeaderFilterStrategyTest.java
    • -1
    • +1
    ./http4/HttpsSslContextParametersGetTest.java
    • -1
    • +1
    ./http4/HttpsTwoComponentsSslContextParametersGetTest.java
    • -1
    • +1
    ./http4/HttpsTwoDifferentSslContextParametersGetTest.java
  1. … 2739 more files in changeset.
[CAMEL-10469] Remove @version in java source code

    • -3
    • +0
    ./http4/HttpDefaultPortNumberTest.java
    • -4
    • +0
    ./http4/HttpDisableStreamCacheTest.java
    • -2
    • +0
    ./http4/HttpEndpointOptionsNotChangeComponentTest.java
    • -3
    • +0
    ./http4/HttpHeaderFilterStrategyTest.java
    • -2
    • +0
    ./http4/HttpInvalidConfigurationTest.java
  1. … 3749 more files in changeset.
CAMEL-12822: camel-http4 exposes client connection stats in JMX

    • -0
    • +130
    ./http4/ManagedHttpProducerPoolStatsTest.java
  1. … 1 more file in changeset.
[CAMEL-12818] Remove deprecated stuff

    • -3
    • +2
    ./http4/CamelComponentVerifierExtensionTest.java
    • -35
    • +35
    ./http4/CamelComponentVerifierTest.java
    • -15
    • +15
    ./http4/rest/RestCamelComponentVerifierTest.java
  1. … 1271 more files in changeset.
CAMEL-12777 - Checkstyle issues

    • -1
    • +1
    ./http4/HttpReferenceParameterTest.java
CAMEL-12751 - Removed config. Instead ignoring content-length on streams

    • -10
    • +10
    ./http4/HttpProducerContentLengthTest.java
  1. … 4 more files in changeset.
CAMEL-12751 - Removed config. Instead ignoring content-length on streams

    • -10
    • +10
    ./http4/HttpProducerContentLengthTest.java
  1. … 4 more files in changeset.
Reifiers

    • -1
    • +2
    ./http4/AdviceAndInterceptHttp4IssueTest.java
  1. … 257 more files in changeset.
[CAMEL-12761] Fix indentation

    • -2
    • +2
    ./http4/HttpReferenceParameterTest.java
  1. … 666 more files in changeset.