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

DynamoDB startup port problem #57

Open
devdanke opened this issue Jul 5, 2016 · 2 comments
Open

DynamoDB startup port problem #57

devdanke opened this issue Jul 5, 2016 · 2 comments

Comments

@devdanke
Copy link

devdanke commented Jul 5, 2016

I ran into a problem with this plugin.

Although I configured Maven to generate and pass a random socket port to start DynamoDB on, that port number is ignored. Instead the plugin uses port 10101.

I do not know where port 10101 is defined. Even if I did, I'd like the plugin to ignore it and to start Dynamo with the random port generated in the pom.

The plugin uses the correct random port when trying to connect to Dynamo (to create a table). But that connect fails because Dynamo is listening on port 10101.

[DEBUG] Configuring mojo 'com.jcabi:jcabi-dynamodb-maven-plugin:0.8:create-tables' with basic configurator -->
[DEBUG]   (f) endpoint = http://localhost
[DEBUG]   (f) key = AWS-Key
[DEBUG]   (f) port = 10101
[DEBUG]   (f) secret = AWS-Secret
[DEBUG]   (s) skip = false
[DEBUG]   (f) tables = [~/_dev/foo-proj/src/test/resources/dynamo/my-table.json]
[DEBUG] -- end configuration --
[INFO] >> Initializing DynamoDB Local with the following configuration:
[INFO] >> Port: 55569
[INFO] >> InMemory: false
[INFO] >> DbPath:   null
[INFO] >> SharedDb: false
[INFO] >> shouldDelayTransientStatuses: false
[INFO] >> CorsParams:   *

It would be ideal if the plugin ignored external Dynamo config and overrode it with config settings defined in the pom.xml.

@dmarkov
Copy link

dmarkov commented Jul 11, 2016

@yegor256 please dispatch this issue

@yegor256
Copy link
Member

@devdanke see how it's done in this project, for example: https://github.com/yegor256/jare helps?

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

No branches or pull requests

3 participants