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 support to API versioning #10

Open
dpecos opened this issue Jul 5, 2016 · 1 comment
Open

Add support to API versioning #10

dpecos opened this issue Jul 5, 2016 · 1 comment

Comments

@dpecos
Copy link
Collaborator

dpecos commented Jul 5, 2016

Given a nexus path, it could be useful to pull / push tasks to that path for an specific version.

The idea could be something like:

client.pullTask("test.fibonacci", "{version: 2}") // will only pull tasks for that version client.pushTask("test.fibonacci", "{version: 1.5})" // this task won't be pulled by previous pullTask

@jaracil
Copy link
Owner

jaracil commented Jul 7, 2016

It is difficult to implement because two versions "listens" on same path.
A work around may be adding version info at the end of path.

client.pullTask("test.fibonacci.v2") // will only pull tasks for that version
client.pushTask("test.fibonacci.v2") // this task will be pulled by previous

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

No branches or pull requests

2 participants