more update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
### Add item to cart
|
### Add item to cart
|
||||||
POST https://cart.tornberg.me/api/12345
|
POST https://cart.k6n.net/api/12345
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -9,7 +9,7 @@ Content-Type: application/json
|
|||||||
}
|
}
|
||||||
|
|
||||||
### Update quanity of item in cart
|
### Update quanity of item in cart
|
||||||
PUT https://cart.tornberg.me/api/12345
|
PUT https://cart.k6n.net/api/12345
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -18,12 +18,12 @@ Content-Type: application/json
|
|||||||
}
|
}
|
||||||
|
|
||||||
### Delete item from cart
|
### Delete item from cart
|
||||||
DELETE https://cart.tornberg.me/api/1002/1
|
DELETE https://cart.k6n.net/api/1002/1
|
||||||
|
|
||||||
|
|
||||||
### Set delivery
|
### Set delivery
|
||||||
|
|
||||||
POST https://cart.tornberg.me/api/1002/delivery
|
POST https://cart.k6n.net/api/1002/delivery
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -33,10 +33,8 @@ Content-Type: application/json
|
|||||||
|
|
||||||
|
|
||||||
### Get cart
|
### Get cart
|
||||||
GET https://cart.tornberg.me/api/12345
|
GET https://cart.k6n.net/api/12345
|
||||||
|
|
||||||
|
|
||||||
### Remove delivery method
|
### Remove delivery method
|
||||||
DELETE https://cart.tornberg.me/api/12345/delivery/2
|
DELETE https://cart.k6n.net/api/12345/delivery/2
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -105,9 +105,9 @@ func BuildCheckoutOrderPayload(grain *cart.CartGrain, meta *CheckoutMeta) ([]byt
|
|||||||
Terms: meta.Terms,
|
Terms: meta.Terms,
|
||||||
Checkout: meta.Checkout,
|
Checkout: meta.Checkout,
|
||||||
Confirmation: meta.Confirmation,
|
Confirmation: meta.Confirmation,
|
||||||
Notification: "https://cart.tornberg.me/notification",
|
Notification: "https://cart.k6n.net/notification",
|
||||||
Validation: "https://cart.tornberg.me/validate",
|
Validation: "https://cart.k6n.net/validate",
|
||||||
Push: "https://cart.tornberg.me/push?order_id={checkout.order.id}",
|
Push: "https://cart.k6n.net/push?order_id={checkout.order.id}",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
},
|
},
|
||||||
"servers": [
|
"servers": [
|
||||||
{
|
{
|
||||||
"url": "https://cart.tornberg.me",
|
"url": "https://cart.k6n.net",
|
||||||
"description": "Production server"
|
"description": "Production server"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -350,10 +350,10 @@ spec:
|
|||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- cart.tornberg.me
|
- cart.k6n.net
|
||||||
secretName: cart-actor-tls-secret
|
secretName: cart-actor-tls-secret
|
||||||
rules:
|
rules:
|
||||||
- host: cart.tornberg.me
|
- host: cart.k6n.net
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
@@ -374,10 +374,10 @@ spec:
|
|||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- slask-cart.tornberg.me
|
- slask-cart.k6n.net
|
||||||
secretName: cart-backoffice-actor-tls-secret
|
secretName: cart-backoffice-actor-tls-secret
|
||||||
rules:
|
rules:
|
||||||
- host: slask-cart.tornberg.me
|
- host: slask-cart.k6n.net
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
|
|||||||
Reference in New Issue
Block a user