seninel部署
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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-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-okhttp-adapter</artifactId>
  20. <version>${project.version}</version>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. <version>${spring.boot.version}</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-test</artifactId>
  30. <version>${spring.boot.version}</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.squareup.okhttp3</groupId>
  34. <artifactId>okhttp</artifactId>
  35. <version>${okhttp.version}</version>
  36. </dependency>
  37. <!-- Add this so that we could display the resources via /tree command -->
  38. <dependency>
  39. <groupId>com.alibaba.csp</groupId>
  40. <artifactId>sentinel-transport-simple-http</artifactId>
  41. </dependency>
  42. </dependencies>
  43. </project>