[ https://issues.apache.org/jira/browse/AIRAVATA-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565785#comment-15565785 ]
Marcus Christie commented on AIRAVATA-2117: ------------------------------------------- [~anujbhan], Should getUserResourceProfile return null if there is no record instead of throwing an exception? The alternative I guess is that I catch the AiravataSystemException, but I don't like that because then the code would be assuming that the AiravataSystemException was thrown because a UserResourceProfile doesn't exist. > User Compute Resource Preference > -------------------------------- > > Key: AIRAVATA-2117 > URL: https://issues.apache.org/jira/browse/AIRAVATA-2117 > Project: Airavata > Issue Type: Story > Components: Airavata API, GFac, PGA PHP Web Gateway > Reporter: Anuj Bhandar > Assignee: Anuj Bhandar > Labels: GATask > Attachments: user_resource_profile_model.thrift > > > As a user, I should be given the preference to register my Compute Resource > allocation to Airavata, So that i could use it to schedule jobs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)