ref 8819: Extend The Algorithms Importer to Manage Many Processes as Black Boxes
https://support.d4science.org/issues/8819 Updated the support Pre-Installed software git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/statistical-algorithms-importer@151440 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d67a87662d
commit
140d909ec0
|
@ -67,8 +67,8 @@ public class DataMinerPoolManager {
|
|||
|
||||
try {
|
||||
String requestUrl = serverUrl + "/algorithm/stage?gcube-token=" + serviceCredentials.getToken()
|
||||
+ "&algorithmPackageURL=" + codeJarAdminCopy.getPublicLink()
|
||||
+ "&algorithm_type=transducers&category=" + infoData.getAlgorithmCategory();
|
||||
+ "&algorithmPackageURL=" + codeJarAdminCopy.getPublicLink() + "&algorithm_type=transducers"
|
||||
+ "&category=" + infoData.getAlgorithmCategory() + "&scopetarget=" + serviceCredentials.getScope();
|
||||
logger.debug("DataMinerPoolManager request=" + requestUrl);
|
||||
|
||||
// String authString = user + ":" + password;
|
||||
|
@ -80,7 +80,7 @@ public class DataMinerPoolManager {
|
|||
URL urlObj = new URL(requestUrl);
|
||||
HttpURLConnection connection = (HttpURLConnection) urlObj.openConnection();
|
||||
connection.setRequestMethod("GET");
|
||||
|
||||
|
||||
// connection.setRequestProperty("Authorization", "Basic " +
|
||||
// encoded);
|
||||
InputStream is = connection.getInputStream();
|
||||
|
@ -209,7 +209,8 @@ public class DataMinerPoolManager {
|
|||
}
|
||||
|
||||
private String retrieveDeployOperationLogsLink(String operationId) throws StatAlgoImporterServiceException {
|
||||
logger.info("Retrieve deploy operation logs link for: [operationId="+operationId+", server=" + serverUrl+"]");
|
||||
logger.info(
|
||||
"Retrieve deploy operation logs link for: [operationId=" + operationId + ", server=" + serverUrl + "]");
|
||||
|
||||
String requestUrl = serverUrl + "/log?gcube-token=" + serviceCredentials.getToken() + "&logUrl=" + operationId;
|
||||
logger.debug("DataMinerPoolManager monitor request=" + requestUrl);
|
||||
|
|
Loading…
Reference in New Issue