summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-api/opendc/api
AgeCommit message (Collapse)Author
2022-04-04feat(web/api): Initial API implementation in KotlinFabian Mastenbroek
This change adds the initial implementation of the new API server in Kotlin, replacing the old API written in Python. The implementation uses Quarkus, RESTEasy, and Hibernate to implement the new API endpoints. The reason for replacing the old API server is unifying the build and deployment toolchains, reducing the number of technologies necessary to work with OpenDC. Furthermore, we envision bundling the entire OpenDC project into a single distributions, allowing users to launch their own deployment trivially.
2021-07-08api: Add endpoints for accessing project relationsFabian Mastenbroek
This change adds additional endpoints to the REST API to access the project relations, the portfolios and topologies that belong to a project.
2021-07-02api: Restrict API scopesFabian Mastenbroek
This change adds support for restricting API scopes in the OpenDC API server. This is necessary to make a distinction between runners and regular users.
2021-07-02api: Add endpoint for simulation jobsFabian Mastenbroek
This change adds an API endpoint for simulation jobs which allows API consumers to manage simulation jobs without needing direct database access that is currently needed for the web runner.
2021-07-02api: Add stricter validation of input/output dataFabian Mastenbroek
This change adds stricter validation of data that enters and leaves the database. As a result, we clearly separate the database model from the data model that the REST API exports.
2021-05-18api: Migrate to Flask RestfulFabian Mastenbroek
This change updates the API to use Flask Restful instead of our own in-house REST library. This change reduces the maintenance effort and allows us to drastically simplify the API implementation needed for the OpenDC v2 API.
2021-05-17api: Remove user handling from OpenDC API serverFabian Mastenbroek
This change removes any of the user handling and endpoints from the OpenDC API server. The API server does not need to store user information other than an identifier in the database.
2021-05-17api: Migrate to Auth0 for API authorizationFabian Mastenbroek
This change updates the OpenDC API to use Auth0 for API authorization. This removes the hard dependency on Google for logging into OpenDC and simplifies implementation as we do not have to store user information anymore, other than the user identifier.
2021-05-10api: Restore trace endpointFabian Mastenbroek
This change adds the trace endpoint, which was unfortunately removed due to an incorrect .gitignore statement.
2021-04-25build: Migrate to flat project structureFabian Mastenbroek
This change updates the project structure to become flattened. Previously, the simulator, frontend and API each lived into their own directory. With this change, all modules of the project live in the top-level directory of the repository. This should improve discoverability of modules of the project.