Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

namespaceURI otl.amsterdam.nl doesn't exist within bSDD #26

Closed
araccaine opened this issue Feb 24, 2022 · 1 comment
Closed

namespaceURI otl.amsterdam.nl doesn't exist within bSDD #26

araccaine opened this issue Feb 24, 2022 · 1 comment

Comments

@araccaine
Copy link

Describe the bug
The namespaceURI for Amsterdam's Object-Type Library isn't working respectively doesn't exist in bSDD

To Reproduce
E.g. use a terminal to execute:

curl -X 'GET' \
  'https://api.bsdd.buildingsmart.org/api/Domain/v2/Classifications?namespaceUri=http%3A%2F%2Fotl.amsterdam.nl%2F' \
  -H 'accept: text/plain'

Or use swaggerhub with Domain/get_api_Domain_v2_Classifications and use http://otl.amsterdam.nl/ as namespaceUri

Expected behavior
Response should hold classifications for otl.amsterdam.

Actual behavior
Code 400: "Domain with namespace 'http://otl.amsterdam.nl' not found"

@Baars-IT
Copy link
Collaborator

Baars-IT commented Jun 8, 2022

Hi Eric,

(sorry for this ultra late reply :-( )

In this case the issue was that the namespace uri was stored including ending slash, but search is always done without slash.
The namespace uri has been fixed now.

@Baars-IT Baars-IT closed this as completed Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants