Commit Graph

3 Commits

Author SHA1 Message Date
Andrea Lamparelli 90f7ddcd8d
Automate openapi server generation (#308)
* Fix type_assert.patch

* Improve openapi-server generation

* Automate openapi server generation if something changed
2024-02-15 11:17:29 +01:00
Isabella Basso do Amaral c893ea861a add pre-commit hooks
Closes: #277
Signed-off-by: Isabella Basso do Amaral <idoamara@redhat.com>
2024-02-06 09:49:33 -03:00
Matteo Mortari c0d00e5733
Implement REST API Server for Model Registry (#108)
* WIP working manually

* Increase REST wirings and cover with Robot

* Align to a309537 Improve core layer testing #85

* Implement opeanpi models converter

* Treat coreApi as interface

* Align to ModelArtifact comment, not resolved yet

* Automate type_asserts generation with gen/openapi-server

* Add Robot for Data Layer mapping

implementing REST(Go)<->gRPC

* Add check for artifactType

* Wire REST FindXXX to core GetXXXByParams

* Wire REST GetXXXYYY to core API methods

* Wire REST UpdateXXX to core UpsertXXX methods

* Use localhost for Robot file

* Align to goverter changes

* rebase goverter implementation

* Update cmd/proxy.go

Co-authored-by: Andrea Lamparelli <a.lamparelli95@gmail.com>

---------

Co-authored-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
2023-11-07 10:55:48 +01:00