Skip to content

Conversation

dushimsam
Copy link
Contributor

@dushimsam dushimsam commented Aug 22, 2023

Description

Added the API to export Obligations' list as a CSV file.

Changes

  1. Added a new method in LicenseController to build the functionality.
  2. Updated the main file(index.php) by adding a new route GET /license/obligation/export-csv.
  3. Updated the openapi.yaml file to write the new API's documentation.

How to test

Make a GET request on the endpoint: /license/obligation/export-csv,

Screenshots

image

Related Issue:

Fixes #2560

cc: @shaheemazmalmmd @GMishx

@github-actions github-actions bot added the has merge conflicts PR to be rebased label Aug 28, 2023
@github-actions
Copy link

This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request.

@github-actions
Copy link

This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request.

dushimsam and others added 2 commits October 6, 2023 14:11
@GMishx GMishx force-pushed the export-obligation-list branch from 5630d6b to 8d44d98 Compare October 6, 2023 09:08
@github-actions github-actions bot removed the has merge conflicts PR to be rebased label Oct 6, 2023
Copy link
Member

@GMishx GMishx left a comment

Choose a reason for hiding this comment

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

Changes looks good. Tested, working as expected.

@GMishx GMishx merged commit 3b7fc57 into fossology:master Oct 6, 2023
@GMishx GMishx deleted the export-obligation-list branch October 6, 2023 09:32
GMishx added a commit to siemens/fossology that referenced this pull request Oct 6, 2023
Ibrahim-Muhammad13 pushed a commit to Ibrahim-Muhammad13/fossology that referenced this pull request Feb 20, 2024
valens200 pushed a commit to valens200/fossology that referenced this pull request Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create REST APIs to import and export Obligations in CSV

3 participants