Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dynamodb describe table #4

Merged
merged 2 commits into from Dec 19, 2017

Conversation

geronimo-iia
Copy link
Contributor

Adding dynamodb describetable method. It's usefull to find LatestStreamArn when ressource are declared outside 'serverless'.

Thanks for your work !

@coveralls
Copy link

Coverage Status

Coverage increased (+0.7%) to 76.515% when pulling e56449e on geronimo-iia:develop into 4d457fe on DopplerLabs:develop.

@geronimo-iia
Copy link
Contributor Author

@jacob-meacham if you could check this pull request, it will be very appreciated
thanks again

Copy link
Owner

@jacob-meacham jacob-meacham left a comment

Choose a reason for hiding this comment

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

Looks good, just one minor nitpick to fix. Thanks for the PR!

src/index.js Outdated
* @see http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB.html#describeTable-property
*/
async function getDynamoDbValue(key, awsParameters) {
winston.debug(`Resolving Kinesis stream with name ${key}`)
Copy link
Owner

Choose a reason for hiding this comment

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

Typo in the logs: Kinesis -> Dynamo

@coveralls
Copy link

Coverage Status

Coverage increased (+0.7%) to 76.515% when pulling 107fd2e on geronimo-iia:develop into 4d457fe on DopplerLabs:develop.

* @see http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB.html#describeTable-property
*/
async function getDynamoDbValue(key, awsParameters) {
winston.debug(`Resolving DynamoDB stream with name ${key}`)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jacob-meacham I've doubted between dynamo or dynamoDB. Don't hesitate to revert to me if i should change it again.

Copy link
Contributor Author

@geronimo-iia geronimo-iia left a comment

Choose a reason for hiding this comment

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

done

@jacob-meacham
Copy link
Owner

Looks great, thanks for the change!

@jacob-meacham jacob-meacham merged commit 439ebec into jacob-meacham:develop Dec 19, 2017
@jacob-meacham
Copy link
Owner

@geronimo-iia - released as 1.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants