openhab-docs/v2.1/addons/persistence/oh1/org.openhab.persistence.dyn...
Yannick Schaus 0965e5ec24 Revert "Clean up the master branch"
This reverts commit bad6b47ef9.

Signed-off-by: Yannick Schaus <habpanel@schaus.net>
2018-06-14 16:43:24 +02:00
..
README.md Revert "Clean up the master branch" 2018-06-14 16:43:24 +02: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!