Refactored sample data generation into its own package.
This commit is contained in:
parent
433702f437
commit
5aa2f1a215
|
@ -4,7 +4,7 @@ import nl.andrewlalis.teaching_assistant_assistant.model.Course;
|
|||
import nl.andrewlalis.teaching_assistant_assistant.model.repositories.CourseRepository;
|
||||
import nl.andrewlalis.teaching_assistant_assistant.model.repositories.PersonRepository;
|
||||
import nl.andrewlalis.teaching_assistant_assistant.model.repositories.TeamRepository;
|
||||
import nl.andrewlalis.teaching_assistant_assistant.util.CourseGenerator;
|
||||
import nl.andrewlalis.teaching_assistant_assistant.util.sample_data.CourseGenerator;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.CommandLineRunner;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package nl.andrewlalis.teaching_assistant_assistant.util;
|
||||
package nl.andrewlalis.teaching_assistant_assistant.util.sample_data;
|
||||
|
||||
import nl.andrewlalis.teaching_assistant_assistant.model.Course;
|
||||
import nl.andrewlalis.teaching_assistant_assistant.model.people.Student;
|
|
@ -1,4 +1,4 @@
|
|||
package nl.andrewlalis.teaching_assistant_assistant.util;
|
||||
package nl.andrewlalis.teaching_assistant_assistant.util.sample_data;
|
||||
|
||||
import nl.andrewlalis.teaching_assistant_assistant.model.people.Person;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package nl.andrewlalis.teaching_assistant_assistant.util;
|
||||
package nl.andrewlalis.teaching_assistant_assistant.util.sample_data;
|
||||
|
||||
import nl.andrewlalis.teaching_assistant_assistant.model.people.Student;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package nl.andrewlalis.teaching_assistant_assistant.util;
|
||||
package nl.andrewlalis.teaching_assistant_assistant.util.sample_data;
|
||||
|
||||
import nl.andrewlalis.teaching_assistant_assistant.model.people.Student;
|
||||
import nl.andrewlalis.teaching_assistant_assistant.model.people.teams.StudentTeam;
|
|
@ -1,4 +1,4 @@
|
|||
package nl.andrewlalis.teaching_assistant_assistant.util;
|
||||
package nl.andrewlalis.teaching_assistant_assistant.util.sample_data;
|
||||
|
||||
import nl.andrewlalis.teaching_assistant_assistant.model.people.TeachingAssistant;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package nl.andrewlalis.teaching_assistant_assistant.util;
|
||||
package nl.andrewlalis.teaching_assistant_assistant.util.sample_data;
|
||||
|
||||
import nl.andrewlalis.teaching_assistant_assistant.model.people.TeachingAssistant;
|
||||
import nl.andrewlalis.teaching_assistant_assistant.model.people.teams.TeachingAssistantTeam;
|
|
@ -1,4 +1,4 @@
|
|||
package nl.andrewlalis.teaching_assistant_assistant.util;
|
||||
package nl.andrewlalis.teaching_assistant_assistant.util.sample_data;
|
||||
|
||||
import nl.andrewlalis.teaching_assistant_assistant.model.people.Person;
|
||||
import nl.andrewlalis.teaching_assistant_assistant.model.people.teams.Team;
|
|
@ -1,4 +1,4 @@
|
|||
package nl.andrewlalis.teaching_assistant_assistant.util;
|
||||
package nl.andrewlalis.teaching_assistant_assistant.util.sample_data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
|
@ -5,3 +5,6 @@ spring.jpa.hibernate.ddl-auto=create
|
|||
#spring.jpa.properties.hibernate.use_sql_comments=true
|
||||
#spring.jpa.properties.hibernate.format_sql=true
|
||||
#spring.jpa.properties.hibernate.type=trace
|
||||
|
||||
spring.security.user.name=tester
|
||||
spring.security.user.password=tester
|
||||
|
|
Loading…
Reference in New Issue