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

Re-work around design document for APIv3 #5845

Merged
merged 7 commits into from
Jun 26, 2019
Merged

Conversation

humitos
Copy link
Member

@humitos humitos commented Jun 25, 2019

This commit,

  • describes main Goals/Non-Goals
  • includes implementation plan based on stages
  • updates the document mentioning what's already implemented (Version 1)
  • proposes a plan for iteration 2, 3 and 4
  • mentions open questions for further discussion
  • includes potential feature out of the current roadmap

This commit,

* describes main Goals/Non-Goals
* includes implementation plan based on stages
* updates the document mentioning what's already implemented (Version 1)
* proposes a plan for iteration 2, 3 and 4
* mentions open questions for further discussion
* includes potential feature out of the current roadmap
@humitos humitos requested review from ericholscher and a team June 25, 2019 14:27
Copy link
Member

@ericholscher ericholscher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good changes here 👍

@@ -1,15 +1,34 @@
Design of APIv3
===============
APIv3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should include design in the title still, so it's easier to find in search, etc.

=====

This document describes the design,
some decisions already made and an implementation plan for APIv3 in stages.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sentence needs something connecting the 2 halves.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure to understand what you refers to here. I expanded a little more the sentence, but I don't think that is what you want though :)


* Easy to use for our users
* Useful to perform read and write operations
* Cover most useful cases
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be clearer. We should define these.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I expand the list. Looks better now and more concise.

Non-Goals
---------

* Filter by arbitrary and non-useful fields
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, this isn't clear, we need to define this more.

* CRUD for Domain
* Add User as maintainer
* Give access to a documentation page (``objects.inv``, ``/design/core.html``)
* Internal Build process
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should mention why all of these are out of the roadmap.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I put them out of the roadmap for now because, in case we build them, we need to decide in which Version they will be assigned. Also, they do not affect too many users or are only for internal usage only.

I'm updating the paragraph mentioning this.

* "All the ``stable`` versions"
* "Builds with ``exit_code`` equal to 257"
* Do we want to add ``/api/v2/sustainability/`` to APIv3?
Should be part of the new "Ad Server" that we are building?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely not on both of these. We can remove them.

* "Builds with ``exit_code`` equal to 257"
* Do we want to add ``/api/v2/sustainability/`` to APIv3?
Should be part of the new "Ad Server" that we are building?
* Should we make our search endpoint at ``/api/v2/search`` publicly on APIv3?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't believe this exists. Are you talking about docsearch?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, docsearch

@humitos
Copy link
Member Author

humitos commented Jun 26, 2019

@ericholscher I worked on the feedback you gave me. It looks better to me now. Let me know if there are more things to tackle.

Copy link
Member

@ericholscher ericholscher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks much better, thanks!

@humitos
Copy link
Member Author

humitos commented Jun 26, 2019

@ericholscher thanks you for the good feedback 😉

@humitos humitos merged commit 57da1f7 into master Jun 26, 2019
@delete-merged-branch delete-merged-branch bot deleted the humitos/update-apiv3-design branch June 26, 2019 21:05
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

Successfully merging this pull request may close these issues.

2 participants