Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport stable/1.3] Allow relaxed instantiation of exporter configuration #9867

Merged
merged 6 commits into from
Jul 26, 2022

Conversation

npepinpe
Copy link
Member

Description

This PR backports #9854 to stable/1.3.

Related issues

backports #9854

Definition of Done

Not all items need to be done depending on the issue and the pull request.

Code changes:

  • The changes are backwards compatibility with previous versions
  • If it fixes a bug then PRs are created to backport the fix to the last two minor versions. You can trigger a backport by assigning labels (e.g. backport stable/1.3) to the PR, in case that fails you need to create backports manually.

Testing:

  • There are unit/integration tests that verify all acceptance criterias of the issue
  • New tests are written to ensure backwards compatibility with further versions
  • The behavior is tested manually
  • The change has been verified by a QA run
  • The impact of the changes is verified by a benchmark

Documentation:

  • The documentation is updated (e.g. BPMN reference, configuration, examples, get-started guides, etc.)
  • New content is added to the release announcement
  • If the PR changes how BPMN processes are validated (e.g. support new BPMN element) then the Camunda modeling team should be informed to adjust the BPMN linting.

Please refer to our review guidelines.

Fixes a bug where deserialization of exporter configuration was case
sensitive, such that a property `NUMBEROFSHARDS` would not map to an
instance field `numberOfShards`.

This isn't perfect, as now if we have two fields with the same name but
different cases, only one of them will be set, using the latest value
in the map (where the order is undefined). It should solve the most common
cases however.

(cherry picked from commit aaab694)
@npepinpe npepinpe changed the title [Backport stable/8.0] Allow relaxed instantiation of exporter configuration [Backport stable/1.3] Allow relaxed instantiation of exporter configuration Jul 22, 2022
@npepinpe
Copy link
Member Author

bors r-

@npepinpe
Copy link
Member Author

bors merge

@zeebe-bors-camunda
Copy link
Contributor

👎 Rejected by too few approved reviews

@npepinpe
Copy link
Member Author

Oops, wrong PR 🙈

@npepinpe npepinpe force-pushed the backport-9854-to-stable/1.3 branch from 4acbd45 to 2351370 Compare July 26, 2022 07:53
@npepinpe npepinpe force-pushed the backport-9854-to-stable/1.3 branch from 2351370 to 223e0b3 Compare July 26, 2022 08:04
@npepinpe
Copy link
Member Author

Forgot that for Jackson compat, I had to transform the records not just to plain classes but to beans.

@npepinpe
Copy link
Member Author

bors merge

@zeebe-bors-camunda zeebe-bors-camunda bot merged commit 93826f4 into stable/1.3 Jul 26, 2022
@zeebe-bors-camunda zeebe-bors-camunda bot deleted the backport-9854-to-stable/1.3 branch July 26, 2022 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants