Skip to content

Commit

Permalink
chnaged mdms constant name
Browse files Browse the repository at this point in the history
  • Loading branch information
tanishi-egov committed Sep 3, 2024
1 parent 9cbf836 commit 623d096
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public class ServiceConstants {
public static final String MDMS_MASTER_SCHEMAS = "Schemas";
public static final String MDMS_MASTER_METRIC = "Metric";
public static final String MDMS_MASTER_UOM = "Uom";
public static final String MDMS = "mdms";
public static final String MDMS_CODE = "mdms";

public static final String DOT_SEPARATOR = ".";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ public void validateVehicleIdsFromAdditionalDetailsAgainstMDMS(PlanConfiguration
{
List<String> vehicleIds = extractVehicleIdsFromAdditionalDetails(request.getPlanConfiguration().getAdditionalDetails());

String jsonPathForVehicleIds = "$." + MDMS + DOT_SEPARATOR + "*.id";
String jsonPathForVehicleIds = "$." + MDMS_CODE + DOT_SEPARATOR + "*.id";

List<Object> vehicleIdsFromMdms = null;
try {
Expand Down

0 comments on commit 623d096

Please sign in to comment.