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

Merge 3.16.1 #1400

Merged
merged 160 commits into from Mar 10, 2022
Merged

Merge 3.16.1 #1400

merged 160 commits into from Mar 10, 2022

Conversation

gcusnieux
Copy link
Member

@gcusnieux gcusnieux commented Mar 10, 2022

Issue

gravitee-io/issues#7268


📚  View the storybook of this branch here

🚀 CI was able to deploy the build of this PR, so you can now try it directly here
Notes: The deployed app is linked to the management API of APIM master. (Same login and password as APIM master)

gaetanmaisse and others added 30 commits January 4, 2022 09:01
Before this fix, searchLatest filtered the last event of each object (Dictionary or Api) against a list of criteria.
Now, searchLatest finds the latest event that matches the criteria, for each object (Dictionary or Api)
Since the searchLatest method has been modified, the sync process for API and dictionaries has to be updated
Using the `canReadAPI` in `AbstractResource` is not sufficient
to guarantee that access control is properly enforced.

The revision adds a `canManageAPI` method to circumvent CVE83 in
an isolated manner and avoid side effects.

We should check other usages of `canReadAPI` and ensure that access
control meets our expectations.

see gravitee-io/issues#6650
Access to API list and access to a single entity were
not subject to same permission enforcement, leading
to out of sync results between the two resources.

see gravitee-io/issues#6475
…elected

Adding path mapping works even if the isWithPolicyPaths option is not true
elasticsearch
kafka connector
since #6847, the gateway loads all latest events of all APIs, even if they are usesless (like UNPUBLISH_API). It implies a very high start time.
By adding a search mode (strict or not), the gateway can find the latest event of an API in an efficient way and in the same time benefits from the fix of 6847 for dictionaries events.

gravitee-io/issues#6955
When adding new fields in objects that are sent through the http bridge, serialization issue can occurs if http bridge client and server are not in the same version.
(for example while upgrading the version of gravitee).
These options are added in the mapper used by the http bridge to avoid these issues.

gravitee-io/issues#6884
@gcusnieux gcusnieux requested review from a team as code owners March 10, 2022 07:51
@gcusnieux gcusnieux marked this pull request as draft March 10, 2022 07:52
@gcusnieux gcusnieux marked this pull request as ready for review March 10, 2022 08:33
@gcusnieux gcusnieux enabled auto-merge (rebase) March 10, 2022 09:32
auto-merge was automatically disabled March 10, 2022 10:28

Rebase failed

@phiz71 phiz71 merged commit 2173c9b into master Mar 10, 2022
@phiz71 phiz71 deleted the merge-3.16.1 branch March 10, 2022 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
10 participants