feat:update version of SCT to 1.3.0-Hoxton.SR9-SNAPSHOT

pull/88/head
skyehtzhang 3 years ago
parent d076e9e939
commit 03c4364175

@ -85,7 +85,7 @@
<properties> <properties>
<!-- Project revision --> <!-- Project revision -->
<revision>1.2.0-Hoxton.SR9</revision> <revision>1.3.0-Hoxton.SR9-SNAPSHOT</revision>
<!-- Spring Cloud --> <!-- Spring Cloud -->
<spring.cloud.version>Hoxton.SR9</spring.cloud.version> <spring.cloud.version>Hoxton.SR9</spring.cloud.version>

@ -66,11 +66,13 @@ public class MetadataFirstScgFilter implements GlobalFilter, Ordered {
MetadataConstant.SystemMetadataKey.PEER_NAMESPACE, MetadataConstant.SystemMetadataKey.PEER_NAMESPACE,
MetadataContext.LOCAL_NAMESPACE); MetadataContext.LOCAL_NAMESPACE);
if (route != null) { if (route != null) {
metadataContext.putSystemMetadata(MetadataConstant.SystemMetadataKey.PEER_SERVICE, metadataContext.putSystemMetadata(
MetadataConstant.SystemMetadataKey.PEER_SERVICE,
route.getUri().getAuthority()); route.getUri().getAuthority());
} }
else { else {
metadataContext.putSystemMetadata(MetadataConstant.SystemMetadataKey.PEER_SERVICE, metadataContext.putSystemMetadata(
MetadataConstant.SystemMetadataKey.PEER_SERVICE,
exchange.getRequest().getURI().getAuthority()); exchange.getRequest().getURI().getAuthority());
} }
metadataContext.putSystemMetadata(MetadataConstant.SystemMetadataKey.PEER_PATH, metadataContext.putSystemMetadata(MetadataConstant.SystemMetadataKey.PEER_PATH,
@ -81,4 +83,5 @@ public class MetadataFirstScgFilter implements GlobalFilter, Ordered {
return chain.filter(exchange); return chain.filter(exchange);
} }
} }

@ -70,7 +70,7 @@
</developers> </developers>
<properties> <properties>
<revision>1.2.0-Hoxton.SR9</revision> <revision>1.3.0-Hoxton.SR9-SNAPSHOT</revision>
<polaris.version>1.3.1</polaris.version> <polaris.version>1.3.1</polaris.version>
<powermock.version>2.0.0</powermock.version> <powermock.version>2.0.0</powermock.version>

Loading…
Cancel
Save