oat-sa/lib-advkv-dynamodb

This package is abandoned and no longer maintained. No replacement package was suggested.

Key-Value DynamoD

v0.1 2015-10-01 10:33 UTC

README

Key Value Persistence implemtation for dynamoDB, requires Generis 2.7

Code used to generate table

$client->createTable(array(
  'AttributeDefinitions' => array(
    array(
      'AttributeName' => 'key',
      'AttributeType' => 'S'
    )
  ) ,
  'KeySchema' => array(
    array(
      'AttributeName' => 'key',
      'KeyType' => 'HASH'
    )
  ) ,
  'ProvisionedThroughput' => array(
    'ReadCapacityUnits' => 10,
    'WriteCapacityUnits' => 5
  ) ,
  'TableName' => "taoKeyValueStorage"
)); 

Persistence

'serviceState' => array(
    'driver' => 'oat\kvDynamoDb\DynamoDbDriver',
    'client' => array(
        'region' => 'eu-west-1',
        'scheme' => 'http'
    ),
    'table' => 'taoKeyValueStorage'
),