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

Rework HODMD to use BaseService #265

Merged
merged 10 commits into from
Apr 12, 2024
Merged

Rework HODMD to use BaseService #265

merged 10 commits into from
Apr 12, 2024

Conversation

mhauru
Copy link
Collaborator

@mhauru mhauru commented Apr 9, 2024

This reworks the HODMD code, fixes some bugs in it, simplifies it, and makes it work with BaseService. I also add an Azure function and tests for it.

I also make a couple of other changes that came up in the process:

  • The insert-model-measure endpoint was returning the wrong status code when a duplicate was inserted. Now fixed.
  • I changed BaseService so that the backend access token is acquired before get_service_data is called. This allows one to use the token in get_service_data to make backend calls, which I find handy, and make use of with HODMD.

More changes to the models may be coming, but this feels like a good check point to get stuff merged.

Closes #202

@mhauru mhauru requested a review from EdwinB12 April 9, 2024 12:24
@mhauru mhauru mentioned this pull request Apr 11, 2024
@mhauru mhauru merged commit beca3ce into main Apr 12, 2024
5 checks passed
@mhauru mhauru deleted the hodmd branch April 12, 2024 14:27
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

Successfully merging this pull request may close these issues.

Make HODMD run in an Azure function
1 participant