This repository has been archived by the owner on May 24, 2024. It is now read-only.
Repository Management CRUD Service #35
Labels
03 - Med
Medium Priority
enhancement
New feature or request
size:Medium
An issue or feature that can be resolved in 1-3 days.
Milestone
Summary
This task is to create an API for Repository Management.
Background
A CLA Group is a logical organization under a single Foundation (also often called a Project) that groups a collection of related source code organizations (e.g. GitHub Organization or Gerrit Group) and/or repositories under a single CLA legal grouping/policy. This task will define, implement, validate and test the API services supporting creating, updating, viewing, searching and deleting of repositories under a CLA Group.
User Story
As a project manager, I want to add a set (one or more) of GitHub repositories to my project.
As a project manager, I want to delete a set (one or more) of GitHub repositories to my project.
As a project manager, I want to search the GitHub repositories by the repository name under my project.
Tasks
Define a swagger specification for creating one or more repositories under a given project.
Define a swagger specification for deleting a set (one or more) repositories under a CLA Group
Define a swagger specification for searching or listing a list of repositories under a Project/CLA Group. Include pagination params as well: page_size/limit, offset, order_by as the list of parameters.
Define the repository database schema using
dbmate
. Fields might include:Create a repo implementation for the CRUD operations defined above
Create a service layer to support the REST operations defined above
Create an API handler to bin the Swagger specification to the implementation
Add the handler/service/repo to the setup to stitch it together
Create an audit event in the audit table when a repository is added, updated or deleted
test/validate CRUD operations
Acceptance Criteria
The "done" criteria when this feature or problem is resolved. Such as:
running in the DEV environment.
References
The text was updated successfully, but these errors were encountered: