Skip to content

Commit

Permalink
Merge pull request #2903 from ControlSystemStudio/sar
Browse files Browse the repository at this point in the history
SAR updates
  • Loading branch information
shroffk authored Jan 12, 2024
2 parents f6948e5 + 379a47e commit ba042b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
import java.util.logging.Level;
import java.util.logging.Logger;

import static org.phoebus.applications.saveandrestore.model.Node.ROOT_FOLDER_UNIQUE_ID;

/**
* Controller implementing endpoints to retrieve service info
*/
Expand Down Expand Up @@ -66,6 +68,8 @@ public String info() {
}
saveRestoreServiceInfo.put("elastic", elasticInfo);

saveRestoreServiceInfo.put("rootNodeID", ROOT_FOLDER_UNIQUE_ID);

try {
return objectMapper.writeValueAsString(saveRestoreServiceInfo);
} catch (JsonProcessingException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,7 @@
"type" : "keyword"
},
"pvList": {
"type" : "nested",
"properties": {
"pvName": {
"type": "keyword"
},
"readbackPvName": {
"type": "keyword"
},
"readOnly": {
"type": "boolean"
}
}
"type" : "flattened"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,7 @@
"type" : "keyword"
},
"snapshotItems" : {
"type" : "nested",
"properties": {
"configPv": {
"properties": {
"pvName" : {
"type": "keyword"
},
"readOnly": {
"type" : "boolean"
}
}
},
"value": {
"enabled": false,
"type": "object"
}
}
"type" : "flattened"
}
}
}
Expand Down

0 comments on commit ba042b7

Please sign in to comment.