You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/06/29 14:15:00 UTC
[jira] [Work logged] (KNOX-2343) Improve API services display on
Knox Home page
[ https://issues.apache.org/jira/browse/KNOX-2343?focusedWorklogId=452365&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-452365 ]
ASF GitHub Bot logged work on KNOX-2343:
----------------------------------------
Author: ASF GitHub Bot
Created on: 29/Jun/20 14:14
Start Date: 29/Jun/20 14:14
Worklog Time Spent: 10m
Work Description: smolnar82 opened a new pull request #355:
URL: https://github.com/apache/knox/pull/355
## What changes were proposed in this pull request?
I added `samples` into API-type `service.xml` files (wherever applicable) and modified the underlying Java code to:
- interpret the new XML elements
- make samples available through the `metadata` API
- have them displayed on the Home page: instead of simply listing the Knox access of a particular service it now looks very similar to how we display the UI services. When clicking on the API service icon a new modal window gets opened with the selected API service details, including the newly added samples
## How was this patch tested?
Tested manually:
<img width="1614" alt="Screen Shot 2020-06-29 at 4 11 08 PM" src="https://user-images.githubusercontent.com/34065904/86016607-4c015980-ba23-11ea-9838-0301f8a7b6ac.png">
<img width="1671" alt="Screen Shot 2020-06-29 at 4 11 33 PM" src="https://user-images.githubusercontent.com/34065904/86016617-4efc4a00-ba23-11ea-8b8e-a8f0cd8e325a.png">
<img width="1671" alt="Screen Shot 2020-06-29 at 4 11 49 PM" src="https://user-images.githubusercontent.com/34065904/86016620-4f94e080-ba23-11ea-9fc6-94821909c813.png">
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Issue Time Tracking
-------------------
Worklog Id: (was: 452365)
Remaining Estimate: 0h
Time Spent: 10m
> Improve API services display on Knox Home page
> ----------------------------------------------
>
> Key: KNOX-2343
> URL: https://issues.apache.org/jira/browse/KNOX-2343
> Project: Apache Knox
> Issue Type: Sub-task
> Components: Homepage
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Major
> Fix For: 1.5.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Proposal:
> similarly to the UI service Knox should display the logo of each API service instead of its textual representation. Clicking a log would end up opening a new modal window with the following information of that particular API service:
> * service name and version
> * a description of the service
> * curl/pyhton examples
> * JDBC query string and/or KnoxShell DataSource details
> All this information should come from the service definition files (this requires to enrich the current {{metadata}} a service holds about itself in {{service.xml}}).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)