Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • VIR - backend VIR - backend
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VIR - Visual Interactive Reading
  • VIR - backendVIR - backend
  • Issues
  • #9

Closed
Open
Created Sep 14, 2024 by Luiz Felipe Porto Lara De Oliveira@luiz.oliveiraMaintainer4 of 4 tasks completed4/4 tasks

Sprint 2 | Admin | Book C.R.U.D | GIF Processing & Upload

To-Do:

  • Implement an endpoint to receive GIFs
  • Validate the GIFs' format upon upload
  • Receive from controller the books name and other relevant information
  • If the book exists, update all gifs to the current list

Feature: Upload and process GIFs for a book

The service receives GIFs related to a book, which are processed and stored in the database.
The system validates whether the book exists before adding or updating GIFs in bulk.


Scenario: Upload GIFs for a new book

Given valid GIFs for a new book is sent to the upload endpoint
When the GIFs is uploaded to the service
Then the service should extract the metadata to identify the book
And if the book does not exist in the database, it should be added
And all associated GIFs are stored in the database for the new book

Edited Oct 11, 2024 by Luiz Felipe Porto Lara De Oliveira
Assignee
Assign to
Time tracking