Fix the model registration 85/13185/1 j-release
authorsubhash kumar singh <subh.singh@samsung.com>
Tue, 9 Jul 2024 11:00:54 +0000 (11:00 +0000)
committersubhash kumar singh <subh.singh@samsung.com>
Wed, 10 Jul 2024 06:10:47 +0000 (06:10 +0000)
commit59b1c3043699c7c40b36b173d8228b6b338752a4
treed332f948865982aa4afff08ce2840701e97a42a9
parentc24bf293af0c1bb952add633e9eb2a978885430f
Fix the model registration

Fixed model registiration by creating instance of dbMgr.
Also code is modified to be more testable.

Issue-ID: AIMLFW-108
Change-Id: If6c03cb1aaaeeb0e8c3794bbb787abcf25946859
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
(cherry picked from commit b9b49db849791deae6e67464dd6b41ddfd4ab8bd)
Dockerfile
apis/mmes_apis.go
apis_test/mmes_apis_test.go [new file with mode: 0644]
go.mod
go.sum
main.go
routers/router.go