Github user grkvlt commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/317#discussion_r20217637
--- Diff:
software/nosql/src/main/java/brooklyn/entity/nosql/couchbase/CouchbaseClusterImpl.java
---
@@ -512,15 +514,17 @@ public Void call() throws Exception {
CouchbaseClusterImpl.this.resetBucketCreation.get().stop();
}
setAttribute(CouchbaseCluster.BUCKET_CREATION_IN_PROGRESS, true);
-
+ HostAndPort hostAndPort =
BrooklynAccessUtils.getBrooklynAccessibleAddress(primaryNode,
primaryNode.getAttribute(CouchbaseNode.COUCHBASE_WEB_ADMIN_PORT));
+
CouchbaseClusterImpl.this.resetBucketCreation.set(HttpFeed.builder()
.entity(CouchbaseClusterImpl.this)
.period(500, TimeUnit.MILLISECONDS)
-
.baseUri(String.format("%s/pools/default/buckets/%s",
primaryNode.getAttribute(CouchbaseNode.COUCHBASE_WEB_ADMIN_URL), bucketName))
+
.baseUri(String.format("http://%s/pools/default/buckets/%s", hostAndPort,
bucketName))
--- End diff --
There are some SSL ports, but we don't seem to support them yet, so this is
OK.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---