Skip to content

Commit

Permalink
Merge pull request #1748 from GRIDAPPSD/releases/2023.07.0
Browse files Browse the repository at this point in the history
Release of version 2023.07.0
  • Loading branch information
tonya1 authored Aug 4, 2023
2 parents 9d0351d + 35d0f50 commit 147b394
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gov.pnnl.goss.gridappsd.distributed;
package gov.pnnl.goss.gridappsd.distributed;

import java.io.Serializable;
import java.util.ArrayList;
Expand Down Expand Up @@ -133,6 +133,8 @@ public Serializable handleRequest(String request_queue, Serializable request) {
RequestFieldContext requestFieldContext = RequestFieldContext.parse(request.toString());
if (requestFieldContext.areaId == null)
return topology.root.feeders;
else if(requestFieldContext.areaId.equals(topology.root.feeders.message_bus_id))
return topology.root.feeders;
else {
for (SwitchArea switchArea : topology.root.feeders.switch_areas) {
if (requestFieldContext.areaId.equals(switchArea.message_bus_id))
Expand Down Expand Up @@ -383,4 +385,4 @@ public void getFieldMeasurementIds(String fieldModelMrid) {

}

}
}

0 comments on commit 147b394

Please sign in to comment.