You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ya...@apache.org on 2025/06/03 17:31:44 UTC
(airavata) branch master updated (7565c6c309 -> 48d40f2558)
This is an automated email from the ASF dual-hosted git repository.
yasith pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git
from 7565c6c309 Bump @babel/helpers from 7.24.5 to 7.27.4 in /airavata-local-agent
new 348b5267da adding debug logs for profiling airavata
new 1224cceb7b added missing ;
new 48d40f2558 fixing minor error
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../apache/airavata/api/server/handler/AiravataServerHandler.java | 7 +++++++
1 file changed, 7 insertions(+)
(airavata) 02/03: added missing ;
Posted by ya...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
yasith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git
commit 1224cceb7b8f94a9bd6a4d5a9d324800b99354bd
Author: karanrk <ka...@gmail.com>
AuthorDate: Thu Nov 22 01:44:31 2018 -0500
added missing ;
---
.../org/apache/airavata/api/server/handler/AiravataServerHandler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
index 669de75068..d243f5b760 100644
--- a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
+++ b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
@@ -541,7 +541,7 @@ public class AiravataServerHandler implements Airavata.Iface {
AiravataClientException, AiravataSystemException, AuthorizationException, TException {
RegistryService.Client regClient = registryClientPool.getResource();
try {
- logger.debug("Airavata verifying if the gateway with " + gatewayId + "exits")
+ logger.debug("Airavata verifying if the gateway with " + gatewayId + "exits");
boolean result = regClient.isGatewayExist(gatewayId);
registryClientPool.returnResource(regClient);
return result;
(airavata) 03/03: fixing minor error
Posted by ya...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
yasith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git
commit 48d40f255888b353c3c710cb59fd652815ec463d
Author: karanrk <ka...@gmail.com>
AuthorDate: Thu Nov 22 01:54:27 2018 -0500
fixing minor error
---
.../org/apache/airavata/api/server/handler/AiravataServerHandler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
index d243f5b760..f91e5f7b8a 100644
--- a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
+++ b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
@@ -484,8 +484,8 @@ public class AiravataServerHandler implements Airavata.Iface {
try {
Gateway result = regClient.getGateway(gatewayId);
registryClientPool.returnResource(regClient);
- return result;
logger.debug("Airavata found the gateway with " + gatewayId);
+ return result;
} catch (Exception e) {
logger.error("Error while getting the gateway", e);
AiravataSystemException exception = new AiravataSystemException();
(airavata) 01/03: adding debug logs for profiling airavata
Posted by ya...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
yasith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git
commit 348b5267da7579880a2cfa6da6d534def9813360
Author: karanrk <ka...@gmail.com>
AuthorDate: Thu Nov 22 01:07:19 2018 -0500
adding debug logs for profiling airavata
---
.../apache/airavata/api/server/handler/AiravataServerHandler.java | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
index dc62989604..669de75068 100644
--- a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
+++ b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
@@ -327,6 +327,7 @@ public class AiravataServerHandler implements Airavata.Iface {
RegistryService.Client client = registryClientPool.getResource();
try {
boolean isExists = client.isUserExists(gatewayId, userName);
+ logger.debug("Checking if the user" + userName + "exists in the gateway" + gatewayId);
registryClientPool.returnResource(client);
return isExists;
} catch (Exception e) {
@@ -413,6 +414,7 @@ public class AiravataServerHandler implements Airavata.Iface {
registryClientPool.returnResource(registryClient);
sharingClientPool.returnResource(sharingClient);
+ logger.debug("Airavata successfully created the gateway with " + gatewayId);
return gatewayId;
} catch (Exception e) {
@@ -483,6 +485,7 @@ public class AiravataServerHandler implements Airavata.Iface {
Gateway result = regClient.getGateway(gatewayId);
registryClientPool.returnResource(regClient);
return result;
+ logger.debug("Airavata found the gateway with " + gatewayId);
} catch (Exception e) {
logger.error("Error while getting the gateway", e);
AiravataSystemException exception = new AiravataSystemException();
@@ -518,6 +521,7 @@ public class AiravataServerHandler implements Airavata.Iface {
AiravataSystemException, AuthorizationException, TException {
RegistryService.Client regClient = registryClientPool.getResource();
try {
+ logger.debug("Airavata searching for all gateways");
List<Gateway> result = regClient.getAllGateways();
registryClientPool.returnResource(regClient);
return result;
@@ -537,6 +541,7 @@ public class AiravataServerHandler implements Airavata.Iface {
AiravataClientException, AiravataSystemException, AuthorizationException, TException {
RegistryService.Client regClient = registryClientPool.getResource();
try {
+ logger.debug("Airavata verifying if the gateway with " + gatewayId + "exits")
boolean result = regClient.isGatewayExist(gatewayId);
registryClientPool.returnResource(regClient);
return result;
@@ -770,6 +775,7 @@ public class AiravataServerHandler implements Airavata.Iface {
CredentialSummary credentialSummary = csClient.getCredentialSummary(tokenId, gatewayId);
csClientPool.returnResource(csClient);
sharingClientPool.returnResource(sharingClient);
+ logger.debug("Airavata retrived the credential summary for token " + tokenId + "GatewayId: "+ gatewayId);
return credentialSummary;
} catch (AuthorizationException ae) {
String userName = authzToken.getClaimsMap().get(Constants.USER_NAME);
@@ -809,6 +815,7 @@ public class AiravataServerHandler implements Airavata.Iface {
List<CredentialSummary> credentialSummaries = csClient.getAllCredentialSummaries(type, accessibleTokenIds, gatewayId);
csClientPool.returnResource(csClient);
sharingClientPool.returnResource(sharingClient);
+ logger.debug("Airavata successfully retrived credential summaries of type " + type + " GatewayId: " + gatewayId);
return credentialSummaries;
} catch (Exception e) {
String msg = "Error retrieving credential summaries of type " + type + ". GatewayId: "+ gatewayId;