-
Notifications
You must be signed in to change notification settings - Fork 60
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
Make all SSL settings optional. #150
base: master
Are you sure you want to change the base?
Make all SSL settings optional. #150
Conversation
trustStorePassword:String):TrustManagerFactory = { | ||
def getTrustManagers( | ||
trustStorePath:Option[String], | ||
trustStorePassword:Option[String]):Array[TrustManager] = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we use immutable.Seq
instead of Array
, since Array
is mutable ?
Okay, but then I've to do another conversation, because the Java API needs an array :-/ |
thanks |
I've no idea, why the "A PersistentActor's performance - must measure: persist()-ing 10000 events" test is failing. If this is a flaky test: How can I re-trigger it? |
yeah, that should not be related to this PR. I don't know how to trigger a rebuild with travis, but I would like that you squashed the two commits to one, and then it will rebuild when you push. |
416d2a1
to
c4bb38d
Compare
Hmmm. Any ideas? |
hm, I'll take a look later |
It looks like we have had some problems with that spec in the cassandra-3.x branch and increased the timeouts there: https://github.com/krasserm/akka-persistence-cassandra/blob/cassandra-3.x/src/test/scala/akka/persistence/cassandra/journal/CassandraJournalSpec.scala Please do the same here, i.e.
|
cry Couldn't you just fix it in the master and I'll rebase it into my branch? |
okey, that was another test that failed this time. I have increased the timeouts for both in #152 |
ff95ea8
to
100741a
Compare
One don't need a keystore unless you use client-authentication. We should not force the user to configure stuff (s)he doesn't need.
100741a
to
37b596a
Compare
Since I was the original author of the SSL setup code I have some comments. I agree that I missed the case where client authentication is optional, good catch! However I do have some issues with the implementation as it stands now.
These are my suggestions:
I hope above helps. I do realize it might seem harsh to ask for what is almost a complete overhaul, but I mean it in a constructive way. :) |
when completing this, please open PR at https://github.com/akka/akka-persistence-cassandra, which is the new home for akka-persistence-cassandra |
I have actually implemented my own suggestions above. Right now I'm looking into the SSL tests which are still failing. Will do PR afterwards. |
you know about the cassandra-3.x branch? |
I do. :) |
thanks, help with that is very much appreciated |
* sbt-header 1.6.0 fixes problems with newlines on Windows
…ader-lukas-phaf-issue-150 Update sbt-header plugin to 1.6.0 krasserm#150
One don't need a keystore unless you use client-authentication. We should not force the user to configure stuff (s)he doesn't need.