From: Taewan Kim Date: Mon, 6 Oct 2025 13:49:04 +0000 (+0900) Subject: Change the variables used in the training job creation X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=cc9d379653fba9e39011389892130b04fbc9e6ba;p=portal%2Faiml-dashboard.git Change the variables used in the training job creation Changed as follows: modelLocation, trainingConfig, trainingDataset, validationDataset, notificationDestination, consumerRAppId, producerRAppId Issue-ID: AIMLFW-237 Change-Id: I27105c22dc7237af86262c145fa6ac46bd7f9cb0 Signed-off-by: Taewan Kim --- diff --git a/src/components/home/form/CreateOrEditTrainingJobForm.js b/src/components/home/form/CreateOrEditTrainingJobForm.js index a4545e8..668989d 100644 --- a/src/components/home/form/CreateOrEditTrainingJobForm.js +++ b/src/components/home/form/CreateOrEditTrainingJobForm.js @@ -374,11 +374,11 @@ class CreateTrainingJob extends React.Component { trainingJobAPI.invokeTrainingJob({ data: { modelId: { - modelname: this.state.modelName, - modelversion: this.state.modelVersion, + modelName: this.state.modelName, + modelVersion: this.state.modelVersion, }, - model_location: this.state.modelLocation, - training_config: { + modelLocation: this.state.modelLocation, + trainingConfig: { description: this.state.trainingConfigDescription, dataPipeline: { feature_group_name: this.state.featureGroupName, @@ -392,11 +392,11 @@ class CreateTrainingJob extends React.Component { retraining_pipeline_version: this.state.retrainingPipelineVersion, }, }, - training_dataset: this.state.trainingDataset, - validation_dataset: this.state.validationDataset, - notification_url: this.state.notificationUrl, - consumer_rapp_id: this.state.consumerRappId, - producer_rapp_id: this.state.producerRappId, + trainingDataset: this.state.trainingDataset, + validationDataset: this.state.validationDataset, + notificationDestination: this.state.notificationUrl, + consumerRAppId: this.state.consumerRappId, + producerRAppId: this.state.producerRappId, } }) .then(res => {