Skip to content

Prevented that github data is injecting when executing maven command #39

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stijnpotters1
Copy link
Contributor

🔴 Data injection is disabled when using "mvn clean install".
Data injection is enabled when using "java -jar InsightBackend.jar'

@stijnpotters1 stijnpotters1 added the bug Something isn't working label Apr 16, 2025
@stijnpotters1 stijnpotters1 self-assigned this Apr 16, 2025
@stijnpotters1 stijnpotters1 requested a review from nielsm5 April 16, 2025 13:21
@stijnpotters1 stijnpotters1 linked an issue Apr 16, 2025 that may be closed by this pull request
@@ -74,6 +80,12 @@ public void fetchGitHubStatistics() {
@SchedulerLock(name = "initializeSystemData", lockAtMostFor = "PT2H")
public void initializeSystemData() {
try {
String gitHubFetchEnabledProperty = System.getProperty("githubFetchEnabled", "true");

Choose a reason for hiding this comment

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

Ik denk dat dit ook wel via application.properties kan en dan icm een apart profile draaien in surefire?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable data fetching on application build
2 participants