fix: 파일 업로드 경로 운영서버에 맞춰서 수정
This commit is contained in:
parent
9bbc46402f
commit
ca8c239e8b
@ -55,7 +55,7 @@ qsp:
|
|||||||
estimate-sync-batch-url: /api/order/qcastQuotationSave
|
estimate-sync-batch-url: /api/order/qcastQuotationSave
|
||||||
#File
|
#File
|
||||||
file:
|
file:
|
||||||
root.path: C:\\
|
root.path: /home/development/public/files
|
||||||
ini.root.path: C:\\NewEstimate
|
ini.root.path: /home/development/public/files/NewEstimate
|
||||||
ini.base.filename: 料金シミュレーション.ini
|
ini.base.filename: 料金シミュレーション.ini
|
||||||
ini.drawing.img.path: C:\\NewEstimate\Drawing
|
ini.drawing.img.path: /home/development/public/files/NewEstimate/Drawing
|
||||||
@ -55,7 +55,7 @@ qsp:
|
|||||||
estimate-sync-batch-url: /api/order/qcastQuotationSave
|
estimate-sync-batch-url: /api/order/qcastQuotationSave
|
||||||
#File
|
#File
|
||||||
file:
|
file:
|
||||||
root.path: C:\\
|
root.path: /home/production/public/files
|
||||||
ini.root.path: \\10.31.0.21\NewEstimate
|
ini.root.path: /home/production/public/files/NewEstimate
|
||||||
ini.base.filename: 料金シミュレーション.ini
|
ini.base.filename: 料金シミュレーション.ini
|
||||||
ini.drawing.img.path: \\10.31.0.21\NewEstimate\Drawing
|
ini.drawing.img.path: /home/production/public/files/NewEstimate/Drawing
|
||||||
@ -10,7 +10,7 @@ spring:
|
|||||||
main:
|
main:
|
||||||
allow-circular-references: true
|
allow-circular-references: true
|
||||||
profiles:
|
profiles:
|
||||||
active: local
|
# active: local
|
||||||
scheduler: Y
|
scheduler: Y
|
||||||
datasource:
|
datasource:
|
||||||
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
|
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
|
||||||
@ -61,6 +61,12 @@ management:
|
|||||||
health:
|
health:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
file:
|
||||||
|
root.path: /home/development/public/files
|
||||||
|
ini.root.path: /home/development/public/files/NewEstimate
|
||||||
|
ini.base.filename: 料金シミュレーション.ini
|
||||||
|
ini.drawing.img.path: /home/development/public/files/NewEstimate/Drawing
|
||||||
|
|
||||||
# log
|
# log
|
||||||
logging:
|
logging:
|
||||||
config: classpath:logback/logback-${spring.profiles.active:local}.xml
|
config: classpath:logback/logback-${spring.profiles.active:local}.xml
|
||||||
@ -68,3 +74,4 @@ logging:
|
|||||||
springdoc:
|
springdoc:
|
||||||
swagger-ui:
|
swagger-ui:
|
||||||
operations-sorter: alpha
|
operations-sorter: alpha
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
xsi:noNamespaceSchemaLocation="http://www.padual.com/java/logback.xsd">
|
xsi:noNamespaceSchemaLocation="http://www.padual.com/java/logback.xsd">
|
||||||
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
|
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
|
||||||
<springProperty scope="context" name="ACTIVE_PROFILE" source="spring.profiles.active"/>
|
<springProperty scope="context" name="ACTIVE_PROFILE" source="spring.profiles.active"/>
|
||||||
<property name="LOG_HOME" value="c:/qcast3/logs/api/"/>
|
<property name="LOG_HOME" value="qcast3/logs/api/"/>
|
||||||
<property name="LOG_FILE" value="${LOG_HOME}${ACTIVE_PROFILE}.qcast.api"/>
|
<property name="LOG_FILE" value="${LOG_HOME}${ACTIVE_PROFILE}.qcast.api"/>
|
||||||
<property name="LOG_FILE_EXT" value=".log"/>
|
<property name="LOG_FILE_EXT" value=".log"/>
|
||||||
|
|
||||||
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
<root level="warn">
|
<root level="warn">
|
||||||
<appender-ref ref="CONSOLE"/>
|
<appender-ref ref="CONSOLE"/>
|
||||||
<appender-ref ref="FILE" />
|
<appender-ref ref="FILE"/>
|
||||||
</root>
|
</root>
|
||||||
|
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -3,7 +3,7 @@
|
|||||||
xsi:noNamespaceSchemaLocation="http://www.padual.com/java/logback.xsd">
|
xsi:noNamespaceSchemaLocation="http://www.padual.com/java/logback.xsd">
|
||||||
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
|
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
|
||||||
<springProperty scope="context" name="ACTIVE_PROFILE" source="spring.profiles.active"/>
|
<springProperty scope="context" name="ACTIVE_PROFILE" source="spring.profiles.active"/>
|
||||||
<property name="LOG_HOME" value="c:/qcast3/logs/api/"/>
|
<property name="LOG_HOME" value="qcast3/logs/api/"/>
|
||||||
<property name="LOG_FILE" value="${LOG_HOME}${ACTIVE_PROFILE}.qcast.api"/>
|
<property name="LOG_FILE" value="${LOG_HOME}${ACTIVE_PROFILE}.qcast.api"/>
|
||||||
<property name="LOG_FILE_EXT" value=".log"/>
|
<property name="LOG_FILE_EXT" value=".log"/>
|
||||||
|
|
||||||
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
<root level="warn">
|
<root level="warn">
|
||||||
<appender-ref ref="CONSOLE"/>
|
<appender-ref ref="CONSOLE"/>
|
||||||
<appender-ref ref="FILE" />
|
<appender-ref ref="FILE"/>
|
||||||
</root>
|
</root>
|
||||||
|
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -1,11 +0,0 @@
|
|||||||
package com.interplug.qcast;
|
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test;
|
|
||||||
import org.springframework.boot.test.context.SpringBootTest;
|
|
||||||
|
|
||||||
@SpringBootTest
|
|
||||||
class QCastApplicationTests {
|
|
||||||
|
|
||||||
@Test
|
|
||||||
void contextLoads() {}
|
|
||||||
}
|
|
||||||
@ -1,25 +0,0 @@
|
|||||||
package com.interplug.qcast.biz.commCode;
|
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.*;
|
|
||||||
|
|
||||||
import com.interplug.qcast.biz.commCode.dto.CommCodeRes;
|
|
||||||
import java.util.List;
|
|
||||||
import org.junit.jupiter.api.Test;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.boot.test.context.SpringBootTest;
|
|
||||||
|
|
||||||
@SpringBootTest
|
|
||||||
class CommCodeServiceTest {
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private CommCodeService commCodeService;
|
|
||||||
|
|
||||||
@Test
|
|
||||||
void selectQcastCommCode() {
|
|
||||||
//given
|
|
||||||
List<CommCodeRes> result = commCodeService.selectQcastCommCode();
|
|
||||||
//when
|
|
||||||
//then
|
|
||||||
assertNotNull(result);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,15 +0,0 @@
|
|||||||
package com.interplug.qcast.config.jasypt;
|
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.*;
|
|
||||||
|
|
||||||
import lombok.extern.slf4j.Slf4j;
|
|
||||||
import org.junit.jupiter.api.Test;
|
|
||||||
|
|
||||||
@Slf4j
|
|
||||||
class JasyptConfigTest {
|
|
||||||
@Test
|
|
||||||
void test() {
|
|
||||||
// log.info(JasyptConfig.encrypt("qcast1234!"));
|
|
||||||
log.info(JasyptConfig.encrypt("7Sf6@BDl@PSW"));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user