[
https://issues.apache.org/jira/browse/AIRAVATA-2152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15613008#comment-15613008
]
Marcus Christie commented on AIRAVATA-2152:
-------------------------------------------
I thought I would create a default UserResourceProfile for a new user, but I
can't find a good place to put it.
* I need an Experiment Catalog user first before creating a
UserResourceProfile. RegistryServerHandler.registerUserResourceProfile checks
if the experiment catalog user exists and throws an exception if the user
doesn't exist.
* But, PGA never explicitly creates the Experiment Catalog user record. There's
not really any new user initialization except that an account is created in
WSO2 IS. But I can't use that since the user doesn't have an Experiment Catalog
user record.
* From looking at the backend code, looks like an Experiment Catalog user
record is created the first time a user creates a project or experiment.
This isn't a huge issue since the code in PGA already works. But currently the
code checks to see if a UserResourceProfile exists and creates it as needed.
It made sense to me that PGA would just create a UserResourceProfile when the
user account is first created, but again, not a big deal.
The more I think about it the more I think that if we did want to automatically
create a UserResourceProfile for a new user, it would be best to do that in the
backend.
> UI for to add compute resource/storage allocations
> --------------------------------------------------
>
> Key: AIRAVATA-2152
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2152
> Project: Airavata
> Issue Type: Bug
> Components: PGA PHP Web Gateway
> Reporter: Marcus Christie
> Assignee: Marcus Christie
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)