Set up basic configurations

This commit is contained in:
2019-02-03 21:11:34 -07:00
parent fc36fa994e
commit 6980708288
15 changed files with 43 additions and 41 deletions
@@ -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 {
@@ -1,6 +1,8 @@
package edu.msudenver.tsp.services.parser;
//@Service
import org.springframework.stereotype.Service;
@Service
class ParserService {
}
@@ -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();
}
@@ -1,6 +1,8 @@
package edu.msudenver.tsp.services.scoring;
//@Service
import org.springframework.stereotype.Service;
@Service
class TheoremScoringService {
}