Skip to content

Commit

Permalink
JUnit 수정 및 multipart temp 디렉토리 디폴트 설정으로 변경.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyohwan committed Jan 1, 2017
1 parent 67d7031 commit 94d868b
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions api/src/main/resources/application-default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ spring.profiles.include=core-default
logging.level.root=DEBUG
logging.level.org.mongodb.driver.cluster=INFO

spring.http.multipart.location=/home/pyohwan/temp

# JAKDUK-API Server Information
api.server.url = http://localhost:8080

Expand Down
2 changes: 0 additions & 2 deletions api/src/main/resources/application-production.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ logging.file=/jakduk/api/logs/api.log
logging.level.root=WARN
logging.level.org.mongodb.driver.cluster=INFO

spring.http.multipart.location=/jakduk/temp

# JAKDUK-API Server Information
api.server.url = https://api.jakduk.com

Expand Down
2 changes: 0 additions & 2 deletions api/src/main/resources/application-staging.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ logging.file=/jakduk/api/logs/api.log
logging.level.root=DEBUG
logging.level.org.mongodb.driver.cluster=INFO

spring.http.multipart.location=/jakduk/temp

# JAKDUK-API Server Information
api.server.url = https://staging.jakduk.com:8080

Expand Down
1 change: 0 additions & 1 deletion api/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
spring.http.multipart.enabled=true
spring.http.multipart.max-file-size=8MB
spring.http.multipart.max-request-size=8MB
spring.http.multipart.location=/tmp/jakduk

# view resolver
spring.mvc.view.prefix=/WEB-INF/views/
Expand Down
4 changes: 0 additions & 4 deletions api/src/test/java/com/jakduk/api/common/CommonTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,13 @@ public class CommonTest extends AbstractSpringTest {
@Autowired
CommonService commonService;

@Value("${storage.temp.path}")
private String storageTempPath;

@Autowired
private Environment environment;

private PasswordEncoder passwordEncoder = new StandardPasswordEncoder();

@Test
public void environmentTest() {
System.out.println(storageTempPath);
System.out.println(environment.getProperty("mongo.db.name"));
}

Expand Down

0 comments on commit 94d868b

Please sign in to comment.