这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on May 17, 2021. It is now read-only.

Conversation

@sybeck2k
Copy link

DynamoDB SDK updated to 1.11.457. This update includes support for the Paris (eu-west-3) region.
Tested with openHAB version 2.3.0.

@9037568
Copy link
Contributor

9037568 commented Dec 17, 2018

@ssalonen Could you possibly do a review of this?

@ssalonen
Copy link
Contributor

@9037568 my pleasure, will have a look during this year still...

Copy link
Contributor

@ssalonen ssalonen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good. Just small issue with .classpath referring to wrong jackson-databind. For some reason I'm getting the correct version by executing steps in README... I did get slightly different output for dependencies.html (extra table with links to maven central) but all the important details are there correctly.

Verified that integration tests (org.openhab.persistence.dynamodb.test) pass against real AWS -- this gives pretty good confidence that nothing breaks with the SDK update. We used to have breaking SDK changes, breaking things in runtime (in integration tests) but not compile time.

Also, just for posterity, new region needs no extra configuration definition (ESH-INF/config/*.xml) changes since regions are validated in runtime. Also, list of accepted regions are not mentioned in README either so that is fine as is.

Also verified the jars match the versions I am getting, so that is fine.

<classpathentry exported="true" kind="lib" path="lib/jackson-annotations-2.6.0.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jackson-core-2.6.7.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jackson-databind-2.6.7.1.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jackson-databind-2.6.7.jar"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everywhere else we have jackson-databind-2.6.7.2.jar So this is probably an mistake?

Furthermore, I did get jackson-databind-2.6.7.2.jar when following the README, copy-paste accident?

ssalonen added a commit to ssalonen/openhab1-addons that referenced this pull request Dec 18, 2018
For developers. Inspired by PR openhab#5722

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
9037568 pushed a commit that referenced this pull request Dec 19, 2018
For developers. Inspired by PR #5722

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
@9037568 9037568 added the stale label Feb 16, 2019
ssalonen added a commit to ssalonen/openhab1-addons that referenced this pull request Mar 3, 2019
Furthermore, introduced script to automate SDK updates in future

Replaces openhab#5722

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
ssalonen added a commit to ssalonen/openhab1-addons that referenced this pull request Mar 3, 2019
Also
- scripts to update SDK

Replaces openhab#5722

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
@ssalonen
Copy link
Contributor

ssalonen commented Mar 3, 2019

New PR with more recent SDK: #5827

@9037568
Copy link
Contributor

9037568 commented Mar 29, 2019

Closing in favor of newer PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants