Skip to content

Commit

Permalink
fix: modify default configuration to prevent service launch fails
Browse files Browse the repository at this point in the history
  • Loading branch information
m-rudyk committed Sep 8, 2023
1 parent b560674 commit b3c9f63
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.10</version>
<version>2.7.15</version>
</parent>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public class GitHubWebhooksController {

private String GITHUB_SECRET;

@Autowired
ApplicationContext applicationContext;

/**
Expand Down
10 changes: 8 additions & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ license_conflict=db

# GitHub settings
# Corresponding env. variable LPVS_GITHUB_LOGIN
github.login=
github.login=test
# Corresponding env. variable LPVS_GITHUB_TOKEN
github.token=
github.token=test
# Corresponding env. variable LPVS_GITHUB_API_URL
github.api.url=https://api.github.com
# Corresponding env. variable LPVS_GITHUB_SECRET
Expand All @@ -42,3 +42,9 @@ spring.datasource.url=jdbc:mysql://localhost:3306/lpvs
spring.datasource.username=
spring.datasource.password=

# Custom DB components name configuration
app.table.detectedLicenseName=detected_license
app.table.detectedLicenseSchema=soshub
app.table.diffFileName=code_licenses
app.table.pullRequestsName=lpvs_pull_requests
app.table.queueName=queue

0 comments on commit b3c9f63

Please sign in to comment.