fix: 파일 업로드 경로 운영서버에 맞춰서 수정

This commit is contained in:
yoosangwook 2025-03-07 17:15:44 +09:00
parent 9bbc46402f
commit ca8c239e8b
8 changed files with 18 additions and 62 deletions

View File

@ -55,7 +55,7 @@ qsp:
estimate-sync-batch-url: /api/order/qcastQuotationSave
#File
file:
root.path: C:\\
ini.root.path: C:\\NewEstimate
root.path: /home/development/public/files
ini.root.path: /home/development/public/files/NewEstimate
ini.base.filename: 料金シミュレーション.ini
ini.drawing.img.path: C:\\NewEstimate\Drawing
ini.drawing.img.path: /home/development/public/files/NewEstimate/Drawing

View File

@ -55,7 +55,7 @@ qsp:
estimate-sync-batch-url: /api/order/qcastQuotationSave
#File
file:
root.path: C:\\
ini.root.path: \\10.31.0.21\NewEstimate
root.path: /home/production/public/files
ini.root.path: /home/production/public/files/NewEstimate
ini.base.filename: 料金シミュレーション.ini
ini.drawing.img.path: \\10.31.0.21\NewEstimate\Drawing
ini.drawing.img.path: /home/production/public/files/NewEstimate/Drawing

View File

@ -10,7 +10,7 @@ spring:
main:
allow-circular-references: true
profiles:
active: local
# active: local
scheduler: Y
datasource:
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
@ -61,6 +61,12 @@ management:
health:
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
logging:
config: classpath:logback/logback-${spring.profiles.active:local}.xml
@ -68,3 +74,4 @@ logging:
springdoc:
swagger-ui:
operations-sorter: alpha

View File

@ -3,7 +3,7 @@
xsi:noNamespaceSchemaLocation="http://www.padual.com/java/logback.xsd">
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
<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_EXT" value=".log"/>
@ -33,7 +33,7 @@
<root level="warn">
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE" />
<appender-ref ref="FILE"/>
</root>
</configuration>

View File

@ -3,7 +3,7 @@
xsi:noNamespaceSchemaLocation="http://www.padual.com/java/logback.xsd">
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
<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_EXT" value=".log"/>
@ -33,7 +33,7 @@
<root level="warn">
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE" />
<appender-ref ref="FILE"/>
</root>
</configuration>

View File

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

View File

@ -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);
}
}

View File

@ -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"));
}
}