Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
3.1.0
-
None
-
None
Description
For support ability to register and index Yarnfile, we need a set of REST API to register, search, and recommend applications from application catalog. The proposed API are:
POST /ws/v1/app/register
Register an Application.
GET /ws/v1/app/search?q=[text]
Find application base on search text.
GET /ws/v1/app/recommend
The default list of recommended applications.
The data structure for YARN application looks like this:
{ "org": "jenkins.org", "name": "jenkins", "description": "The most popular open source automation server.", "icon": "/ws/v1/app/icon/jenkins.png", "downloads": 123, "likes": 123, "services": { ... } }
Where services is the Yarn native services object.