+ private Response processJsonRequest(CsarTest csar) throws IOException, URISyntaxException {
+ String jsonString = csar.getJsonRequest();
+ return invokeService(jsonString);
+ }
+
+ /**
+ * Create a (mocked) HTTPS request and invoke the Babel generate artifacts API.
+ *
+ * @param jsonString the JSON request
+ * @return the Response from the HTTP API
+ * @throws URISyntaxException if the URI cannot be created
+ */
+ private Response invokeService(String jsonString) throws URISyntaxException {