VocabularyManager's resolveTerm does not work as expected with GeneNomenclature terms

Description

does not work as expected with GeneNomenclature terms.

1. Using the term as is does not work, since resolveTerm requires a vocabulary prefix.
2. Adding HGNC: before a term does not behave as expected.

The following 5 pairs should return the same thing, however:

  • 1.b does not work and

  • 3.b and 5.b returns the wrong term

1.a

localhost:8080/rest/vocabularies/HGNC/DANCR

1.b

localhost:8080/rest/vocabularies/terms/HGNCANCR

2.a.

localhost:8080/rest/vocabularies/HGNC/AGU2

2.b

localhost:8080/rest/vocabularies/terms/HGNC:AGU2

3.a

localhost:8080/rest/vocabularies/HGNC/ANCR

3.b

localhost:8080/rest/vocabularies/terms/HGNC:ANCR

4.a

localhost:8080/rest/vocabularies/HGNC/28964

4.b

localhost:8080/rest/vocabularies/terms/HGNC:28964

5.a

localhost:8080/rest/vocabularies/HGNC/ENSG00000226950

5.b

localhost:8080/rest/vocabularies/terms/HGNC:ENSG00000226950

Environment

None

Status

Assignee

Sergiu Dumitriu

Reporter

Alina Gvo

Labels

None

External issue ID

None

External issue ID

None

Epic Link

Components

Fix versions

Priority

Medium
Configure