스케줄러로 변경
This commit is contained in:
@@ -90,10 +90,8 @@ public class StreamingShapefileWriter implements ItemStreamWriter<SimpleFeature>
|
||||
// StepExecutionContext에서 geometry type 읽기
|
||||
String geomTypeStr = stepExecution.getExecutionContext().getString("geometryType");
|
||||
|
||||
if (geomTypeStr != null) {
|
||||
this.geometryType = featureTypeFactory.parseGeometryType(geomTypeStr);
|
||||
log.info("Geometry type from validation: {}", geometryType.getSimpleName());
|
||||
}
|
||||
this.geometryType = featureTypeFactory.parseGeometryType(geomTypeStr);
|
||||
log.info("Geometry type from validation: {}", geometryType.getSimpleName());
|
||||
|
||||
// 출력 디렉토리 생성
|
||||
try {
|
||||
|
||||
@@ -10,12 +10,6 @@ spring:
|
||||
idle-timeout: 600000
|
||||
max-lifetime: 1800000
|
||||
|
||||
application:
|
||||
name: make-shapefile-service
|
||||
|
||||
main:
|
||||
web-application-type: none # Disable web server for CLI application
|
||||
|
||||
converter:
|
||||
inference-id: D5E46F60FC40B1A8BE0CD1F3547AA6
|
||||
# Optional: omit or set empty to create merged shapefile for all batch-ids
|
||||
@@ -24,8 +18,7 @@ converter:
|
||||
- 252
|
||||
- 253
|
||||
- 257
|
||||
output-base-dir: '/kamco-nfs/model_output/export/'
|
||||
#output-base-dir: '/Users/bokmin/export/'
|
||||
output-base-dir: '/Users/d-pn-0105/dev/kamco-cd/kamco-cd-cron/shp-exporter/export/'
|
||||
crs: 'EPSG:5186'
|
||||
|
||||
geoserver:
|
||||
@@ -46,7 +39,3 @@ logging:
|
||||
org.springframework: WARN
|
||||
pattern:
|
||||
console: '%d{yyyy-MM-dd HH:mm:ss} - %msg%n'
|
||||
|
||||
layer:
|
||||
geoserver-url: http://label-tile.gs.dabeeo.com
|
||||
workspace: cd
|
||||
|
||||
Reference in New Issue
Block a user