You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by sv...@apache.org on 2017/07/27 17:17:59 UTC

[1/3] jclouds-site git commit: Merge pull request #199 from neykov/update-docs

Repository: jclouds-site
Updated Branches:
  refs/heads/master 94b98475f -> d34f70de2


Merge pull request #199 from neykov/update-docs

Remove unsupported sections (clojure, Ant, GAE)

Project: http://git-wip-us.apache.org/repos/asf/jclouds-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds-site/commit/e5678751
Tree: http://git-wip-us.apache.org/repos/asf/jclouds-site/tree/e5678751
Diff: http://git-wip-us.apache.org/repos/asf/jclouds-site/diff/e5678751

Branch: refs/heads/master
Commit: e567875174c590bcb0ec8bac34f9baaf1bcb7f42
Parents: 730c25c 94b9847
Author: Svet <sv...@cloudsoftcorp.com>
Authored: Mon Jul 17 17:25:54 2017 +0300
Committer: GitHub <no...@github.com>
Committed: Mon Jul 17 17:25:54 2017 +0300

----------------------------------------------------------------------
 start/compute.md | 75 ---------------------------------------------------
 1 file changed, 75 deletions(-)
----------------------------------------------------------------------



[2/3] jclouds-site git commit: Workaround to revert to shared credential store

Posted by sv...@apache.org.
Workaround to revert to shared credential store


Project: http://git-wip-us.apache.org/repos/asf/jclouds-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds-site/commit/c87b4acd
Tree: http://git-wip-us.apache.org/repos/asf/jclouds-site/tree/c87b4acd
Diff: http://git-wip-us.apache.org/repos/asf/jclouds-site/diff/c87b4acd

Branch: refs/heads/master
Commit: c87b4acdbd9c7d679ddd9165f8f20533c9ed49be
Parents: e567875
Author: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Authored: Mon Jul 17 16:41:54 2017 +0300
Committer: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Committed: Mon Jul 17 17:33:38 2017 +0300

----------------------------------------------------------------------
 start/compute.md | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds-site/blob/c87b4acd/start/compute.md
----------------------------------------------------------------------
diff --git a/start/compute.md b/start/compute.md
index 71ad08d..b1c6138 100644
--- a/start/compute.md
+++ b/start/compute.md
@@ -548,3 +548,20 @@ The jclouds API allows many `Statements` to be built entirely from high-level co
 without having to resort to OS-specific scripts. This enables developers to express what they mean without having
  to deal with the gory details of various OS flavors.
 To see the commands that will be executed, print the result of `Statement.render(OsFamily.UNIX)`, for example.
+
+### Sharing the credential store between ComputeService instances
+
+By default there's a separate credential store per ComputeService instance. To change that and share the
+same credential store between instances create your ComputeService as follows:
+
+{% highlight java %}
+public static final Map<String, ByteSource> SHARED_CREDENTIAL_STORE = new ConcurrentHashMap<String, ByteSource>();
+...
+Module sharedCredStore = new CredentialStoreModule(SHARED_CREDENTIAL_STORE);
+
+ContextBuilder.newBuilder("provider")
+  .modules(ImmutableSet.of(sharedCredStore, ...))
+...
+{% endhighlight %}
+
+*Note*: The behaviour changed from pre-2.1.0 jclouds where the credential store used to be shared as the default.


[3/3] jclouds-site git commit: Minor suggested text edit to the "pre-2.1.0" note

Posted by sv...@apache.org.
Minor suggested text edit to the "pre-2.1.0" note

Project: http://git-wip-us.apache.org/repos/asf/jclouds-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds-site/commit/d34f70de
Tree: http://git-wip-us.apache.org/repos/asf/jclouds-site/tree/d34f70de
Diff: http://git-wip-us.apache.org/repos/asf/jclouds-site/diff/d34f70de

Branch: refs/heads/master
Commit: d34f70de2c03c9013d67916d31a6d703ae17292b
Parents: c87b4ac
Author: Andrew Phillips <de...@users.noreply.github.com>
Authored: Mon Jul 17 20:52:04 2017 -0400
Committer: GitHub <no...@github.com>
Committed: Mon Jul 17 20:52:04 2017 -0400

----------------------------------------------------------------------
 start/compute.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds-site/blob/d34f70de/start/compute.md
----------------------------------------------------------------------
diff --git a/start/compute.md b/start/compute.md
index b1c6138..4e21cb6 100644
--- a/start/compute.md
+++ b/start/compute.md
@@ -564,4 +564,4 @@ ContextBuilder.newBuilder("provider")
 ...
 {% endhighlight %}
 
-*Note*: The behaviour changed from pre-2.1.0 jclouds where the credential store used to be shared as the default.
+*Note*: This behaviour changed in jclouds 2.1.0; in older versions, the default behaviour was to share the credential store across instances.