// Path: api/src/main/java/org/esbtools/message/admin/model/MessageSearchConfiguration.java
// public class MessageSearchConfiguration {
//     /**
//      * The display value for the configuration
//      */
//     private String label;
// 
//     /**
//      * The value that will be passed to the controller from the frontend
//      */
//     private String value;
// 
//     /**
//      * A list of systems that this configuration is applicable for. This will be null if
//      * none exist
//      */
//     private String[] availableSystems;
// 
//     public MessageSearchConfiguration() {
//         this.label = "";
//         this.value = "";
//     }
// 
//     public MessageSearchConfiguration(String label, String value) {
//         this.label = label;
//         this.value = value;
//     }
// 
//     public String getLabel() {
//         return label;
//     }
// 
//     public void setLabel(String label) {
//         this.label = label;
//     }
// 
//     public String getValue() {
//         return value;
//     }
// 
//     public void setValue(String value) {
//         this.value = value;
//     }
// 
//     public String[] getAvailableSystems() {
//         return availableSystems;
//     }
// 
//     public void setAvailableSystems(String[] availableSystems) {
//         this.availableSystems = availableSystems;
//     }
// 
// }
// 
// Path: api/src/main/java/org/esbtools/message/admin/model/MessageSearchConfigurations.java
// public class MessageSearchConfigurations {
//     private List<MessageSearchConfiguration> searchSystems;
//     private List<MessageSearchConfiguration> searchEntities;
//     private List<MessageSearchConfiguration> searchFilters;
//     private String searchSystemKey;
//     private String searchEntityKey;
// 
//     public List<MessageSearchConfiguration> getSearchSystems() {
//         return searchSystems;
//     }
// 
//     public void setSearchSystems(List<MessageSearchConfiguration> searchSystems) {
//         this.searchSystems = searchSystems;
//     }
// 
//     public List<MessageSearchConfiguration> getSearchEntities() {
//         return searchEntities;
//     }
// 
//     public void setSearchEntities(List<MessageSearchConfiguration> searchEntities) {
//         this.searchEntities = searchEntities;
//     }
// 
//     public List<MessageSearchConfiguration> getSearchFilters() {
//         return searchFilters;
//     }
// 
//     public void setSearchFilters(List<MessageSearchConfiguration> searchFilters) {
//         this.searchFilters = searchFilters;
//     }
// 
//     public String getSearchSystemKey() {
//         return searchSystemKey;
//     }
// 
//     public void setSearchSystemKey(String searchSystemKey) {
//         this.searchSystemKey = searchSystemKey;
//     }
// 
//     public String getSearchEntityKey() {
//         return searchEntityKey;
//     }
// 
//     public void setSearchEntityKey(String searchEntityKey) {
//         this.searchEntityKey = searchEntityKey;
//     }
// }


import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.esbtools.message.admin.model.MessageSearchConfiguration;
import org.esbtools.message.admin.model.MessageSearchConfigurations;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;

    public static List<VisibilityConfiguration> getPartiallyViewableMessages() {
        if (null == partiallyViewableMessages) {
            partiallyViewableMessages = loadPartiallyViewableConfiguration();
        }
        return partiallyViewableMessages;
    }

    public static String getResubmitControlHeader() {
        if (null == resubmitControlHeader) {
            resubmitControlHeader = loadResubmitControlHeader();
        }
        return resubmitControlHeader;
    }

    public static String getResubmitHeaderNamespace() {
        if (null == resubmitHeaderNamespace) {
            resubmitHeaderNamespace = loadResubmitHeaderNamespace();
        }
        return resubmitHeaderNamespace;
    }


    public static String getCaCertificate() {
        if (null == caCertificate) {
            caCertificate = loadCaCertificate();
        }
        return caCertificate;
    }

// Path: api/src/main/java/org/esbtools/message/admin/model/MessageSearchConfiguration.java
// public class MessageSearchConfiguration {
//     /**
//      * The display value for the configuration
//      */
//     private String label;
// 
//     /**
//      * The value that will be passed to the controller from the frontend
//      */
//     private String value;
// 
//     /**
//      * A list of systems that this configuration is applicable for. This will be null if
//      * none exist
//      */
//     private String[] availableSystems;
// 
//     public MessageSearchConfiguration() {
//         this.label = "";
//         this.value = "";
//     }
// 
//     public MessageSearchConfiguration(String label, String value) {
//         this.label = label;
//         this.value = value;
//     }
// 
//     public String getLabel() {
//         return label;
//     }
// 
//     public void setLabel(String label) {
//         this.label = label;
//     }
// 
//     public String getValue() {
//         return value;
//     }
// 
//     public void setValue(String value) {
//         this.value = value;
//     }
// 
//     public String[] getAvailableSystems() {
//         return availableSystems;
//     }
// 
//     public void setAvailableSystems(String[] availableSystems) {
//         this.availableSystems = availableSystems;
//     }
// 
// }
// 
// Path: api/src/main/java/org/esbtools/message/admin/model/MessageSearchConfigurations.java
// public class MessageSearchConfigurations {
//     private List<MessageSearchConfiguration> searchSystems;
//     private List<MessageSearchConfiguration> searchEntities;
//     private List<MessageSearchConfiguration> searchFilters;
//     private String searchSystemKey;
//     private String searchEntityKey;
// 
//     public List<MessageSearchConfiguration> getSearchSystems() {
//         return searchSystems;
//     }
// 
//     public void setSearchSystems(List<MessageSearchConfiguration> searchSystems) {
//         this.searchSystems = searchSystems;
//     }
// 
//     public List<MessageSearchConfiguration> getSearchEntities() {
//         return searchEntities;
//     }
// 
//     public void setSearchEntities(List<MessageSearchConfiguration> searchEntities) {
//         this.searchEntities = searchEntities;
//     }
// 
//     public List<MessageSearchConfiguration> getSearchFilters() {
//         return searchFilters;
//     }
// 
//     public void setSearchFilters(List<MessageSearchConfiguration> searchFilters) {
//         this.searchFilters = searchFilters;
//     }
// 
//     public String getSearchSystemKey() {
//         return searchSystemKey;
//     }
// 
//     public void setSearchSystemKey(String searchSystemKey) {
//         this.searchSystemKey = searchSystemKey;
//     }
// 
//     public String getSearchEntityKey() {
//         return searchEntityKey;
//     }
// 
//     public void setSearchEntityKey(String searchEntityKey) {
//         this.searchEntityKey = searchEntityKey;
//     }
// }


// Path: common/src/main/java/org/esbtools/message/admin/common/config/EMAConfiguration.java
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.esbtools.message.admin.model.MessageSearchConfiguration;
import org.esbtools.message.admin.model.MessageSearchConfigurations;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;


    public static List<VisibilityConfiguration> getPartiallyViewableMessages() {
        if (null == partiallyViewableMessages) {
            partiallyViewableMessages = loadPartiallyViewableConfiguration();
        }
        return partiallyViewableMessages;
    }

    public static String getResubmitControlHeader() {
        if (null == resubmitControlHeader) {
            resubmitControlHeader = loadResubmitControlHeader();
        }
        return resubmitControlHeader;
    }

    public static String getResubmitHeaderNamespace() {
        if (null == resubmitHeaderNamespace) {
            resubmitHeaderNamespace = loadResubmitHeaderNamespace();
        }
        return resubmitHeaderNamespace;
    }


    public static String getCaCertificate() {
        if (null == caCertificate) {
            caCertificate = loadCaCertificate();
        }
        return caCertificate;
    }

    public static MessageSearchConfigurations getMessageSearchConfigurations() {