Service Management Infrastructure design and implementation.
Dev estimate: 13 Test estimate: 5
Design and implement Service Management Configuration, Service Management Contract. Look at what are required to configured service management, name space, subscription id, certificate, how to do that in Java.
Service Management Endpoint
The base URI for the management service is:
https://management.core.windows.net
Note that all operations in the Service Management API are made over SSL and so must use the HTTPS protocol.
Every call to the Service Management API must include the subscription ID for your subscription. The subscription ID is appended to the base URI, as follows:
https://management.core.windows.net/
the authentication mechanism is here http://msdn.microsoft.com/en-us/library/windowsazure/ee460782.aspx
basically, you need to attach a certificate for each subscription.
here is a piece of sample code of using Jersey for SSL http://stackoverflow.com/questions/2145431/https-using-jersey-client
The official guide on Jersey over SSL
https://blogs.oracle.com/enterprisetechtips/entry/consuming_restful_web_services_with
A blog post about it http://stackoverflow.com/questions/1757295/using-https-with-rest-in-java
need to consider how to do code gen for this prototype as well.
spike completed, we need to do client certificate for service management. .
currently, the implementation is blocked by the 403 forbidden error.
I've implemented client cert authentication using Jersey in the past. Is there a particular branch you're working in? It does require sending a compatible keystore into the connection. Java is partial to the jks format. You'll need to provide it as a stream as I recall. I actually streamed it from Azure Storage (which is a challenge the way the Blob retrieve is written). Let me know if you want me to look at what you're doing.
Due to legal reason, I cannot share what I am working on before go through JSR review. Since u already signed the CLA, I think it is ok for me to look at your code :) My email address is gongchen at the largest software company in the world dot com. Thanks Bill!
replied on spike: issue #366 updated...
it seems that there are a three types of keystore supported in standard JVM. http://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyStore
It is currently in code review.
verify and tested affinitiy group. close this one