Set up basic configurations
This commit is contained in:
+5
-2
@@ -1,7 +1,10 @@
|
||||
package edu.msudenver.tsp.services.parser;
|
||||
|
||||
//@Configuration
|
||||
//@ComponentScan
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
@ComponentScan
|
||||
//@PropertySource("classpath:development.properties")
|
||||
public class ParserConfig {
|
||||
|
||||
|
||||
+3
-1
@@ -1,6 +1,8 @@
|
||||
package edu.msudenver.tsp.services.parser;
|
||||
|
||||
//@Service
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
class ParserService {
|
||||
|
||||
}
|
||||
|
||||
+7
-3
@@ -1,11 +1,15 @@
|
||||
package edu.msudenver.tsp.services.scoring;
|
||||
|
||||
//@Configuration
|
||||
//@ComponentScan
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
@ComponentScan
|
||||
//@PropertySource("classpath:development.properties")
|
||||
public class ScoringConfig {
|
||||
|
||||
// @Bean
|
||||
@Bean
|
||||
public TheoremScoringService theoremScoringService() {
|
||||
return new TheoremScoringService();
|
||||
}
|
||||
|
||||
+3
-1
@@ -1,6 +1,8 @@
|
||||
package edu.msudenver.tsp.services.scoring;
|
||||
|
||||
//@Service
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
class TheoremScoringService {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user