seninel部署
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

65 rindas
2.3KB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>sentinel-demo-cluster</artifactId>
  7. <groupId>com.alibaba.csp</groupId>
  8. <version>1.8.2-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>sentinel-demo-cluster-embedded</artifactId>
  12. <properties>
  13. <spring.boot.version>2.0.5.RELEASE</spring.boot.version>
  14. </properties>
  15. <dependencies>
  16. <dependency>
  17. <groupId>com.alibaba.csp</groupId>
  18. <artifactId>sentinel-core</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>com.alibaba.csp</groupId>
  22. <artifactId>sentinel-transport-simple-http</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.alibaba.csp</groupId>
  26. <artifactId>sentinel-parameter-flow-control</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.alibaba.csp</groupId>
  30. <artifactId>sentinel-cluster-client-default</artifactId>
  31. <version>${project.version}</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.alibaba.csp</groupId>
  35. <artifactId>sentinel-cluster-server-default</artifactId>
  36. <version>${project.version}</version>
  37. </dependency>
  38. <!-- Nacos for dynamic data source -->
  39. <dependency>
  40. <groupId>com.alibaba.csp</groupId>
  41. <artifactId>sentinel-datasource-nacos</artifactId>
  42. </dependency>
  43. <!-- for a real web demo -->
  44. <dependency>
  45. <groupId>com.alibaba.csp</groupId>
  46. <artifactId>sentinel-annotation-aspectj</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-aop</artifactId>
  51. <version>${spring.boot.version}</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-web</artifactId>
  56. <version>${spring.boot.version}</version>
  57. </dependency>
  58. </dependencies>
  59. </project>