removed debug save file
This commit is contained in:
parent
9552f76b37
commit
cf9ba95e87
@ -120,12 +120,11 @@ public class ExportToWso2FromV32 extends AbstractProcess {
|
|||||||
byte[] data = prepareApiZipFile32to45(client, ver, ref);
|
byte[] data = prepareApiZipFile32to45(client, ver, ref);
|
||||||
String fileName = api.getName() + "-" + ver.getVersion() + ".zip";
|
String fileName = api.getName() + "-" + ver.getVersion() + ".zip";
|
||||||
|
|
||||||
FileOutputStream fos = new FileOutputStream(fileName);
|
// FileOutputStream fos = new FileOutputStream(fileName);
|
||||||
fos.write(data);
|
// fos.write(data);
|
||||||
fos.flush();
|
// fos.flush();
|
||||||
fos.close();
|
// fos.close();
|
||||||
|
// System.exit(0);
|
||||||
// System.exit(0);
|
|
||||||
|
|
||||||
if (data != null && data.length > 0 && fileName != null && !fileName.isEmpty()) {
|
if (data != null && data.length > 0 && fileName != null && !fileName.isEmpty()) {
|
||||||
int responseCode = publishApiToWso2(fileName, data, tokenResponse);
|
int responseCode = publishApiToWso2(fileName, data, tokenResponse);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user