{"repo":"OpenST/storage","free":true,"listed":false,"github":"https://github.com/OpenST/storage","clone":"git clone https://github.com/OpenST/storage.git","description":"OST Storage is a collection of data storage services","language":"JavaScript","stars":17,"topics":["dynamodb","database","ost","openst","shard","storage-engine"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Storage ============ [ ][npm] [ ][travis] [ ][npm] [npm]: https://www.npmjs.com/package/@ostdotcom/storage [travis]: https://travis-ci.org/ostdotcom/storage OST Storage contains DB storage libraries and respective services. It also contains data sharding libraries and services. Constructor parameters: There is 1 parameter required while creating the storage implementer. First parameter is mandatory and it specifies the configuration strategy to be used. An example of the configStrategy is: DynamoDB Apis For all DynamoDB methods parameters description please refer AWS DynamoDB Docs DynamoDB constructor &nbsp; params dynamodbConnectionParams Create table &nbsp; params createTableParams //Create DynamoDB Table ddbServiceObj.createTable(createTableParams); Create table migration &nbsp; Table migration needs autoScaleObject &nbsp; params createTableMigrationParams &nbsp; params.createTableConfig &nbsp; params.updateContinuousBackupConfig &nbsp; params.autoScalingConfig.registerScalableTargetWrite &nbsp; params.autoScalingConfig.registerScalableTargetRead &nbsp; params.autoScalingConfig.putScalingPolicyWrite &nbsp; params.autoScalingConfig.putScalingPolicyRead &nbsp; params.autoScalingConfig.globalSecondaryIndex[ ].autoScalingConfig - Auto Scaling config of Global Secondary Indexes same as of auto scale table config // Create Table Migration // 1. Creates table // 2. Enables read/write auto scaling // 3. Returns describe table response ddbServiceObj.createTableMigration(createTable","default_branch":null,"files":null,"tree":[],"storefront":"/r/OpenST","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/OpenST/storage/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}