-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
[IL-286] Average Rating, Review Exists Check #254
Conversation
…get-avg-rating # Conflicts: # src/main/java/com/zufar/icedlatte/review/endpoint/RatingEndpoint.java
# Conflicts: # pom.xml # src/main/java/com/zufar/icedlatte/common/exception/handler/GlobalExceptionHandler.java # src/main/java/com/zufar/icedlatte/product/api/SingleProductProvider.java # src/main/java/com/zufar/icedlatte/security/configuration/SecurityConstants.java # src/main/java/com/zufar/icedlatte/security/configuration/SpringSecurityConfiguration.java # src/main/resources/db/changelog/version-1.0/changelog-master-version-1.0.yaml
…-Add-Product-Rating # Conflicts: # pom.xml # src/main/java/com/zufar/icedlatte/review/api/RatingUpdater.java # src/main/java/com/zufar/icedlatte/review/converter/RatingConverter.java # src/main/java/com/zufar/icedlatte/review/endpoint/ProductRatingEndpoint.java # src/main/java/com/zufar/icedlatte/review/entity/ProductRating.java # src/main/java/com/zufar/icedlatte/review/repository/RatingRepository.java # src/main/java/com/zufar/icedlatte/security/configuration/SecurityConstants.java # src/main/java/com/zufar/icedlatte/security/configuration/SpringSecurityConfiguration.java # src/main/java/com/zufar/icedlatte/security/jwt/JwtAuthenticationFilter.java # src/main/resources/api-specs/product-rating-openapi.yaml # src/main/resources/db/changelog/version-1.0/15.02.2024.part1.create-product-rating-table.sql # src/main/resources/db/changelog/version-1.0/changelog-master-version-1.0.yaml
|
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
9368413 | Triggered | Generic High Entropy Secret | c02f933 | src/test/resources/application-test.yaml | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Our GitHub checks need improvements? Share your feedbacks!
1. Task's name:
[IL-286] Post a review and rating
[IL-299] Add Product Review
2. Developer's full name:
Anna Striganova
3. Changes:
/api/v1/products/{productId}/reviews/exists
getRatingByProductId
returning AVG rating