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 APIs for pull model #15

Closed
vkuznet opened this issue May 5, 2017 · 5 comments
Closed

Add APIs for pull model #15

vkuznet opened this issue May 5, 2017 · 5 comments

Comments

@vkuznet
Copy link
Owner

vkuznet commented May 5, 2017

The pull model needs approval API on an agent. Here is a list of APIs:

  • transfer request
  • delete request
  • approve request
  • list all requests
@vkuznet vkuznet added this to the June development milestone May 10, 2017
@vkuznet
Copy link
Owner Author

vkuznet commented May 30, 2017

What we need is to introduce the following:

  • request status, e.g. requested, approved, in transfer, success, failed
  • request priority
  • persistent storage for requests
  • request API should allow users to place a request via web/REST calls
  • approve API should allow site-admin to approve list of request
  • delete API should allow to kill request

Along with web interface we need to develop REST APIs such that we can use any CLI tool to place or approve requests.

@rishiloyola
Copy link
Collaborator

Can you tell me more about request priority? Will it depend upon site-admin priorities?

@vkuznet
Copy link
Owner Author

vkuznet commented Jun 2, 2017 via email

@rishiloyola
Copy link
Collaborator

rishiloyola commented Jun 2, 2017

General Outline:
screen shot 2017-06-03 at 2 30 43 am

I will design request buffer in such a way that we can sort request by some parameters also I will assign a unique id to each request to perform some operations on it.

Note: I will add bulk operation after implementing basic functionality of pull base model.

@vkuznet
Copy link
Owner Author

vkuznet commented Jun 3, 2017

Rishi, this looks fine and you can start coding this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants