Ftr:  add the module of shopping-order (#82)

* Ftr: 1. add the module of shopping-order, contains examples of distributed solutions
2. add the config og .run
3. update dubbo-go version, v1.5.6-rc1 to v1.5.6-rc2

* update:

* update: 1. add dependence opentrx/mysql 2. code refactoring about the distributed transaction by seata-go and the drive of mysql(opentrx community) 3. code clean and code annotation

* update: remove sensitive information

* update: 1. change the registry center zookeeper to nacos 2. add docker-compose for deploy 3. add grafana and prometheus for APM

* update: 1. fix dependency  2. clean sql 3.clean docker-compose.yml

* fix: ITtest demo of generic

* fix: IT test demo of router

* fix: dependency dubbogo v1.5.6-rc2 to v1.5.6

Co-authored-by: Xin.Zh <dragoncharlie@foxmail.com>
44 files changed
tree: 2fec40bc164eb331fb55eea97434aed870c4fb85
  1. .github/
  2. .images/
  3. .run/
  4. async/
  5. attachment/
  6. build/
  7. chain/
  8. config-api/
  9. configcenter/
  10. context/
  11. direct/
  12. docker/
  13. filter/
  14. game/
  15. general/
  16. generic/
  17. group/
  18. helloworld/
  19. metric/
  20. multi-registry/
  21. multi-zone/
  22. registry/
  23. router/
  24. seata/
  25. shop/
  26. shopping-order/
  27. tls/
  28. tracing/
  29. .asf.yaml
  30. .gitignore
  31. ci.sh
  32. go.mod
  33. go.sum
  34. HOWTO.md
  35. HOWTO_zh.md
  36. integrate_test.sh
  37. LICENSE
  38. README.md
  39. README_zh.md
  40. start_integrate_test.sh
README.md

Dubbo Golang Examples

CI

What It Contains

  • async: An async example.
  • attachment: An attachment example, to show how to use attachment to pass user data from the client to the server.
  • configcenter: uses of different config centers, including zookeeper, apollo and nacos at present.
  • direct: A direct invocation example.
  • filter: Some examples of different filter, including custom_filter and tpslimit
  • general: A general example
  • generic: A generic invocation example
  • helloworld: A 101 example
  • multi_registry: A multi-registry example
  • registry: uses of different registres, including kubernetes, nacos, etcd and service-discovery
  • router: router examples, including condition and tag
  • seata: A seata example
  • shop: Shop sample
  • tracing: tracing example
  • game: game service example

How To Run

Pls. refer How To Run for the instructions.

How to contribute

If you want to add more samples, pls. read on:

  1. Create new sub directory and give it an appropriate name for your new sample. Pls. follow the layout of the existing sample if you are not sure how to organize your code.
  2. Make sure your sample work as expected before submit PR, and make sure GitHub CI passes after PR is submitted. Pls. refer to the existing sample on how to test the sample.
  3. Pls. provide README.md to explain your samples.