Commit Graph

42 Commits (a906fe2f6bd47872fa5d84907affefad0d08e40f)

Author SHA1 Message Date
Wasiullah Khan cafa60ab7f Merge branch 'dev-pending-20-01-2026' into Wasi/BS-2185-osho 2 weeks ago
Wasiullah Khan 5037065d09 Update PendingCRMApplicationsController.java 2 weeks ago
Wasiullah Khan 519f59f5db get Deposit Pending Applications 2 weeks ago
Naeem Ullah e07a74565d Refactor CRM application controllers and services
Replaced InProcessApplicationsController with PendingCRMApplicationsController to handle individual and business pending CRM applications. Updated InProcessApplicationsService to separate logic for individual and business workflows, adding new methods for pending CRM retrieval. Adjusted AconnectURI and TokenBypassURI constants to support new endpoints.
2 weeks ago
Naeem Ullah 393fa16fa3 Add first login password change endpoint
Introduced a new /first-login endpoint in AuthenticationController to handle password changes on first login. Added corresponding constant in SecurityURI and implemented firstLogin method in UserService to update password and firstLogin status.
2 weeks ago
Naeem Ullah 53866feb45 Merge pull request 'Fetch pending CRM applications' (#8) from Wasi/BS-2194 into dev-pending-20-01-2026
Reviewed-on: https://ct.mfsys.com.pk/aConnect/aConnect-BS/pulls/8
2 weeks ago
Wasiullah Khan 6aa0454e3a Fetch pending CRM applications
Fetch Single CRM Application By WorkFlowRefNum
2 weeks ago
Naeem Ullah d304477b8c Implement soft delete for User entity
Added an isDeleted field to the User model and updated the deleteUser method in UserService to perform a soft delete by setting isDeleted to true and isActive to false. Updated UserRepository with methods to filter out deleted users and adjusted getAllUsers to exclude admin roles.
2 weeks ago
Naeem Ullah 72180528de Merge branch 'dev-pending-20-01-2026' into Naeem-PRE-PRODUCTION-26 2 weeks ago
Naeem Ullah e5fbba3728 Add individual loan approval endpoint and service
Introduced a new endpoint and service method for individual loan approval. Updated AconnectURI and TokenBypassURI to include the new approval URI, and implemented the approval logic in LoanAccountService and LoanAccountController.
2 weeks ago
Naeem Ullah 22c1ce530a added
added
2 weeks ago
Naeem Ullah 5388b85261 added validations
added validations
2 weeks ago
Naeem Ullah 49f1a5b503 Merge pull request 'CRM Workflow Creation' (#7) from Wasi/BS-2086 into dev-pending-20-01-2026
Reviewed-on: https://ct.mfsys.com.pk/aConnect/aConnect-BS/pulls/7
2 weeks ago
Naeem Ullah ad1057474b Add validation for credit and debit amounts in transactions
Introduced checks to ensure credit and debit amounts are present and greater than zero in transaction-related methods. Returns appropriate error responses if validation fails, improving input validation and error handling.
2 weeks ago
Wasiullah Khan 5e5512da67 CRM Workflow Creation
CRM Workflow Creation
2 weeks ago
Naeem Ullah 70244da27b validations 2 weeks ago
Naeem Ullah f9bead4543 Approval DTO 2 weeks ago
Naeem Ullah a4a94da20b Update TransactionService.java 3 weeks ago
Naeem Ullah b12c933b41 validation 3 weeks ago
Naeem Ullah 2ed521330c CMB_ORGA_CODE
CMB_ORGA_CODE
4 weeks ago
Naeem Ullah e806389b9d CIIHIVE_API_BASE_URL
CIIHIVE_API_BASE_URL
4 weeks ago
Naeem Ullah bae66d70f9 Added ENV 4 weeks ago
Naeem Ullah 405e8dc53c Revert "Profile for PROD"
This reverts commit c2156ce962.
4 weeks ago
Naeem Ullah c2156ce962 Profile for PROD
Profile for PROD
4 weeks ago
Naeem Ullah c088501ec3 Added CiiHive Base URL
Added CiiHive Base URL
4 weeks ago
Naeem Ullah d6f656cda5 Transaction Logs
Transaction Logs
4 weeks ago
Naeem Ullah 1639058e20 Add reset password endpoint and DTO
Introduces a new /reset-password endpoint in AuthenticationController, a ResetPasswordDTO for request payload, and a resetPassword method in UserService to handle password resets. Also updates SecurityURI with the new endpoint constant.
4 weeks ago
Naeem Ullah 44707f34c2 Fix password verification logic in UserService
Corrects the password verification by comparing the provided old password with the user's actual stored password instead of the new password.
4 weeks ago
Naeem Ullah 5e85a32f61 Add password change and user uniqueness validation
Introduced ChangePasswordDTO and implemented password change functionality in UserService and AuthenticationController. Added custom exceptions for existing email, username, and incorrect old password. Updated User entity and DTOs to include porOrgacode, and enforced uniqueness checks for userId and email. Enhanced ERRCode with new error codes and improved boolean field handling in User entity.
4 weeks ago
Naeem Ullah a1f993bfd4 Comment out SubscriptionFilter implementation
The SubscriptionFilter class and its contents have been fully commented out, effectively disabling its functionality. This change may be for debugging, refactoring, or temporary removal pending future updates.
4 weeks ago
Naeem Ullah 8507141d9e Add TransactionLog entity and field constants
Introduced the TransactionLog JPA entity for transaction logging. Added FieldNameConstant and DBFieldNameConstant enums for standardized field names, and expanded FieldNameLength with additional constants. Updated SecurityURI and AuthenticationController to support password change endpoint. Commented out request limiting logic in SubscriptionFilter.
4 weeks ago
Naeem Ullah ea9abc99c8 Add TransactionLog entity and field constants
Introduced the TransactionLog entity for transaction logging. Added FieldNameConstant and DBFieldNameConstant enums for standardized field names, and expanded FieldNameLength with additional constants. Updated SecurityURI and AuthenticationController to support password change endpoint. Fixed PermissionService to use the correct repository for user permission updates.
4 weeks ago
Naeem Ullah 6225454d51 Add PermissionRepository and update PermissionService
Introduced PermissionRepository for managing User entities and refactored PermissionService to use this new repository instead of UserRepository. This change streamlines permission-related operations and improves code organization.
4 weeks ago
Naeem Ullah cf224e3f85 Refactor user permissions to dedicated service and controller
Moved user permission management logic from UserService and UserController to new PermissionService and PermissionController classes. This improves separation of concerns and code organization. Also removed unused findByEmail method from UserRepository.
4 weeks ago
Naeem Ullah 5bd79acda5 Validate Endpoints 4 weeks ago
Naeem Ullah 29a5e2f5e1 Refactor AuthService to use default RestTemplate and ObjectMapper
Replaces constructor-based dependency injection with direct instantiation of RestTemplate and ObjectMapper in AuthService. Simplifies the class by removing the constructor and initializing dependencies inline.
1 month ago
Naeem Ullah 10084bbd48 Refactor services to inject RestTemplate via constructor
Updated all service classes to receive RestTemplate (and ObjectMapper where needed) through constructor injection instead of instantiating them directly. Removed the RestTemplateConfig class, as RestTemplate is now expected to be provided externally, improving testability and configuration flexibility.
1 month ago
Naeem Ullah 63f10ef2fc Add deposit and loan account services and update controllers
Introduced DepositAccountService and LoanAccountService for handling deposit and loan account operations. Updated DepositAccountController and LoanAccountController to use these services and added new endpoints for individual and business deposit/loan creation and approval. Added RestTemplate configuration and updated AconnectURI and TokenBypassURI constants. Modified PermissionDTO to use a String for permissions and adjusted UserService accordingly. Increased requestBody column length in Logger entity. Added Apache HttpClient5 dependency.
1 month ago
Naeem Ullah 2426fb7c7e CRM Api added
CRM Api added
1 month ago
Naeem Ullah 1e375887e5 Refactor transaction controllers and services structure
Split transaction-related endpoints into dedicated controllers and services for authorization, cancellation, rejection, and reversal. Renamed LoginController and LoginService to AuthController and AuthService. Added DTOs for account-to-account and GL-to-account transactions, updated TransactionService to handle new transaction types, and adjusted URI constants and token bypass lists accordingly. Removed EnvironmentDetectionService as part of the refactor.
1 month ago
Wasiullah Khan a0529f9b34 User Permission Management 1 month ago
Naeem Ullah 162678d8d9 Rename econnect module to aconnect
All files and references for the 'econnect' module have been renamed to 'aconnect', including source, test files, and module references in the parent POM. This standardizes the module naming across the project.
1 month ago