diff --git a/polaris-agent-examples/spring-cloud-plugins-examples/spring-cloud-2022-examples/quickstart-examples/consumer/src/main/resources/bootstrap.properties b/polaris-agent-examples/spring-cloud-plugins-examples/spring-cloud-2022-examples/quickstart-examples/consumer/src/main/resources/bootstrap.properties index a87b961e..f1761362 100644 --- a/polaris-agent-examples/spring-cloud-plugins-examples/spring-cloud-2022-examples/quickstart-examples/consumer/src/main/resources/bootstrap.properties +++ b/polaris-agent-examples/spring-cloud-plugins-examples/spring-cloud-2022-examples/quickstart-examples/consumer/src/main/resources/bootstrap.properties @@ -1,11 +1,11 @@ server.port=65002 spring.application.name=service-consumer-2022 -spring.cloud.nacos.config.server-addr=111.230.121.115:8848 -spring.cloud.nacos.discovery.server-addr=111.230.121.115:8848 -spring.cloud.nacos.config.enabled=true -spring.cloud.nacos.discovery.enabled=true +spring.cloud.nacos.config.server-addr=127.0.0.1:8848 +spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 +spring.cloud.nacos.config.enabled=false +spring.cloud.nacos.discovery.enabled=false spring.cloud.nacos.username=nacos -spring.cloud.nacos.password=uu3T2L9q +spring.cloud.nacos.password=nacos management.endpoints.web.exposure.include=* management.endpoint.health.show-details=always spring.main.allow-bean-definition-overriding=true diff --git a/polaris-agent-examples/spring-cloud-plugins-examples/spring-cloud-2022-examples/quickstart-examples/provider-a/src/main/resources/bootstrap.properties b/polaris-agent-examples/spring-cloud-plugins-examples/spring-cloud-2022-examples/quickstart-examples/provider-a/src/main/resources/bootstrap.properties index 94962be4..a727f8a1 100644 --- a/polaris-agent-examples/spring-cloud-plugins-examples/spring-cloud-2022-examples/quickstart-examples/provider-a/src/main/resources/bootstrap.properties +++ b/polaris-agent-examples/spring-cloud-plugins-examples/spring-cloud-2022-examples/quickstart-examples/provider-a/src/main/resources/bootstrap.properties @@ -1,11 +1,11 @@ server.port=65001 spring.application.name=service-provider-2022 -spring.cloud.nacos.config.server-addr=111.230.121.115:8848 -spring.cloud.nacos.discovery.server-addr=111.230.121.115:8848 -spring.cloud.nacos.config.enabled=true -spring.cloud.nacos.discovery.enabled=true +spring.cloud.nacos.config.server-addr=127.0.0.1:8848 +spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 +spring.cloud.nacos.config.enabled=false +spring.cloud.nacos.discovery.enabled=false spring.cloud.nacos.username=nacos -spring.cloud.nacos.password=uu3T2L9q +spring.cloud.nacos.password=nacos management.endpoints.web.exposure.include=* management.endpoint.health.show-details=always spring.main.allow-bean-definition-overriding=true \ No newline at end of file diff --git a/polaris-agent-examples/spring-cloud-plugins-examples/spring-cloud-hoxton-examples/quickstart-examples/consumer/src/main/resources/application.properties b/polaris-agent-examples/spring-cloud-plugins-examples/spring-cloud-hoxton-examples/quickstart-examples/consumer/src/main/resources/application.properties index 60e25b29..41b54075 100644 --- a/polaris-agent-examples/spring-cloud-plugins-examples/spring-cloud-hoxton-examples/quickstart-examples/consumer/src/main/resources/application.properties +++ b/polaris-agent-examples/spring-cloud-plugins-examples/spring-cloud-hoxton-examples/quickstart-examples/consumer/src/main/resources/application.properties @@ -1,11 +1,11 @@ server.port=65001 spring.application.name=service-provider-hoxton -spring.cloud.nacos.config.server-addr=111.230.121.115:8848 -spring.cloud.nacos.discovery.server-addr=111.230.121.115:8848 -spring.cloud.nacos.config.enabled=true -spring.cloud.nacos.discovery.enabled=true +spring.cloud.nacos.config.server-addr=127.0.0.1:8848 +spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 +spring.cloud.nacos.config.enabled=false +spring.cloud.nacos.discovery.enabled=false spring.cloud.nacos.username=nacos -spring.cloud.nacos.password=uu3T2L9q +spring.cloud.nacos.password=nacos management.endpoints.web.exposure.include=* management.endpoint.health.show-details=always spring.main.allow-bean-definition-overriding=true \ No newline at end of file diff --git a/polaris-agent-examples/spring-cloud-plugins-examples/spring-cloud-hoxton-examples/quickstart-examples/provider-a/src/main/resources/application.properties b/polaris-agent-examples/spring-cloud-plugins-examples/spring-cloud-hoxton-examples/quickstart-examples/provider-a/src/main/resources/application.properties index e804caa8..5e46c03b 100644 --- a/polaris-agent-examples/spring-cloud-plugins-examples/spring-cloud-hoxton-examples/quickstart-examples/provider-a/src/main/resources/application.properties +++ b/polaris-agent-examples/spring-cloud-plugins-examples/spring-cloud-hoxton-examples/quickstart-examples/provider-a/src/main/resources/application.properties @@ -1,6 +1,7 @@ server.port=65001 spring.application.name=service-provider-hoxton spring.cloud.nacos.config.server-addr=127.0.0.1:8848 +spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 spring.cloud.nacos.config.enabled=false spring.cloud.nacos.discovery.enabled=false spring.cloud.nacos.username=nacos diff --git a/polaris-agent-plugins/spring-cloud-plugins/spring-cloud-2022-plugin/src/main/java/cn/polarismesh/agent/plugin/spring/cloud/interceptor/ConfigurationParserInterceptor.java b/polaris-agent-plugins/spring-cloud-plugins/spring-cloud-2022-plugin/src/main/java/cn/polarismesh/agent/plugin/spring/cloud/interceptor/ConfigurationParserInterceptor.java index 55d0df6e..367f5204 100644 --- a/polaris-agent-plugins/spring-cloud-plugins/spring-cloud-2022-plugin/src/main/java/cn/polarismesh/agent/plugin/spring/cloud/interceptor/ConfigurationParserInterceptor.java +++ b/polaris-agent-plugins/spring-cloud-plugins/spring-cloud-2022-plugin/src/main/java/cn/polarismesh/agent/plugin/spring/cloud/interceptor/ConfigurationParserInterceptor.java @@ -127,7 +127,7 @@ public void after(Object target, Object[] args, Object result, Throwable throwab } } - + }