Clone Tools
  • last updated 21 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
CAMEL-12334: Mapped date to LocalDate and time to OffsetTime. Added properties to control the behavior

  1. … 9 more files in changeset.
CAMEL-12334: Mapped date to LocalDate and time to LocalTime

  1. … 12 more files in changeset.
CAMEL-12123: camel-salesforce - Http proxy supp...

...ort uses two inconsistent methods and is broken

To remain backward compatible both methods of configuring HTTP proxy

support in `camel-salesforce` are taken into account when configuring

the rest client.

  1. … 1 more file in changeset.
CAMEL-11637: Unable to assign null value to a S...

...alesforce object field

This adds endpoint and incoming message header parameter

`serializeNulls`, if set to `true` when using JSON data format `null`

values of data transfer objects will be serialized with the literal

`null` value.

For example, `Account` DTO with `description` field set to `null` will

be serialized as:

{

"name": "Acme",

...

"description": null,

...

}

  1. … 7 more files in changeset.
CAMEL-12085: Don't mandate header case for cust...

...om Salesforce HTTP haders

  1. … 1 more file in changeset.
CAMEL-11919: Fixes if headers not given as String[]

If headers on the incoming message intended to be sent to Salesforce are

not specified as a String array, they will not be set on the HTTP

request. This adds explicit conversion instead of relying on conversion

of the header value.

  1. … 1 more file in changeset.
CAMEL-11995: Salesforce Composite API support

Adds support for third Composite resource, now we can support Batch,

Tree and plain "Composite" resource. Composite resource allows

generating a request of up to 25 possibly chained requests. Chaining is

performed by using references so response from a previous request can be

used in the subsequent request.

Bulk of the work was contributed by Spiliopoulos, Vassilis (ELS-CON)

<v.spiliopoulos@elsevier.com>, this polishes and rebases on the current

master.

  1. … 16 more files in changeset.
CAMEL-11869: Upgrade mockito-core to 2.11.0 for camel-atmosphere-websocket, camel-salesforce-component and camel-script

  1. … 5 more files in changeset.
CAMEL-11919: Salesforce REST API request header...

...s not included in update,upsert,create and query operations

This allows setting Salesforce specific headers on the inbound Camel

message. Supported headers are those that start with `Sforce` or

`x-sfdc` and are need to be of a type that can be converted to a array

of String objects: either String, String[] or collection of String

objects.

Support has been added to set headers on all operations and it is up to

the client to set them in a manner that makes sense for the specific

operation and Salesforce object.

Correspondingly any response `Sforce` headers can now be retrieved from

the outbound message headers.

  1. … 22 more files in changeset.
CAMEL-11667: Support Metadata component extension

This simplifies and unifies the two modes of metadata gathering. Now if

`sObjectName` is specified a (very simple) JSON schema is returned

rather than custom JSON object.

  1. … 2 more files in changeset.
CAMEL-11667: Support Metadata component extension

Adds support for `MetaDataExtension` in the Salesforce component.

Currently two kinds of metadata are supported:

- listing Salesforce Object types

- listing fields of Salesforce object type

For Salesforce object types object name and label are returned and for

Salesforce object fields name and field type are returned.

New facade to use low level Salesforce RestClient was added

`SalesforceClientTemplate` intended to be used from extensions such as

this and the existing `ComponentVerifierExtension` was refactored to use

it.

  1. … 13 more files in changeset.
CAMEL-11629: Cleanup SalesforceComponentVerifie...

...rTest

Splits the SalesforceComponentVerifier test into integration

(connectivity) and unit test (parameter). The integration test now

relies on `LoginConfigHelper` that reads its configuration from

`salesforce-test-login.properties`.

    • -0
    • +137
    ./camel/component/salesforce/SalesforceComponentVerifierExtensionIntegrationTest.java
Fixes Checkstyle issues in Salesforce component

  1. … 1 more file in changeset.
CAMEL-10743: Fixed CS errors

  1. … 2 more files in changeset.
CAMEL-10743: Added support for rawPayload parameter in Salesforce Streaming API

  1. … 1 more file in changeset.
CAMEL-10743: Added support for rawPayload parameter in Salesforce Streaming API

  1. … 1 more file in changeset.
CAMEL-10743: Added support for rawPayload parameter in Salesforce REST APIs

    • -0
    • +240
    ./camel/component/salesforce/RawPayloadTest.java
  1. … 3 more files in changeset.
CAMEL-10743: Added support for rawPayload parameter in Salesforce REST APIs

    • -0
    • +240
    ./camel/component/salesforce/RawPayloadTest.java
  1. … 3 more files in changeset.
CAMEL-10744: Added utility APIs in Salesforce JsonUtils to generate JSON schema from SObjectDescription, added required modules to Karaf camel-salesforce feature

    • -0
    • +56
    ./camel/component/salesforce/api/utils/JsonUtilsTest.java
  1. … 4 more files in changeset.
CAMEL-10744: Added utility APIs in Salesforce JsonUtils to generate JSON schema from SObjectDescription, added required modules to Karaf camel-salesforce feature

    • -0
    • +56
    ./camel/component/salesforce/api/utils/JsonUtilsTest.java
  1. … 4 more files in changeset.
CAMEL-11550: Component extensions

    • -0
    • +183
    ./camel/component/salesforce/SalesforceComponentVerifierExtensionTest.java
  1. … 97 more files in changeset.
CAMEL-11402 Logic error in authentication type ...

...determination

This fixes the logic error and adds a test to confirm.

  1. … 1 more file in changeset.
CAMEL-11149: SPI - Allow to plugin different headers map implementation

  1. … 42 more files in changeset.
Code cleanup: removed unused imports

  1. … 43 more files in changeset.
CAMEL-11233 Allow overriding the setting of ins...

...tanceUrl

Added a new property `instanceUrl` to override Salesforce returned

value (`instance_url`).

  1. … 6 more files in changeset.
CAMEL-11212 Don't allow Salesforce HTTP client ...

...to stop with outstanding requests

This introduces a `Phaser` to await for any in-flight requests to

complete before the client is allowed to stop.

This should not block as long as the

`BufferingResponseListener::onComplete` is invoked at the end of every

request. And that is guaranteed by the `CompleteListener::onComplete`

contract.

  1. … 1 more file in changeset.
Fix test cases

  1. … 1 more file in changeset.
CAMEL-11095 Enumerate all OperationName in @Uri...

...Path of operationName

This adds all supported operation names to the `enums` parameter of the

`@UriPath` parameter of the `operationName` field, and thus makes the

values that end up in the Camel Catalog match the values the component

expects. Up to now, the enum constants from `OperationName` would be

added to the catalog which is different from what the component expects

as the component expects the value in the `value` field of the

`OperationName` enum.

    • -0
    • +48
    ./camel/component/salesforce/SalesforceEndpointTest.java
  1. … 1 more file in changeset.
Polished ComponentVerifier interface

The following major changes are suggested:

* Using of interfaces and class constants instead of string constants for error fields. This has the advantage of being typesafe but still extensible (custom fields can be easily added)

* Renamed Error to VerificationError as it conflicts with java.lang.Error which is allways imported

* Documentation to the interface

* Consolidation of provided constants, together with @lburgazzoli

* Adapted the using components (mainly http, http4, twitter, salesforce)

  1. … 23 more files in changeset.
CAMEL-10846 Handle 404 situations more gracefully

    • -0
    • +62
    ./camel/component/salesforce/NotFoundIntegrationTest.java
  1. … 13 more files in changeset.