public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
csvParseAndTransfer(String strFile,
String serverIp)
load csv file and transfer all file defined in csv file from backup server to gCube production cluster
|
static org.gcube.contentmanagement.blobstorage.service.IClient |
getBackupStorageClient(String serverIp,
String scope) |
static org.gcube.contentmanagement.blobstorage.service.IClient |
getDevStorageClient() |
static org.gcube.contentmanagement.blobstorage.service.IClient |
getProductionStorageClient() |
static void |
transferFromCol1ToCol2(String strFile,
String serverIp) |
public static org.gcube.contentmanagement.blobstorage.service.IClient getProductionStorageClient()
public static org.gcube.contentmanagement.blobstorage.service.IClient getDevStorageClient()
public static org.gcube.contentmanagement.blobstorage.service.IClient getBackupStorageClient(String serverIp, String scope)
public static void csvParseAndTransfer(String strFile, String serverIp)
strFile - csv file pathserverIp - backup server ipCopyright © 2014. All Rights Reserved.