in client/Apache.ShenYu.AspNetCore/Services/ShenyuStartupService.cs [173:185]
private MetaDataRegisterDTO BuildMetadataDto(string path, string address)
{
var uri = new Uri(address);
return new MetaDataRegisterDTO
{
appName = this._shenyuOptions.Value.Client.AppName,
contextPath = this._shenyuOptions.Value.Client.ContextPath,
path = this._shenyuOptions.Value.Client.ContextPath + (string.IsNullOrEmpty(path) ? "/**" : path),
rpcType = uri.Scheme,
ruleName = this._shenyuOptions.Value.Client.ContextPath + (string.IsNullOrEmpty(path) ? "/**" : path),
enabled = true,
};
}