This repository was archived by the owner on Aug 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fb_email-encryption
- Loading branch information
Showing
33 changed files
with
414 additions
and
461 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
FROM wisvch/openjdk:8-jdk AS builder | ||
FROM wisvch/openjdk:11-jdk AS builder | ||
COPY . /src | ||
WORKDIR /src | ||
RUN ./gradlew build | ||
|
||
FROM wisvch/spring-boot-base:1 | ||
FROM wisvch/spring-boot-base:2.1 | ||
COPY --from=builder /src/build/libs/feedback-tool.jar /srv/feedback-tool.jar | ||
CMD ["/srv/feedback-tool.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,12 +10,13 @@ | |
import ch.wisv.repository.CourseRepository; | ||
import ch.wisv.repository.EducationFeedbackRepository; | ||
import ch.wisv.repository.InstructorRepository; | ||
import com.google.common.collect.ImmutableList; | ||
import org.springframework.beans.factory.annotation.Autowired; | ||
import org.springframework.boot.CommandLineRunner; | ||
import org.springframework.context.annotation.Profile; | ||
import org.springframework.stereotype.Component; | ||
|
||
import java.util.Collections; | ||
|
||
@Component | ||
@Profile("dev") | ||
public class TestDataRunner implements CommandLineRunner { | ||
|
@@ -46,15 +47,14 @@ public TestDataRunner( | |
* Callback used to run the bean. | ||
* | ||
* @param args incoming main method arguments | ||
* | ||
* @throws Exception on error | ||
*/ | ||
@Override | ||
public void run(String... args) throws Exception { | ||
Instructor instructor = new Instructor("Prof. T Esting", "[email protected]"); | ||
instructorRepository.save(instructor); | ||
|
||
Course course = new Course("TI1206", "Test course", ImmutableList.of(instructor), ProgramEnum.BScTI); | ||
Course course = new Course("TI1206", "Test course", Collections.singletonList(instructor), ProgramEnum.BScTI); | ||
courseRepository.save(course); | ||
|
||
EducationFeedback educationFeedback = new EducationFeedback( | ||
|
130 changes: 0 additions & 130 deletions
130
src/main/java/ch/wisv/config/CHConnectConfiguration.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.