khanhduzz / matcha

Matcha 🍃 - a microservices shopping system
MIT License
3 stars 3 forks source link

Implemented CRUD operations for Product Module #45

Closed PALASH2201 closed 1 week ago

PALASH2201 commented 3 weeks ago

Issue: #2 This PR introduces the following features to the project:

  1. RESTful APIs for Product Module:

Testing:

Notes:

Please review the code changes and provide feedback. I look forward to suggestions for improvements, especially concerning the security configuration. Thank you for considering this PR!

PALASH2201 commented 3 weeks ago

@khanhduzz Can you approve the further checks?

codecov-commenter commented 3 weeks ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 20 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...n/java/com/fjb/product/service/ProductService.java 0.00% 20 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines Coverage Δ Complexity Δ
...n/java/com/fjb/product/service/ProductService.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)

... and 3 files with indirect coverage changes

khanhduzz commented 3 weeks ago

I’m swamped with deadlines at the company right now. I’m working on integrating Keycloak with Swagger and adding security to our services, so it might take me a bit longer to review your code. Please bear with me! Thank you @PALASH2201.

PALASH2201 commented 3 weeks ago

@khanhduzz I have pulled the latest changes, any configurations I have to make in my local machine to run the latest changes?

khanhduzz commented 3 weeks ago

@PALASH2201 I have already setup some container and we will be able to run with Swagger, I will up a guideline tomorrow! So, you can follow it and run the project

PALASH2201 commented 3 weeks ago

Ok, thanks!

khanhduzz commented 2 weeks ago

@PALASH2201 Hi Palash, I've updated the wiki with instructions on how to run the project. Please take a look!

PALASH2201 commented 2 weeks ago

@khanhduzz Ok, I'll look into it.

PALASH2201 commented 2 weeks ago

@khanhduzz I have tested it, working fine. Actually, I had a doubt about the try catch block in Controller , can you provide some sample as how do you want the exceptions to be handled?

khanhduzz commented 2 weeks ago

@PALASH2201

PALASH2201 commented 2 weeks ago

@khanhduzz I can do the Exception Handling, I just wanted to know how you want it to be implemented. And about the Product structure I will look into it and get back to you with a draft

HiddenCa commented 2 weeks ago

Hi @PALASH2201, It seems there is an issue with a merge conflict. If you're unsure about how to resolve it, you might want to consider closing this PR, pulling the latest code from the main branch, and then creating a new PR. Thanks!

PALASH2201 commented 2 weeks ago

@khanhduzz I have added the exception handling as instructed.

khanhduzz commented 2 weeks ago

Hi @PALASH2201 , I already added some comments, please check it, thank you! Could you explain to me why you move this file? Thanks. image

PALASH2201 commented 2 weeks ago

@khanhduzz I added Sell-bff as a module, so maybe because of that it moved

khanhduzz commented 2 weeks ago

@PALASH2201 Omg, it's been a hectic day! I'll try to review everything tomorrow when I have more time. Thanks for your patience!

PALASH2201 commented 2 weeks ago

@khanhduzz No problem, just that its been many days this pr is open thats why wanted to wrap this up

khanhduzz commented 1 week ago

Hi @PALASH2201, I've added some comments—please review them. Thank you so much for your great effort in tackling this issue. I'm looking forward to approving your PR.

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

PALASH2201 commented 1 week ago

@khanhduzz I have made the changes

PALASH2201 commented 1 week ago

@khanhduzz can you merge and add hacktoberfest-accepted label ?

khanhduzz commented 1 week ago

@PALASH2201 Do not need to add label, this repo is already registered. You can merge it