From c6f5e62561c12506ad4b1aeca932e2170586052a Mon Sep 17 00:00:00 2001 From: dvince Date: Wed, 29 May 2024 14:10:25 -0400 Subject: [PATCH 01/27] Updating the current `ModelConfiguration` class to be `ModelConfigurationLegacy` so that we can work with `ModelConfiguration` without issue. --- .../tera-regular-model-configurations.vue | 4 +- .../tera-stratified-model-configurations.vue | 4 +- .../model-diagrams/tera-model-diagram.vue | 7 +- .../model/petrinet/tera-initial-entry.vue | 4 +- .../model/petrinet/tera-initial-table-v2.vue | 4 +- .../model/petrinet/tera-model-description.vue | 6 +- .../model/petrinet/tera-parameter-entry.vue | 4 +- .../petrinet/tera-parameter-table-v2.vue | 4 +- .../model/petrinet/tera-parameter-table.vue | 6 +- .../model/petrinet/tera-petrinet-tables.vue | 4 +- .../model/regnet/tera-regnet-tables.vue | 4 +- .../model/stockflow/tera-stockflow-tables.vue | 4 +- .../model/tera-model-semantic-tables.vue | 4 +- .../src/components/model/tera-model.vue | 6 +- .../tera-calibrate-ciemss.vue | 4 +- .../tera-calibrate-ensemble-ciemss.vue | 4 +- .../calibrate-julia/tera-calibrate-julia.vue | 4 +- .../workflow/ops/funman/tera-funman.vue | 4 +- .../model-config/model-config-operation.ts | 4 +- .../ops/model-config/tera-model-config.vue | 12 ++-- .../optimize-ciemss/tera-optimize-ciemss.vue | 4 +- .../petrinet/petrinet-service.ts | 4 +- .../src/services/calibrate-workflow.ts | 5 +- .../src/services/model-configurations.ts | 66 +++++++++++-------- .../client/hmi-client/src/services/model.ts | 8 ++- packages/client/hmi-client/src/types/Types.ts | 2 +- .../ModelConfigurationController.java | 34 +++++----- .../dataservice/ModelController.java | 18 ++--- .../SimulationRequestController.java | 32 ++++----- ...ion.java => ModelConfigurationLegacy.java} | 2 +- .../data/ModelConfigurationService.java | 7 +- .../hmiserver/service/data/ModelService.java | 6 +- .../ConfigureFromDatasetResponseHandler.java | 6 +- .../tasks/ConfigureModelResponseHandler.java | 6 +- .../ModelConfigurationControllerTests.java | 14 ++-- 35 files changed, 163 insertions(+), 148 deletions(-) rename packages/server/src/main/java/software/uncharted/terarium/hmiserver/models/dataservice/model/{ModelConfiguration.java => ModelConfigurationLegacy.java} (91%) diff --git a/packages/client/hmi-client/src/components/model/petrinet/model-configurations/tera-regular-model-configurations.vue b/packages/client/hmi-client/src/components/model/petrinet/model-configurations/tera-regular-model-configurations.vue index 9e1f42870f..77dc5668f6 100644 --- a/packages/client/hmi-client/src/components/model/petrinet/model-configurations/tera-regular-model-configurations.vue +++ b/packages/client/hmi-client/src/components/model/petrinet/model-configurations/tera-regular-model-configurations.vue @@ -104,11 +104,11 @@ diff --git a/packages/client/hmi-client/src/components/model/petrinet/tera-parameter-entry.vue b/packages/client/hmi-client/src/components/model/petrinet/tera-parameter-entry.vue index c3f19afd64..2272a6d174 100644 --- a/packages/client/hmi-client/src/components/model/petrinet/tera-parameter-entry.vue +++ b/packages/client/hmi-client/src/components/model/petrinet/tera-parameter-entry.vue @@ -88,7 +88,7 @@