Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dinstone/meshgrid

Meshgrid is a service mesh implement that is based on Vert.x
https://github.com/dinstone/meshgrid

Last synced: about 1 month ago
JSON representation

Meshgrid is a service mesh implement that is based on Vert.x

Awesome Lists containing this project

README

        

# Meshgrid
Meshgrid is a service mesh implement that is based on Vert.x

# what' the service mesh mean?
![image](https://github.com/dinstone/vertx-mesh/wiki/images/mesh.png)

# How to start?
## start vertx-mesh
```
java -Dconfig.file=config.json com.dinstone.meshgrid.mesher.Activator
java -Dconfig.file=config-7074.json com.dinstone.meshgrid.mesher.Activator
```

## register service to vertx-mesh
create service 'magnet' and endpoint on localhost:8988, then register service to vertx-mesh by admin endpoint(localhost:8888/upline).
```
curl --request GET --url 'http://localhost:8888/upline?service-name=magnet.online&service-port=8988&service-health=/info'
```

## invoke service 'magnet' by vertx-mesh
api pattern:
```
curl --request GET --url 'http://localhost:7070/magnet.online/info'
```

proxy pattern:
```
curl --request GET --url 'http://localhost:7474/info' --header 'host: magnet.online'
```