Issue-Id: AIMLFW-183: Add API to get trainingJobs from modelId 83/14283/7
authorashishj1729 <jain.ashish@samsung.com>
Wed, 26 Mar 2025 05:55:37 +0000 (11:25 +0530)
committerashishj1729 <jain.ashish@samsung.com>
Mon, 31 Mar 2025 05:03:47 +0000 (10:33 +0530)
commit8c33b20f20db2226923abfd0af509dc93cb2692e
treebc4aaade99d0a08de7221cd68f6888dfff57d9ca
parent0ba47b73b4364daaf1ceac60c82a1abb66a0ff53
Issue-Id: AIMLFW-183: Add API to get trainingJobs from modelId

Following Items are implemented:
1. Added an API-endpoint ('/training-jobs/<model_name>/<model_version>') which will take ModelId (modelName + modelVersion) as input and returns all the TrainingJobs associated with the ModelId.

Change-Id: I1363fd9bc17631147d94b1c55f2003e72da1bcc1
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
tests/test_featuregroup_service.py
tests/test_trainingjob_controller.py
tests/test_trainingjob_db.py [new file with mode: 0644]
tests/test_trainingjob_service.py
trainingmgr/controller/trainingjob_controller.py
trainingmgr/db/trainingjob_db.py
trainingmgr/service/training_job_service.py