-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #240 from JakduK/batch
Batch
- Loading branch information
Showing
14 changed files
with
105 additions
and
38 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
api/src/main/java/com/jakduk/api/common/annotation/SecuredRoleUser.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.jakduk.api.common.annotation; | ||
|
||
import org.springframework.security.access.annotation.Secured; | ||
|
||
import java.lang.annotation.*; | ||
|
||
/** | ||
* Created by pyohwanjang on 2017. 5. 14.. | ||
*/ | ||
|
||
@Target({ ElementType.METHOD, ElementType.TYPE }) | ||
@Retention(RetentionPolicy.RUNTIME) | ||
@Inherited | ||
@Documented | ||
@Secured({"ROLE_USER_01", "ROLE_USER_02", "ROLE_USER_03"}) | ||
public @interface SecuredRoleUser { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
description = 'batch' | ||
|
||
configurations { | ||
all*.exclude group:'javax.persistence' | ||
} | ||
|
||
dependencies { | ||
compile project(':core') | ||
|
||
compile('org.springframework.boot:spring-boot-starter-batch') { | ||
exclude group:'org.apache.tomcat', module:'tomcat-jdbc' | ||
// exclude group:'org.springframework', module:'spring-jdbc' | ||
} | ||
compile('org.springframework.boot:spring-boot-starter-batch') | ||
|
||
compile 'org.mariadb.jdbc:mariadb-java-client:1.5.9' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
spring.profiles.include=core-default | ||
|
||
logging.level.root=DEBUG | ||
logging.level.root=DEBUG | ||
|
||
spring.datasource.url=jdbc:mariadb://192.168.35.149:3306/JAKDUK_BATCH_DEV | ||
spring.datasource.username=root | ||
spring.datasource.password=jakduk584 | ||
spring.batch.initializer.enabled=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
spring.profiles.include=core-production | ||
|
||
logging.level.root=DEBUG | ||
logging.level.root=DEBUG | ||
|
||
spring.datasource.url=jdbc:mariadb://192.168.35.149:3306/JAKDUK_BATCH_PRD | ||
spring.datasource.username=root | ||
spring.datasource.password=jakduk584 | ||
spring.batch.initializer.enabled=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
spring.profiles.include=core-staging | ||
|
||
logging.level.root=DEBUG | ||
logging.level.root=DEBUG | ||
|
||
spring.datasource.url=jdbc:mariadb://192.168.35.149:3306/JAKDUK_BATCH_DEV | ||
spring.datasource.username=root | ||
spring.datasource.password=jakduk584 | ||
spring.batch.initializer.enabled=false |
10 changes: 0 additions & 10 deletions
10
core/src/main/java/com/jakduk/core/exception/DuplicateDataException.java
This file was deleted.
Oops, something went wrong.