Commit Graph

5 Commits

Author SHA1 Message Date
Alessio Pragliola 47374731d5
feat: move to go 1.24 (#1313)
* feat: move to go 1.24

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

* fix: docker image tag

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

---------

Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>
2025-07-14 19:02:37 +00:00
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
dependabot[bot] 250a1fc7f8
build(deps): bump github.com/jackc/pgx/v5 from 5.3.0 to 5.5.4 in /gorm-gen (#1221)
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.3.0 to 5.5.4.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.3.0...v5.5.4)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-version: 5.5.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-18 14:46:09 +00:00
dependabot[bot] 290abf274f
build(deps): bump golang.org/x/crypto from 0.14.0 to 0.35.0 in /gorm-gen (#1220)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.35.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.35.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.35.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-18 14:30:10 +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