Commit Graph

2 Commits

Author SHA1 Message Date
Chanakya Thirumala Setty b59a4ebd5c
Add PostgreSQL Support to Model Registry (#1204)
* Added Postgres Support

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* Fixed imports and env param

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* Fixed order of migrations and syntax errors

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* Updated logging and used constants from service.go

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* fixed logging in migrate_test.go

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* Update params.env

Signed-off-by: Chanakya Thirumala Setty <66557279+Chanakya-TS@users.noreply.github.com>
Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* Refactor database type handling to use constants from a new types package

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* Makefile update

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* Added GHA

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* mysql gens

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* fixed incorrect gens

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* fixed typekind datatype

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* updating makefile

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* fixed default null issue

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* fixed workflow

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* updated go.mod go.sum

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* fixed migrate test

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* fixed errors

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* fixed unused import

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

* added error return

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>

---------

Signed-off-by: Chanakya Thirumala Setty <cthiruma@redhat.com>
Signed-off-by: Chanakya Thirumala Setty <66557279+Chanakya-TS@users.noreply.github.com>
2025-07-01 13:50:17 +00:00
Alessio Pragliola 39b8787d46
feat: implement EmbedMD business logic (#1205)
* feat: introduce embedmd business logic

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>

* fix: post rebase tests and build

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>

* fix: linting

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>

* feat: use custom gorm gen

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>

* fix: handle structvalue data

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>

* fix: e2e tests

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>

* fix: remove default states

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>

* fix: unit tests

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>

* feat: improve coverage and fix some bugs on pagination

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>

* chore: change Of() In() to already existing funcs

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>

* chore: move PWD to CURDIR in Makefile

Co-authored-by: Paul Boyd <paul@camelot.email>
Signed-off-by: Alessio Pragliola <83355398+Al-Pragliola@users.noreply.github.com>

* fix: potential overflow bugs in int conversion

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>

* feat: added flags to the gorm-gen binary

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>

* chore: remove unplanned dbtype from gorm-gen

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>

* feat: remove pointer methods from pagination

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>

* feat: refactor db models

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>

---------

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>
Signed-off-by: Alessio Pragliola <83355398+Al-Pragliola@users.noreply.github.com>
Co-authored-by: Paul Boyd <paul@camelot.email>
2025-06-18 13:50:09 +00:00