Merge pull request 'fix: PredictionAlert 직렬화 500 에러 + 로컬 프록시 Origin 보정' (#21) from fix/alert-serialization-and-proxy-origin into main
Some checks failed
Build and Deploy KCG AI Monitoring (Frontend) / build-and-deploy (push) Has been cancelled
Some checks failed
Build and Deploy KCG AI Monitoring (Frontend) / build-and-deploy (push) Has been cancelled
This commit is contained in:
커밋
ab64c97200
@ -5,6 +5,8 @@ import lombok.*;
|
|||||||
import org.hibernate.annotations.JdbcTypeCode;
|
import org.hibernate.annotations.JdbcTypeCode;
|
||||||
import org.hibernate.type.SqlTypes;
|
import org.hibernate.type.SqlTypes;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.time.OffsetDateTime;
|
import java.time.OffsetDateTime;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@ -44,6 +46,7 @@ public class PredictionAlert {
|
|||||||
@Column(columnDefinition = "jsonb")
|
@Column(columnDefinition = "jsonb")
|
||||||
private Map<String, Object> metadata;
|
private Map<String, Object> metadata;
|
||||||
|
|
||||||
|
@JsonIgnore
|
||||||
@ManyToOne(fetch = FetchType.LAZY)
|
@ManyToOne(fetch = FetchType.LAZY)
|
||||||
@JoinColumn(name = "event_id", insertable = false, updatable = false)
|
@JoinColumn(name = "event_id", insertable = false, updatable = false)
|
||||||
private PredictionEvent event;
|
private PredictionEvent event;
|
||||||
|
|||||||
@ -25,6 +25,9 @@ export default defineConfig({
|
|||||||
target: process.env.VITE_API_PROXY ?? 'https://kcg-ai-monitoring.gc-si.dev',
|
target: process.env.VITE_API_PROXY ?? 'https://kcg-ai-monitoring.gc-si.dev',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: false,
|
secure: false,
|
||||||
|
headers: {
|
||||||
|
Origin: process.env.VITE_API_PROXY ?? 'https://kcg-ai-monitoring.gc-si.dev',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
불러오는 중...
Reference in New Issue
Block a user