Compare commits
21 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e34fa87214 | ||
|
|
796f20b604 | ||
|
|
10b826fb38 | ||
|
|
c13bbd7e2d | ||
|
|
a75cfef5ba | ||
|
|
fee1ff461c | ||
|
|
d8d0608606 | ||
|
|
0c7657ac9c | ||
|
|
40cf536861 | ||
|
|
e4ea1be68f | ||
|
|
efa7954d7f | ||
|
|
e6f07e3663 | ||
|
|
2beda0b881 | ||
|
|
dc77dfd5f0 | ||
|
|
88db1cc9f5 | ||
|
|
1e8ea795d8 | ||
|
|
9b4ba72134 | ||
|
|
9b98beb95a | ||
|
|
5b4771b0c7 | ||
|
|
c6b6e614b0 | ||
|
|
aeabfd4af1 |
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -11,7 +11,7 @@ pipeline {
|
|||||||
|
|
||||||
// 앱 정보
|
// 앱 정보
|
||||||
APP_NAME = 'gcone_batch'
|
APP_NAME = 'gcone_batch'
|
||||||
TOMCAT_HOME = '/usr/local/tomcat'
|
TOMCAT_HOME = '/usr/local/tomcat_dev'
|
||||||
DEPLOY_PATH = "${TOMCAT_HOME}/webapps"
|
DEPLOY_PATH = "${TOMCAT_HOME}/webapps"
|
||||||
BACKUP_PATH = "${TOMCAT_HOME}/backup"
|
BACKUP_PATH = "${TOMCAT_HOME}/backup"
|
||||||
DEPLOY_FILE = "${TOMCAT_HOME}/webapps/${APP_NAME}.war"
|
DEPLOY_FILE = "${TOMCAT_HOME}/webapps/${APP_NAME}.war"
|
||||||
@@ -24,7 +24,7 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
steps {
|
steps {
|
||||||
git branch: 'master',
|
git branch: 'dev',
|
||||||
credentialsId: 'itfirst',
|
credentialsId: 'itfirst',
|
||||||
url: 'http://115.68.207.90:3000/itfirst/sake_batch.git'
|
url: 'http://115.68.207.90:3000/itfirst/sake_batch.git'
|
||||||
}
|
}
|
||||||
@@ -90,7 +90,7 @@ pipeline {
|
|||||||
|
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
echo '✅ sake_batch 운영 배포 완료'
|
echo '✅ sake_batch 개발 배포 완료'
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
@@ -112,7 +112,7 @@ pipeline {
|
|||||||
fi
|
fi
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
echo '❌ 운영 배포 실패 - 롤백 처리됨'
|
echo '❌ 게빌 배포 실패 - 롤백 처리됨'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -320,7 +320,6 @@ public class AciDlivyTasklet implements Tasklet {
|
|||||||
orderLogMap.put("logDtlCn", "[ACI 배치] 배치 출고처리 완료");
|
orderLogMap.put("logDtlCn", "[ACI 배치] 배치 출고처리 완료");
|
||||||
orderLogMap.put("aditInfoCn", null);
|
orderLogMap.put("aditInfoCn", null);
|
||||||
orderLogMap.put("dlivyInnb", orderVO.getDlivyInnb());
|
orderLogMap.put("dlivyInnb", orderVO.getDlivyInnb());
|
||||||
orderLogMap.put("dlivyCdNb", dlivyCdNb);
|
|
||||||
orderLogMap.put("refundCdNb", null);
|
orderLogMap.put("refundCdNb", null);
|
||||||
orderLogMap.put("logDvCd", "01");
|
orderLogMap.put("logDvCd", "01");
|
||||||
orderLogMap.put("dvCd", "BATCH");
|
orderLogMap.put("dvCd", "BATCH");
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
package com.wb.domainserver.acidlivy.vo;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
import lombok.ToString;
|
|
||||||
|
|
||||||
// ACI API 응답에서 필요한 Data 항목 (BLNO, OverseaSellerNo)
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@ToString
|
|
||||||
public class AciDlivyVO {
|
|
||||||
private String blno; // ACI 운송장번호
|
|
||||||
private String overseaSellerNo; // 해외판매자 고유번호 (= ORDR_DLVY_INNB)
|
|
||||||
}
|
|
||||||
@@ -30,8 +30,7 @@ import java.util.List;
|
|||||||
@EnableTransactionManagement
|
@EnableTransactionManagement
|
||||||
@MapperScan(
|
@MapperScan(
|
||||||
basePackages = {
|
basePackages = {
|
||||||
"com.wb.domainserver.mapper.gcone",
|
"com.wb.domainserver.mapper.gcone"
|
||||||
"com.wb.domainserver.acidlivy.tasklet"
|
|
||||||
},
|
},
|
||||||
sqlSessionFactoryRef = "gconeSqlSessionFactory"
|
sqlSessionFactoryRef = "gconeSqlSessionFactory"
|
||||||
)
|
)
|
||||||
@@ -60,7 +59,6 @@ public class GconeSourceConfig {
|
|||||||
PathMatchingResourcePatternResolver resolver = new PathMatchingResourcePatternResolver();
|
PathMatchingResourcePatternResolver resolver = new PathMatchingResourcePatternResolver();
|
||||||
List<Resource> mapperLocations = new ArrayList<>();
|
List<Resource> mapperLocations = new ArrayList<>();
|
||||||
mapperLocations.addAll(Arrays.asList(resolver.getResources("classpath*:mybatis/xml/mapper/gcone/**/*.xml")));
|
mapperLocations.addAll(Arrays.asList(resolver.getResources("classpath*:mybatis/xml/mapper/gcone/**/*.xml")));
|
||||||
mapperLocations.addAll(Arrays.asList(resolver.getResources("classpath*:mybatis/xml/mapper/acidlivy/**/*.xml")));
|
|
||||||
sessionFactory.setMapperLocations(mapperLocations.toArray(new Resource[0]));
|
sessionFactory.setMapperLocations(mapperLocations.toArray(new Resource[0]));
|
||||||
|
|
||||||
sessionFactory.setConfigLocation(new PathMatchingResourcePatternResolver().getResource("classpath:mybatis/xml/config/mapper-config.xml"));
|
sessionFactory.setConfigLocation(new PathMatchingResourcePatternResolver().getResource("classpath:mybatis/xml/config/mapper-config.xml"));
|
||||||
|
|||||||
@@ -1,6 +1,13 @@
|
|||||||
server:
|
server:
|
||||||
port: 18210
|
port: 18210
|
||||||
|
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
|
security:
|
||||||
|
oauth2:
|
||||||
|
resourceserver:
|
||||||
|
jwt:
|
||||||
|
issuer-uri: http://172.31.21.12:18320/realms/ADMIN
|
||||||
main:
|
main:
|
||||||
allow-bean-definition-overriding: true
|
allow-bean-definition-overriding: true
|
||||||
datasource:
|
datasource:
|
||||||
@@ -14,37 +21,112 @@ spring:
|
|||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
username: sakeone
|
username: sakeone
|
||||||
password: dnlfxjtm13@$
|
password: dnlfxjtm13@$
|
||||||
|
crmdatasource:
|
||||||
|
jdbc-url: jdbc:mysql://10.2.1.101:3306/sake?useSSL=false&useUnicode=true&serverTimezone=Asia/Seoul&autoReconnect=true&allowMultiQueries=true&characterEncoding=UTF-8&allowPublicKeyRetrieval=false&verifyServerCertificate=false
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
username: sakeone
|
||||||
|
password: dnlfxjtm13@$
|
||||||
|
mqdatasource:
|
||||||
|
jdbc-url: jdbc:mysql://10.2.1.101:3306/sake?useSSL=false&useUnicode=true&serverTimezone=Asia/Seoul&autoReconnect=true&allowMultiQueries=true&characterEncoding=UTF-8&allowPublicKeyRetrieval=false&verifyServerCertificate=false
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
username: sakeone
|
||||||
|
password: dnlfxjtm13@$
|
||||||
|
suredatasource:
|
||||||
|
jdbc-url: jdbc:mysql://10.2.1.101:3306/sake?useSSL=false&useUnicode=true&serverTimezone=Asia/Seoul&autoReconnect=true&allowMultiQueries=true&characterEncoding=UTF-8&allowPublicKeyRetrieval=false&verifyServerCertificate=false
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
username: sakeone
|
||||||
|
password: dnlfxjtm13@$
|
||||||
batch:
|
batch:
|
||||||
jdbc:
|
|
||||||
initialize-schema: never
|
|
||||||
job:
|
job:
|
||||||
enabled: false
|
enabled: true
|
||||||
mybatis:
|
mybatis:
|
||||||
mapper-locations: classpath*:mybatis/xml/mapper/**/*.xml
|
mapper-locations: classpath*:mybatis/xml/mapper/**/*.xml
|
||||||
config-location: classpath:/mybatis/xml/config/mapper-config.xml
|
config-location: classpath:/mybatis/xml/config/mapper-config.xml
|
||||||
|
|
||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
org.springframework.web: info
|
org.springframework.web: debug
|
||||||
org.springframework.security: info
|
org.springframework.security: debug
|
||||||
com.wb.domainserver: info
|
org.springframework.security.oauth2: debug
|
||||||
|
com.wb.domainserver: debug
|
||||||
root: info
|
root: info
|
||||||
|
|
||||||
|
#Resource-server-url
|
||||||
url:
|
url:
|
||||||
resource:
|
resource:
|
||||||
server:
|
server:
|
||||||
gconebo: http://10.2.2.148:18500
|
gconebo: http://10.2.2.148:18500 #내부망 ip
|
||||||
reviewbo: http://127.0.0.1:18220
|
reviewbo: http://127.0.0.1:18220
|
||||||
|
|
||||||
|
pagination:
|
||||||
|
page-unit: 10
|
||||||
|
page-size: 10
|
||||||
|
|
||||||
|
|
||||||
|
# 스윗트래커 url, api key
|
||||||
|
parcel:
|
||||||
|
trackApiUrl: https://info.sweettracker.co.kr
|
||||||
|
trackApiKey: R0sYxkD9vCxSXPKpStOY2w
|
||||||
|
|
||||||
|
smartstore:
|
||||||
|
sopmal:
|
||||||
|
stores:
|
||||||
|
#참다한홍삼
|
||||||
|
CH:
|
||||||
|
clientId: 48f8YgF04wTnge6taw9bsM
|
||||||
|
clientSecret: $2a$04$9Lfn5as5Vv/ZW5PAoKBBr.
|
||||||
|
|
||||||
|
#스마트 스토어 api url
|
||||||
|
smartstoreurl:
|
||||||
|
tokenurl: https://api.commerce.naver.com/external/v1/oauth2/token
|
||||||
|
orderlisturl: https://api.commerce.naver.com/external/v1/pay-order/seller/product-orders/last-changed-statuses
|
||||||
|
orderdetailurl : https://api.commerce.naver.com/external/v1/pay-order/seller/product-orders/query
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#슈어엠 법인별 정보
|
||||||
|
surem:
|
||||||
|
sopmal:
|
||||||
|
#참다한홍삼
|
||||||
|
CH:
|
||||||
|
code: GC
|
||||||
|
data: (주)지씨바이오
|
||||||
|
erpcode: 01
|
||||||
|
userid: gcbio02
|
||||||
|
deptcode: KT-26E-ZS
|
||||||
|
yellowkey: cd51453ccf40ef714cadd5a7dd0506cd7340a986
|
||||||
|
|
||||||
|
#GC EP 파일 저장 경로
|
||||||
|
ep:
|
||||||
|
common:
|
||||||
|
fileupload:
|
||||||
|
uploaddirs:
|
||||||
|
path: /data/gcone/otrFile
|
||||||
|
naver: naver_third
|
||||||
|
google: googleEpXmlData
|
||||||
|
meta: metaEpXmlData
|
||||||
|
mobion: mobionEpXmlData
|
||||||
|
extensions:
|
||||||
|
xml: .xml
|
||||||
|
txt: .txt
|
||||||
|
cdnurl: https://img.gcone.co.kr
|
||||||
|
|
||||||
secret:
|
secret:
|
||||||
key: 1df5be2f7e90ae36
|
key: 1df5be2f7e90ae36
|
||||||
|
|
||||||
mail:
|
mail:
|
||||||
host: 10.2.1.76
|
host: 10.2.1.76
|
||||||
port: 25
|
port: 25
|
||||||
|
|
||||||
acikey:
|
# SyncPos 요청경로
|
||||||
url: https://acieshop.com/api/kr/token/
|
pos:
|
||||||
userid: UNIHAN
|
syncpos:
|
||||||
apikey: DC94F29AFD5399F54AAE7FAA46045B65
|
url: https://smart.easypos.net
|
||||||
aci:
|
uri: /servlet/EasyPosChannelSVL?cmd=TlxSyncHanamCMD
|
||||||
dlivy:
|
|
||||||
api-url: https://acieshop.com/api/kr/delivery/v1.5/detail/index.php
|
#kakao REST-API key (뉴트리코어 키)
|
||||||
pod:
|
kakao:
|
||||||
api-url: https://acieshop.com/api/kr/pod/v1.5/
|
restApi-key: "2d1fa2155bc36878a45c65e45e23a990"
|
||||||
|
|
||||||
|
#선물하기 URL
|
||||||
|
presenturl : svc.gcone.co.kr
|
||||||
Reference in New Issue
Block a user