Skip to content

Conversation

@civitaspo
Copy link
Member

Hi @frsyuki @muga

I wrote ClientConfigurationConfiguable class, which make it possible to be configured ClientConfiguration by users' config.yml.
(Because I want to change the maxErrorRetry parameter.)

So, how do you think?

NOTE: RetryPolicy and DnsResolver is interface, so they cannot be configured by the yaml.

@ConfigDefault("null")
public Optional<String> getAccessKeyId();

// TODO timeout, ssl, etc
Copy link
Member Author

Choose a reason for hiding this comment

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

This p-r meets the requirements of this TODO?

Copy link
Contributor

Choose a reason for hiding this comment

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

yes

@civitaspo
Copy link
Member Author

(If you have a good class name for ClientConfigurationConfiguable, plz tell me. It's so long...)

@civitaspo civitaspo changed the title Client configure Make ClientConfiguration Configurable! Mar 30, 2016
import java.security.SecureRandom;

/**
* Created by takahiro.nakayama on 3/25/16.
Copy link
Contributor

Choose a reason for hiding this comment

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

please don't add this line

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, I remove this from next time.

@frsyuki
Copy link
Contributor

frsyuki commented Apr 12, 2016

I commented. I created #31.

@civitaspo
Copy link
Member Author

This p-r was merged to #31, so close this.

@civitaspo civitaspo closed this Apr 12, 2016
@civitaspo civitaspo deleted the client_configure branch April 12, 2016 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants