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

Add APIRules v1beta1 deprecation information in the UI #1448

Merged
merged 6 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions config/ui-extensions/apirules/injections
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
- title: APIRule v1beta1 Deprecation
description: |
APIRule CustomResourceDefinition v1beta1 has been deprecated and is scheduled for deletion.
For more details on the timeline and instructions on how to migrate to the newer version v2alpha1, follow the links:
widget: FeaturedCard
id: APIRulesDeprecationNotice
illustration: None
children:
- widget: Plain
children:
- widget: ExternalLinkButton
name: Deprecation Note
link: https://help.sap.com/whats-new/cf0cb2cb149647329b5d02aa96303f56?q=API+Gateway+module:+Deprecation+of+APIRule+v1beta1&locale=en-US&Software_Lifecycle=Deprecated
- widget: ExternalLinkButton
name: Deletion Note
link: https://help.sap.com/whats-new/cf0cb2cb149647329b5d02aa96303f56?locale=en-US&Component=Kyma+Runtime&Valid_as_Of=2025-05-12:2025-05-12
- widget: ExternalLinkButton
name: OAuth2 Migration
link: https://community.sap.com/t5/technology-blogs-by-sap/sap-btp-kyma-runtime-apirule-migration-ory-oathkeeper-based-oauth2-handlers/ba-p/13896184
- widget: ExternalLinkButton
name: JWT And NoAuth Migration
link: https://community.sap.com/t5/technology-blogs-by-sap/sap-btp-kyma-runtime-apirule-migration-noauth-and-jwt-handlers/ba-p/13882833
targets:
- slot: banner
location: apirules
1 change: 1 addition & 0 deletions config/ui-extensions/apirules/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ configMapGenerator:
- translations
- presets
- dataSources
- injections
options:
disableNameSuffixHash: true
labels:
Expand Down
3 changes: 3 additions & 0 deletions docs/release-notes/2.10.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## New Features

- Introduce deprecation banner for v1beta1 APIRules [#1448](https://github.com/kyma-project/api-gateway/pull/1448)
triffer marked this conversation as resolved.
Show resolved Hide resolved
3 changes: 1 addition & 2 deletions tests/ui/tests/support/apirule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ Cypress.Commands.add('apiRuleTypeRulePath', (path: string, ruleNumber: number =
Cypress.Commands.add('apiRuleSelectAccessStrategy', (strategy: ApiRuleAccessStrategy, ruleNumber: number = 0): void => {
cy.inputClearAndType(`ui5-combobox[data-testid="spec.rules.${ruleNumber}.accessStrategies.0.handler"]:visible`, strategy);

cy.get('ui5-li:visible')
.contains(strategy)
cy.contains(strategy)
.find('li')
.click({force: true});
});
Expand Down
3 changes: 1 addition & 2 deletions tests/ui/tests/support/combobox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Cypress.Commands.add('chooseComboboxOption', (selector: string, optionText: stri
.click({ force: true })
.type(optionText, { force: true });
cy.wait(200);
cy.get('ui5-li:visible', { timeout: 10000 })
.contains(optionText)
cy.contains(optionText)
.find('li')
.click({ force: true });
});
Expand Down