.
This commit is contained in:
@@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "BOTTLE",
|
|
||||||
"price": 100,
|
|
||||||
"stock": 200,
|
|
||||||
"productOptions": [
|
|
||||||
{
|
|
||||||
"optionName": "color",
|
|
||||||
"desc": "red"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"optionName": "size" ,
|
|
||||||
"desc": "small"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -24,7 +24,7 @@ public class Application {
|
|||||||
product.setImageUrl("https://github.githubassets.com/images/modules/profile/profile-joined-github.png");
|
product.setImageUrl("https://github.githubassets.com/images/modules/profile/profile-joined-github.png");
|
||||||
product.setName(p);
|
product.setName(p);
|
||||||
product.setPrice(i*10000);
|
product.setPrice(i*10000);
|
||||||
product.setStock(i*10);
|
product.setStock(i*1000000);
|
||||||
product.setImageUrl("/goods/img/"+p+".jpg");
|
product.setImageUrl("/goods/img/"+p+".jpg");
|
||||||
|
|
||||||
// 상품 디테일 추가 - 양방향 관계
|
// 상품 디테일 추가 - 양방향 관계
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ spring:
|
|||||||
hibernate:
|
hibernate:
|
||||||
show_sql: true
|
show_sql: true
|
||||||
format_sql: true
|
format_sql: true
|
||||||
|
|
||||||
cloud:
|
cloud:
|
||||||
stream:
|
stream:
|
||||||
kafka:
|
kafka:
|
||||||
@@ -25,6 +26,7 @@ spring:
|
|||||||
brokers: localhost:9092
|
brokers: localhost:9092
|
||||||
streams:
|
streams:
|
||||||
binder:
|
binder:
|
||||||
|
serdeError: sendToDlq
|
||||||
configuration:
|
configuration:
|
||||||
default:
|
default:
|
||||||
key:
|
key:
|
||||||
|
|||||||
Reference in New Issue
Block a user