This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example; | |
import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.ANY; | |
import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE; | |
import java.time.Instant; | |
import java.time.LocalDateTime; | |
import java.util.Objects; | |
import com.fasterxml.jackson.annotation.JsonAutoDetect; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function retrieveEnvHostName() { | |
var injectedMstScriptTag = document.getElementById('ms-transfer-api'); | |
var success = false; | |
var exceptionMsg; | |
if (injectedMstScriptTag == undefined || injectedMstScriptTag == null || injectedMstScriptTag == '') { | |
exceptionMsg = "Fatal error: Could not retrieve script tag ms-transfer-api!"; | |
} else { | |
Signiant.Mst.envHostName = (injectedMstScriptTag).getAttribute('env-host-name'); | |
if (Signiant.Mst.envHostName === undefined || Signiant.Mst.envHostName == null || Signiant.Mst.envHostName.length == 0) { | |
exceptionMsg = "Fatal error: Could not retrieve env-host-name from script tag ms-transfer-api!"; |