resolveNS qualifies name with the principal's namespace (if enabled) and resolves any alias to its underlying class.
(principal *models.Principal, name string)
| 189 | // resolveNS qualifies name with the principal's namespace (if enabled) |
| 190 | // and resolves any alias to its underlying class. |
| 191 | func (m *Manager) resolveNS(principal *models.Principal, name string) (class, qualifiedAlias string, err error) { |
| 192 | return namespacing.Resolve(principal, m.schemaManager, m.config.Config.Namespaces.Enabled, name) |
| 193 | } |
| 194 | |
| 195 | func generateUUID() (strfmt.UUID, error) { |
| 196 | id, err := uuid.NewRandom() |
no test coverage detected