Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit 3f737f9

Browse files
authored
Merge pull request #74 from microservices-demo/rename-cart-to-carts
Rename cart to carts
2 parents 1231715 + c3dabce commit 3f737f9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

api/endpoints.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
module.exports = {
1818
catalogueUrl: util.format("http://catalogue%s", domain),
1919
tagsUrl: util.format("http://catalogue%s/tags", domain),
20-
cartsUrl: util.format("http://cart%s/carts", domain),
20+
cartsUrl: util.format("http://carts%s/carts", domain),
2121
ordersUrl: util.format("http://orders%s", domain),
2222
customersUrl: util.format("http://user%s/customers", domain),
2323
addressUrl: util.format("http://user%s/addresses", domain),

test/api/endpoints_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
describe("cartsUrl", function() {
2121
it("points to the proper endpoint", function() {
22-
expect(endpoints.cartsUrl).to.equal("http://cart/carts");
22+
expect(endpoints.cartsUrl).to.equal("http://carts/carts");
2323
});
2424
});
2525

test/docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ services:
1515
restart: always
1616
environment:
1717
- reschedule:on-node-failure
18-
cart:
19-
image: weaveworksdemos/cart
20-
hostname: cart
18+
carts:
19+
image: weaveworksdemos/carts
20+
hostname: carts
2121
restart: always
2222
environment:
2323
- reschedule:on-node-failure

0 commit comments

Comments
 (0)