-
Notifications
You must be signed in to change notification settings - Fork 45
Fix firebasebase64 #234
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
Fix firebasebase64 #234
Conversation
* Add the functionality for video call consultation service * Add the necessary imports for the application * Update video call service with DB changes * Add update api for call status updation * Add service class to prepare the sms template and include benregid * update the properties in common_example file * Fix the issue in date time conversion * Add the link generated time and islinkused flag for the meeting link * Change the consultation date format and response format for send link api * Add the video call url properties in environment files * Add recording functionality * Remove dev and test properties as it not in develop * feat:fix the alignment * feat:remove cross origins and add variable name for ci file * Add the properties in docker file * Add recording properties in properties file * fix:coderabbit comments
Caution Review failedThe pull request is closed. WalkthroughThis update introduces Firebase Cloud Messaging integration by adding the Firebase Admin SDK, related configuration classes, and REST controllers for notification and OTP consent workflows. It also adds new data models and repositories for user tokens, updates DTOs and models with consent fields, and refactors JWT utility logic to simplify token validation. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant BeneficiaryConsentController
participant BeneficiaryOTPHandlerImpl
participant SMSGateway
Client->>BeneficiaryConsentController: POST /sendConsent (mobile number)
BeneficiaryConsentController->>BeneficiaryOTPHandlerImpl: sendOTP(request)
BeneficiaryOTPHandlerImpl->>SMSGateway: sendSMS(OTP, user details)
SMSGateway-->>BeneficiaryOTPHandlerImpl: SMS send response
BeneficiaryOTPHandlerImpl-->>BeneficiaryConsentController: OTP send result
BeneficiaryConsentController-->>Client: OutputResponse (success/error)
sequenceDiagram
participant Client
participant FirebaseNotificationController
participant FirebaseNotificationService
participant FirebaseMessaging (Firebase SDK)
Client->>FirebaseNotificationController: POST /sendNotification (NotificationMessage)
FirebaseNotificationController->>FirebaseNotificationService: sendNotification(message)
FirebaseNotificationService->>FirebaseMessaging: send(notification)
FirebaseMessaging-->>FirebaseNotificationService: send response
FirebaseNotificationService-->>FirebaseNotificationController: response string
FirebaseNotificationController-->>Client: response string
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
π Recent review detailsConfiguration used: CodeRabbit UI π Files selected for processing (23)
β¨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. πͺ§ TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
@Operation(summary = "Resend Consent") | ||
@RequestMapping(value = "/resendConsent", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON, produces = MediaType.APPLICATION_JSON, headers = "Authorization") | ||
public String resendConsent(@Param(value = "{\"mobNo\":\"String\"}") @RequestBody String requestOBJ) { | ||
logger.info(requestOBJ.toString()); |
Check notice
Code scanning / SonarCloud
Logging should not be vulnerable to injection attacks Low
@Operation(summary = "Send OTP") | ||
@RequestMapping(value = "/sendOTP", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON, produces = MediaType.APPLICATION_JSON, headers = "Authorization") | ||
public String sendOTP(@Param(value = "{\"mobNo\":\"String\"}") @RequestBody String requestOBJ) { | ||
logger.info(requestOBJ.toString()); |
Check notice
Code scanning / SonarCloud
Logging should not be vulnerable to injection attacks Low
@Operation(summary = "Resend OTP") | ||
@RequestMapping(value = "/resendOTP", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON, produces = MediaType.APPLICATION_JSON, headers = "Authorization") | ||
public String resendOTP(@Param(value = "{\"mobNo\":\"String\"}") @RequestBody String requestOBJ) { | ||
logger.info(requestOBJ.toString()); |
Check notice
Code scanning / SonarCloud
Logging should not be vulnerable to injection attacks Low
π Description
JIRA ID:
Fix firebasebase64
β Type of Change
βΉοΈ Additional Information
Please describe how the changes were tested, and include any relevant screenshots, logs, or other information that provides additional context.
Summary by CodeRabbit
New Features
Bug Fixes
Refactor
Chores