Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,10 @@ public Response updateSmssFile(@Context HttpServletRequest request, @PathParam("
return WebUtility.getResponse(errorMap, 400);
}

// the smss file is unchanged and the new values live in the secret store, so
// the other nodes only need to close the engine to read them on next use
ClusterUtil.publishEngineClose(engineId);

Map<String, Object> success = new HashMap<>();
success.put("success", true);
return WebUtility.getResponse(success, 200);
Expand Down
3 changes: 2 additions & 1 deletion src/prerna/web/services/util/WebUtility.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.TimeZone;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
Expand Down Expand Up @@ -247,7 +248,7 @@ private static void auditErrorResponse(Object vec, int status) {
if (status < 400) {
return;
}
Object message = vec instanceof java.util.Map<?, ?> map ? map.get(Constants.ERROR_MESSAGE) : vec;
Object message = vec instanceof Map<?, ?> map ? map.get(Constants.ERROR_MESSAGE) : vec;
UserAuditTrailUtils.recordHttpErrorResponse(status, message instanceof String text ? text : null);
}

Expand Down
Loading