seninel部署
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

45 行
1.6KB

  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.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>sentinel-demo-okhttp</artifactId>
  12. <properties>
  13. <spring.boot.version>2.1.3.RELEASE</spring.boot.version>
  14. <okhttp.version>3.6.0</okhttp.version>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.alibaba.csp</groupId>
  19. <artifactId>sentinel-transport-simple-http</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.alibaba.csp</groupId>
  23. <artifactId>sentinel-okhttp-adapter</artifactId>
  24. <version>${project.version}</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-web</artifactId>
  29. <version>${spring.boot.version}</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-test</artifactId>
  34. <version>${spring.boot.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.squareup.okhttp3</groupId>
  38. <artifactId>okhttp</artifactId>
  39. <version>${okhttp.version}</version>
  40. </dependency>
  41. </dependencies>
  42. </project>