[go: nahoru, domu]

Skip to content

Commit

Permalink
add images to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
csplinter committed Jun 15, 2020
1 parent 04a0502 commit 07c9f23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

This repository contains sample inventory microservices to demonstrate how to use Spring, Kubernetes and Cassandra together a single stack.

![Arch link](https://github.com/DataStax-Examples/spring-k8s-cassandra-microservices/blob/master/doc/pics/spring-k8s-cassandra-small.png?raw=true)

#### Contributors:
- [Cedrick Lunven](https://github.com/clun) - twitter handdle [@clun](https://twitter.com/clunven)
- [Chris Splinter](https://github.com/csplinter)
Expand Down Expand Up @@ -139,6 +141,8 @@ kubectl -n spring-data-service port-forward <spring-data-pod> 8081:8081
#### Spring Boot service endpoints
Explore the endpoints with Swagger: http://localhost:8083/swagger-ui.html

![Arch link](https://github.com/DataStax-Examples/spring-k8s-cassandra-microservices/blob/master/doc/pics/swagger-spring-boot-service.png?raw=true | width=100)

Add products
```
curl -X POST -H "Content-Type: application/json" -d '{"name": "mobile", "id":"123e4567-e89b-12d3-a456-556642440000", "description":"iPhone", "price":"500.00"}' http://localhost:8083/api/products/add
Expand Down

0 comments on commit 07c9f23

Please sign in to comment.