Skip to content

Conversation

@PALASH2201
Copy link

What problem does this PR solve?

This PR addresses the security concern of hardcoding MongoDB credentials directly into the codebase. Storing credentials in the code can expose sensitive information, especially when working in a shared or open-source repository.

The .env file has been introduced to securely store MongoDB credentials, which are then fetched within the application. Additionally, the test cases have been modified accordingly to ensure that they work seamlessly with this new environment-based credential setup.

Close #2865

@PALASH2201
Copy link
Author

@iluwatar Can you add mongo db secrets in this repo
image
So that they can be accessed in github action

Copy link
Owner

@iluwatar iluwatar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build is failing, please check

@stale
Copy link

stale bot commented Dec 4, 2024

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the status: stale issues and pull requests that have not had recent interaction label Dec 4, 2024
@github-actions
Copy link

github-actions bot commented Feb 3, 2025

This PR is stale because it has been open 60 days with no activity.

@github-actions github-actions bot added the Stale label Feb 3, 2025
@iluwatar iluwatar closed this Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stale status: stale issues and pull requests that have not had recent interaction status: under review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix high severity issues reported by SonarCloud

2 participants