Skip to content

Paging#260

Merged
gwicke merged 5 commits into
wikimedia:masterfrom
d00rman:paging
Jun 12, 2015
Merged

Paging#260
gwicke merged 5 commits into
wikimedia:masterfrom
d00rman:paging

Conversation

@d00rman
Copy link
Copy Markdown
Contributor

@d00rman d00rman commented Jun 12, 2015

Yet another paging PR :)

Note: need to add the salt config directive to the production configuration before deployment

hxjuneja and others added 5 commits June 11, 2015 16:46
- Move utility methods in restbase class to the end, so that they don't break
  up the flow of the main class.
- Update jsonwebtoken dependency to 5.0.0, which has some important security
  fixes.
- Use proper limit and paging parameters for cassandra backend.
- Validate the config to assert that the `salt` parameter is set, and fail
  early during startup if it isn't.
- Query -> query in swagger spec
- Remove stray console.log
@d00rman d00rman mentioned this pull request Jun 12, 2015
@d00rman
Copy link
Copy Markdown
Contributor Author

d00rman commented Jun 12, 2015

LGTM as-is 👍

gwicke added a commit that referenced this pull request Jun 12, 2015
@gwicke gwicke merged commit 72cec0f into wikimedia:master Jun 12, 2015
@d00rman
Copy link
Copy Markdown
Contributor Author

d00rman commented Jun 15, 2015

Corresponding configuration patch is here

@d00rman d00rman deleted the paging branch June 15, 2015 12:31
wmfgerrit pushed a commit to wikimedia/operations-puppet that referenced this pull request Jun 15, 2015
As of wikimedia/restbase#260 RESTBase supports
proper result paging, for which the salt and default_page_size
configuration options need to be present. This patch adds the defaults
for both production and deployment-prep.

Note: salt_key should truly be a secret phrase, so this patch needs a
corresponding key in the private repo setting it.

Change-Id: I463922e4d27d3272c24575f99aac69bc2eebdcea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants