Skip to content

CID-3381: Validate Env variables presence#63

Merged
mohamedlajmileanix merged 2 commits intomainfrom
feature/CID-3381/Validate-LEANIX_DOMAIN-and-LEANIX_TECHNICAL_USER_TOKEN-presence
Dec 19, 2024
Merged

CID-3381: Validate Env variables presence#63
mohamedlajmileanix merged 2 commits intomainfrom
feature/CID-3381/Validate-LEANIX_DOMAIN-and-LEANIX_TECHNICAL_USER_TOKEN-presence

Conversation

@mohamedlajmileanix
Copy link
Contributor

@mohamedlajmileanix mohamedlajmileanix commented Dec 19, 2024

🛠 Changes made

Validate Env variables presence and avoid BeanCreationException

✨ Type of change

Please delete the options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

🧪 How Has This Been Tested?

  • should pass when all properties are valid
  • should throw exception when GitHubEnterpriseProperties are missing
  • should throw exception when LeanIXProperties are missing

🏎 Checklist:

  • My code follows the style guidelines
  • I have performed a self-review of my own code
  • My commit message clearly reflects the changes made
  • Assigned the appropriate labels (version, PR type, etc.)

@mohamedlajmileanix mohamedlajmileanix added the bug Something isn't working label Dec 19, 2024
@mohamedlajmileanix mohamedlajmileanix requested a review from a team as a code owner December 19, 2024 07:41
@github-actions
Copy link

github-actions bot commented Dec 19, 2024

LeanIX GitHub Agent Code Coverage

File Coverage [61.62%] 🍏
AgentSetupValidation.kt 61.62% 🍏
Total Project Coverage 71.28% 🍏

@mohamedlajmileanix mohamedlajmileanix merged commit e6eef63 into main Dec 19, 2024
4 checks passed
@mohamedlajmileanix mohamedlajmileanix temporarily deployed to ghcr:leanix-github-agent December 19, 2024 12:13 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Development

Successfully merging this pull request may close these issues.

2 participants