vkuznet / transfer2go

Distributed, loosely couple agent-based transferring system
MIT License
8 stars 2 forks source link

Add APIs for pull model #15

Closed vkuznet closed 7 years ago

vkuznet commented 7 years ago

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

vkuznet commented 7 years ago

What we need is to introduce the following:

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

rishiloyola commented 7 years ago

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

vkuznet commented 7 years ago

We should support different priorities for transfer requests because some can be urgent. Let's say that site admin get requests from few users and from production team. The users requests can wait until production team one will be fulfilled.

So, to answer your question, it is not related to site-admin, instead we (as collaboration) may prefer that certain data will appear first on certain site.

The interface should allow priority changes, but only certain people will have such privileges.

On 0, Rishi notifications@github.com wrote:

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

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/vkuznet/transfer2go/issues/15#issuecomment-305789114

rishiloyola commented 7 years ago

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 commented 7 years ago

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