Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Asbjørn Aarrestad
@ahaarrestad
@evpaassen missing some junit-tests?
Erik van Paassen
@evpaassen
@ahaarrestad No? The tests would fail on Java 6, but no one ran the tests against Java 6.
Asbjørn Aarrestad
@ahaarrestad
@evpaassen Can we ask ci to jun jdk6?
Erik van Paassen
@evpaassen
@ahaarrestad No, Travis CI does not support Oracle JDK6: http://docs.travis-ci.com/user/languages/java/
Asbjørn Aarrestad
@ahaarrestad
@evpaassen just read that page. Don't know If I agree to the argument, though.... Will we get the same effect using openJDK6 ?
Erik van Paassen
@evpaassen
If you'd assume OpenJDK6 behaves exactly the same as Oracle JDK6. But most likely, it will not. Testing with OpenJDK6 tests compatibility with OpenJDK6, as testing with Oracle JDK6 would tell you something about compatibility with Oracle JDK6.
Asbjørn Aarrestad
@ahaarrestad
I agree. that's why I don't agree with the argument in the travis-ci docs.
you may want to move on, but you can't
Erik van Paassen
@evpaassen
Java 7 will become EOL too in April (http://www.oracle.com/technetwork/java/eol-135779.html), so we'll have to keep an eye on Travis JDK support.
Asbjørn Aarrestad
@ahaarrestad
that site states that oracle is supporting (for paying customers) jdk 6 until 2018.....
Mike Noordermeer
@MikeN123
Yeah, so unless Microsoft is going to pay to provide all contributors with an SDK, we can consider it EOL.
It should be fine to test against OpenJDK6 though, apart from some crypto differences it should be the same.
Erik van Paassen
@evpaassen
should
Noble Brown
@Noblebrown
Open JDK6 is better than nothing, even if it's not as good as using the Oracle JDK. It's disappointing that Travis CI doesn't support Oracle JDK6. EOL or not, Java 6 was around for over four and a half years before Java 7 was released. You couldn't pry it out of many enterprise organizations with a crowbar.
sohankhush
@sohankhush
Does ews-java-api supports OAuth ?
Mike Noordermeer
@MikeN123
No. EWS does not support OAuth (well, actually it sort of does a little bit of OAuth, but it is not too useful, since you need full mailbox permissions)
Victor Boctor
@vboctor
EWS service in Office 365 supports OAuth providing the ability for an app to access your mailbox with seeing your password. However, it doesn't support fine grained consents so like the OData API which supports consents like read mail, send mail, calendar and contacts. Ews-java-api doesn't support OAUTH though.
I meant without seeing.
Mike Noordermeer
@MikeN123
since there is no 'user consent' scenario for EWS, even with O365, I think it's fairly useless
if an admin needs to give full access, he can create a service account as well
Victor Boctor
@vboctor
I think OAuth gives benefits like: 1. app doesn’t see password, 2. constrained access, 3. ability to revoke. Would EWS OAuth give you 1 and 3, but not 2?
It would be use for developers of services / applications requiring such access rather than admin.
Mike Noordermeer
@MikeN123
EWS with application impersonation also gives you 1, and I'm not sure EWS OAuth gives you 3. on a per user basis
So essentially using OAuth with EWS instead of app impersonation is just swapping the (app specific) username/password for an OAuth token
Asbjørn Aarrestad
@ahaarrestad
anbyody got experience publising to sonatype?
the ticket is ok, so I guess we can start publishing snapshots any day now?
Mike Noordermeer
@MikeN123
afaik it's just a matter of configuring the deploy plugin in the pom.xml
but yesterday we discovered HEAD is currently borked with some firewalling configurations (e.g., TMG)
has to do with httpclient 4 cookie handling
still have to figure out a workaround for it
Asbjørn Aarrestad
@ahaarrestad
i have a local deploy at the moment, but want to change to a central one when available ....
Erik van Paassen
@evpaassen
Does anyone have experience with retrieving the EffectiveRights property of an Item while using a FindItems call? I'm experiencing some strange behaviour from EWS: http://stackoverflow.com/questions/28195941/ews-finditems-call-returns-incorrect-effectiverights-values
Matthias Leibmann
@mattleib
Note that EWS does support OAuth in Office 365, for both code and client-credential flow. The only difference to the Rest APIs is the permissions. EWS only supports "full access to mailbox" while Rest APIs do only support the granular permissions specific to a class of resources (Calendar, Mail, Contact). We recently updated the permission strings in the Application registration portal to better signal what is available for EWS. From a OAuth protocol point of view there is no difference. Note that maybe you had some issues in the preview phase where we marked the "full access to mailbox" permission as "admin only", meaning they required an admin to consent. With GA we removed this restriction. All permissions are now consent-able by an end-user. More here: https://msdn.microsoft.com/en-us/library/office/dn903761(v=exchg.150).aspx
Mike Noordermeer
@MikeN123
Thanks for the update. The client-credential flow seems to be a recent change we have been waiting for a long time ;-) I spotted your blog at http://blogs.msdn.com/b/exchangedev/archive/2015/01/21/building-demon-or-service-apps-with-office-365-mail-calendar-and-contacts-apis-oauth2-client-credential-flow.aspx
Victor Boctor
@vboctor
I’ve created the wiki for the project. Feel free to start creating content or move content from the readme file to there.
Russell Bolles
@Helmsdown
Wanted to confirm that a snapshot build has not been published to https://oss.sonatype.org/content/repositories/snapshots
Victor Boctor
@vboctor
Victor Boctor
@vboctor
Any suggestions on the rhythm of pushing the snapshot package out? Should we do this manually weekly + ondemand when there is a critical bug?
Or should we integrate with Travis or do some continuous integration setup? If so, any suggestions taking into consideration that the sonatype password should be secure.
For example, I can probably setup Jenkins and make it do the work, but I wonder if there is a better/lighter weight option.
Asbjørn Aarrestad
@ahaarrestad
great that the api has been pushed to sonatype :-) regarding the question on when to push snapshots, my questions in return is what others do.
we don't need to push weekly if nobody's been changing it.
and to push each time we merge is perhaps a bit too often?
Asbjørn Aarrestad
@ahaarrestad
Asking around today I got a couple of good replies...
  1. push a snapshot whenever you've finished something.
  2. try to release often!
Pathikrit Bhowmick
@pathikrit
I think snapshots should be pushed on every succesful travis build as an after_success hook. See this: https://gist.github.com/neothemachine/4060735
Releases can be manual step
You can store encrypted passwords on travis just fine
Asbjørn Aarrestad
@ahaarrestad
I agree on the "push-pr-merge" when we have a stable release to rely on, but perhaps we should have a bit more restricted push-policy until then?