diff --git a/config/ui-extensions/apirules/injections b/config/ui-extensions/apirules/injections new file mode 100644 index 000000000..7e6d175f0 --- /dev/null +++ b/config/ui-extensions/apirules/injections @@ -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 \ No newline at end of file diff --git a/config/ui-extensions/apirules/kustomization.yaml b/config/ui-extensions/apirules/kustomization.yaml index b5ef7d6e6..f28be2dc8 100644 --- a/config/ui-extensions/apirules/kustomization.yaml +++ b/config/ui-extensions/apirules/kustomization.yaml @@ -9,6 +9,7 @@ configMapGenerator: - translations - presets - dataSources + - injections options: disableNameSuffixHash: true labels: diff --git a/docs/release-notes/2.10.0.md b/docs/release-notes/2.10.0.md new file mode 100644 index 000000000..57cda1fcf --- /dev/null +++ b/docs/release-notes/2.10.0.md @@ -0,0 +1,3 @@ +## New Features + +- Introduce deprecation banner for `v1beta1` APIRules [#1448](https://github.com/kyma-project/api-gateway/pull/1448) diff --git a/tests/ui/tests/support/apirule.ts b/tests/ui/tests/support/apirule.ts index cc9a7ce63..b8353af14 100644 --- a/tests/ui/tests/support/apirule.ts +++ b/tests/ui/tests/support/apirule.ts @@ -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}); }); diff --git a/tests/ui/tests/support/combobox.ts b/tests/ui/tests/support/combobox.ts index 7ee78e741..721d6a54b 100644 --- a/tests/ui/tests/support/combobox.ts +++ b/tests/ui/tests/support/combobox.ts @@ -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 }); });