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

KNOX-2896 - API services view on Knox Home page can be selected #795

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

smolnar82
Copy link
Contributor

What changes were proposed in this pull request?

A new gateway-level configuration, called knox.homepage.api.services.view.version, is introduced that lets the end-users switch between the following API services views on the Knox Home page:

  • v1: this is the old style list view (this is the default value)
  • v2: the new style modal-window view

How was this patch tested?

Manual testing with the following values in gateway-site.xml.

  1. No knox.homepage.api.services.view.version
Screenshot 2023-09-19 at 10 37 31
  1. knox.homepage.api.services.view.version = v1
Screenshot 2023-09-19 at 10 37 31
  1. knox.homepage.api.services.view.version = v2
Screenshot 2023-09-19 at 10 37 51 Screenshot 2023-09-19 at 10 38 03

The default view is the 'old' list view which belongs to v1. If end-users want the most recent modal-window style, they will need to use v2 as gateway.api.services.view.version in gateway-site.xml.
@smolnar82 smolnar82 merged commit 3af43b7 into apache:master Sep 19, 2023
2 checks passed
@smolnar82 smolnar82 deleted the KNOX-2896 branch September 19, 2023 11:32
stoty pushed a commit to stoty/knox that referenced this pull request May 14, 2024
…lected (apache#795)

The default view is the 'old' list view which belongs to v1. If end-users want the most recent modal-window style, they will need to use v2 as gateway.api.services.view.version in gateway-site.xml.

Change-Id: Iffd122d3ae21640f542238c55e2a0fc88bd85c53
stoty pushed a commit to stoty/knox that referenced this pull request May 14, 2024
* changes:
  CDPD-61226, KNOX-2896 - API services view on Knox Home page can be selected (apache#795)
  CDPD-49413: Merging Apache v2.0.0 into cdpd-master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants