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

Reimplement context importer module by replacing IS-Lookup with RESTful endpoint #1434

Closed
marekhorst opened this issue Oct 4, 2023 · 0 comments
Assignees

Comments

@marekhorst
Copy link
Member

marekhorst commented Oct 4, 2023

Relevant redmine ticket: https://support.openaire.eu/issues/9059.

Since context profiles (providing information about communities and RIs) are going to be removed from the DNet Information System (#8820) we should rely on a different source of concept details by abandoning ISLookup endpoint and sticking to the newly introduced RESTful endpoint (developed as a part of #9019).

@marekhorst marekhorst self-assigned this Oct 4, 2023
marekhorst added a commit that referenced this issue Oct 6, 2023
…kup with RESTful endpoint

WIP. Proper error code handling needs to be introduced once RESTful context API returns an appropriate HTTP error code.

Introducing RESTful context API based concepts importer module. New paramater is required to enable RESTful endpoint based import: `import_context_service_location`.

If the parameter is not provided then ISLookup-based importer mode will be enabled making `import_islookup_service_location` parameter required in such case.
marekhorst added a commit that referenced this issue Oct 11, 2023
…kup with RESTful endpoint

Proper handling of non-existing context by addressing 404 HTTP code. Adding relevant test cases.
marekhorst added a commit that referenced this issue Oct 13, 2023
…kup with RESTful endpoint

Introducing PR related fixes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant