feature/pubsub #7
@@ -1,6 +1,6 @@
|
||||
|
||||
### Add item to cart
|
||||
POST https://cart.tornberg.me/api/12345
|
||||
POST https://cart.k6n.net/api/12345
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
@@ -9,7 +9,7 @@ Content-Type: application/json
|
||||
}
|
||||
|
||||
### Update quanity of item in cart
|
||||
PUT https://cart.tornberg.me/api/12345
|
||||
PUT https://cart.k6n.net/api/12345
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
@@ -18,12 +18,12 @@ Content-Type: application/json
|
||||
}
|
||||
|
||||
### Delete item from cart
|
||||
DELETE https://cart.tornberg.me/api/1002/1
|
||||
DELETE https://cart.k6n.net/api/1002/1
|
||||
|
||||
|
||||
### Set delivery
|
||||
|
||||
POST https://cart.tornberg.me/api/1002/delivery
|
||||
POST https://cart.k6n.net/api/1002/delivery
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
@@ -33,10 +33,8 @@ Content-Type: application/json
|
||||
|
||||
|
||||
### Get cart
|
||||
GET https://cart.tornberg.me/api/12345
|
||||
GET https://cart.k6n.net/api/12345
|
||||
|
||||
|
||||
### 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,
|
||||
Checkout: meta.Checkout,
|
||||
Confirmation: meta.Confirmation,
|
||||
Notification: "https://cart.tornberg.me/notification",
|
||||
Validation: "https://cart.tornberg.me/validate",
|
||||
Push: "https://cart.tornberg.me/push?order_id={checkout.order.id}",
|
||||
Notification: "https://cart.k6n.net/notification",
|
||||
Validation: "https://cart.k6n.net/validate",
|
||||
Push: "https://cart.k6n.net/push?order_id={checkout.order.id}",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://cart.tornberg.me",
|
||||
"url": "https://cart.k6n.net",
|
||||
"description": "Production server"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -350,10 +350,10 @@ spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
- hosts:
|
||||
- cart.tornberg.me
|
||||
- cart.k6n.net
|
||||
secretName: cart-actor-tls-secret
|
||||
rules:
|
||||
- host: cart.tornberg.me
|
||||
- host: cart.k6n.net
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
@@ -374,10 +374,10 @@ spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
- hosts:
|
||||
- slask-cart.tornberg.me
|
||||
- slask-cart.k6n.net
|
||||
secretName: cart-backoffice-actor-tls-secret
|
||||
rules:
|
||||
- host: slask-cart.tornberg.me
|
||||
- host: slask-cart.k6n.net
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
|
||||
Reference in New Issue
Block a user