aiml-fw/awmf/modelmgmtservice.git
8 weeks agoMerge "Add Update ArtifactVersion Functionality after Model-Upload via MME"
subhash kumar singh [Fri, 17 Oct 2025 06:11:21 +0000 (06:11 +0000)]
Merge "Add Update ArtifactVersion Functionality after Model-Upload via MME"

8 weeks agoAdd Update ArtifactVersion Functionality after Model-Upload via MME 37/15137/4
ashishj1729 [Thu, 9 Oct 2025 19:05:48 +0000 (00:35 +0530)]
Add Update ArtifactVersion Functionality after Model-Upload via MME

1. Handling Error Scenarios in MME-Upload Model
2. Updating ArtifactVersion when model is uploaded

Issue-id: AIMLFW-282
Change-Id: Icc586cde7827dd1d901f58eb09bfbec582109277
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
2 months agomodels/db: introduce TargetEnvironment side-table; batch attach on reads; add CRUD... 08/14808/6
alswp006 [Sat, 9 Aug 2025 10:14:43 +0000 (19:14 +0900)]
models/db: introduce TargetEnvironment side-table; batch attach on reads; add CRUD tests

- Add internal-only fields to models.TargetEnvironment:
  * ID (uuid, PK)
  * ModelRelatedInformationID (FK -> model_related_informations.id)
  Both are tagged with json:"-" so the public API remains unchanged.

- Migration:
  * AutoMigrate(&ModelRelatedInformation{}, &TargetEnvironment{}) so
    target_environments has 5 columns:
    (id, model_related_information_id, platform_name, environment_type, dependency_list).
  * For existing DBs, legacy rows without model_related_information_id need
    backfill or archival; otherwise they will not attach to parents.

- Fixes the registration error:
  "column model_related_information_id does not exist".

- Tests:
  * Add CRUD unit test (TestCRUD_Subtests) covering create/read/replace/partial(nil)/clear([])/delete.
    All pass with -race.

Change-Id: Id57bf7721ce2295fceb394a0dd82feab72e60a95
Signed-off-by: alswp006 <alswp006@gmail.com>
2 months agoAdd Unit-tests for upload-model 77/14977/6
ashishj1729 [Wed, 24 Sep 2025 11:24:40 +0000 (16:54 +0530)]
Add Unit-tests for upload-model

Adding 1 Success and 2 Failure unit-test for upload-model

Issue-id: AIMLFW-261
Change-Id: I2e80a05345d6a9d8e30b3ef355065af8508e1372
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
2 months agoMove Mocks to the separate package "mme_mocks" 76/14976/5
ashishj1729 [Wed, 24 Sep 2025 11:22:14 +0000 (16:52 +0530)]
Move Mocks to the separate package "mme_mocks"

Moving Mocks of (DbMgrMock, IDBMock) to a separate package "mme_mocks" for better code-readability

Issue-id: AIMLFW-261
Change-Id: I3349b5bfc802a26adcb6ce307e711a52680541d3
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
2 months agoAdd Model-Registration Check during Upload-Model 67/14967/8
ashishj1729 [Mon, 22 Sep 2025 19:07:29 +0000 (00:37 +0530)]
Add Model-Registration Check during Upload-Model

Whenever an external model is uploaded, registration of model will be checked, and if model is NOT found to be registered, user is prompted to register the model first.

Issue-id: AIMLFW-261
Change-Id: I79b51f0f455af441fccc8894ed6bd231e98c5af5
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
2 months agoBump container tag versions 92/15092/1
Swaraj Kumar [Mon, 29 Sep 2025 11:13:53 +0000 (16:43 +0530)]
Bump container tag versions

`container-tag.yaml` tag updated to 5.0.0 (for M-release).

Issue-ID: AIMLFW-274
Change-Id: Iaca483477c0d4987d2b0d6dccf526e1b5ea69032
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
2 months agoAIMLFW-265: Fix unit tests after mme API changes 69/14969/4
JuheeShin [Tue, 23 Sep 2025 05:33:37 +0000 (05:33 +0000)]
AIMLFW-265: Fix unit tests after mme API changes

- Updated mmes_apis_test.go to align with latest MmeApiHandler error responses
- Adjusted expected values for 409 Conflict and 500 Internal Server Error
- Resolves unit test failures caused by mismatch between test assertions and new API response format

Change-Id: I69e9dff007525387f400423104f050f03b04a407
Signed-off-by: JuheeShin <odong3094@khu.ac.kr>
2 months agoEnhance R1 Interface API Specifications for Standard Compliance 63/14963/13
JuheeShin [Mon, 22 Sep 2025 10:07:59 +0000 (10:07 +0000)]
Enhance R1 Interface API Specifications for Standard Compliance

Update the R1 interface API specifications and implementation to comply
with O-RAN standards and RFC 7807 guidelines. Several deviations from
O-RAN R1 specifications and API best practices were identified and fixed:

- Schema Consistency: Added missing fields (artifactVersion, owner) and
  ensured inputDataType/outputDataType are arrays with targetEnvironment included.
- Error Handling: Standardized error responses (400/404/500) to use
  RFC 7807 ProblemDetails format.
- Naming Consistency: Unified path parameters and schema naming to follow
  camelCase (e.g., id → modelId).

The artifactVersion and targetEnvironment fields are planned to be incorporated in a follow-up patch.

Issue-ID: AIMLFW-256

Change-Id: I01365edf62b25eab4b704c7c9c455802122b2ce2
Signed-off-by: JuheeShin <odong3094@khu.ac.kr>
4 months agogolang.org/x/crypto to v0.40.0 in modelmgmtservice 84/14784/4
ggori [Mon, 4 Aug 2025 11:02:11 +0000 (11:02 +0000)]
golang.org/x/crypto to v0.40.0 in modelmgmtservice

Fix PublicKeyCallback misuse from v0.21.0 to v0.40.0
- Updated go.mod using `go mod edit -replace=golang.org/x/crypto@v0.21.0=golang.org/x/crypto@v0.40.0 `
- Synced via `go mod tidy`
- Adjust line spacing on go.mod

Issue-Id: AIMLFW-220
Change-Id: Ifa9c0bca7a4579b1d38a13122f15ab1b1155603e
Signed-off-by: ggori <wjdxodlf012345@khu.ac.kr>
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
4 months agoAdjust line spacing on go.mod 85/14785/1
offina [Sat, 2 Aug 2025 08:48:11 +0000 (17:48 +0900)]
Adjust line spacing on go.mod

Change-Id: I2a3fa59c179d0992832957719eee87f09280b676
Signed-off-by: offina <ina@offina.ai>
5 months agoUpdate release notes 64/14664/1
Swaraj Kumar [Thu, 3 Jul 2025 16:53:19 +0000 (22:23 +0530)]
Update release notes

Release note updated for L release

Change-Id: Idca3f997b0d1b633f3f1dd11c20ce3b3fb93c51c
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
5 months agoMerge "Fix OpenAPI for MME"
subhash kumar singh [Thu, 26 Jun 2025 12:56:48 +0000 (12:56 +0000)]
Merge "Fix OpenAPI for MME"

5 months agoFix OpenAPI for MME 17/14617/1
subhash kumar singh [Thu, 26 Jun 2025 12:19:01 +0000 (12:19 +0000)]
Fix OpenAPI for MME

Fixed the incorrect endpoints for MME APIs.

Change-Id: I63e86ca9926eff2d2f17608fd2f60b1c4ba96fca
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
5 months agoRelease new image for modelmgmtservice 01/14601/3
Swaraj Kumar [Wed, 25 Jun 2025 13:47:44 +0000 (19:17 +0530)]
Release new image for modelmgmtservice

Update 'release.yaml' to release L-release artifact

Change-Id: Iab1ed8a3d712d848f12affa009308bb99adeae1c
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
5 months agoContainer tag update 96/14596/2 4.0.0
Swaraj Kumar [Wed, 25 Jun 2025 13:25:21 +0000 (18:55 +0530)]
Container tag update

Release preparation for L release

Change-Id: Ibb790abe21ee49b79270569e1582d0f7136f292d
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
6 months agoUpdating MME.yaml as per latest Download and Upload-Model API 99/14499/4
Ashish Jain [Fri, 23 May 2025 06:50:16 +0000 (06:50 +0000)]
Updating MME.yaml as per latest Download and Upload-Model API

Issue-id: AIMLFW-208
Change-Id: Ib55f83ddf0f7bfded11835e1c54700e60a907f04
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
6 months agoUpdating request.http for latest Download & Upload-Model APIs 98/14498/4
Ashish Jain [Fri, 23 May 2025 06:38:34 +0000 (06:38 +0000)]
Updating request.http for latest Download & Upload-Model APIs

Issue-id: AIMLFW-208
Change-Id: I271c80e67aefd7965ff563be2c4f8030679cb1b3
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
6 months agoUpgrading API Download and Upload Model to support ModelVersion and ArtifactVersion 95/14495/6
ashishj1729 [Thu, 22 May 2025 07:41:47 +0000 (13:11 +0530)]
Upgrading API Download and Upload Model to support ModelVersion and ArtifactVersion

Issue-id: AIMLFW-208
Change-Id: Ia38af79eaf63fb6546b7b2dc580115e2fe29fe56
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
6 months agoAdding BucketExist check during Upload-Model 94/14494/5
ashishj1729 [Thu, 22 May 2025 07:39:54 +0000 (13:09 +0530)]
Adding BucketExist check during Upload-Model

Issue-Id: AIMLFW-208
Change-Id: I8813f790a7d20e8b7d8cb3db160b560cd05c7a21
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
6 months agoAdding Debug Level in Logger 96/14496/2
ashishj1729 [Thu, 22 May 2025 09:35:58 +0000 (15:05 +0530)]
Adding Debug Level in Logger

Issue-id: AIMLFW-208
Change-Id: I29b07eaeac3eca0db6ac69a9a2d49e4d1af73756
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
6 months agochange in the error msg for the getModelInfo 65/14265/15
rajdeep11 [Mon, 17 Mar 2025 09:25:28 +0000 (14:55 +0530)]
change in the error msg for the getModelInfo

Change-Id: I34f97618788e747ea417f83d08e5ab552d2c619e
Signed-off-by: rajdeep11 <rajdeep.sin@samsung.com>
6 months agoadding ProblemDetail model for error message 57/14257/16
rajdeep11 [Thu, 13 Mar 2025 10:50:53 +0000 (16:20 +0530)]
adding ProblemDetail model for error message

Issue-Id: AIMLFW-181

1) Added the Problem detail model.
2) changes to the register model info.

Change-Id: I0c107003676e95a31f17a64501d8d489fd5ca4e1
Signed-off-by: rajdeep11 <rajdeep.sin@samsung.com>
10 months agoUpdating MME-APIs under postman 41/14141/1
ashishj1729 [Thu, 6 Feb 2025 12:19:53 +0000 (17:49 +0530)]
Updating MME-APIs under postman

Change-Id: Ib2bc7ea46a388a1f3b1a9c9fae1600b49d23053a
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
10 months agochanges to fix update model 30/14130/1
rajdeep11 [Fri, 31 Jan 2025 09:12:43 +0000 (14:42 +0530)]
changes to fix update model

Issue-Id: AIMLFW-174

Change-Id: I263294f683a9edc3b7296c6c35085a3cf2b5c8e9
Signed-off-by: rajdeep11 <rajdeep.sin@samsung.com>
11 months agoUpdating Header as per new API-root change 32/14032/1
ashishj1729 [Wed, 8 Jan 2025 11:53:12 +0000 (17:23 +0530)]
Updating Header as per new API-root change

Change-Id: I367e7ed39fed5d68a0b4f15477ea2bf396a1fb35
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
11 months agoupdated container tag 33/14033/1
Swaraj Kumar [Fri, 3 Jan 2025 11:43:34 +0000 (17:13 +0530)]
updated container tag

Change-Id: I4c1a869dcc6ba15f4720d7341fa6b250dbecb6e2
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
11 months agochanges for creating new container tag for k release 89/13989/1
rajdeep11 [Fri, 3 Jan 2025 09:31:47 +0000 (15:01 +0530)]
changes for creating new container tag for k release

Change-Id: I35fb01ec5aab42e969bc76ae32e1d6b75070ffcf
Signed-off-by: rajdeep11 <rajdeep.sin@samsung.com>
11 months agoMerge "adding the model discovery url prefix"
subhash kumar singh [Thu, 26 Dec 2024 11:55:31 +0000 (11:55 +0000)]
Merge "adding the model discovery url prefix"

11 months agoadding the model discovery url prefix 81/13981/1
rajdeep11 [Thu, 26 Dec 2024 11:51:41 +0000 (17:21 +0530)]
adding the model discovery url prefix

Change-Id: I3b8308e7461b2655324c697644fef4601a887832
Signed-off-by: rajdeep11 <rajdeep.sin@samsung.com>
11 months agoMerge "changing the url based on specs"
subhash kumar singh [Thu, 26 Dec 2024 11:29:58 +0000 (11:29 +0000)]
Merge "changing the url based on specs"

11 months agochanging the url based on specs 77/13977/1
rajdeep11 [Thu, 26 Dec 2024 10:32:12 +0000 (16:02 +0530)]
changing the url based on specs

Change-Id: Ie40f54e55f862ad0fdbaf57e9758b747291a1ba3
Signed-off-by: rajdeep11 <rajdeep.sin@samsung.com>
11 months agoIntegrate slog with logger 59/13959/1
subhash kumar singh [Mon, 23 Dec 2024 10:00:32 +0000 (10:00 +0000)]
Integrate slog with logger

Integrated slog with logger.

Change-Id: If2ae8ffe505b3248254eac941fbb002c1b061b59
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
11 months agoUpdate the logger of Modelmgmtservice 75/13875/3
gyuyoung [Sat, 14 Dec 2024 17:49:29 +0000 (02:49 +0900)]
Update the logger of Modelmgmtservice

- Add 'slog' logger in modelmgmtservice
- Ability to change log output format (e.g., JSON, text)
- Log file rotation functionality
- Logging to stdout
- Logging filter based on log levels

Issue-ID: AIMLFW-172

Change-Id: I56f3e0de3632eeed00366c9e531f8e85284c73b6
Signed-off-by: gyuyoung <gyoue200125@gmail.com>
11 months agoMerge "changes for the update artifact version"
subhash kumar singh [Thu, 19 Dec 2024 13:10:56 +0000 (13:10 +0000)]
Merge "changes for the update artifact version"

11 months agochanges for the update artifact version 02/13902/2
rajdeep11 [Thu, 19 Dec 2024 00:41:03 +0000 (06:11 +0530)]
changes for the update artifact version

Change-Id: I622c96805d43f1dca4c5c2068fb10527aac169a5
Signed-off-by: rajdeep11 <rajdeep.sin@samsung.com>
12 months agomodel mgmt fixes 48/13848/3
Monosij Ghosh [Tue, 10 Dec 2024 11:58:25 +0000 (17:28 +0530)]
model mgmt fixes

modified return code for delete model API

Change-Id: I744b75515f3a47ccea40b4f034f32c297901e205
Signed-off-by: Monosij Ghosh <mono.ghosh@samsung.com>
12 months agoExample for model update 42/13842/1
subhash kumar singh [Mon, 9 Dec 2024 11:59:09 +0000 (11:59 +0000)]
Example for model update

Added example for model update.

Change-Id: I5348a4bab9f0e65cec10b3c9c698d6a415789cd5
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
12 months agoModel discovery align with spec 41/13841/1
subhash kumar singh [Mon, 9 Dec 2024 11:43:49 +0000 (11:43 +0000)]
Model discovery align with spec

Changes to align model discovery with specification.

Change-Id: Ib782f15e2b88cf7ab22861fa90747bbac4d79ac3
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
12 months agoUpgrading ModelInfo Model as per R1AP v6 Specs 18/13818/2
ashishj1729 [Thu, 5 Dec 2024 21:34:52 +0000 (03:04 +0530)]
Upgrading ModelInfo Model as per R1AP v6 Specs

Change-Id: If070badab55a6c1c3e4c21afbaec3a6defab44c4
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
13 months agoManage the postgres environment variable by configmanager in modelmgmtservice 69/13669/1
gyuyoung [Sun, 20 Oct 2024 13:05:37 +0000 (22:05 +0900)]
Manage the postgres environment variable by configmanager in modelmgmtservice

- Modify the added postgres environment variable to be managed by
  config_manager
- Apply config_manager data into main code

Issue-ID: AIMLFW-168

Change-Id: I89b83908b3badd057110e3104044c7c228e25f3f
Signed-off-by: gyuyoung <gyoue200125@gmail.com>
13 months agoSwagger file:components for mme 63/13663/1
Swaraj Kumar [Fri, 18 Oct 2024 06:15:25 +0000 (11:45 +0530)]
Swagger file:components for mme

Change-Id: I46fcc486cc28853e757430096c6fb4b20001852a
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
13 months agoSwagger file:download model for mme 62/13662/1
Swaraj Kumar [Fri, 18 Oct 2024 06:14:30 +0000 (11:44 +0530)]
Swagger file:download model for mme

Change-Id: Idceb2af2e0993ac0b707f53542aef37ee7e6a3b1
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
13 months agoSwagger file:upload model for mme 61/13661/1
Swaraj Kumar [Fri, 18 Oct 2024 06:14:00 +0000 (11:44 +0530)]
Swagger file:upload model for mme

Change-Id: I865a77dc64adf149c6b987f1a3f06aca0d8fd965
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
13 months agoSwagger file:model info with id for mme 60/13660/1
Swaraj Kumar [Fri, 18 Oct 2024 06:12:40 +0000 (11:42 +0530)]
Swagger file:model info with id for mme

Change-Id: Ifa44323e99327890e568bdde60c751562b413e07
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
13 months agoSwagger file:get model info for mme 59/13659/1
Swaraj Kumar [Fri, 18 Oct 2024 06:10:52 +0000 (11:40 +0530)]
Swagger file:get model info for mme

Change-Id: Iff381a8189a32b2844aebc3334e00c93e78f929a
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
13 months agoSwagger file: register model for mme 58/13658/1
Swaraj Kumar [Fri, 18 Oct 2024 06:09:34 +0000 (11:39 +0530)]
Swagger file: register model for mme

Change-Id: I63df68337fa149f1b7073a2950165f6b95513738
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
13 months agoSwagger file for mme 57/13657/1
Swaraj Kumar [Fri, 18 Oct 2024 06:08:11 +0000 (11:38 +0530)]
Swagger file for mme

Change-Id: I957d23abbdd236f867c9af5465a97d0ea4658897
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
13 months agoImplement the configuration data management code in modelmgmtservice 86/13286/6
gyuyoung [Thu, 29 Aug 2024 14:30:58 +0000 (23:30 +0900)]
Implement the configuration data management code in modelmgmtservice

- Add 'config' package for easy and safe handling of configuration data
- Add 'godotenv' library to load environment files(ex, .env)
- Update 'main.go' to utilize the new 'config' package
- Modify env_loader.go to use viper package
- Add new validation layer to check whether config data is valid or not
- Add test codes of config package
- Rebase origin HEAD
- Modify 'validate error msg' to provide user with clear messages

Issue-ID: AIMLFW-147

Change-Id: I3cea95f0d528c27ccf82a802759b965b06afe34d
Signed-off-by: gyuyoung <gyoue200125@gmail.com>
14 months ago1.Adding the postman collection 67/13567/1
rajdeep11 [Wed, 9 Oct 2024 12:03:42 +0000 (17:33 +0530)]
1.Adding the postman collection
2. returning model info when the modelinfo is updated

Change-Id: I393d9c44df0ac69f982e0e9c1574a9acd5abcbe3
Signed-off-by: rajdeep11 <rajdeep.sin@samsung.com>
14 months agoremoving the check for no record found, throwing error. 66/13566/1
rajdeep11 [Wed, 9 Oct 2024 10:34:36 +0000 (16:04 +0530)]
removing the check for no record found, throwing error.

Change-Id: Ib2d00ca778ff96d833f4e7c4823b82e36dd6a8e2
Signed-off-by: rajdeep11 <rajdeep.sin@samsung.com>
14 months agoget model info by id 58/13558/1
rajdeep11 [Wed, 9 Oct 2024 05:56:50 +0000 (11:26 +0530)]
get model info by id

Change-Id: I6f80ca928c507a4c71dbb29e5c881f37cfb984e2
Signed-off-by: rajdeep11 <rajdeep.sin@samsung.com>
14 months agochanges in the request.http 57/13557/1
rajdeep11 [Wed, 9 Oct 2024 05:10:02 +0000 (10:40 +0530)]
changes in the request.http

Change-Id: I689384a7e7d4402e8c02b134f13373e622a44c22
Signed-off-by: rajdeep11 <rajdeep.sin@samsung.com>
14 months agoadding the model discovery 24/13524/2
rajdeep11 [Tue, 8 Oct 2024 14:36:25 +0000 (20:06 +0530)]
adding the model discovery

Change-Id: I7763f1d2283766f89cdddc8e72fbc1c605692dda
Signed-off-by: rajdeep11 <rajdeep.sin@samsung.com>
14 months agofixing the register model request 23/13523/1
rajdeep11 [Tue, 8 Oct 2024 11:50:52 +0000 (17:20 +0530)]
fixing the register model request

Change-Id: I00756b0a0b3abd444722896368de3e829e0401bc
Signed-off-by: rajdeep11 <rajdeep.sin@samsung.com>
14 months agoMerge "Samle collection for request client"
Rajdeep Singh [Tue, 8 Oct 2024 09:51:40 +0000 (09:51 +0000)]
Merge "Samle collection for request client"

14 months agoSamle collection for request client 20/13520/2
subhash kumar singh [Mon, 7 Oct 2024 19:10:44 +0000 (19:10 +0000)]
Samle collection for request client

Collected different samples for requestclient to use for
API interaction.

Change-Id: I63a45a4ad567bc15817e8fb5a36d62d2addf5f49
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
14 months agoMerge "Add sample makefile for the build"
Rajdeep Singh [Tue, 8 Oct 2024 09:42:24 +0000 (09:42 +0000)]
Merge "Add sample makefile for the build"

14 months agoMerge "Sample deployment artifact for MME deployment"
Rajdeep Singh [Tue, 8 Oct 2024 09:39:43 +0000 (09:39 +0000)]
Merge "Sample deployment artifact for MME deployment"

14 months agoSample deployment artifact for MME deployment 19/13519/1
subhash kumar singh [Mon, 7 Oct 2024 19:08:24 +0000 (19:08 +0000)]
Sample deployment artifact for MME deployment

Sample deployment artifact for MME deployment.

Change-Id: I52aa5416852c5d8633a1e9164b9e83cbabb2b94d
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
14 months agoAdd sample makefile for the build 18/13518/1
subhash kumar singh [Mon, 7 Oct 2024 19:05:36 +0000 (19:05 +0000)]
Add sample makefile for the build

Added sample makefile for build process.

Change-Id: Iec796d05ef1500485e9c5d1626dfc9ad3404fbae
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
14 months agoImplement ModelInfoRepository 16/13516/3
subhash kumar singh [Mon, 7 Oct 2024 10:47:17 +0000 (10:47 +0000)]
Implement ModelInfoRepository

Implemented ModelInfoRepository with implementation.

Change-Id: If70abc07f440d12a42cee1581212a8d567828f0d
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
14 months agoDB connection for service layer 06/13506/2
subhash kumar singh [Mon, 7 Oct 2024 09:24:15 +0000 (09:24 +0000)]
DB connection for service layer

DB connection for service layer.
Note: Intially DB connection started using sqllite3 connection
later the connection would be updated to postgress.

Change-Id: I106fa3e8fdc16b762ed8203390a37375fef996e1
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
14 months agoInterface for data layer 04/13504/2
subhash kumar singh [Mon, 30 Sep 2024 14:30:07 +0000 (14:30 +0000)]
Interface for data layer

Interface for data layer.

Change-Id: I4f9d57f346940c3f52240d9a91ffd12d50e9facf
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
14 months agoRefactor models to separate folder 03/13503/2
subhash kumar singh [Mon, 30 Sep 2024 14:15:50 +0000 (14:15 +0000)]
Refactor models to separate folder

Refactor models to separate folder.

Change-Id: I5d3611b2293989589d9513449727409d2e07872a
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
14 months agochanges in the modelinfo by adding model id 35/13435/15
rajdeep11 [Wed, 25 Sep 2024 07:31:21 +0000 (13:01 +0530)]
changes in the modelinfo by adding model id

Change-Id: I619a13069a8d209b8c9ab3c5762d65a206230ddc
Signed-off-by: rajdeep11 <rajdeep.sin@samsung.com>
15 months agoImplement listing all model information stored in modelmgmtservice 59/13259/4
gyuyoung [Tue, 13 Aug 2024 16:07:43 +0000 (01:07 +0900)]
Implement listing all model information stored in modelmgmtservice

- Add an API to list all model information managed in modelmgmtservice
- Add the API testcase to verify whether it works or not
- Modify 'ModelInfo' struct as 'Bucket'
- Tidy some code to follow API and DB perspective
- Remove 'getModelInfoList' route and Update 'getModelInfo' route to
  list all model informations
- Remove unused comment

Issue-ID: AIMLFW-128

Change-Id: I0aded193271327379f4d1ee661eb2c8695acbf64
Signed-off-by: gyuyoung <gyoue200125@gmail.com>
16 months agoReduce image size of modelmgmtservice 17/13217/2
gyuyoung [Mon, 29 Jul 2024 13:36:38 +0000 (22:36 +0900)]
Reduce image size of modelmgmtservice

- Updated stage1 to build modelmgmtservice golang binary
- Added stage2 to run modelmgmtservice golang binary with compact
  environment
- Change alpine tag from 'latest' to '3.20' for fixing development environment

Issue-ID: AIMLFW-116

Change-Id: Idce95bef25c4505f0edb0a810bfebdc96b89283a
Signed-off-by: gyuyoung <gyoue200125@gmail.com>
16 months agoRelease tag update 74/13174/3
subhash kumar singh [Thu, 11 Jul 2024 13:04:16 +0000 (13:04 +0000)]
Release tag update

Updated release tag to fix AIMLFW-108.

Change-Id: I54679bb6967cd4c0c8c4449b65b7dba82acc7bfa
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
17 months agoFix the model registration 68/13168/3 2.0.1 3.0.0
subhash kumar singh [Tue, 9 Jul 2024 11:00:54 +0000 (11:00 +0000)]
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>
17 months agoRelease image 90/13090/1
rajdeep11 [Thu, 27 Jun 2024 12:03:48 +0000 (17:33 +0530)]
Release image

adding release image

Change-Id: I0c8109a4f12ab2f4ba2159ecfd9832c1f15b4612
Signed-off-by: rajdeep11 <rajdeep.sin@samsung.com>
17 months agoNew Container tag 88/13088/1 2.0.0
rajdeep11 [Thu, 27 Jun 2024 11:50:49 +0000 (17:20 +0530)]
New Container tag

adding the newer container tag

Change-Id: I7b11bceefb6a425bdf124812646f11dbddaa20a4
Signed-off-by: rajdeep11 <rajdeep.sin@samsung.com>
19 months agoPTL change 82/12782/1
subhash kumar singh [Thu, 25 Apr 2024 11:50:24 +0000 (11:50 +0000)]
PTL change

Change-Id: Idecc4c910b1a1eb5f76ce700bfb66af38b77b5a8
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
21 months agoAdd license to router 90/12590/1
subhash kumar singh [Mon, 4 Mar 2024 10:48:22 +0000 (10:48 +0000)]
Add license to router

Added missing license for `router.go`.

Change-Id: I4d6784ee1632a39b3fc6e7ae241adf7a2ce0bd50
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
21 months agoRefactor gin router 83/12583/1
subhash kumar singh [Fri, 1 Mar 2024 10:41:10 +0000 (10:41 +0000)]
Refactor gin router

Refactor gin router to have custom http server.

Change-Id: Iec4d712345950d39b186da173db147100b0ebb70
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
21 months agoHide the S3Manager details from DbMgr inerface 65/12565/1
subhash kumar singh [Fri, 23 Feb 2024 09:58:00 +0000 (09:58 +0000)]
Hide the S3Manager details from DbMgr inerface

Used DbMgr interface to hide the details of S3Maanager in
service layer.

Also fixed the the close on body if the err is thrown.

Change-Id: If113b9bdf9c7c5e43994c459c21995e5e02e331b
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
21 months agoIntroduce interface for DB 64/12564/1
subhash kumar singh [Fri, 23 Feb 2024 09:05:04 +0000 (09:05 +0000)]
Introduce interface for DB

Introcuced the interface for DB to remove direct dependency
on S3Mganager.

Also removed unused structure.

Change-Id: I88be5b595c0d41c490c723c65981c1902a7029ac
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
22 months agoMerge "Remove repetative call for S3Manager"
SANDEEP KUMAR JAISAWAL [Tue, 30 Jan 2024 09:14:33 +0000 (09:14 +0000)]
Merge "Remove repetative call for S3Manager"

22 months agoMerge "Remove unused structure"
SANDEEP KUMAR JAISAWAL [Tue, 30 Jan 2024 09:13:14 +0000 (09:13 +0000)]
Merge "Remove unused structure"

22 months agoAdding new commiters to the repository 55/12455/1
josephthaliath [Wed, 24 Jan 2024 12:08:33 +0000 (17:38 +0530)]
Adding new commiters to the repository

Change-Id: Ia40915ad194404bc4e947e37d5179e6ec7d83d31
Signed-off-by: josephthaliath <jo.thaliath@samsung.com>
22 months agoRemove repetative call for S3Manager 53/12453/1
subhash kumar singh [Wed, 24 Jan 2024 08:24:25 +0000 (08:24 +0000)]
Remove repetative call for S3Manager

Remove repetative call for `S3Manager` creation.

Change-Id: I0ff47ed3e6c58e1d5913f86b4e9a114ecd72d174
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
22 months agoRemove unused structure 52/12452/1
subhash kumar singh [Wed, 24 Jan 2024 07:51:44 +0000 (07:51 +0000)]
Remove unused structure

Removed unused structure.

Change-Id: I106bdbbbde3e59d24e46b134f5c403bb8c5f17e0
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
22 months agoChange Module name 49/12449/1
subhash kumar singh [Fri, 19 Jan 2024 11:21:21 +0000 (11:21 +0000)]
Change Module name

Changed module name from `example.com\mmes` to
`gerrit.o-ran-sc.org\r\aiml-fw\modelmgmtservice`.

Change-Id: I5a282c5d9d5ec499d66a9ce95f0e9b6af2f8a41d
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
2 years agoRelease related changes 62/12262/1 i-release
SANDEEP KUMAR JAISAWAL [Wed, 13 Dec 2023 12:28:48 +0000 (17:58 +0530)]
Release related changes

Issue-Id: AIMLFW-64

Change-Id: Ie24e3490d13ba2aed55457507d49b1b501f6cf65
Signed-off-by: SANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
2 years agoAdding trigger file for document generation 50/12250/1 1.0.0
SANDEEP KUMAR JAISAWAL [Wed, 13 Dec 2023 07:31:59 +0000 (13:01 +0530)]
Adding trigger file for document generation

Issue-Id: AIMLFW-64

Change-Id: Id036514588427cdc0c55490fc691655169abdb6f
Signed-off-by: SANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
2 years agoAdd doc gerating trigger file for repo 45/12245/2
SANDEEP KUMAR JAISAWAL [Wed, 13 Dec 2023 05:25:11 +0000 (10:55 +0530)]
Add doc gerating trigger file for repo

Issue-Id: AIMLFW-64

Change-Id: If6cd478ae48974c3b59a48dc05edd5ee0a3dfd16
Signed-off-by: SANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
2 years agoDocumentation, License files 36/12236/2
SANDEEP KUMAR JAISAWAL [Tue, 12 Dec 2023 08:49:00 +0000 (14:19 +0530)]
Documentation, License files

Issue-Id: AIMLFW-64

Change-Id: I87f29d48e59f2d5df822bb69fc152bfbaf2cb8a6
Signed-off-by: SANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
2 years agoReturning a fixed model.zip and review comments 93/12193/2
SANDEEP KUMAR JAISAWAL [Fri, 8 Dec 2023 08:58:10 +0000 (14:28 +0530)]
Returning a fixed model.zip and review comments

Issue-Id: AIMLFW-64

Change-Id: I1805ac7193594f79f44d24e3077d418bcc118c56
Signed-off-by: SANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
2 years agoAdding container-tag for docker images, license year change 72/12172/1
SANDEEP KUMAR JAISAWAL [Tue, 5 Dec 2023 06:49:56 +0000 (12:19 +0530)]
Adding container-tag for docker images, license year change

Issue-Id: AIMLFW-64

Change-Id: I564eda28a50828d03f7f462f0a95728e2e915902
Signed-off-by: SANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
2 years agoAdding docker file for CI build,Dir name changed 37/12137/2
SANDEEP KUMAR JAISAWAL [Wed, 29 Nov 2023 11:08:54 +0000 (16:38 +0530)]
Adding docker file for CI build,Dir name changed

Issue-Id: AIMLFW-64

Change-Id: I97e5a463993b3affbc37f7642731576a0503426a
Signed-off-by: SANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
2 years agoRemoving extra go calls, used to testing 84/12084/2
SANDEEP KUMAR JAISAWAL [Wed, 22 Nov 2023 17:00:12 +0000 (22:30 +0530)]
Removing extra go calls, used to testing

Issue-Id: AIMLFW-64

Change-Id: Ie07cc0f60ce85dcc2ac89e29686d58a1284f7f4b
Signed-off-by: SANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
2 years agoLogging module with common file logger 81/12081/1
SANDEEP KUMAR JAISAWAL [Wed, 22 Nov 2023 16:12:28 +0000 (21:42 +0530)]
Logging module with common file logger

Issue-Id: AIMLFW-64

Change-Id: I2c676ccc520a70d5c207152c8d2acc532fe1b191
Signed-off-by: SANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
2 years agoRegister model error handling 70/12070/1
SANDEEP KUMAR JAISAWAL [Tue, 21 Nov 2023 11:12:36 +0000 (16:42 +0530)]
Register model error handling

Issue-Id: AIMLFW-64

Change-Id: I37be89de3c417e6e7001b1fc114cbf8e1c23fe63
Signed-off-by: SANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
2 years agoExporting the model zip file extension to env variable 68/12068/1
SANDEEP KUMAR JAISAWAL [Tue, 21 Nov 2023 09:51:43 +0000 (15:21 +0530)]
Exporting the model zip file extension to env variable

Issue-Id: AIMLWF-64

Change-Id: I407a3b32aba8b9c2c454fe5164b879834e0c0c1a
Signed-off-by: SANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
2 years agoAdding getModelInfoByModelName API 67/12067/1
SANDEEP KUMAR JAISAWAL [Tue, 21 Nov 2023 07:33:21 +0000 (13:03 +0530)]
Adding getModelInfoByModelName API

Issue-Id: AIMLFW-64

Change-Id: I6131a882b3932183a73c171be33bdd86349503a4
Signed-off-by: SANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
2 years agodownloadModel implemented for MMES 52/12052/1
SANDEEP KUMAR JAISAWAL [Wed, 15 Nov 2023 11:32:39 +0000 (17:02 +0530)]
downloadModel implemented for MMES

Issue-Id: AIMLFW-64

Change-Id: Idfc7bb796cf1c12438409edfb05f5f053dd7094f
Signed-off-by: SANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
2 years agoImplemented uploadModel API 51/12051/1
SANDEEP KUMAR JAISAWAL [Wed, 15 Nov 2023 04:29:01 +0000 (09:59 +0530)]
Implemented uploadModel API

Issue-Id: AIMLFW-64

Change-Id: Ie3e6c9483234102e156a212cebea2db590ccd829
Signed-off-by: SANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
2 years agoGetModelInfo api implemented 35/12035/1
SANDEEP KUMAR JAISAWAL [Fri, 10 Nov 2023 07:04:03 +0000 (12:34 +0530)]
GetModelInfo api implemented

Issue-Id: AIMLFW-64

Change-Id: Ief893fa1ad2eb3b83d39c86e2bee6d8cf325b224
Signed-off-by: SANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
2 years agoReview comments : Adding copyright, remaning variables as per naming 34/12034/3
SANDEEP KUMAR JAISAWAL [Thu, 9 Nov 2023 18:03:21 +0000 (23:33 +0530)]
Review comments : Adding copyright, remaning variables as per naming
conventions

Issue-Id: AIMLFW-64

Change-Id: I633ede09e7ae6b903f10bb85580071a213fb99da
Signed-off-by: SANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
2 years agoInitial core functions for AIMLFW Model Management Service 22/12022/1
SANDEEP KUMAR JAISAWAL [Tue, 7 Nov 2023 16:08:59 +0000 (21:38 +0530)]
Initial core functions for AIMLFW  Model Management Service

Issue-Id: AIMLFW-64

Change-Id: Idda11ab96ad0da076ed86db30e2240b2546ff74e
Signed-off-by: SANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>