Clone Tools
  • last updated 24 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
CAMEL-14029 Change HTTP Status code to 204 when no content exists (NETTY-HTTP) (#3219)

* CAMEL-14029 attempt to demonstrate issue w/ tests

* PR comments/sourcecheck

* indentation

* possible implementation for Netty-Http

* Handle both in/out

* remove undertow test (for separate PR)

* update Netty-Http to switch status codes (reflects undertow approach)

* update approach: no longer check body for specific values

* Moved all of status code determination into one method

* cleanup

* checksource = remove ()

    • -0
    • +4
    ./http/NettyHttpBridgeEncodedPathTest.java
    • -0
    • +182
    ./http/NettyHttpSwitchingStatus204Test.java
  1. … 3 more files in changeset.
CAMEL-14017 - Update to support the full streaming on both inbound and outbound (#3209)

- Add the HttpInboundStreamHandler

- Refactor the CustomWriterHandler to HttpOutboundStreamHandler

- fix an issue in the writer handler to create a new promise after writing the request/response headers

- create the NettyHttpStreamTest

    • -0
    • +156
    ./http/NettyHttpStreamTest.java
  1. … 19 more files in changeset.
Camel 13947 (#3199)

CAMEL-13947: PropertiesComponent should be a static service and resolved like other similar features.

  1. … 204 more files in changeset.
CAMEL-13947: PropertiesComponent should be a static service and resolved like other similar features.

  1. … 29 more files in changeset.
CAMEL-13997: Fix checkstyle issue

CAMEL-13997: ProxyProtocolTest not releasing ac...

...quired ByteBuf

This adds the same reference count checks as the other tests that derive

from `BaseNettyTest` have to make sure that any issues with reference

counting is caught early in the test and resolves the issue with

allocated ByteBuff from the NettyConverter::toByteBuffer triggered from

ProxyProtocolTest::upercase processor.

CAMEL-13987: update keystores used in tests

This changes keystores used in tests:

- changes the type from JKS to PKCS12

- new RSA (2048 bit) key, used to be DSA

- certificate with "localhost" in Subject CN and SubjectAltName:DNS

- certificate valid for 1000 years

  1. … 75 more files in changeset.
CAMEL-13966: Netty-HTTP proxy mode refactor

This removes the caching of the origin request in the Exchange property

and instead tries to compare the message and message body to see if the

message still contains the origin request.

  1. … 3 more files in changeset.
CAMEL-13963: POST support in Netty-HTTP proxy mode

    • -16
    • +137
    ./http/ProxyProtocolTest.java
  1. … 1 more file in changeset.
Remove unused imports

    • -2
    • +0
    ./http/NettyHttpProducerHeadersTest.java
  1. … 1 more file in changeset.
Fixed CS for Camel-Netty-http

    • -1
    • +1
    ./http/rest/RestNettyHttpGetWildcardsTest.java
  1. … 2 more files in changeset.
CAMEL-13853: AvailablePortFinder now delegates the port selection to OS

    • -4
    • +4
    ./http/NettyHttpGetWithInvalidMessageTest.java
    • -1
    • +1
    ./http/NettyHttpProducerHeadersTest.java
  1. … 134 more files in changeset.
CAMEL-13853: AvailablePortFinder now delegates the port selection to OS

    • -4
    • +4
    ./http/NettyHttpGetWithInvalidMessageTest.java
    • -1
    • +1
    ./http/NettyHttpProducerHeadersTest.java
  1. … 148 more files in changeset.
CAMEL-13853: AvailablePortFinder now delegates the port selection to OS

    • -4
    • +4
    ./http/NettyHttpGetWithInvalidMessageTest.java
    • -1
    • +1
    ./http/NettyHttpProducerHeadersTest.java
  1. … 135 more files in changeset.
CAMEL-13853: AvailablePortFinder now delegates the port selection to OS

    • -4
    • +4
    ./http/NettyHttpGetWithInvalidMessageTest.java
    • -1
    • +1
    ./http/NettyHttpProducerHeadersTest.java
  1. … 146 more files in changeset.
Merge branch 'master' of https://github.com/apache/camel into CAMEL-13853

# Conflicts:

# components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpGetWithInvalidMessageTest.java

    • -0
    • +102
    ./http/BaseNettyTest.java
    • -0
    • +105
    ./http/NettyHttpGetWithInvalidMessageTest.java
    • -0
    • +84
    ./http/NettyHttpProducerHeadersTest.java
  1. … 3 more files in changeset.
cleanups for camel-netty4 to camel-netty component renaming

    • -1
    • +0
    ./http/rest/RestNettyHttpGetWildcardsTest.java
  1. … 6 more files in changeset.
cleanups for camel-netty4 to camel-netty component renaming

    • -0
    • +63
    ./http/LogCaptureAppender.java
    • -0
    • +34
    ./http/LogCaptureTest.java
    • -0
    • +83
    ./http/ManagedNettyEndpointTest.java
    • -0
    • +53
    ./http/NettyDefaultProtocolTest.java
    • -0
    • +67
    ./http/NettyHttp500ErrorThrowExceptionOnServerTest.java
    • -0
    • +75
    ./http/NettyHttpAccessHttpRequestAndResponseBeanTest.java
    • -0
    • +56
    ./http/NettyHttpAccessHttpRequestBeanTest.java
    • -0
    • +57
    ./http/NettyHttpAccessHttpRequestTest.java
    • -0
    • +97
    ./http/NettyHttpBasicAuthConstraintMapperTest.java
    • -0
    • +104
    ./http/NettyHttpBasicAuthCustomSecurityAuthenticatorTest.java
  1. … 643 more files in changeset.
CAMEL-12816: Fixed CS issues in some components

    • -3
    • +2
    ./http/NettyHttpBasicAuthConstraintMapperTest.java
    • -3
    • +2
    ./http/NettyHttpSimpleBasicAuthConstraintMapperTest.java
    • -3
    • +2
    ./http/NettyHttpSimpleBasicAuthTest.java
    • -2
    • +1
    ./http/SecurityConstraintMappingTest.java
    • -4
    • +1
    ./http/SpringNettyHttpBasicAuthTest.java
  1. … 222 more files in changeset.
[CAMEL-12814] Remove deprecated components

    • -58
    • +0
    ./http/Http4DeleteWithBodyTest.java
    • -80
    • +0
    ./http/ManagedNettyEndpointTest.java
    • -54
    • +0
    ./http/NettyDefaultProtocolTest.java
    • -67
    • +0
    ./http/NettyHttp500ErrorThrowExceptionOnServerTest.java
    • -72
    • +0
    ./http/NettyHttpAccessHttpRequestAndResponseBeanTest.java
    • -54
    • +0
    ./http/NettyHttpAccessHttpRequestBeanTest.java
    • -57
    • +0
    ./http/NettyHttpAccessHttpRequestTest.java
    • -97
    • +0
    ./http/NettyHttpBasicAuthConstraintMapperTest.java
    • -103
    • +0
    ./http/NettyHttpBasicAuthCustomSecurityAuthenticatorTest.java
    • -102
    • +0
    ./http/NettyHttpBasicAuthTest.java
  1. … 1705 more files in changeset.
[CAMEL-12761] Fix indentation

    • -4
    • +4
    ./http/NettyHttpBasicAuthConstraintMapperTest.java
    • -4
    • +4
    ./http/NettyHttpSimpleBasicAuthConstraintMapperTest.java
    • -4
    • +4
    ./http/NettyHttpSimpleBasicAuthTest.java
    • -7
    • +7
    ./http/SecurityConstraintMappingTest.java
  1. … 659 more files in changeset.
[CAMEL-12761] Switch to junit 4

    • -2
    • +6
    ./http/NettyHttpBasicAuthConstraintMapperTest.java
    • -2
    • +6
    ./http/NettyHttpSimpleBasicAuthConstraintMapperTest.java
    • -2
    • +6
    ./http/NettyHttpSimpleBasicAuthTest.java
    • -2
    • +11
    ./http/SecurityConstraintMappingTest.java
    • -2
    • +4
    ./http/SpringNettyHttpBasicAuthTest.java
  1. … 3168 more files in changeset.
CAMEL-12480: HttpOperationFailedExceptions expose password when using basic auth with user:password@host notation

Sanitize URI in HttpOperationFailedException constructors.

    • -0
    • +34
    ./http/NettyHttpOperationFailedExceptionTest.java
  1. … 7 more files in changeset.
CAMEL-12480: HttpOperationFailedExceptions expose password when using basic auth with user:password@host notation

Sanitize URI in HttpOperationFailedException constructors.

    • -0
    • +34
    ./http/NettyHttpOperationFailedExceptionTest.java
  1. … 7 more files in changeset.
CAMEL-12480: HttpOperationFailedExceptions expose password when using basic auth with user:password@host notation

Sanitize URI in HttpOperationFailedException constructors.

    • -0
    • +34
    ./http/NettyHttpOperationFailedExceptionTest.java
  1. … 7 more files in changeset.
polish

    • -2
    • +2
    ./http/NettyHttpGetWithInvalidMessageTest.java
    • -2
    • +2
    ./http/NettyHttpProducerConcurrentTest.java
    • -2
    • +2
    ./http/NettyHttpProducerTwoParametersWithSameKeyTest.java
  1. … 89 more files in changeset.
CAMEL-12074: Let okStatusCodeRange support multiple ranges. Thanks to Niels Ull Harremoes for the patch.

    • -1
    • +21
    ./http/NettyHttpOkStatusCodeTest.java
  1. … 17 more files in changeset.
camel-netty-http: make ManagedNettyEndpointTest succeed when other tests are run before it

CAMEL-10650: renaming common methods

  1. … 43 more files in changeset.
CAMEL-10650: putting flag to enable global SSL config in all components

  1. … 53 more files in changeset.