func GetRemoteMetadataService() (service.MetadataService, error) {
	if remoteMetadataService != nil {
		return remoteMetadataService, nil
	}
	if creator, ok := metadataServiceInsMap["remote"]; ok {
		var err error
		remoteMetadataService, err = creator()
		return remoteMetadataService, err
	}
	logger.Warn("could not find the metadata service creator for metadataType: remote")
	return nil, perrors.New(fmt.Sprintf("could not find the metadata service creator for metadataType: remote"))
}
// GetRemoteMetadataService will get a RemoteMetadataService instance
GetRemoteMetadataService will get a RemoteMetadataService instance
// GetRemoteMetadataService will get a RemoteMetadataService instance
func GetRemoteMetadataService() (service.MetadataService, error) {
	if remoteMetadataService != nil {
		return remoteMetadataService, nil
	}
	if creator, ok := metadataServiceInsMap["remote"]; ok {
		var err error
		remoteMetadataService, err = creator()
		return remoteMetadataService, err
	}
	logger.Warn("could not find the metadata service creator for metadataType: remote")
	return nil, perrors.New(fmt.Sprintf("could not find the metadata service creator for metadataType: remote"))
}
func GetRemoteMetadataService ( ) ( service . MetadataService , error ) { if remoteMetadataService != nil { return remoteMetadataService , nil } if creator , ok := metadataServiceInsMap [ " " ] ; ok { var err error remoteMetadataService , err = creator ( ) return remoteMetadataService , err } logger . Warn ( " " ) return nil , perrors . New ( fmt . Sprintf ( " " ) ) }
GetRemoteMetadataService will get a RemoteMetadataService instance
GetRemoteMetadataService will get a RemoteMetadataService instance