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

FTP Homogenize model #407

Merged
merged 1 commit into from
Jul 21, 2017
Merged

Conversation

juanjovazquez
Copy link

This is a proposal to make the model of the FTP component more homogeneous. It remains to be decided if we want to replicate in FTP and FTPs the fluent API that has been defined in sFTP, especially for Java use. Feedback is appreciated.

Closes #395

@juanjovazquez
Copy link
Author

It seems that #386 might have destabilized Travis construction

@raboof
Copy link
Member

raboof commented Jul 17, 2017

I think moving these to the top level makes a lot of sense, nice.

That 'fluent API' seems nice, too - I'd be in favour of adding it for the other configuration classes as well. Any reason not to want it?

@juanjovazquez
Copy link
Author

@raboof No reason at all. In fact, I've already applied the fluent constructors to the other settings. Thanks. This PR would be ready for merging if you agree.

@juanjovazquez juanjovazquez changed the title WIP FTP Homogenize model FTP Homogenize model Jul 19, 2017
@@ -71,7 +71,7 @@ trait CommonFtpStageSpec extends BaseSpec with Eventually {
implicit val system = getSystem
implicit val mat = getMaterializer
implicit val defaultPatience =
PatienceConfig(timeout = Span(10, Seconds), interval = Span(300, Millis))
PatienceConfig(timeout = Span(30, Seconds), interval = Span(600, Millis))
Copy link
Member

Choose a reason for hiding this comment

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

Might be wise, I've seen timeouts as well. Are those actually to be expected? Do we know why those are so slow?

Copy link
Author

Choose a reason for hiding this comment

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

@raboof I don't know why they're so slow on Travis. Of course, it has to do with the fact that these tests need to start and stop FTP servers but we should do fine tuning on these instances in order to configure the servers properly for working on Travis builds.

Copy link
Member

Choose a reason for hiding this comment

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

Actually I've seen tests be quite slow on my local machine at times as well - but haven't taken the time to really dig into that yet.

@raboof raboof merged commit 95eb459 into akka:master Jul 21, 2017
@raboof raboof mentioned this pull request Jul 21, 2017
@juanjovazquez juanjovazquez deleted the 395-ftp-homogenize-model branch July 24, 2017 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants