demobox commented on this pull request.


> +{% highlight java %}
+final Properties overrides = new Properties();
+overrides.put(KeystoneProperties.KEYSTONE_VERSION, "2");
+overrides.put(KeystoneProperties.TENANT_NAME, "myTenant");
+
+ContextBuilder.newBuilder("openstack-nova")
+   .endpoint("https://host:5000/v2.0";)
+   .credentials("foo", "bar")
+   .overrides(overrides)
+   .buildApi(NovaApi.class);
+{% endhighlight %}
+
+Will produce when authentication needed: 
+
+    POST https://host:5000/v2.0/tokens HTTP/1.1
+    {

Is there any particular benefit to trying to list the request so exactly here? 
In my experience, these are the parts of documentation that go stale very 
quickly.

Can we instead either give the code samples to the user and explain how they 
can configure logging to see what exactly is being sent (if that is necessary), 
or describe this a bit more abstractly, e.g. in form of a table?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/214#pullrequestreview-119286746

Reply via email to