Skip to content

Commit

Permalink
Update readme, bumb version to v0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasjackson committed Oct 10, 2019
1 parent 5023b4e commit c94e582
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=v0.7.0-beta.2
version=v0.7.1

protos:
protoc -I grpc/protos/ grpc/protos/api.proto --go_out=plugins=grpc:grpc/api
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,4 +283,8 @@ The API is accessible at the path `/ui` and under the covers just calls the main

**NOTE:** The UI is only available when a service is configured as `HTTP`.

### Example UI
![](images/ui.png)

### Example UI with errors
![](images/ui-error.png)
10 changes: 5 additions & 5 deletions examples/docker-compose-datadog/docker-compose-consul.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:

# Define web service and envoy sidecar proxy
web:
image: nicholasjackson/fake-service:v0.7.0
image: nicholasjackson/fake-service:v0.7.1
environment:
LISTEN_ADDR: 0.0.0.0:9090
UPSTREAM_URIS: "http://localhost:9091"
Expand Down Expand Up @@ -54,7 +54,7 @@ services:

# Define api service and envoy sidecar proxy for version 1 of the service
api:
image: nicholasjackson/fake-service:v0.7.0
image: nicholasjackson/fake-service:v0.7.1
environment:
LISTEN_ADDR: 0.0.0.0:9090
UPSTREAM_URIS: "http://localhost:9091/12434/jackson?auth=true, grpc://localhost:9092"
Expand Down Expand Up @@ -90,7 +90,7 @@ services:
network_mode: "service:api"

cache:
image: nicholasjackson/fake-service:v0.7.0
image: nicholasjackson/fake-service:v0.7.1
environment:
LISTEN_ADDR: 0.0.0.0:9090
MESSAGE: "Cache response"
Expand Down Expand Up @@ -123,7 +123,7 @@ services:
network_mode: "service:cache"

payments:
image: nicholasjackson/fake-service:v0.7.0
image: nicholasjackson/fake-service:v0.7.1
environment:
LISTEN_ADDR: 0.0.0.0:9090
UPSTREAM_URIS: "http://localhost:9091"
Expand Down Expand Up @@ -153,7 +153,7 @@ services:
network_mode: "service:payments"

currency:
image: nicholasjackson/fake-service:v0.7.0
image: nicholasjackson/fake-service:v0.7.1
environment:
LISTEN_ADDR: 0.0.0.0:9090
MESSAGE: "Currency response"
Expand Down
10 changes: 5 additions & 5 deletions examples/docker-compose-datadog/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: "3.3"
services:

web:
image: nicholasjackson/fake-service:v0.7.0
image: nicholasjackson/fake-service:v0.7.1
environment:
LISTEN_ADDR: 0.0.0.0:9090
UPSTREAM_URIS: "http://api:9090"
Expand All @@ -25,7 +25,7 @@ services:
- "9090:9090"

api:
image: nicholasjackson/fake-service:v0.7.0
image: nicholasjackson/fake-service:v0.7.1
environment:
LISTEN_ADDR: 0.0.0.0:9090
UPSTREAM_URIS: "http://payments:9090/12434/jackson?auth=true, http://cache:9090"
Expand All @@ -46,7 +46,7 @@ services:
com.datadoghq.ad.logs: '[{"service": "api"}]'

cache:
image: nicholasjackson/fake-service:v0.7.0
image: nicholasjackson/fake-service:v0.7.1
environment:
LISTEN_ADDR: 0.0.0.0:9090
MESSAGE: "Cache response"
Expand All @@ -64,7 +64,7 @@ services:
com.datadoghq.ad.logs: '[{"service": "cache"}]'

payments:
image: nicholasjackson/fake-service:v0.7.0
image: nicholasjackson/fake-service:v0.7.1
environment:
LISTEN_ADDR: 0.0.0.0:9090
UPSTREAM_URIS: "grpc://currency:9090"
Expand All @@ -79,7 +79,7 @@ services:
com.datadoghq.ad.logs: '[{"service": "payments"}]'

currency:
image: nicholasjackson/fake-service:v0.7.0
image: nicholasjackson/fake-service:v0.7.1
environment:
LISTEN_ADDR: 0.0.0.0:9090
MESSAGE: "Currency response"
Expand Down
10 changes: 5 additions & 5 deletions examples/docker-compose-jaeger/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: "3.3"
services:

web:
image: nicholasjackson/fake-service:v0.7.0
image: nicholasjackson/fake-service:v0.7.1
environment:
LISTEN_ADDR: 0.0.0.0:9090
UPSTREAM_URIS: "http://api:9090"
Expand All @@ -20,7 +20,7 @@ services:
- "9090:9090"

api:
image: nicholasjackson/fake-service:v0.7.0
image: nicholasjackson/fake-service:v0.7.1
environment:
LISTEN_ADDR: 0.0.0.0:9090
UPSTREAM_URIS: "grpc://currency:9090, http://cache:9090/abc/123123, http://payments:9090"
Expand All @@ -36,7 +36,7 @@ services:
TRACING_ZIPKIN: "http://jaeger:9411"

cache:
image: nicholasjackson/fake-service:v0.7.0
image: nicholasjackson/fake-service:v0.7.1
environment:
LISTEN_ADDR: 0.0.0.0:9090
MESSAGE: "Cache response"
Expand All @@ -49,7 +49,7 @@ services:
TRACING_ZIPKIN: "http://jaeger:9411"

payments:
image: nicholasjackson/fake-service:v0.7.0
image: nicholasjackson/fake-service:v0.7.1
environment:
LISTEN_ADDR: 0.0.0.0:9090
UPSTREAM_URIS: "grpc://currency:9090"
Expand All @@ -61,7 +61,7 @@ services:

# Will throw errors for 20% of all requests
currency:
image: nicholasjackson/fake-service:v0.7.0
image: nicholasjackson/fake-service:v0.7.1
environment:
LISTEN_ADDR: 0.0.0.0:9090
MESSAGE: "Currency response"
Expand Down
Binary file added images/ui-error.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion ui/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>Fake Service</title>
</head>

<body>
Expand Down

0 comments on commit c94e582

Please sign in to comment.