BMH-admin-portal

所属分类:生物医药技术
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2023-09-06 16:26:39
上 传 者sh-1993
说明:  生物医学研究中心计划的共享代码库,
(Shared Codebase for the Biomedical Research Hub Initiative,)

文件列表:
.pre-commit-config.yaml (563, 2023-09-06)
.secrets.baseline (1848, 2023-09-06)
LICENSE (11357, 2023-09-06)
NOTICE (727, 2023-09-06)
bmh_admin_portal_backend/ (0, 2023-09-06)
bmh_admin_portal_backend/app.py (246, 2023-09-06)
bmh_admin_portal_backend/bmh_admin_portal_backend/ (0, 2023-09-06)
bmh_admin_portal_backend/bmh_admin_portal_backend/__init__.py (0, 2023-09-06)
bmh_admin_portal_backend/bmh_admin_portal_backend/bmh_admin_portal_backend_stack.py (18320, 2023-09-06)
bmh_admin_portal_backend/bmh_admin_portal_backend/bmh_admin_portal_config_TEMPLATE.py (2957, 2023-09-06)
bmh_admin_portal_backend/bmh_admin_portal_backend/bmh_cognito_userpool.py (2223, 2023-09-06)
bmh_admin_portal_backend/bmh_admin_portal_backend/brh_provisioning/ (0, 2023-09-06)
bmh_admin_portal_backend/bmh_admin_portal_backend/brh_provisioning/__init__.py (0, 2023-09-06)
bmh_admin_portal_backend/bmh_admin_portal_backend/brh_provisioning/base_workflow.py (8521, 2023-09-06)
bmh_admin_portal_backend/cdk.json (362, 2023-09-06)
bmh_admin_portal_backend/images/ (0, 2023-09-06)
bmh_admin_portal_backend/images/bmh-backend-infra.png (121679, 2023-09-06)
bmh_admin_portal_backend/lambdas/ (0, 2023-09-06)
bmh_admin_portal_backend/lambdas/lambda_authorizer/ (0, 2023-09-06)
bmh_admin_portal_backend/lambdas/lambda_authorizer/lambda_authorizer.py (11715, 2023-09-06)
bmh_admin_portal_backend/lambdas/lambda_authorizer/requirements.txt (33, 2023-09-06)
bmh_admin_portal_backend/lambdas/sns_trigger_lambda/ (0, 2023-09-06)
bmh_admin_portal_backend/lambdas/sns_trigger_lambda/total_usage_trigger_handler.py (1987, 2023-09-06)
bmh_admin_portal_backend/lambdas/step_functions_handler/ (0, 2023-09-06)
bmh_admin_portal_backend/lambdas/step_functions_handler/src/ (0, 2023-09-06)
bmh_admin_portal_backend/lambdas/step_functions_handler/src/__init__.py (0, 2023-09-06)
bmh_admin_portal_backend/lambdas/step_functions_handler/src/app.py (1734, 2023-09-06)
bmh_admin_portal_backend/lambdas/step_functions_handler/src/db/ (0, 2023-09-06)
bmh_admin_portal_backend/lambdas/step_functions_handler/src/db/__init__.py (0, 2023-09-06)
bmh_admin_portal_backend/lambdas/step_functions_handler/src/db/client.py (8263, 2023-09-06)
bmh_admin_portal_backend/lambdas/step_functions_handler/src/email/ (0, 2023-09-06)
bmh_admin_portal_backend/lambdas/step_functions_handler/src/email/__init__.py (0, 2023-09-06)
bmh_admin_portal_backend/lambdas/step_functions_handler/src/email/email.py (13574, 2023-09-06)
... ...

# BMH-admin-portal Shared Codebase for the Biomedical Research Hub Initiative. This repository contains information related to the BRH Admin Portal. # Developer Documentation An overview of the application and infrastructure (including architecture diagram) can be found: * [Developer Documentation](https://github.com/uc-cdis/BMH-admin-portal/blob/master/./docs/README.md) # Deployment Instructions ## OCC/DDI Account Provisioning Infrastructure The first step in the process is to deploy the OCC/DDI Lambda for creating a new workspace. The code for this is portion can be found on the [occ-data repo](https://github.com/uc-cdis/BMH-admin-portal/blob/master/https://github.com/occ-data/ddi-pay-per-compute/tree/main/account_creation_automation/backend). As the time of writing this, we should be using the `feature/ctds-brh-integration` branch. ```bash git clone git@github.com:occ-data/ddi-pay-per-compute.git git checkout feature/ctds-brh-integration cd ddi-pay-per-compute/account_creation_automation/backend # Create a zip file for deploying the Account creation lambda zip -r AccountCreationLambda.zip AccountCreationLambda.py # Create a bucket to upload the deployment artifacts to. # This should be unique. aws s3 mb s3://occ-account-deploy aws s3 sync . s3://occ-account-deploy ``` You should then be ready to deploy the CloudFormation template `AccountCreationLambdaSetup-cfn.yaml`. This can be done using the AWS Console: 1. Go to CloudFormation within the console and create a stack using new resources. 2. Enter the `https` url for the `AccountCreationLambdaSetup-cfn.yaml` just uploaded. 3. Fill out the required parameter: 1. AccountAdministrator - IAM arn for Admin (i.e `arn:aws:iam:::role/Admin`) 2. AccountVendingMachineName - Name to give the Vending Machine (ServiceCatalog) 3. AccountVendingMachineSupportEmail - Will be displayed as part of the Vending Machine product (any email address) 4. ArtifactBucketName - The bucket name from above where deployment artifacts are located (i.e. occ-account-deploy, no `s3://` or `https://` prefixes) 5. ServiceCatalogTag - Tag used for the service catalog infrastructure (not used for BRH, but required in the CloudFormation) ## Deploy BRH Admin Portal Backend This will deploy the backend API which will handle requests. The deployment instructions can be found [here](https://github.com/uc-cdis/BMH-admin-portal/blob/master/bmh_admin_portal_backend/README.md). ## Deploy BRH Admin Portal Frontend This will deploy the front end React application. The deployment instructions can be found [here](https://github.com/uc-cdis/BMH-admin-portal/blob/master/bmh_admin_portal_ui/README_DEPLOYMENT.md).

近期下载者

相关文件


收藏者