seninel部署
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

pom.xml 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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</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-apache-httpclient</artifactId>
  12. <properties>
  13. <spring.boot.version>2.1.3.RELEASE</spring.boot.version>
  14. <test.framework.version>4.3</test.framework.version>
  15. <apache.httpclient.version>4.5.6</apache.httpclient.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.alibaba.csp</groupId>
  20. <artifactId>sentinel-core</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.alibaba.csp</groupId>
  24. <artifactId>sentinel-transport-simple-http</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.alibaba.csp</groupId>
  28. <artifactId>sentinel-apache-httpclient-adapter</artifactId>
  29. <version>${project.version}</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-web</artifactId>
  34. <version>${spring.boot.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-test</artifactId>
  39. <version>${spring.boot.version}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.httpcomponents</groupId>
  43. <artifactId>httpclient</artifactId>
  44. <version>${apache.httpclient.version}</version>
  45. </dependency>
  46. </dependencies>
  47. </project>