{"id":685,"date":"2023-09-08T15:17:46","date_gmt":"2023-09-08T07:17:46","guid":{"rendered":"http:\/\/www.huerpu.cc:7000\/?p=685"},"modified":"2023-09-08T15:17:46","modified_gmt":"2023-09-08T07:17:46","slug":"spring-cloudfinchley%e7%89%88%e6%9c%ac%e7%b3%bb%e5%88%97%e6%95%99%e7%a8%8b%e4%ba%8c-%e5%ae%a2%e6%88%b7%e7%ab%af%e8%b4%9f%e8%bd%bd%e5%9d%87%e8%a1%a1ribbon","status":"publish","type":"post","link":"http:\/\/www.huerpu.cc:7000\/?p=685","title":{"rendered":"Spring Cloud(Finchley\u7248\u672c)\u7cfb\u5217\u6559\u7a0b(\u4e8c) \u5ba2\u6237\u7aef\u8d1f\u8f7d\u5747\u8861Ribbon"},"content":{"rendered":"<h3>Spring Cloud(Finchley\u7248\u672c)\u7cfb\u5217\u6559\u7a0b(\u4e8c) \u5ba2\u6237\u7aef\u8d1f\u8f7d\u5747\u8861Ribbon<\/h3>\n<p>\u76ee\u524d\u4e3b\u6d41\u7684\u8d1f\u8f7d\u5747\u8861\u65b9\u6848\u6709\u4e24\u79cd\uff0c\u4e00\u79cd\u662f\u96c6\u4e2d\u5f0f\u5747\u8861\u8d1f\u8f7d\uff0c\u5728\u6d88\u8d39\u8005\u4e0e\u670d\u52a1\u63d0\u4f9b\u8005\u4e4b\u95f4\u4f7f\u7528\u72ec\u7acb\u7684\u4ee3\u7406\u65b9\u5f0f\u8fdb\u884c\u8d1f\u8f7d\uff0c\u6bd4\u5982F5\u3001Nginx\u7b49\u3002\u53e6\u4e00\u79cd\u5219\u662f\u5ba2\u6237\u7aef\u81ea\u5df1\u505a\u8d1f\u8f7d\u5747\u8861\uff0c\u6839\u636e\u81ea\u5df1\u7684\u8bf7\u6c42\u505a\u8d1f\u8f7d\uff0cRibbon\u5c31\u5c5e\u4e8e\u5ba2\u6237\u7aef\u81ea\u5df1\u505a\u8d1f\u8f7d\u3002<\/p>\n<h3>\u4e00\u3001\u5f15\u5165Ribbon\u4f9d\u8d56<\/h3>\n<pre><code class=\"language-xml\">&lt;dependency&gt;\n    &lt;groupId&gt;org.springframework.cloud&lt;\/groupId&gt;\n    &lt;artifactId&gt;spring-cloud-starter-netflix-ribbon&lt;\/artifactId&gt;\n&lt;\/dependency&gt;<\/code><\/pre>\n<h3>\u4e8c\u3001\u5728\u6d88\u8d39\u65b9\u589e\u52a0@LoadBalanced\u8d1f\u8f7d\u5747\u8861<\/h3>\n<p>\u5176\u5b9e\u5728\u4e0a\u4e00\u8282\u4e2d\u6211\u4eec\u5df2\u7ecf\u589e\u52a0\u4e86<code>@LoadBalanced<\/code>\u6ce8\u89e3\u4e86\u3002<\/p>\n<pre><code class=\"language-java\">@SpringBootApplication\n@EnableDiscoveryClient\npublic class EurekaClientConsumerApplication {\n\n    public static void main(String[] args) {\n        SpringApplication.run(EurekaClientConsumerApplication.class, args);\n    }\n    @Bean\n    @LoadBalanced\n    public RestTemplate restTemplate() {\n        return new RestTemplate();\n    }\n}<\/code><\/pre>\n<h3>\u4e09\u3001\u670d\u52a1\u63d0\u4f9b\u65b9\u63d0\u4f9b\u591a\u53f0\u673a\u5668<\/h3>\n<p>\u56e0\u4e3a\u6211\u628a\u670d\u52a1\u90e8\u7f72\u5230\u4e86\u4e00\u53f0\u8fdc\u7a0b\u7684\u673a\u5668\u4e0a\uff0c\u800c\u673a\u5668\u4e0a\u76848000\u7aef\u53e3\u88ab\u522b\u7684\u5e94\u7528\u5360\u7528\u4e86\uff0c\u56e0\u6b64\u628a<code>eurekaClient<\/code>\u9879\u76ee\u7684\u7aef\u53e3\u6539\u6210\u4e868008\u3002\u90e8\u7f72eureka\u5230<code>ubuntu22.04<\/code>\u7684\u6b65\u9aa4\u8bf7\u53c2\u8003<a href=\"http:\/\/www.huerpu.cc:7000\/?p=679ubuntu22.04\">ubuntu22.04\u5f00\u673a\u81ea\u542f\u52a8Eureka\u670d\u52a1<\/a>\u3002\u6211\u8fd9\u91cc\u5f00\u653e\u7ed9\u5927\u5bb6\u4f7f\u7528eureka\u7684\u5916\u7f51\u6ce8\u518c\u5730\u5740\uff1a<code>www.huerpu.cc:1678<\/code> \uff0c\u548c\u5927\u5bb6\u4ea4\u6d41\u5b66\u4e60\u3002<\/p>\n<p>\u6211\u4eec\u628a<code>eurekaClient<\/code>\u9879\u76ee\u7684\u63a5\u53e3\u4fee\u6539\u4e00\u4e0b\uff0c\u52a0\u4e0a\u81ea\u5df1\u7684Server\u4fe1\u606f<code>from server:eurekaServer:8008<\/code>\u3002<\/p>\n<pre><code class=\"language-java\">package cc.huerpu.eurekaserver.controller;\n\nimport org.springframework.web.bind.annotation.RequestMapping;\nimport org.springframework.web.bind.annotation.RestController;\n\n@RestController\npublic class UserController {\n\n    @RequestMapping(&quot;\/getUserById&quot;)\n    public String getUserById(){\n        return &quot;{id:1,name:jason,age:23} from server:eurekaServer:8008&quot;;\n    }\n}<\/code><\/pre>\n<p>\u590d\u5236<code>eurekaClient<\/code>\u9879\u76ee\uff0c\u91cd\u547d\u540d\u4e3a<code>eurekaClientSecond<\/code>\uff0c\u5e76\u628a\u7aef\u53e3\u6539\u62108009\uff0c\u56e0\u6b64\u73b0\u5728\u6211\u4eec\u67098008\u548c8009\u4e24\u53f0\u670d\u52a1\u63d0\u4f9b\u8005\u4e86\u3002<\/p>\n<p>\u628a<code>eurekaClientSecond<\/code>\u7684\u63a5\u53e3\u8c03\u7528\u6253\u5370\u4fe1\u606f\u6539\u6210<code>from server:eurekaServer:8009<\/code>\u3002<\/p>\n<pre><code class=\"language-java\">package cc.huerpu.eurekaserver.controller;\n\nimport org.springframework.web.bind.annotation.RequestMapping;\nimport org.springframework.web.bind.annotation.RestController;\n\n@RestController\npublic class UserController {\n\n    @RequestMapping(&quot;\/getUserById&quot;)\n    public String getUserById(){\n        return &quot;{id:1,name:jason,age:23} from server:eurekaServer:8009&quot;;\n    }\n}<\/code><\/pre>\n<p>\u4e3a\u4e86\u65b9\u4fbf\u67e5\u770b\uff0c\u5728\u670d\u52a1\u6d88\u8d39\u65b9\u589e\u52a0\u4e00\u4e2a\u6253\u5370\u8bed\u53e5<code>System.out.println(res)<\/code>\u3002<\/p>\n<pre><code class=\"language-java\">@RequestMapping(&quot;\/consumerEurekaClient&quot;)\npublic String consumerEurekaClient(){\n    String res = restTemplate.getForObject(&quot;http:\/\/eurekaClient\/getUserById&quot;,String.class);\n    System.out.println(res);\n    return &quot;consumerEurekaClient:&quot; + res;\n}<\/code><\/pre>\n<p>\u542f\u52a8\u9879\u76ee<code>eurekaClient<\/code>\u3001<code>eurekaClientSecond<\/code>\u3001<code>eurekaClientConsumer<\/code>\uff0c\u67e5\u770beureka\u662f\u5426\u6ce8\u518c\u4e0a\u8fd9\u51e0\u4e2a\u670d\u52a1\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2023\/09\/08\/image-20230908121354914.png\" alt=\"image-20230908121354914\" \/><\/p>\n<p>\u53ef\u4ee5\u770b\u5230\u670d\u52a1\u6ce8\u518c\u4e0a\u6765\u4e86\u3002<\/p>\n<h3>\u56db\u3001\u670d\u52a1\u8c03\u7528\u8d1f\u8f7d\u9a8c\u8bc1<\/h3>\n<p>\u8c03\u7528<code>http:\/\/eurekaclientconsumer:8001\/consumerEurekaClient<\/code>\uff0c\u67e5\u770b\u662f\u5426\u6709\u4ea4\u66ff\u8c03\u75288008\u548c8009\u4e24\u4e2a\uff0c\u56e0\u4e3a\u9ed8\u8ba4\u4e3a\u8f6e\u8be2\uff0c\u4e5f\u5c31\u662f<code>RoundRobinRule<\/code>\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2023\/09\/08\/image-20230908145032190.png\" alt=\"image-20230908145032190\" \/><\/p>\n<h3>\u4e94\u3001\u5207\u6362\u8d1f\u8f7d\u5747\u8861\u7b56\u7565<\/h3>\n<h4>5.1 Ribbon\u5747\u8861\u7b56\u7565<\/h4>\n<p><code>Spring Cloud Ribbon<\/code>\u63d0\u4f9b\u4e86\u4e00\u4e2a IRule \u63a5\u53e3\uff0c\u8be5\u63a5\u53e3\u4e3b\u8981\u7528\u6765\u5b9a\u4e49\u8d1f\u8f7d\u5747\u8861\u7b56\u7565\uff0c\u5b83\u6709 7 \u4e2a\u9ed8\u8ba4\u5b9e\u73b0\u7c7b\uff0c\u6bcf\u4e00\u4e2a\u5b9e\u73b0\u7c7b\u90fd\u662f\u4e00\u79cd\u8d1f\u8f7d\u5747\u8861\u7b56\u7565\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: center;\">\u5b9e\u73b0\u7c7b<\/th>\n<th style=\"text-align: center;\">\u8d1f\u8f7d\u5747\u8861\u7b56\u7565<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: center;\">RoundRobinRule<\/td>\n<td style=\"text-align: center;\">\u6309\u7167\u7ebf\u6027\u8f6e\u8be2\u7b56\u7565\uff0c\u5373\u6309\u7167\u4e00\u5b9a\u7684\u987a\u5e8f\u4f9d\u6b21\u9009\u53d6\u670d\u52a1\u5b9e\u4f8b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">RandomRule<\/td>\n<td style=\"text-align: center;\">\u968f\u673a\u9009\u53d6\u4e00\u4e2a\u670d\u52a1\u5b9e\u4f8b<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">RetryRule<\/td>\n<td style=\"text-align: center;\">\u6309\u7167 RoundRobinRule(\u8f6e\u8be2)\u7684\u7b56\u7565\u6765\u83b7\u53d6\u670d\u52a1\uff0c\u5982\u679c\u83b7\u53d6\u7684\u670d\u52a1\u5b9e\u4f8b\u4e3a null \u6216\u5df2\u7ecf\u5931\u6548\uff0c\u5219\u5728\u6307\u5b9a\u7684\u65f6\u95f4\u4e4b\u5185\u4e0d\u65ad\u5730\u8fdb\u884c\u91cd\u8bd5(\u91cd\u8bd5\u65f6\u83b7\u53d6\u670d\u52a1\u7684\u7b56\u7565\u8fd8\u662f RoundRobinRule \u4e2d\u5b9a\u4e49\u7684\u7b56\u7565)\uff0c\u5982\u679c\u8d85\u8fc7\u6307\u5b9a\u65f6\u95f4\u4f9d\u7136\u6ca1\u83b7\u53d6\u5230\u670d\u52a1\u5b9e\u4f8b\u5219\u8fd4\u56de null \u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">WeightedResponseTimeRule<\/td>\n<td style=\"text-align: center;\">WeightedResponseTimeRule \u662f RoundRobinRule \u7684\u4e00\u4e2a\u5b50\u7c7b\uff0c\u5b83\u5bf9 RoundRobinRule \u7684\u529f\u80fd\u8fdb\u884c\u4e86\u6269\u5c55\u3002  \u6839\u636e\u5e73\u5747\u54cd\u5e94\u65f6\u95f4\uff0c\u6765\u8ba1\u7b97\u6240\u6709\u670d\u52a1\u5b9e\u4f8b\u7684\u6743\u91cd\uff0c\u54cd\u5e94\u65f6\u95f4\u8d8a\u77ed\u7684\u670d\u52a1\u5b9e\u4f8b\u6743\u91cd\u8d8a\u9ad8\uff0c\u88ab\u9009\u4e2d\u7684\u6982\u7387\u8d8a\u5927\u3002\u521a\u542f\u52a8\u65f6\uff0c\u5982\u679c\u7edf\u8ba1\u4fe1\u606f\u4e0d\u8db3\uff0c\u5219\u4f7f\u7528\u7ebf\u6027\u8f6e\u8be2\u7b56\u7565\uff0c\u7b49\u4fe1\u606f\u8db3\u591f\u65f6\uff0c\u518d\u5207\u6362\u5230 WeightedResponseTimeRule\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">BestAvailableRule<\/td>\n<td style=\"text-align: center;\">\u7ee7\u627f\u81ea ClientConfigEnabledRoundRobinRule\u3002\u5148\u8fc7\u6ee4\u70b9\u6545\u969c\u6216\u5931\u6548\u7684\u670d\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u518d\u9009\u62e9\u5e76\u53d1\u91cf\u6700\u5c0f\u7684\u670d\u52a1\u5b9e\u4f8b\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">AvailabilityFilteringRule<\/td>\n<td style=\"text-align: center;\">\u5148\u8fc7\u6ee4\u6389\u6545\u969c\u6216\u5931\u6548\u7684\u670d\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u518d\u9009\u62e9\u5e76\u53d1\u91cf\u8f83\u5c0f\u7684\u670d\u52a1\u5b9e\u4f8b\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">ZoneAvoidanceRule<\/td>\n<td style=\"text-align: center;\">\u9ed8\u8ba4\u7684\u8d1f\u8f7d\u5747\u8861\u7b56\u7565\uff0c\u7efc\u5408\u5224\u65ad\u670d\u52a1\u6240\u5728\u533a\u57df(zone)\u7684\u6027\u80fd\u548c\u670d\u52a1(server)\u7684\u53ef\u7528\u6027\uff0c\u6765\u9009\u62e9\u670d\u52a1\u5b9e\u4f8b\u3002\u5728\u6ca1\u6709\u533a\u57df\u7684\u73af\u5883\u4e0b\uff0c\u8be5\u7b56\u7565\u4e0e\u8f6e\u8be2(RandomRule)\u7b56\u7565\u7c7b\u4f3c\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>5.2 \u8bbe\u7f6e\u5168\u5c40\u751f\u6548<\/h4>\n<p>\u8bbe\u7f6e\u8d1f\u8f7d\u5747\u8861\u7b56\u7565\u4e3a\u968f\u673a\uff0c\u53ea\u9700\u5728\u542f\u52a8\u7c7b<code>EurekaClientConsumerApplication<\/code>\u4e0a\u6ce8\u5165\u4e00\u4e2aIRule\u7684bean\u3002<\/p>\n<pre><code class=\"language-java\">package cc.huerpu.eurekaserver;\n\nimport com.netflix.loadbalancer.IRule;\nimport com.netflix.loadbalancer.RandomRule;\nimport org.springframework.boot.SpringApplication;\nimport org.springframework.boot.autoconfigure.SpringBootApplication;\nimport org.springframework.cloud.client.discovery.EnableDiscoveryClient;\nimport org.springframework.cloud.client.loadbalancer.LoadBalanced;\nimport org.springframework.context.annotation.Bean;\nimport org.springframework.web.client.RestTemplate;\n\n@SpringBootApplication\n@EnableDiscoveryClient\npublic class EurekaClientConsumerApplication {\n    public static void main(String[] args) {\n        SpringApplication.run(EurekaClientConsumerApplication.class, args);\n    }\n    @Bean\n    @LoadBalanced\n    public RestTemplate restTemplate() {\n        return new RestTemplate();\n    }\n    @Bean\n    public IRule rule(){\n        return new RandomRule();\n    }\n}<\/code><\/pre>\n<p>\u91cd\u542f\u9879\u76ee<code>eurekaClientConsumer<\/code>\uff0c\u8c03\u7528<code>http:\/\/eurekaclientconsumer:8001\/consumerEurekaClient<\/code>\uff0c\u53ef\u4ee5\u770b\u5230\u662f\u968f\u673a\u8c03\u7528\u7684\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2023\/09\/08\/image-20230908150231419.png\" alt=\"image-20230908150231419\" \/><\/p>\n<h4>5.3 \u9488\u5bf9\u7279\u5b9a\u670d\u52a1\u751f\u6548<\/h4>\n<p>\u521b\u5efa\u4e00\u4e2a\u5e76\u6ce8\u5165\u4e00\u4e2a<code>RibbonConfiguration<\/code>\u7c7b\u3002<\/p>\n<pre><code class=\"language-java\">package cc.huerpu.eurekaserver.configuration;\n\nimport com.netflix.loadbalancer.IRule;\nimport com.netflix.loadbalancer.RandomRule;\nimport org.springframework.context.annotation.Bean;\nimport org.springframework.context.annotation.Configuration;\n\n@Configuration\npublic class RibbonConfiguration {\n    @Bean\n    public IRule ribbonRule() {\n        \/\/ \u8d1f\u8f7d\u5747\u8861\u89c4\u5219\uff0c\u6539\u4e3a\u968f\u673a\n        return new RandomRule();\n    }\n}<\/code><\/pre>\n<p>\u521b\u5efa\u4e00\u4e2a\u7a7a\u7c7b<code>TestConfiguration<\/code> \uff0c\u4f7f\u7528\u6ce8\u89e3<code>@RibbonClient<\/code>\uff0cname\u5c5e\u6027\u6307\u5b9a\u8981\u53bb\u8c03\u7528\u7684\u670d\u52a1\u540d\u79f0\uff0c\u7531<code>spring.pplication.name<\/code>\u6307\u5b9a\u7684\u90a3\u4e2a\u540d\u79f0\u3002<\/p>\n<pre><code class=\"language-java\">package cc.huerpu.eurekaserver.configuration;\n\nimport org.springframework.cloud.netflix.ribbon.RibbonClient;\nimport org.springframework.context.annotation.Configuration;\n\n@Configuration\n@RibbonClient(name = &quot;eurekaClient&quot;, configuration = RibbonConfiguration.class)\npublic class TestConfiguration {\n}<\/code><\/pre>\n<p>\u91cd\u542f\u9879\u76ee<code>eurekaClientConsumer<\/code>\uff0c\u8c03\u7528<code>http:\/\/eurekaclientconsumer:8001\/consumerEurekaClient<\/code>\uff0c\u53ef\u4ee5\u770b\u5230\u662f\u4e5f\u662f\u968f\u673a\u8c03\u7528\u7684\u3002<\/p>\n<h4>5.4 \u914d\u7f6e\u6587\u4ef6\u65b9\u5f0f\u914d\u7f6e<\/h4>\n<p>\u66f4\u63a8\u8350\u7684\u4e00\u79cd\u65b9\u5f0f\u662f\u4f7f\u7528\u914d\u7f6e\u6587\u4ef6\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p>\n<pre><code class=\"language-yml\">eurekaClient:   #\u8fdc\u7a0b\u670d\u52a1\u540d\u79f0\uff0c\u6211\u4eec\u8fd9\u91cc\u662feurekaClient\uff0c\u6839\u636e\u81ea\u5df1\u7684\u8fdb\u884c\u8c03\u6574\n  ribbon:\n    NFLoadBalancerRuleClassName: com.netflix.loadbalancer.RandomRule<\/code><\/pre>\n<p>\u5982\u679c\u4f60\u53ea\u60f3\u770b\u5230\u8d1f\u8f7d\u5747\u8861\u8c03\u7528\u7684\u6548\u679c\uff0c\u6211\u4eec\u6765\u5199\u4e00\u4e2a\u63a5\u53e3\u770b\u4e00\u4e0b\u5427\uff0c\u8fd9\u6837\u66f4\u76f4\u89c2\u4e00\u4e9b\u3002<\/p>\n<pre><code class=\"language-java\">@Autowired\nprivate LoadBalancerClient loadBalancerClient;\n\n@RequestMapping(&quot;\/eurekaClientConsumerChooseInstance&quot;)\npublic String eurekaClientConsumerChooseInstance() {\n    ServiceInstance serviceInstance = loadBalancerClient.choose(&quot;eurekaClient&quot;);\n    String server = serviceInstance.getServiceId()+&quot;:&quot;\n            +serviceInstance.getHost()+&quot;:&quot;\n            +serviceInstance.getPort();\n    System.out.println(server);\n    return server;\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Spring Cloud(Finchley\u7248\u672c)\u7cfb\u5217\u6559\u7a0b(\u4e8c) \u5ba2\u6237\u7aef\u8d1f\u8f7d\u5747\u8861Ribbon \u76ee\u524d\u4e3b\u6d41\u7684\u8d1f\u8f7d\u5747\u8861 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-685","post","type-post","status-publish","format-standard","hentry","category-spring-cloudfinchley"],"_links":{"self":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts\/685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=685"}],"version-history":[{"count":1,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts\/685\/revisions"}],"predecessor-version":[{"id":686,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts\/685\/revisions\/686"}],"wp:attachment":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=685"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}