Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Autogenerate Python API client #38

Closed
mjaquiery opened this issue Feb 22, 2023 · 1 comment
Closed

Autogenerate Python API client #38

mjaquiery opened this issue Feb 22, 2023 · 1 comment
Labels
v2.0.0 Required for v2.0.0
Milestone

Comments

@mjaquiery
Copy link
Collaborator

Python API client code should be automatically generated via swagger codegen API/docker container.
This could happen as a GitHub Action on merge, or perhaps on demand via the web interface (could offer a range of client languages).

@mjaquiery mjaquiery added the v2.0.0 Required for v2.0.0 label Feb 22, 2023
@mjaquiery mjaquiery added this to the v2.0.0 milestone Feb 22, 2023
mjaquiery added a commit that referenced this issue Feb 24, 2023
Major update. 

## Key features:
- Moved backend over from Flask to Django
  - Streamlines database interaction
  - Provides a more reliable framework for code
- Converted frontend to TypeScript
  - More robust code
- Separated Harvester code from backend code
  - Harvesters now rely on API endpoints rather than direct database writes
- Updated documentation throughout

## Missing features (todo):
#39 
- Frontend tests
- Cleaning out old frontend files

#40 
- Entity creation logic should be handled by Django Serializers rather than Views
- Harvester ENV stuff no longer handled 
  - Mostly matters for being able to specify a base path; could be done in config/Harvester view
- Updated Entity Relationship Diagram

#38 
- Python API client code
  - Should be automatically generated via swagger codegen API/docker container, perhaps on demand?

#41 
- Migration from old database

#42 
- API token management (including long-term tokens for scripts)
- User management (reset password, update email?)

#43 
- Profiling important things
  - Data upload
  - Data download
@mjaquiery mjaquiery mentioned this issue Feb 24, 2023
@mjaquiery
Copy link
Collaborator Author

Closed in #60

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
v2.0.0 Required for v2.0.0
Projects
None yet
Development

No branches or pull requests

1 participant