fix getAttributeMetaData
fix meta data returned by getRefEntity does not have attributes
fix get repository instead of crudrepository
show attributes per protocol