Set up basic configurations

This commit is contained in:
Dark-Alex-17 committed 2019-02-03 21:11:34 -07:00
1 parent fc36fa994e
commit 6980708288
15 files changed
+43 -41

No files matched your search

@@ -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 {
}