Skip to content

Commit

Permalink
fix: ConsulMetadataReport overrides the registerServiceAppMapping met…
Browse files Browse the repository at this point in the history
…hod and returns true.
  • Loading branch information
yong.teng committed Oct 30, 2024
1 parent 0597184 commit dffce08
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,17 @@ public ConsulMetadataReport(URL url) {
client = new ConsulClient(host, port);
}

@Override
public boolean registerServiceAppMapping(String serviceKey, String application, URL url) {
return true;
}

@Override
public boolean registerServiceAppMapping(String serviceInterface, String defaultMappingGroup,
String newConfigContent, Object ticket) {
return true;
}

@Override
protected void doStoreProviderMetadata(MetadataIdentifier providerMetadataIdentifier, String serviceDefinitions) {
this.storeMetadata(providerMetadataIdentifier, serviceDefinitions);
Expand Down

0 comments on commit dffce08

Please sign in to comment.