Skip to content

Commit

Permalink
Merge branch 'release/2021-beta-version'
Browse files Browse the repository at this point in the history
  • Loading branch information
xploitedd committed Jun 30, 2021
2 parents d4b34f5 + 4079c6b commit 4d0bb1a
Show file tree
Hide file tree
Showing 3 changed files with 822 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ class IngestionTask(
private val threadPool = Executors.newSingleThreadExecutor()

private val academicYearsDir: File by lazy {
File(REPOSITORY_DIR_NAME + File.separator + institutionFolder + File.separator + ACADEMIC_YEARS)
File(repositoryDir.absolutePath + File.separator + institutionFolder + File.separator + ACADEMIC_YEARS)
}

private val programmesDir: File by lazy {
File(REPOSITORY_DIR_NAME + File.separator + institutionFolder + File.separator + PROGRAMMES)
File(repositoryDir.absolutePath + File.separator + institutionFolder + File.separator + PROGRAMMES)
}

@Scheduled(fixedRate = INGESTION_RATE)
Expand Down
2 changes: 1 addition & 1 deletion jvm/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ core.secret-key-password=changeit
ingestion.institution_folder=${INTEGRATION_INSTITUTION:pt.ipl.isel}
ingestion.repository_remote=${INTEGRATION_REPOSITORY_REMOTE:https://github.com/i-on-project/integration-data}
ingestion.repository_remote_branch=${INTEGRATION_REPOSITORY_REMOTE_BRANCH:master}
spring.flyway.locations=classpath:migrations
spring.flyway.locations=${FLYWAY_LOCATIONS:classpath:migrations}
spring.flyway.enabled=true
Loading

0 comments on commit 4d0bb1a

Please sign in to comment.