Skip to content

chore: code refactoring for app store #4726

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

Closed
wants to merge 131 commits into from

Conversation

ShashwatDadhich
Copy link
Contributor

@ShashwatDadhich ShashwatDadhich commented Feb 29, 2024

Description

Code refactoring for app Store

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Tested Locally
  • Tested by deploying in testing environments

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit/api test cases.

kartik-579 and others added 30 commits January 11, 2024 12:59
* removed unsued jira integration

* removed test-suite-code

* db migration conf removal

* chore: removed unused injection

* chore: removed dead code

* added: migration script

---------

Co-authored-by: Ash-exp <asutosh2000ad@gmail.com>
* moved chart-group in seperate code

* removed unused dependency

* removed dead code

* extracted resource tree

* moved notes

* resource movement

* removed unused code

* removed unused dependency

* commit methods

* extracted status update

* chore: clean up unused dead code

* updated: EA mode docker file

* updated: migration number

---------

Co-authored-by: Ash-exp <asutosh2000ad@gmail.com>
Copy link

gitguardian bot commented Feb 29, 2024

⚠️ GitGuardian has uncovered 24 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
6669482 Triggered PGP Private Key ab5c595 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669482 Triggered PGP Private Key d52c0a4 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669484 Triggered PGP Private Key d52c0a4 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669484 Triggered PGP Private Key ab5c595 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
9404168 Triggered Username Password 93e635b internal/util/ArgoUtil/ArgoClient.go View secret
9257608 Triggered Base64 AWS keys bf86180 scripts/devtron-reference-helm-charts/deployment-chart_4-19-0/test-values.json View secret
9257608 Triggered Base64 AWS keys ece3419 scripts/devtron-reference-helm-charts/deployment-chart_4-19-0/test-values.json View secret
9257608 Triggered Base64 AWS keys fe0f272 scripts/devtron-reference-helm-charts/deployment-chart_4-19-0/test-values.json View secret
6669483 Triggered PGP Private Key d52c0a4 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669483 Triggered PGP Private Key ab5c595 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
2763127 Triggered Generic High Entropy Secret bf86180 scripts/devtron-reference-helm-charts/deployment-chart_4-19-0/secrets-test-values.yaml View secret
2763127 Triggered Generic High Entropy Secret bf86180 scripts/devtron-reference-helm-charts/statefulset-chart_4-19-0/secrets-test-values.yaml View secret
2763127 Triggered Generic High Entropy Secret fe0f272 scripts/devtron-reference-helm-charts/deployment-chart_4-19-0/secrets-test-values.yaml View secret
2763127 Triggered Generic High Entropy Secret ece3419 scripts/devtron-reference-helm-charts/statefulset-chart_4-19-0/secrets-test-values.yaml View secret
2763127 Triggered Generic High Entropy Secret fe0f272 scripts/devtron-reference-helm-charts/statefulset-chart_4-19-0/secrets-test-values.yaml View secret
2763127 Triggered Generic High Entropy Secret ece3419 scripts/devtron-reference-helm-charts/deployment-chart_4-19-0/secrets-test-values.yaml View secret
141558 Triggered Generic High Entropy Secret bf86180 scripts/devtron-reference-helm-charts/statefulset-chart_4-19-0/env-values.yaml View secret
141558 Triggered Generic High Entropy Secret fe0f272 scripts/devtron-reference-helm-charts/statefulset-chart_4-19-0/env-values.yaml View secret
141558 Triggered Generic High Entropy Secret ece3419 scripts/devtron-reference-helm-charts/statefulset-chart_4-19-0/env-values.yaml View secret
141558 Triggered Generic High Entropy Secret fe0f272 scripts/devtron-reference-helm-charts/deployment-chart_4-19-0/env-values.yaml View secret
141558 Triggered Generic High Entropy Secret ece3419 scripts/devtron-reference-helm-charts/deployment-chart_4-19-0/env-values.yaml View secret
141558 Triggered Generic High Entropy Secret bf86180 scripts/devtron-reference-helm-charts/deployment-chart_4-19-0/env-values.yaml View secret
6669481 Triggered PGP Private Key d52c0a4 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669481 Triggered PGP Private Key ab5c595 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. 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


🦉 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!

@ShashwatDadhich ShashwatDadhich changed the title Code refactoring app store final chore:code refactoring for app store Feb 29, 2024
@ShashwatDadhich ShashwatDadhich changed the title chore:code refactoring for app store chore: code refactoring for app store Feb 29, 2024
Copy link

sonarqubecloud bot commented Mar 1, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
4.8% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants