-
Notifications
You must be signed in to change notification settings - Fork 45
Fix url issue #251
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 url issue #251
Conversation
Caution Review failedThe pull request is closed. WalkthroughThis update introduces Firebase Cloud Messaging integration, beneficiary consent OTP handling, and a dynamic form module system. It adds new controllers, services, entities, repositories, and DTOs for these features. Configuration files and dependencies are updated to support Firebase and the new modules. Minor improvements and bug fixes are also included. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant BeneficiaryConsentController
participant BeneficiaryOTPHandler
participant SMS Gateway
Client->>BeneficiaryConsentController: POST /beneficiaryConsent/sendConsent (mobile)
BeneficiaryConsentController->>BeneficiaryOTPHandler: sendOTP(request)
BeneficiaryOTPHandler->>SMS Gateway: Send OTP SMS
SMS Gateway-->>BeneficiaryOTPHandler: SMS response
BeneficiaryOTPHandler-->>BeneficiaryConsentController: OTP send result
BeneficiaryConsentController-->>Client: OutputResponse
Client->>BeneficiaryConsentController: POST /beneficiaryConsent/validateConsent (mobile, otp)
BeneficiaryConsentController->>BeneficiaryOTPHandler: validateOTP(request)
BeneficiaryOTPHandler-->>BeneficiaryConsentController: Validation result
BeneficiaryConsentController-->>Client: OutputResponse
sequenceDiagram
participant Client
participant FirebaseNotificationController
participant FirebaseNotificationService
participant FirebaseMessaging
Client->>FirebaseNotificationController: POST /firebaseNotification/sendNotification
FirebaseNotificationController->>FirebaseNotificationService: sendNotification(notificationMessage)
FirebaseNotificationService->>FirebaseMessaging: send(message)
FirebaseMessaging-->>FirebaseNotificationService: send result
FirebaseNotificationService-->>FirebaseNotificationController: result
FirebaseNotificationController-->>Client: response
sequenceDiagram
participant Client
participant DynamicFormController
participant ModuleService
participant FormTypeService
participant ModuleRepository
participant FormTypeRepository
Client->>DynamicFormController: POST /masterFrom/modules (ModuleEntityDTO)
DynamicFormController->>ModuleService: save(moduleDTO)
ModuleService->>ModuleRepository: save(moduleEntity)
ModuleRepository-->>ModuleService: saved module
ModuleService-->>DynamicFormController: saved module
DynamicFormController-->>Client: ResponseEntity
Client->>DynamicFormController: POST /masterFrom/modules/{id}/form-types (FormTypeEntityDTO)
DynamicFormController->>FormTypeService: createFormType(moduleId, formTypeDTO)
FormTypeService->>ModuleRepository: findById(moduleId)
ModuleRepository-->>FormTypeService: moduleEntity
FormTypeService->>FormTypeRepository: save(formEntity)
FormTypeRepository-->>FormTypeService: saved form
FormTypeService-->>DynamicFormController: saved form
DynamicFormController-->>Client: ResponseEntity
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
π Recent review detailsConfiguration used: CodeRabbit UI π Files selected for processing (35)
β¨ 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 (
|
|
π Description
JIRA ID:
Please provide a summary of the change and the motivation behind it. Include relevant context and details.
β 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
Enhancements
Bug Fixes
Other