state-check 스케줄 추가, pnu-update 수정
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,39 @@
|
||||
package com.kamco.cd.kamcoback.postgres.entity;
|
||||
|
||||
import static com.querydsl.core.types.PathMetadataFactory.*;
|
||||
|
||||
import com.querydsl.core.types.dsl.*;
|
||||
|
||||
import com.querydsl.core.types.PathMetadata;
|
||||
import javax.annotation.processing.Generated;
|
||||
import com.querydsl.core.types.Path;
|
||||
|
||||
|
||||
/**
|
||||
* QCommonDateEntity is a Querydsl query type for CommonDateEntity
|
||||
*/
|
||||
@Generated("com.querydsl.codegen.DefaultSupertypeSerializer")
|
||||
public class QCommonDateEntity extends EntityPathBase<CommonDateEntity> {
|
||||
|
||||
private static final long serialVersionUID = 1355779051L;
|
||||
|
||||
public static final QCommonDateEntity commonDateEntity = new QCommonDateEntity("commonDateEntity");
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> createdDate = createDateTime("createdDate", java.time.ZonedDateTime.class);
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> modifiedDate = createDateTime("modifiedDate", java.time.ZonedDateTime.class);
|
||||
|
||||
public QCommonDateEntity(String variable) {
|
||||
super(CommonDateEntity.class, forVariable(variable));
|
||||
}
|
||||
|
||||
public QCommonDateEntity(Path<? extends CommonDateEntity> path) {
|
||||
super(path.getType(), path.getMetadata());
|
||||
}
|
||||
|
||||
public QCommonDateEntity(PathMetadata metadata) {
|
||||
super(CommonDateEntity.class, metadata);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
package com.kamco.cd.kamcoback.postgres.entity;
|
||||
|
||||
import static com.querydsl.core.types.PathMetadataFactory.*;
|
||||
|
||||
import com.querydsl.core.types.dsl.*;
|
||||
|
||||
import com.querydsl.core.types.PathMetadata;
|
||||
import javax.annotation.processing.Generated;
|
||||
import com.querydsl.core.types.Path;
|
||||
|
||||
|
||||
/**
|
||||
* QLabelingAssignmentEntity is a Querydsl query type for LabelingAssignmentEntity
|
||||
*/
|
||||
@Generated("com.querydsl.codegen.DefaultEntitySerializer")
|
||||
public class QLabelingAssignmentEntity extends EntityPathBase<LabelingAssignmentEntity> {
|
||||
|
||||
private static final long serialVersionUID = -1647165171L;
|
||||
|
||||
public static final QLabelingAssignmentEntity labelingAssignmentEntity = new QLabelingAssignmentEntity("labelingAssignmentEntity");
|
||||
|
||||
public final QCommonDateEntity _super = new QCommonDateEntity(this);
|
||||
|
||||
public final NumberPath<Long> analUid = createNumber("analUid", Long.class);
|
||||
|
||||
public final StringPath assignGroupId = createString("assignGroupId");
|
||||
|
||||
public final ComparablePath<java.util.UUID> assignmentUid = createComparable("assignmentUid", java.util.UUID.class);
|
||||
|
||||
//inherited
|
||||
public final DateTimePath<java.time.ZonedDateTime> createdDate = _super.createdDate;
|
||||
|
||||
public final NumberPath<Long> inferenceGeomUid = createNumber("inferenceGeomUid", Long.class);
|
||||
|
||||
public final StringPath inspectorUid = createString("inspectorUid");
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> inspectStatDttm = createDateTime("inspectStatDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final StringPath inspectState = createString("inspectState");
|
||||
|
||||
public final NumberPath<Long> learnGeomUid = createNumber("learnGeomUid", Long.class);
|
||||
|
||||
//inherited
|
||||
public final DateTimePath<java.time.ZonedDateTime> modifiedDate = _super.modifiedDate;
|
||||
|
||||
public final ComparablePath<Character> stagnationYn = createComparable("stagnationYn", Character.class);
|
||||
|
||||
public final StringPath workerUid = createString("workerUid");
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> workStatDttm = createDateTime("workStatDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final StringPath workState = createString("workState");
|
||||
|
||||
public QLabelingAssignmentEntity(String variable) {
|
||||
super(LabelingAssignmentEntity.class, forVariable(variable));
|
||||
}
|
||||
|
||||
public QLabelingAssignmentEntity(Path<? extends LabelingAssignmentEntity> path) {
|
||||
super(path.getType(), path.getMetadata());
|
||||
}
|
||||
|
||||
public QLabelingAssignmentEntity(PathMetadata metadata) {
|
||||
super(LabelingAssignmentEntity.class, metadata);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
package com.kamco.cd.kamcoback.postgres.entity;
|
||||
|
||||
import static com.querydsl.core.types.PathMetadataFactory.*;
|
||||
|
||||
import com.querydsl.core.types.dsl.*;
|
||||
|
||||
import com.querydsl.core.types.PathMetadata;
|
||||
import javax.annotation.processing.Generated;
|
||||
import com.querydsl.core.types.Path;
|
||||
|
||||
|
||||
/**
|
||||
* QLabelingInspectorEntity is a Querydsl query type for LabelingInspectorEntity
|
||||
*/
|
||||
@Generated("com.querydsl.codegen.DefaultEntitySerializer")
|
||||
public class QLabelingInspectorEntity extends EntityPathBase<LabelingInspectorEntity> {
|
||||
|
||||
private static final long serialVersionUID = -1575073251L;
|
||||
|
||||
public static final QLabelingInspectorEntity labelingInspectorEntity = new QLabelingInspectorEntity("labelingInspectorEntity");
|
||||
|
||||
public final QCommonDateEntity _super = new QCommonDateEntity(this);
|
||||
|
||||
public final NumberPath<Long> analUid = createNumber("analUid", Long.class);
|
||||
|
||||
//inherited
|
||||
public final DateTimePath<java.time.ZonedDateTime> createdDate = _super.createdDate;
|
||||
|
||||
public final StringPath inspectorUid = createString("inspectorUid");
|
||||
|
||||
//inherited
|
||||
public final DateTimePath<java.time.ZonedDateTime> modifiedDate = _super.modifiedDate;
|
||||
|
||||
public final ComparablePath<java.util.UUID> operatorUid = createComparable("operatorUid", java.util.UUID.class);
|
||||
|
||||
public QLabelingInspectorEntity(String variable) {
|
||||
super(LabelingInspectorEntity.class, forVariable(variable));
|
||||
}
|
||||
|
||||
public QLabelingInspectorEntity(Path<? extends LabelingInspectorEntity> path) {
|
||||
super(path.getType(), path.getMetadata());
|
||||
}
|
||||
|
||||
public QLabelingInspectorEntity(PathMetadata metadata) {
|
||||
super(LabelingInspectorEntity.class, metadata);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
package com.kamco.cd.kamcoback.postgres.entity;
|
||||
|
||||
import static com.querydsl.core.types.PathMetadataFactory.*;
|
||||
|
||||
import com.querydsl.core.types.dsl.*;
|
||||
|
||||
import com.querydsl.core.types.PathMetadata;
|
||||
import javax.annotation.processing.Generated;
|
||||
import com.querydsl.core.types.Path;
|
||||
|
||||
|
||||
/**
|
||||
* QMapInkx50kEntity is a Querydsl query type for MapInkx50kEntity
|
||||
*/
|
||||
@Generated("com.querydsl.codegen.DefaultEntitySerializer")
|
||||
public class QMapInkx50kEntity extends EntityPathBase<MapInkx50kEntity> {
|
||||
|
||||
private static final long serialVersionUID = 1410103956L;
|
||||
|
||||
public static final QMapInkx50kEntity mapInkx50kEntity = new QMapInkx50kEntity("mapInkx50kEntity");
|
||||
|
||||
public final QCommonDateEntity _super = new QCommonDateEntity(this);
|
||||
|
||||
//inherited
|
||||
public final DateTimePath<java.time.ZonedDateTime> createdDate = _super.createdDate;
|
||||
|
||||
public final NumberPath<Integer> fid = createNumber("fid", Integer.class);
|
||||
|
||||
public final ComparablePath<org.locationtech.jts.geom.Geometry> geom = createComparable("geom", org.locationtech.jts.geom.Geometry.class);
|
||||
|
||||
public final StringPath mapidcdNo = createString("mapidcdNo");
|
||||
|
||||
public final StringPath mapidNm = createString("mapidNm");
|
||||
|
||||
public final StringPath mapidNo = createString("mapidNo");
|
||||
|
||||
//inherited
|
||||
public final DateTimePath<java.time.ZonedDateTime> modifiedDate = _super.modifiedDate;
|
||||
|
||||
public QMapInkx50kEntity(String variable) {
|
||||
super(MapInkx50kEntity.class, forVariable(variable));
|
||||
}
|
||||
|
||||
public QMapInkx50kEntity(Path<? extends MapInkx50kEntity> path) {
|
||||
super(path.getType(), path.getMetadata());
|
||||
}
|
||||
|
||||
public QMapInkx50kEntity(PathMetadata metadata) {
|
||||
super(MapInkx50kEntity.class, metadata);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
package com.kamco.cd.kamcoback.postgres.entity;
|
||||
|
||||
import static com.querydsl.core.types.PathMetadataFactory.*;
|
||||
|
||||
import com.querydsl.core.types.dsl.*;
|
||||
|
||||
import com.querydsl.core.types.PathMetadata;
|
||||
import javax.annotation.processing.Generated;
|
||||
import com.querydsl.core.types.Path;
|
||||
import com.querydsl.core.types.dsl.PathInits;
|
||||
|
||||
|
||||
/**
|
||||
* QMapInkx5kEntity is a Querydsl query type for MapInkx5kEntity
|
||||
*/
|
||||
@Generated("com.querydsl.codegen.DefaultEntitySerializer")
|
||||
public class QMapInkx5kEntity extends EntityPathBase<MapInkx5kEntity> {
|
||||
|
||||
private static final long serialVersionUID = 372911320L;
|
||||
|
||||
private static final PathInits INITS = PathInits.DIRECT2;
|
||||
|
||||
public static final QMapInkx5kEntity mapInkx5kEntity = new QMapInkx5kEntity("mapInkx5kEntity");
|
||||
|
||||
public final QCommonDateEntity _super = new QCommonDateEntity(this);
|
||||
|
||||
//inherited
|
||||
public final DateTimePath<java.time.ZonedDateTime> createdDate = _super.createdDate;
|
||||
|
||||
public final NumberPath<Integer> fid = createNumber("fid", Integer.class);
|
||||
|
||||
public final ComparablePath<org.locationtech.jts.geom.Geometry> geom = createComparable("geom", org.locationtech.jts.geom.Geometry.class);
|
||||
|
||||
public final StringPath mapidcdNo = createString("mapidcdNo");
|
||||
|
||||
public final StringPath mapidNm = createString("mapidNm");
|
||||
|
||||
public final QMapInkx50kEntity mapInkx50k;
|
||||
|
||||
//inherited
|
||||
public final DateTimePath<java.time.ZonedDateTime> modifiedDate = _super.modifiedDate;
|
||||
|
||||
public final EnumPath<com.kamco.cd.kamcoback.enums.CommonUseStatus> useInference = createEnum("useInference", com.kamco.cd.kamcoback.enums.CommonUseStatus.class);
|
||||
|
||||
public QMapInkx5kEntity(String variable) {
|
||||
this(MapInkx5kEntity.class, forVariable(variable), INITS);
|
||||
}
|
||||
|
||||
public QMapInkx5kEntity(Path<? extends MapInkx5kEntity> path) {
|
||||
this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS));
|
||||
}
|
||||
|
||||
public QMapInkx5kEntity(PathMetadata metadata) {
|
||||
this(metadata, PathInits.getFor(metadata, INITS));
|
||||
}
|
||||
|
||||
public QMapInkx5kEntity(PathMetadata metadata, PathInits inits) {
|
||||
this(MapInkx5kEntity.class, metadata, inits);
|
||||
}
|
||||
|
||||
public QMapInkx5kEntity(Class<? extends MapInkx5kEntity> type, PathMetadata metadata, PathInits inits) {
|
||||
super(type, metadata, inits);
|
||||
this.mapInkx50k = inits.isInitialized("mapInkx50k") ? new QMapInkx50kEntity(forProperty("mapInkx50k")) : null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,125 @@
|
||||
package com.kamco.cd.kamcoback.postgres.entity;
|
||||
|
||||
import static com.querydsl.core.types.PathMetadataFactory.*;
|
||||
|
||||
import com.querydsl.core.types.dsl.*;
|
||||
|
||||
import com.querydsl.core.types.PathMetadata;
|
||||
import javax.annotation.processing.Generated;
|
||||
import com.querydsl.core.types.Path;
|
||||
import com.querydsl.core.types.dsl.PathInits;
|
||||
|
||||
|
||||
/**
|
||||
* QMapSheetAnalDataInferenceGeomEntity is a Querydsl query type for MapSheetAnalDataInferenceGeomEntity
|
||||
*/
|
||||
@Generated("com.querydsl.codegen.DefaultEntitySerializer")
|
||||
public class QMapSheetAnalDataInferenceGeomEntity extends EntityPathBase<MapSheetAnalDataInferenceGeomEntity> {
|
||||
|
||||
private static final long serialVersionUID = -1600559932L;
|
||||
|
||||
private static final PathInits INITS = PathInits.DIRECT2;
|
||||
|
||||
public static final QMapSheetAnalDataInferenceGeomEntity mapSheetAnalDataInferenceGeomEntity = new QMapSheetAnalDataInferenceGeomEntity("mapSheetAnalDataInferenceGeomEntity");
|
||||
|
||||
public final NumberPath<Double> area = createNumber("area", Double.class);
|
||||
|
||||
public final ComparablePath<org.locationtech.jts.geom.Geometry> beforeGeom = createComparable("beforeGeom", org.locationtech.jts.geom.Geometry.class);
|
||||
|
||||
public final NumberPath<Double> cdProb = createNumber("cdProb", Double.class);
|
||||
|
||||
public final StringPath classAfterCd = createString("classAfterCd");
|
||||
|
||||
public final NumberPath<Double> classAfterProb = createNumber("classAfterProb", Double.class);
|
||||
|
||||
public final StringPath classBeforeCd = createString("classBeforeCd");
|
||||
|
||||
public final NumberPath<Double> classBeforeProb = createNumber("classBeforeProb", Double.class);
|
||||
|
||||
public final NumberPath<Integer> compareYyyy = createNumber("compareYyyy", Integer.class);
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> createdDttm = createDateTime("createdDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final NumberPath<Long> createdUid = createNumber("createdUid", Long.class);
|
||||
|
||||
public final NumberPath<Long> dataUid = createNumber("dataUid", Long.class);
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> fileCreatedDttm = createDateTime("fileCreatedDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final BooleanPath fileCreatedYn = createBoolean("fileCreatedYn");
|
||||
|
||||
public final StringPath fitState = createString("fitState");
|
||||
|
||||
public final StringPath fitStateCmmnt = createString("fitStateCmmnt");
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> fitStateDttm = createDateTime("fitStateDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final ComparablePath<org.locationtech.jts.geom.Geometry> geom = createComparable("geom", org.locationtech.jts.geom.Geometry.class);
|
||||
|
||||
public final ComparablePath<org.locationtech.jts.geom.Geometry> geomCenter = createComparable("geomCenter", org.locationtech.jts.geom.Geometry.class);
|
||||
|
||||
public final NumberPath<Long> geomCnt = createNumber("geomCnt", Long.class);
|
||||
|
||||
public final StringPath geoType = createString("geoType");
|
||||
|
||||
public final NumberPath<Long> geoUid = createNumber("geoUid", Long.class);
|
||||
|
||||
public final NumberPath<Long> labelerUid = createNumber("labelerUid", Long.class);
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> labelSendDttm = createDateTime("labelSendDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final StringPath labelState = createString("labelState");
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> labelStateDttm = createDateTime("labelStateDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final StringPath lockYn = createString("lockYn");
|
||||
|
||||
public final QMapInkx5kEntity map5k;
|
||||
|
||||
public final NumberPath<Long> mapSheetNum = createNumber("mapSheetNum", Long.class);
|
||||
|
||||
public final NumberPath<Long> pnu = createNumber("pnu", Long.class);
|
||||
|
||||
public final NumberPath<Long> refMapSheetNum = createNumber("refMapSheetNum", Long.class);
|
||||
|
||||
public final StringPath resultUid = createString("resultUid");
|
||||
|
||||
public final NumberPath<Integer> stage = createNumber("stage", Integer.class);
|
||||
|
||||
public final NumberPath<Integer> targetYyyy = createNumber("targetYyyy", Integer.class);
|
||||
|
||||
public final NumberPath<Long> testerUid = createNumber("testerUid", Long.class);
|
||||
|
||||
public final StringPath testState = createString("testState");
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> testStateDttm = createDateTime("testStateDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> updatedDttm = createDateTime("updatedDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final NumberPath<Long> updatedUid = createNumber("updatedUid", Long.class);
|
||||
|
||||
public final ComparablePath<java.util.UUID> uuid = createComparable("uuid", java.util.UUID.class);
|
||||
|
||||
public QMapSheetAnalDataInferenceGeomEntity(String variable) {
|
||||
this(MapSheetAnalDataInferenceGeomEntity.class, forVariable(variable), INITS);
|
||||
}
|
||||
|
||||
public QMapSheetAnalDataInferenceGeomEntity(Path<? extends MapSheetAnalDataInferenceGeomEntity> path) {
|
||||
this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS));
|
||||
}
|
||||
|
||||
public QMapSheetAnalDataInferenceGeomEntity(PathMetadata metadata) {
|
||||
this(metadata, PathInits.getFor(metadata, INITS));
|
||||
}
|
||||
|
||||
public QMapSheetAnalDataInferenceGeomEntity(PathMetadata metadata, PathInits inits) {
|
||||
this(MapSheetAnalDataInferenceGeomEntity.class, metadata, inits);
|
||||
}
|
||||
|
||||
public QMapSheetAnalDataInferenceGeomEntity(Class<? extends MapSheetAnalDataInferenceGeomEntity> type, PathMetadata metadata, PathInits inits) {
|
||||
super(type, metadata, inits);
|
||||
this.map5k = inits.isInitialized("map5k") ? new QMapInkx5kEntity(forProperty("map5k"), inits.get("map5k")) : null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,110 @@
|
||||
package com.kamco.cd.kamcoback.postgres.entity;
|
||||
|
||||
import static com.querydsl.core.types.PathMetadataFactory.*;
|
||||
|
||||
import com.querydsl.core.types.dsl.*;
|
||||
|
||||
import com.querydsl.core.types.PathMetadata;
|
||||
import javax.annotation.processing.Generated;
|
||||
import com.querydsl.core.types.Path;
|
||||
import com.querydsl.core.types.dsl.PathInits;
|
||||
|
||||
|
||||
/**
|
||||
* QMapSheetAnalInferenceEntity is a Querydsl query type for MapSheetAnalInferenceEntity
|
||||
*/
|
||||
@Generated("com.querydsl.codegen.DefaultEntitySerializer")
|
||||
public class QMapSheetAnalInferenceEntity extends EntityPathBase<MapSheetAnalInferenceEntity> {
|
||||
|
||||
private static final long serialVersionUID = -1438711566L;
|
||||
|
||||
public static final QMapSheetAnalInferenceEntity mapSheetAnalInferenceEntity = new QMapSheetAnalInferenceEntity("mapSheetAnalInferenceEntity");
|
||||
|
||||
public final NumberPath<Double> accuracy = createNumber("accuracy", Double.class);
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> analEndDttm = createDateTime("analEndDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final NumberPath<Long> analPredSec = createNumber("analPredSec", Long.class);
|
||||
|
||||
public final NumberPath<Long> analSec = createNumber("analSec", Long.class);
|
||||
|
||||
public final StringPath analState = createString("analState");
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> analStrtDttm = createDateTime("analStrtDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final StringPath analTargetType = createString("analTargetType");
|
||||
|
||||
public final StringPath analTitle = createString("analTitle");
|
||||
|
||||
public final StringPath baseMapSheetNum = createString("baseMapSheetNum");
|
||||
|
||||
public final NumberPath<Integer> compareYyyy = createNumber("compareYyyy", Integer.class);
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> createdDttm = createDateTime("createdDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final NumberPath<Long> createdUid = createNumber("createdUid", Long.class);
|
||||
|
||||
public final NumberPath<Long> detectingCnt = createNumber("detectingCnt", Long.class);
|
||||
|
||||
public final StringPath detectingDescription = createString("detectingDescription");
|
||||
|
||||
public final StringPath detectionDataOption = createString("detectionDataOption");
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> gukyuinApplyDttm = createDateTime("gukyuinApplyDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final StringPath gukyuinUsed = createString("gukyuinUsed");
|
||||
|
||||
public final MapPath<String, Object, SimplePath<Object>> hyperParams = this.<String, Object, SimplePath<Object>>createMap("hyperParams", String.class, Object.class, SimplePath.class);
|
||||
|
||||
public final NumberPath<Long> id = createNumber("id", Long.class);
|
||||
|
||||
public final StringPath inspectionClosedYn = createString("inspectionClosedYn");
|
||||
|
||||
public final StringPath labelingClosedYn = createString("labelingClosedYn");
|
||||
|
||||
public final NumberPath<Long> learnId = createNumber("learnId", Long.class);
|
||||
|
||||
public final StringPath modelM1Ver = createString("modelM1Ver");
|
||||
|
||||
public final StringPath modelM2Ver = createString("modelM2Ver");
|
||||
|
||||
public final StringPath modelM3Ver = createString("modelM3Ver");
|
||||
|
||||
public final NumberPath<Long> modelUid = createNumber("modelUid", Long.class);
|
||||
|
||||
public final NumberPath<Long> modelVerUid = createNumber("modelVerUid", Long.class);
|
||||
|
||||
public final StringPath resultUrl = createString("resultUrl");
|
||||
|
||||
public final StringPath serverIds = createString("serverIds");
|
||||
|
||||
public final NumberPath<Integer> stage = createNumber("stage", Integer.class);
|
||||
|
||||
public final NumberPath<Integer> targetYyyy = createNumber("targetYyyy", Integer.class);
|
||||
|
||||
public final StringPath testRate = createString("testRate");
|
||||
|
||||
public final ListPath<Double, NumberPath<Double>> tranningRate = this.<Double, NumberPath<Double>>createList("tranningRate", Double.class, NumberPath.class, PathInits.DIRECT2);
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> updatedDttm = createDateTime("updatedDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final NumberPath<Long> updatedUid = createNumber("updatedUid", Long.class);
|
||||
|
||||
public final ComparablePath<java.util.UUID> uuid = createComparable("uuid", java.util.UUID.class);
|
||||
|
||||
public final ListPath<Double, NumberPath<Double>> validationRate = this.<Double, NumberPath<Double>>createList("validationRate", Double.class, NumberPath.class, PathInits.DIRECT2);
|
||||
|
||||
public QMapSheetAnalInferenceEntity(String variable) {
|
||||
super(MapSheetAnalInferenceEntity.class, forVariable(variable));
|
||||
}
|
||||
|
||||
public QMapSheetAnalInferenceEntity(Path<? extends MapSheetAnalInferenceEntity> path) {
|
||||
super(path.getType(), path.getMetadata());
|
||||
}
|
||||
|
||||
public QMapSheetAnalInferenceEntity(PathMetadata metadata) {
|
||||
super(MapSheetAnalInferenceEntity.class, metadata);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
package com.kamco.cd.kamcoback.postgres.entity;
|
||||
|
||||
import static com.querydsl.core.types.PathMetadataFactory.*;
|
||||
|
||||
import com.querydsl.core.types.dsl.*;
|
||||
|
||||
import com.querydsl.core.types.PathMetadata;
|
||||
import javax.annotation.processing.Generated;
|
||||
import com.querydsl.core.types.Path;
|
||||
|
||||
|
||||
/**
|
||||
* QMapSheetLearnDataGeomEntity is a Querydsl query type for MapSheetLearnDataGeomEntity
|
||||
*/
|
||||
@Generated("com.querydsl.codegen.DefaultEntitySerializer")
|
||||
public class QMapSheetLearnDataGeomEntity extends EntityPathBase<MapSheetLearnDataGeomEntity> {
|
||||
|
||||
private static final long serialVersionUID = 1704278203L;
|
||||
|
||||
public static final QMapSheetLearnDataGeomEntity mapSheetLearnDataGeomEntity = new QMapSheetLearnDataGeomEntity("mapSheetLearnDataGeomEntity");
|
||||
|
||||
public final QCommonDateEntity _super = new QCommonDateEntity(this);
|
||||
|
||||
public final NumberPath<Integer> afterYyyy = createNumber("afterYyyy", Integer.class);
|
||||
|
||||
public final NumberPath<Double> area = createNumber("area", Double.class);
|
||||
|
||||
public final NumberPath<Integer> beforeYyyy = createNumber("beforeYyyy", Integer.class);
|
||||
|
||||
public final StringPath classAfterCd = createString("classAfterCd");
|
||||
|
||||
public final StringPath classBeforeCd = createString("classBeforeCd");
|
||||
|
||||
//inherited
|
||||
public final DateTimePath<java.time.ZonedDateTime> createdDate = _super.createdDate;
|
||||
|
||||
public final BooleanPath fileCreateYn = createBoolean("fileCreateYn");
|
||||
|
||||
public final ComparablePath<org.locationtech.jts.geom.Geometry> geom = createComparable("geom", org.locationtech.jts.geom.Geometry.class);
|
||||
|
||||
public final NumberPath<Long> geoUid = createNumber("geoUid", Long.class);
|
||||
|
||||
//inherited
|
||||
public final DateTimePath<java.time.ZonedDateTime> modifiedDate = _super.modifiedDate;
|
||||
|
||||
public QMapSheetLearnDataGeomEntity(String variable) {
|
||||
super(MapSheetLearnDataGeomEntity.class, forVariable(variable));
|
||||
}
|
||||
|
||||
public QMapSheetLearnDataGeomEntity(Path<? extends MapSheetLearnDataGeomEntity> path) {
|
||||
super(path.getType(), path.getMetadata());
|
||||
}
|
||||
|
||||
public QMapSheetLearnDataGeomEntity(PathMetadata metadata) {
|
||||
super(MapSheetLearnDataGeomEntity.class, metadata);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,141 @@
|
||||
package com.kamco.cd.kamcoback.postgres.entity;
|
||||
|
||||
import static com.querydsl.core.types.PathMetadataFactory.*;
|
||||
|
||||
import com.querydsl.core.types.dsl.*;
|
||||
|
||||
import com.querydsl.core.types.PathMetadata;
|
||||
import javax.annotation.processing.Generated;
|
||||
import com.querydsl.core.types.Path;
|
||||
|
||||
|
||||
/**
|
||||
* QMapSheetLearnEntity is a Querydsl query type for MapSheetLearnEntity
|
||||
*/
|
||||
@Generated("com.querydsl.codegen.DefaultEntitySerializer")
|
||||
public class QMapSheetLearnEntity extends EntityPathBase<MapSheetLearnEntity> {
|
||||
|
||||
private static final long serialVersionUID = 1571348757L;
|
||||
|
||||
public static final QMapSheetLearnEntity mapSheetLearnEntity = new QMapSheetLearnEntity("mapSheetLearnEntity");
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> applyDttm = createDateTime("applyDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final StringPath applyStatus = createString("applyStatus");
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> applyStatusDttm = createDateTime("applyStatusDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final BooleanPath applyYn = createBoolean("applyYn");
|
||||
|
||||
public final StringPath chnDtctMstId = createString("chnDtctMstId");
|
||||
|
||||
public final NumberPath<Integer> compareYyyy = createNumber("compareYyyy", Integer.class);
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> createdDttm = createDateTime("createdDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final NumberPath<Long> createdUid = createNumber("createdUid", Long.class);
|
||||
|
||||
public final NumberPath<Long> detectEndCnt = createNumber("detectEndCnt", Long.class);
|
||||
|
||||
public final NumberPath<Long> detectingCnt = createNumber("detectingCnt", Long.class);
|
||||
|
||||
public final StringPath detectOption = createString("detectOption");
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> elapsedTime = createDateTime("elapsedTime", java.time.ZonedDateTime.class);
|
||||
|
||||
public final NumberPath<Long> id = createNumber("id", Long.class);
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> inferEndDttm = createDateTime("inferEndDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> inferStartDttm = createDateTime("inferStartDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final NumberPath<Integer> m1CompletedJobs = createNumber("m1CompletedJobs", Integer.class);
|
||||
|
||||
public final NumberPath<Integer> m1FailedJobs = createNumber("m1FailedJobs", Integer.class);
|
||||
|
||||
public final NumberPath<Long> m1ModelBatchId = createNumber("m1ModelBatchId", Long.class);
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> m1ModelEndDttm = createDateTime("m1ModelEndDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> m1ModelStartDttm = createDateTime("m1ModelStartDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final ComparablePath<java.util.UUID> m1ModelUuid = createComparable("m1ModelUuid", java.util.UUID.class);
|
||||
|
||||
public final NumberPath<Integer> m1PendingJobs = createNumber("m1PendingJobs", Integer.class);
|
||||
|
||||
public final NumberPath<Integer> m1RunningJobs = createNumber("m1RunningJobs", Integer.class);
|
||||
|
||||
public final NumberPath<Integer> m2CompletedJobs = createNumber("m2CompletedJobs", Integer.class);
|
||||
|
||||
public final NumberPath<Integer> m2FailedJobs = createNumber("m2FailedJobs", Integer.class);
|
||||
|
||||
public final NumberPath<Long> m2ModelBatchId = createNumber("m2ModelBatchId", Long.class);
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> m2ModelEndDttm = createDateTime("m2ModelEndDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> m2ModelStartDttm = createDateTime("m2ModelStartDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final ComparablePath<java.util.UUID> m2ModelUuid = createComparable("m2ModelUuid", java.util.UUID.class);
|
||||
|
||||
public final NumberPath<Integer> m2PendingJobs = createNumber("m2PendingJobs", Integer.class);
|
||||
|
||||
public final NumberPath<Integer> m2RunningJobs = createNumber("m2RunningJobs", Integer.class);
|
||||
|
||||
public final NumberPath<Integer> m3CompletedJobs = createNumber("m3CompletedJobs", Integer.class);
|
||||
|
||||
public final NumberPath<Integer> m3FailedJobs = createNumber("m3FailedJobs", Integer.class);
|
||||
|
||||
public final NumberPath<Long> m3ModelBatchId = createNumber("m3ModelBatchId", Long.class);
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> m3ModelEndDttm = createDateTime("m3ModelEndDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> m3ModelStartDttm = createDateTime("m3ModelStartDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final ComparablePath<java.util.UUID> m3ModelUuid = createComparable("m3ModelUuid", java.util.UUID.class);
|
||||
|
||||
public final NumberPath<Integer> m3PendingJobs = createNumber("m3PendingJobs", Integer.class);
|
||||
|
||||
public final NumberPath<Integer> m3RunningJobs = createNumber("m3RunningJobs", Integer.class);
|
||||
|
||||
public final StringPath mapSheetCnt = createString("mapSheetCnt");
|
||||
|
||||
public final StringPath mapSheetScope = createString("mapSheetScope");
|
||||
|
||||
public final StringPath modelComparePath = createString("modelComparePath");
|
||||
|
||||
public final StringPath modelTargetPath = createString("modelTargetPath");
|
||||
|
||||
public final StringPath runningModelType = createString("runningModelType");
|
||||
|
||||
public final NumberPath<Integer> stage = createNumber("stage", Integer.class);
|
||||
|
||||
public final StringPath status = createString("status");
|
||||
|
||||
public final NumberPath<Integer> targetYyyy = createNumber("targetYyyy", Integer.class);
|
||||
|
||||
public final StringPath title = createString("title");
|
||||
|
||||
public final NumberPath<Long> totalJobs = createNumber("totalJobs", Long.class);
|
||||
|
||||
public final StringPath uid = createString("uid");
|
||||
|
||||
public final DateTimePath<java.time.ZonedDateTime> updatedDttm = createDateTime("updatedDttm", java.time.ZonedDateTime.class);
|
||||
|
||||
public final NumberPath<Long> updatedUid = createNumber("updatedUid", Long.class);
|
||||
|
||||
public final ComparablePath<java.util.UUID> uuid = createComparable("uuid", java.util.UUID.class);
|
||||
|
||||
public QMapSheetLearnEntity(String variable) {
|
||||
super(MapSheetLearnEntity.class, forVariable(variable));
|
||||
}
|
||||
|
||||
public QMapSheetLearnEntity(Path<? extends MapSheetLearnEntity> path) {
|
||||
super(path.getType(), path.getMetadata());
|
||||
}
|
||||
|
||||
public QMapSheetLearnEntity(PathMetadata metadata) {
|
||||
super(MapSheetLearnEntity.class, metadata);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
663
gukyuin/state-check/build/reports/problems/problems-report.html
Normal file
663
gukyuin/state-check/build/reports/problems/problems-report.html
Normal file
File diff suppressed because one or more lines are too long
1
gukyuin/state-check/build/resolvedMainClassName
Normal file
1
gukyuin/state-check/build/resolvedMainClassName
Normal file
@@ -0,0 +1 @@
|
||||
com.kamco.cd.kamcoback.KamcoBackApplication
|
||||
4
gukyuin/state-check/build/resources/main/application.yml
Normal file
4
gukyuin/state-check/build/resources/main/application.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
server:
|
||||
port: 9080
|
||||
|
||||
|
||||
71
gukyuin/state-check/build/resources/main/application_dev.yml
Normal file
71
gukyuin/state-check/build/resources/main/application_dev.yml
Normal file
@@ -0,0 +1,71 @@
|
||||
server:
|
||||
port: 9080
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: label-to-review
|
||||
profiles:
|
||||
active: dev # 사용할 프로파일 지정 (ex. dev, prod, test)
|
||||
|
||||
datasource:
|
||||
url: jdbc:postgresql://192.168.2.127:15432/kamco_cds
|
||||
#url: jdbc:postgresql://localhost:5432/kamco_cds
|
||||
username: kamco_cds
|
||||
password: kamco_cds_Q!W@E#R$
|
||||
hikari:
|
||||
minimum-idle: 1
|
||||
maximum-pool-size: 5
|
||||
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: update # 테이블이 없으면 생성, 있으면 업데이트
|
||||
properties:
|
||||
hibernate:
|
||||
jdbc:
|
||||
batch_size: 50
|
||||
default_batch_fetch_size: 100
|
||||
logging:
|
||||
level:
|
||||
root: INFO
|
||||
org.springframework.web: DEBUG
|
||||
org.springframework.security: DEBUG
|
||||
|
||||
# 헬스체크 노이즈 핵심만 다운
|
||||
org.springframework.security.web.FilterChainProxy: INFO
|
||||
org.springframework.security.web.authentication.AnonymousAuthenticationFilter: INFO
|
||||
org.springframework.security.web.authentication.Http403ForbiddenEntryPoint: INFO
|
||||
org.springframework.web.servlet.DispatcherServlet: INFO
|
||||
# actuator
|
||||
management:
|
||||
health:
|
||||
readinessstate:
|
||||
enabled: true
|
||||
livenessstate:
|
||||
enabled: true
|
||||
endpoint:
|
||||
health:
|
||||
probes:
|
||||
enabled: true
|
||||
show-details: always
|
||||
endpoints:
|
||||
jmx:
|
||||
exposure:
|
||||
exclude: "*"
|
||||
web:
|
||||
base-path: /monitor
|
||||
exposure:
|
||||
include:
|
||||
- "health"
|
||||
|
||||
file:
|
||||
#sync-root-dir: D:/kamco-nfs/images/
|
||||
sync-root-dir: /kamco-nfs/images/
|
||||
sync-tmp-dir: ${file.sync-root-dir}/tmp
|
||||
sync-file-extention: tfw,tif
|
||||
sync-auto-exception-start-year: 2025
|
||||
sync-auto-exception-before-year-cnt: 3
|
||||
|
||||
gukyuin:
|
||||
#url: http://localhost:8080
|
||||
url: http://192.168.2.129:5301
|
||||
cdi: ${gukyuin.url}/api/kcd/cdi
|
||||
@@ -0,0 +1,71 @@
|
||||
server:
|
||||
port: 9080
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: imagery-make-dataset
|
||||
profiles:
|
||||
active: local # 사용할 프로파일 지정 (ex. dev, prod, test)
|
||||
|
||||
datasource:
|
||||
url: jdbc:postgresql://192.168.2.127:15432/kamco_cds
|
||||
#url: jdbc:postgresql://localhost:5432/kamco_cds
|
||||
username: kamco_cds
|
||||
password: kamco_cds_Q!W@E#R$
|
||||
hikari:
|
||||
minimum-idle: 1
|
||||
maximum-pool-size: 5
|
||||
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: update # 테이블이 없으면 생성, 있으면 업데이트
|
||||
properties:
|
||||
hibernate:
|
||||
jdbc:
|
||||
batch_size: 50
|
||||
default_batch_fetch_size: 100
|
||||
logging:
|
||||
level:
|
||||
root: INFO
|
||||
org.springframework.web: DEBUG
|
||||
org.springframework.security: DEBUG
|
||||
|
||||
# 헬스체크 노이즈 핵심만 다운
|
||||
org.springframework.security.web.FilterChainProxy: INFO
|
||||
org.springframework.security.web.authentication.AnonymousAuthenticationFilter: INFO
|
||||
org.springframework.security.web.authentication.Http403ForbiddenEntryPoint: INFO
|
||||
org.springframework.web.servlet.DispatcherServlet: INFO
|
||||
# actuator
|
||||
management:
|
||||
health:
|
||||
readinessstate:
|
||||
enabled: true
|
||||
livenessstate:
|
||||
enabled: true
|
||||
endpoint:
|
||||
health:
|
||||
probes:
|
||||
enabled: true
|
||||
show-details: always
|
||||
endpoints:
|
||||
jmx:
|
||||
exposure:
|
||||
exclude: "*"
|
||||
web:
|
||||
base-path: /monitor
|
||||
exposure:
|
||||
include:
|
||||
- "health"
|
||||
|
||||
file:
|
||||
#sync-root-dir: D:/kamco-nfs/images/
|
||||
sync-root-dir: /kamco-nfs/images/
|
||||
sync-tmp-dir: ${file.sync-root-dir}/tmp
|
||||
sync-file-extention: tfw,tif
|
||||
sync-auto-exception-start-year: 2025
|
||||
sync-auto-exception-before-year-cnt: 3
|
||||
|
||||
gukyuin:
|
||||
#url: http://localhost:8080
|
||||
url: http://192.168.2.129:5301
|
||||
cdi: ${gukyuin.url}/api/kcd/cdi
|
||||
@@ -0,0 +1,71 @@
|
||||
server:
|
||||
port: 9080
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: imagery-make-dataset
|
||||
profiles:
|
||||
active: prod # 사용할 프로파일 지정 (ex. dev, prod, test)
|
||||
|
||||
datasource:
|
||||
url: jdbc:postgresql://192.168.2.127:15432/kamco_cds
|
||||
#url: jdbc:postgresql://localhost:5432/kamco_cds
|
||||
username: kamco_cds
|
||||
password: kamco_cds_Q!W@E#R$
|
||||
hikari:
|
||||
minimum-idle: 1
|
||||
maximum-pool-size: 5
|
||||
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: update # 테이블이 없으면 생성, 있으면 업데이트
|
||||
properties:
|
||||
hibernate:
|
||||
jdbc:
|
||||
batch_size: 50
|
||||
default_batch_fetch_size: 100
|
||||
logging:
|
||||
level:
|
||||
root: INFO
|
||||
org.springframework.web: DEBUG
|
||||
org.springframework.security: DEBUG
|
||||
|
||||
# 헬스체크 노이즈 핵심만 다운
|
||||
org.springframework.security.web.FilterChainProxy: INFO
|
||||
org.springframework.security.web.authentication.AnonymousAuthenticationFilter: INFO
|
||||
org.springframework.security.web.authentication.Http403ForbiddenEntryPoint: INFO
|
||||
org.springframework.web.servlet.DispatcherServlet: INFO
|
||||
# actuator
|
||||
management:
|
||||
health:
|
||||
readinessstate:
|
||||
enabled: true
|
||||
livenessstate:
|
||||
enabled: true
|
||||
endpoint:
|
||||
health:
|
||||
probes:
|
||||
enabled: true
|
||||
show-details: always
|
||||
endpoints:
|
||||
jmx:
|
||||
exposure:
|
||||
exclude: "*"
|
||||
web:
|
||||
base-path: /monitor
|
||||
exposure:
|
||||
include:
|
||||
- "health"
|
||||
|
||||
file:
|
||||
#sync-root-dir: D:/kamco-nfs/images/
|
||||
sync-root-dir: /kamco-nfs/images/
|
||||
sync-tmp-dir: ${file.sync-root-dir}/tmp
|
||||
sync-file-extention: tfw,tif
|
||||
sync-auto-exception-start-year: 2025
|
||||
sync-auto-exception-before-year-cnt: 3
|
||||
|
||||
gukyuin:
|
||||
#url: http://localhost:8080
|
||||
url: http://192.168.2.129:5301
|
||||
cdi: ${gukyuin.url}/api/kcd/cdi
|
||||
@@ -0,0 +1,137 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Chunk Upload Test</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>대용량 파일 청크 업로드 테스트</h2>
|
||||
|
||||
* Chunk 테스트 사이즈 10M (10 * 1024 * 1024) - 성능에 따라 변경가능<br><br>
|
||||
|
||||
* 업로드 API선택</br></br>
|
||||
<select name="apiUrl" id="apiUrl" style="width:600px;height:40px;">
|
||||
<option value="/api/model/file-chunk-upload">모델파일Chunk업로드 ( /api/model/file-chunk-upload )</option>
|
||||
<option value="/api/upload/file-chunk-upload">파일Chunk업로드(공통) ( /api/upload/file-chunk-upload )</option>
|
||||
</select>
|
||||
<br><br>
|
||||
* 파일첨부<br><br>
|
||||
<input type="file" id="chunkFile" style="height:40px;"><br><br>
|
||||
<button onclick="startUpload()" style="height:40px;">업로드 시작</button>
|
||||
<br><br><br><br>
|
||||
* 업로드시 업로드 이력을 추적하기 위해 UUID생성해서 전달(파일병합시 사용)(script 예제참고)</br></br>
|
||||
UUID : <input id="uuid" name="uuid" value="" style="width:300px;height:30px;" readonly><br><br>
|
||||
|
||||
* API 호출시 파일정보 추출해서 자동 할당해야 함.(script 예제참고)</br></br>
|
||||
chunkIndex : <input style="height:30px;" id="chunkIndex" placeholder="chunkIndex" readonly><br><br>
|
||||
chunkTotalIndex : <input style="height:30px;" id="chunkTotalIndex" placeholder="chunkTotalIndex" readonly ><br><br>
|
||||
|
||||
* API 호출시 파일정보 추출해서 자동 할당해야 함.(script 예제참고)</br></br>
|
||||
fileSize : <input style="height:30px;" id="fileSize" placeholder="fileSize" readonly><br><br>
|
||||
<!--
|
||||
fileHash : <input id="fileHash" placeholder="fileHash"><br><br> -->
|
||||
|
||||
|
||||
<br><br>
|
||||
* 진행율(%)</br></br>
|
||||
<div style="width:500px;height:30px;border:1px solid #cccccc;"><div id="prgssbar" style="width:100%;height:30px;background:#eeeeee;"></div></div>
|
||||
<br><br>
|
||||
* 결과메세지</br></br>
|
||||
<div id="status" style="padding:20px;width:1200px;height:600px;border:1px solid #000000;"></div>
|
||||
|
||||
<script>
|
||||
async function startUpload() {
|
||||
|
||||
const apiUrl = document.getElementById('apiUrl').value;
|
||||
const file = document.getElementById('chunkFile').files[0];
|
||||
const fileName = file.name;
|
||||
//const datasetUid = Number(document.getElementById('datasetUid').value);
|
||||
//const chunkIndex = document.getElementById('chunkIndex').value;
|
||||
if (!file) return alert("파일을 선택하세요.");
|
||||
|
||||
const CHUNK_SIZE = 10 * 1024 * 1024; // 5MB
|
||||
const fileSize = file.size;
|
||||
var totalChunks = Math.ceil(fileSize / CHUNK_SIZE);
|
||||
const chunkTotalIndex = totalChunks - 1;
|
||||
const uuid = crypto.randomUUID(); // 고유 ID 생성
|
||||
|
||||
//var uuid = "";
|
||||
|
||||
|
||||
document.getElementById('uuid').value = uuid;
|
||||
document.getElementById('fileSize').value = file.size;
|
||||
document.getElementById('chunkTotalIndex').value = chunkTotalIndex;
|
||||
|
||||
|
||||
for (let i = 0; i < totalChunks; i++) {
|
||||
//for (let i = 0; i < 1; i++) {
|
||||
const start = i * CHUNK_SIZE;
|
||||
const end = Math.min(start + CHUNK_SIZE, file.size);
|
||||
const chunk = file.slice(start, end);
|
||||
|
||||
document.getElementById('chunkIndex').value = i;
|
||||
|
||||
const formData = new FormData();
|
||||
formData.append("uuid", uuid);
|
||||
formData.append("fileSize", fileSize);
|
||||
formData.append("fileName", fileName);
|
||||
formData.append("chunkIndex", i);
|
||||
formData.append("chunkTotalIndex", chunkTotalIndex);
|
||||
formData.append("chunkFile", chunk);
|
||||
|
||||
try {
|
||||
const response = await fetch(apiUrl, { method: 'POST', body: formData });
|
||||
|
||||
// 2. 응답 상태 확인 (200 OK 등)
|
||||
if (!response.ok) {
|
||||
throw new Error(`서버 에러: ${response.status}`);
|
||||
}
|
||||
|
||||
// 3. 서버가 보낸 데이터 읽기 (JSON 형태라고 가정)
|
||||
const result = await response.json();
|
||||
document.getElementById('status').innerText = JSON.stringify(result, null, 2);
|
||||
if( result.data.res != "success")
|
||||
{
|
||||
//오류 경고창 띄우는 것으로 처리하시면 됩니다.
|
||||
break;
|
||||
}
|
||||
|
||||
document.getElementById('prgssbar').style.width = result.data.uploadRate+"%";
|
||||
|
||||
} catch (error) {
|
||||
console.error(`${i}번째 청크 업로드 실패:`, error);
|
||||
break; // 오류 발생 시 중단
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// 모든 청크 전송 후 최종 완료 요청
|
||||
//var mergeResult = await completeUpload(uuid);
|
||||
//document.getElementById('status').innerText = JSON.stringify(mergeResult, null, 2);
|
||||
|
||||
}
|
||||
|
||||
|
||||
async function completeUpload(uuid) {
|
||||
try {
|
||||
const response = await fetch(`/api/upload/chunk-upload-complete/${uuid}`, {
|
||||
method: 'PUT',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
});
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error(`서ver 응답 에러: ${response.status}`);
|
||||
}
|
||||
|
||||
const result = await response.json();
|
||||
return result;
|
||||
|
||||
} catch (error) {
|
||||
console.error("완료 요청 중 오류 발생:", error);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
12
gukyuin/state-check/build/tmp/bootJar/MANIFEST.MF
Normal file
12
gukyuin/state-check/build/tmp/bootJar/MANIFEST.MF
Normal file
@@ -0,0 +1,12 @@
|
||||
Manifest-Version: 1.0
|
||||
Main-Class: org.springframework.boot.loader.launch.JarLauncher
|
||||
Start-Class: com.kamco.cd.kamcoback.KamcoBackApplication
|
||||
Spring-Boot-Version: 3.5.7
|
||||
Spring-Boot-Classes: BOOT-INF/classes/
|
||||
Spring-Boot-Lib: BOOT-INF/lib/
|
||||
Spring-Boot-Classpath-Index: BOOT-INF/classpath.idx
|
||||
Spring-Boot-Layers-Index: BOOT-INF/layers.idx
|
||||
Build-Jdk-Spec: 21
|
||||
Implementation-Title: kamco-state-check-job
|
||||
Implementation-Version: 0.0.1-SNAPSHOT
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
1
|
||||
Reference in New Issue
Block a user