chef / chef/chef-server

Allow pagination, sorting and searching of Policy File List API

Open
#2,564 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: automate integration
Dominant language
Erlang
Stars
303
Forks
211
Avg merge
1d 8h
Merged PRs (30d)
5

Description

The list of policy files can be fetched using /organizations/NAME/policies API.
This API currently does not provide the following functionalities:

  1. Pagination
  2. Sorting
  3. Searching using regex

Having these functionalities will help Automate to show the Policy files in paginated manner along with ability to sort and search the policy files.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the handler and tests for the /organizations/NAME/policies API. Review how the current policy-file list is returned and how other APIs express pagination, sorting, and regex searching. Done means the endpoint supports all three capabilities with documented, passing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
erlang
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.