openhab-docs/v2.1/addons/persistence/oh1/org.openhab.persistence.dyn...
Thomas Dietrich 64d0e42294 Update v2.1 and add v2.2 articles (static)
Fixes #619

Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>
2018-01-07 19:11:31 +01:00
..
README.md Update v2.1 and add v2.2 articles (static) 2018-01-07 19:11:31 +01:00

README.md

To run integration tests, one needs to provide AWS credentials.

Eclipse instructions

  1. Run all tests (in package org.openhab.persistence.dynamodb.internal) as JUnit Tests
  2. Configure the run configuration, and open Arguments sheet
  3. In VM arguments, provide the credentials for AWS
-DDYNAMODBTEST_REGION=REGION-ID
-DDYNAMODBTEST_ACCESS=ACCESS-KEY
-DDYNAMODBTEST_SECRET=SECRET

The tests will create tables with prefix dynamodb-integration-tests-. Note that when tests are begun, all data is removed from that table!