main.start ();
Threading.sleep (BasicComponentGenericLauncher.defaultCreateDelay);
logger.debug ("creating component...");
try {
final URL controllerCreateUrl = new URL (controllerBaseUrl, String.format ("/v1/processes/create?%s", Joiner.on ("&").join (Arrays.asList (controllerCreateUrlArguments))));
logger.debug ("{}", controllerCreateUrl.toString ());
try {
final InputStream createStream = controllerCreateUrl.openStream ();
final String createResponse = new String (ByteStreams.toByteArray (createStream), Charset.forName ("UTF-8"));
try {
final Map<?, ?> createResponseMap = (Map<?, ?>) DefaultJsonCoder.defaultInstance.decodeFromString (createResponse);