Skip to content

Issue #ED-2063 feat: Added support for Client Cloud Services - #40

Open
rajeshkumaravel wants to merge 2 commits into
project-sunbird:release-5.0.0from
rajeshkumaravel:ED-2063
Open

Issue #ED-2063 feat: Added support for Client Cloud Services#40
rajeshkumaravel wants to merge 2 commits into
project-sunbird:release-5.0.0from
rajeshkumaravel:ED-2063

Conversation

@rajeshkumaravel

Copy link
Copy Markdown

Features added

  • Client Cloud Services integration
  • Support for AWS, Azure and GCP thru Client Cloud Service

Prerequisites

  • Environment configuration to be updated with following keys
    sunbird_cloud_storage_provider: env.sunbird_cloud_storage_provider || 'azure',
    // Azure
    sunbird_azure_account_name: env.cloud_private_storage_accountname,
    sunbird_azure_account_key: env.cloud_private_storage_secret,
    sunbird_azure_report_container_name: env.cloud_storage_privatereports_bucketname || 'reports',
    sunbird_azure_resourceBundle_container_name: env.cloud_storage_resourceBundle_bucketname || 'label',
    
    // AWS
    sunbird_aws_access_key: env.cloud_private_storage_accountname || '',
    sunbird_aws_secret_key: env.cloud_private_storage_secret || '',
    sunbird_aws_region: env.cloud_private_storage_region || '',
    sunbird_aws_reports: env.cloud_storage_privatereports_bucketname || 'reports',
    sunbird_aws_labels: env.cloud_storage_resourceBundle_bucketname || 'label',
    
    // deprecated - Folder structure changed
    // sunbird_aws_bucket_name: env.sunbird_aws_bucket_name || 'sunbirded',
    
    // GCP - gcloud
    sunbird_gcloud_client_email: env.cloud_private_storage_accountname || '',
    sunbird_gcloud_private_key: env.cloud_private_storage_secret || '',
    sunbird_gcloud_projectId: env.cloud_private_storage_project || '',
    sunbird_gcloud_reports: env.cloud_storage_privatereports_bucketname || 'reports',
    sunbird_gcloud_labels: env.cloud_storage_resourceBundle_bucketname || 'label',
    
    // deprecated - Folder structure changed
    // sunbird_gcloud_bucket_name: env.sunbird_gcloud_bucket_name || 'sunbirded',
    

References

@vinukumar-vs

Copy link
Copy Markdown

@anandp504 @SanthoshVasabhaktula
Review the PR & merge

Comment thread helpers/cloudStorageServices/index.js
Comment thread helpers/cloudStorageServices/index.js
Comment thread helpers/azure-storage.js Outdated
Comment thread helpers/azure-storage.js
Comment thread package-lock.json
Comment thread helpers/cloudStorageServices/index.js
Comment thread helpers/azure-storage.js Outdated
Comment thread helpers/azure-storage.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants