Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(report): REST APIs week 8-12 report #282

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/2024/rest/updates/valens/2024-06-27.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ _(June 27,2024)_
- **test(api): finalized license API testing and added more unit test cases for upload, folder, group APIs**
- Finalized license API testing.
- Added more test cases covering upload, folder, and group controllers.
- [test(api): finalized license API testing and added more unit test cases for upload, folder, group APIs.](https://github.com/fossology/fossology/pull/2767)
- [test(api): finalized license API testing and added more unit test cases for upload, folder, group APIs.](https://github.com/fossology/fossology/pull/2834)
2 changes: 1 addition & 1 deletion docs/2024/rest/updates/valens/2024-07-04.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ _(July 04,2024)_
- Started unite test cases addition for models
- Added more test cases for models including permissions, License candidate, agent, file info etc.
- Added more test cases covering upload, folder, and group controllers.
- [test(models): Added unit cases for Permissions, LicenseCandidate, Group, Decider, Agent and FileInfo models](https://github.com/fossology/fossology/pull/2774)
- [test(models): Added unit cases for Permissions, LicenseCandidate, Group, Decider, Agent and FileInfo models](https://github.com/fossology/fossology/pull/2829)
4 changes: 2 additions & 2 deletions docs/2024/rest/updates/valens/2024-07-11.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ _(July 11,2024)_
- **test(api): Upgraded controller test cases to support version 2 implementation.**
- Added versioning support to controllers test cases that are currently in master branch.
- Migrated different controllers including folder, license, group etcs.
- [test(api): Upgraded controller test cases to support version 2 implementation.](https://github.com/fossology/fossology/pull/2789)
- [test(api): Upgraded controller test cases to support version 2 implementation.](https://github.com/fossology/fossology/pull/2826)
- **test(models): Improved and added new test cases for models like ScanCode,Upload, Folder, Group permissions etc.**
- Worked on changes suggested by mentors in previous pull requests.
- Made some changes in previous commits to comply with models versioning standard.
- Added more test cases for models including ScanCOde, Upload, Folder, Group, Permissions etc.
- [test(models): Improved and added new test cases for models like ScanCode,Upload, Folder, Group permissions etc](https://github.com/fossology/fossology/pull/2792)
- [test(models): Improved and added new test cases for models like ScanCode,Upload, Folder, Group permissions etc](https://github.com/fossology/fossology/pull/2825)
2 changes: 1 addition & 1 deletion docs/2024/rest/updates/valens/2024-07-18.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ _(July 18,2024)_
- Worked on changes suggested by mentors in previous pull requests.
- Made some changes in previous commits to comply with models versioning standard.
- Added more test cases for models including ScanCOde, Upload,Job, Folder,UploadSummary,BulkHistory Group, Permissions etc.
- [test(models): Improved and added new test cases for models like ScanCode,Upload, Folder, Group permissions etc](https://github.com/fossology/fossology/pull/2792)
- [test(models): Improved and added new test cases for models like ScanCode,Upload, Folder, Group permissions etc](https://github.com/fossology/fossology/pull/2825)
20 changes: 20 additions & 0 deletions docs/2024/rest/updates/valens/2024-07-26.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: Extension for my national exams
author: Valens NIYONSENGA
tags: [gsoc24, rest]
---

---

<!--
SPDX-License-Identifier: CC-BY-SA-4.0

SPDX-FileCopyrightText: 2024 Valens Niyonsenga <[email protected]>
-->

_(July 26,2024 - August 13, 2024)_

## Meeting

- I was unable to attend the meeting this week because I was focusing on my national exams that concluded my education level.
- Mentors extended my project to Sptember 23, 2024.
30 changes: 30 additions & 0 deletions docs/2024/rest/updates/valens/2024-08-16.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: Week 8
author: Valens Niyonsenga
tags: [gsoc24, rest]
---

<!--
SPDX-License-Identifier: CC-BY-SA-4.0

SPDX-FileCopyrightText: 2024 Valens Niyonsenga <[email protected]>
-->

# Week 7 meeting and activities

_(Agust 16,2024)_

## Attendees:

- [Valens Niyonsenga](https://github.com/valens200)
- [Gaurav Mishra](https://github.com/GMishx)
- [Shaheem Azmal M MD](https://github.com/shaheemazmalmmd)
- [Divij Sharma](https://github.com/dvjsharma)
- [Samuel Dushimimana](https://github.com/dushimsam)


## Discussion:

- I rebased to master branch all of the pull requests I opened just before the national exam.
- I warmed up again and resumed the tasks I had to work on just before the national exams came.
- Discussed with my colleague [Divij Sharma](https://github.com/dvjsharma) and mentors the appoach to use for integration tests development.
19 changes: 19 additions & 0 deletions docs/2024/rest/updates/valens/2024-08-23.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: Week 9
author: Valens Niyonsenga
tags: [gsoc24, rest]
---

<!--
SPDX-License-Identifier: CC-BY-SA-4.0

SPDX-FileCopyrightText: 2024 Valens Niyonsenga <[email protected]>
-->

# Week 10 meeting and activities

_(August 23,2024)_

## Meeting

I was unable to attend the meeting this week because I was traveling abroad.
23 changes: 23 additions & 0 deletions docs/2024/rest/updates/valens/2024-08-30.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: Week 10
author: Valens Niyonsenga
tags: [gsoc24, rest]
---

<!--
SPDX-License-Identifier: CC-BY-SA-4.0

SPDX-FileCopyrightText: 2024 Valens Niyonsenga <[email protected]>
-->

# Week 11 meeting and activities

_(August 30,2024)_

## Meeting

The meeting was rescheduled because some members of FOSSology team were not available.
## Activities

- As discussed with my mentors in previous meeting, I learned a better way to implement integration tests, either by using functional testing with PHPUnit or Python.
- I prefered a functional testing approach with PHPUnit, shared it with mentors and started working on it
25 changes: 25 additions & 0 deletions docs/2024/rest/updates/valens/2024-09-06.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: Week 11
author: Valens Niyonsenga
tags: [gsoc24, rest]
---

<!--
SPDX-License-Identifier: CC-BY-SA-4.0

SPDX-FileCopyrightText: 2024 Valens Niyonsenga <[email protected]>
-->

# Week 11 meeting and activities

_(August 30,2024)_

## Meeting

The meeting was rescheduled because some members of the REST team and the SPDX team were unavailable.
## Activities

- **test(DAOs): Add more integration test cases for folderDao.**
- Enhanced the existing test cases.
- I added new test cases with clear documentation
[test(DAOs): Add more integration test cases for folderDao.](https://github.com/fossology/fossology/pull/2830)
33 changes: 33 additions & 0 deletions docs/2024/rest/updates/valens/2024-09-13.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: Week 12
author: Valens Niyonsenga
tags: [gsoc24, rest]
---

<!--
SPDX-License-Identifier: CC-BY-SA-4.0

SPDX-FileCopyrightText: 2024 Valens Niyonsenga <[email protected]>
-->
# Week 12 meeting and activities

_(September 13,2024)_

## Attendees:

- [Valens Niyonsenga](https://github.com/valens200)
- [Shaheem Azmal M MD](https://github.com/shaheemazmalmmd)
- [Divij Sharma](https://github.com/dvjsharma)

## Discussion:

- I Gave updates regarding the previous week's work.
- I presented my approach for integration tests and received feedback from my mentors.
- I clarified that I was focusing on improving integration tests for DAOs, while the approach for APIs is not finalized yet.
- Worked with my colleague [Divij Sharma](https://github.com/dvjsharma) and researched approaches for integration tests from APIs.
## Activities:

- **test(DAOs): Add more integration tests for uploadDao, PfileDao, showJobsDao and Upload permissionsDao.**
- Enhanced test cases that were available
- Added new test cases with clear documentation
- [test(api): Upgraded controller test cases to support version 2 implementation.](https://github.com/fossology/fossology/pull/2832)