├── .gitignore ├── .prettierrc.json ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── VERSION ├── config.json ├── config ├── coreConstant.js ├── dynamoFactory.js └── error │ ├── general.json │ └── param.json ├── index.js ├── lib ├── autoScale │ ├── Base.js │ └── helper.js ├── dynamodb │ └── base.js ├── formatter │ └── response.js ├── logger │ └── customConsoleLogger.js ├── models │ ├── dynamodb │ │ └── Base.js │ └── shardHelper.js └── util.js ├── package.json ├── services ├── autoScale │ ├── Base.js │ └── api.js └── dynamodb │ ├── Base.js │ ├── BatchGet.js │ ├── BatchWrite.js │ ├── CreateTableMigration.js │ ├── RetryQuery.js │ ├── TableExist.js │ ├── WaitFor.js │ └── api.js └── tests └── mocha └── services ├── auto_scale ├── create_table_migration.js ├── delete_scaling_policy.js ├── deregister_scalable_target.js ├── describe_scalable_targets.js ├── describe_scaling_policies.js ├── helper.js ├── put_scaling_policy.js ├── register_scalable_target.js └── update_continuous_backup.js ├── constants.js └── dynamodb ├── batch_get.js ├── batch_write.js ├── check_table_exist.js ├── create_table.js ├── delete_item.js ├── delete_table.js ├── describe_table.js ├── helper.js ├── list_tables.js ├── put_item.js ├── query.js ├── scan.js ├── testdata └── batch_get_write_data.js ├── update_item.js └── update_table.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/README.md -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 1.0.4 2 | -------------------------------------------------------------------------------- /config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/config.json -------------------------------------------------------------------------------- /config/coreConstant.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/config/coreConstant.js -------------------------------------------------------------------------------- /config/dynamoFactory.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/config/dynamoFactory.js -------------------------------------------------------------------------------- /config/error/general.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/config/error/general.json -------------------------------------------------------------------------------- /config/error/param.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/index.js -------------------------------------------------------------------------------- /lib/autoScale/Base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/lib/autoScale/Base.js -------------------------------------------------------------------------------- /lib/autoScale/helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/lib/autoScale/helper.js -------------------------------------------------------------------------------- /lib/dynamodb/base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/lib/dynamodb/base.js -------------------------------------------------------------------------------- /lib/formatter/response.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/lib/formatter/response.js -------------------------------------------------------------------------------- /lib/logger/customConsoleLogger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/lib/logger/customConsoleLogger.js -------------------------------------------------------------------------------- /lib/models/dynamodb/Base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/lib/models/dynamodb/Base.js -------------------------------------------------------------------------------- /lib/models/shardHelper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/lib/models/shardHelper.js -------------------------------------------------------------------------------- /lib/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/lib/util.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/package.json -------------------------------------------------------------------------------- /services/autoScale/Base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/services/autoScale/Base.js -------------------------------------------------------------------------------- /services/autoScale/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/services/autoScale/api.js -------------------------------------------------------------------------------- /services/dynamodb/Base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/services/dynamodb/Base.js -------------------------------------------------------------------------------- /services/dynamodb/BatchGet.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/services/dynamodb/BatchGet.js -------------------------------------------------------------------------------- /services/dynamodb/BatchWrite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/services/dynamodb/BatchWrite.js -------------------------------------------------------------------------------- /services/dynamodb/CreateTableMigration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/services/dynamodb/CreateTableMigration.js -------------------------------------------------------------------------------- /services/dynamodb/RetryQuery.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/services/dynamodb/RetryQuery.js -------------------------------------------------------------------------------- /services/dynamodb/TableExist.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/services/dynamodb/TableExist.js -------------------------------------------------------------------------------- /services/dynamodb/WaitFor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/services/dynamodb/WaitFor.js -------------------------------------------------------------------------------- /services/dynamodb/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/services/dynamodb/api.js -------------------------------------------------------------------------------- /tests/mocha/services/auto_scale/create_table_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/auto_scale/create_table_migration.js -------------------------------------------------------------------------------- /tests/mocha/services/auto_scale/delete_scaling_policy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/auto_scale/delete_scaling_policy.js -------------------------------------------------------------------------------- /tests/mocha/services/auto_scale/deregister_scalable_target.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/auto_scale/deregister_scalable_target.js -------------------------------------------------------------------------------- /tests/mocha/services/auto_scale/describe_scalable_targets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/auto_scale/describe_scalable_targets.js -------------------------------------------------------------------------------- /tests/mocha/services/auto_scale/describe_scaling_policies.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/auto_scale/describe_scaling_policies.js -------------------------------------------------------------------------------- /tests/mocha/services/auto_scale/helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/auto_scale/helper.js -------------------------------------------------------------------------------- /tests/mocha/services/auto_scale/put_scaling_policy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/auto_scale/put_scaling_policy.js -------------------------------------------------------------------------------- /tests/mocha/services/auto_scale/register_scalable_target.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/auto_scale/register_scalable_target.js -------------------------------------------------------------------------------- /tests/mocha/services/auto_scale/update_continuous_backup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/auto_scale/update_continuous_backup.js -------------------------------------------------------------------------------- /tests/mocha/services/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/constants.js -------------------------------------------------------------------------------- /tests/mocha/services/dynamodb/batch_get.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/dynamodb/batch_get.js -------------------------------------------------------------------------------- /tests/mocha/services/dynamodb/batch_write.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/dynamodb/batch_write.js -------------------------------------------------------------------------------- /tests/mocha/services/dynamodb/check_table_exist.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/dynamodb/check_table_exist.js -------------------------------------------------------------------------------- /tests/mocha/services/dynamodb/create_table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/dynamodb/create_table.js -------------------------------------------------------------------------------- /tests/mocha/services/dynamodb/delete_item.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/dynamodb/delete_item.js -------------------------------------------------------------------------------- /tests/mocha/services/dynamodb/delete_table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/dynamodb/delete_table.js -------------------------------------------------------------------------------- /tests/mocha/services/dynamodb/describe_table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/dynamodb/describe_table.js -------------------------------------------------------------------------------- /tests/mocha/services/dynamodb/helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/dynamodb/helper.js -------------------------------------------------------------------------------- /tests/mocha/services/dynamodb/list_tables.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/dynamodb/list_tables.js -------------------------------------------------------------------------------- /tests/mocha/services/dynamodb/put_item.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/dynamodb/put_item.js -------------------------------------------------------------------------------- /tests/mocha/services/dynamodb/query.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/dynamodb/query.js -------------------------------------------------------------------------------- /tests/mocha/services/dynamodb/scan.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/dynamodb/scan.js -------------------------------------------------------------------------------- /tests/mocha/services/dynamodb/testdata/batch_get_write_data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/dynamodb/testdata/batch_get_write_data.js -------------------------------------------------------------------------------- /tests/mocha/services/dynamodb/update_item.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/dynamodb/update_item.js -------------------------------------------------------------------------------- /tests/mocha/services/dynamodb/update_table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenST/storage/HEAD/tests/mocha/services/dynamodb/update_table.js --------------------------------------------------------------------------------