+ return buildDmaapSim("org/onap/policy/simulators/dmaap/DmaapParameters.json");
+ }
+
+ /**
+ * Build a DMaaP simulator from a properties file.
+ *
+ * @param resourceName the name of the properties file
+ * @return the simulator
+ * @throws InterruptedException if a thread is interrupted
+ */
+ public static HttpServletServer buildDmaapSim(String resourceName) throws InterruptedException {
+ var json = ResourceUtils.getResourceAsString(resourceName);