<BUG>String response = "-1";FormDataMultiPart part = new FormDataMultiPart();</BUG><CONTEXT>public int publishMondrainSchema(InputStream mondrianFile, String catalogName, String datasourceInfo,boolean overwriteInRepos) throws Exception {String storeDomainUrl = biServerConnection.getUrl() + MONDRIAN_POST_ANALYSIS_URL;WebResource resource = client.resource(storeDomainUrl);String parms = "Datasource=" + datasourceInfo;<extra_id_0>part.field("parameters", parms, MediaType.MULTIPART_FORM_DATA_TYPE).field("uploadAnalysis", mondrianFile, MediaType.MULTIPART_FORM_DATA_TYPE).field("catalogName", catalogName, MediaType.MULTIPART_FORM_DATA_TYPE)</CONTEXT>
int response = ModelServerPublish.PUBLISH_FAILED;FormDataMultiPart part = new FormDataMultiPart();