brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aledsage <>
Subject [GitHub] incubator-brooklyn pull request: Deploy across an entire web clust...
Date Tue, 29 Jul 2014 11:47:08 GMT
Github user aledsage commented on a diff in the pull request:
    --- Diff: locations/jclouds/src/test/java/brooklyn/entity/rebind/persister/jclouds/
    @@ -0,0 +1,80 @@
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + *
    + *
    + * Unless required by applicable law or agreed to in writing,
    + * software distributed under the License is distributed on an
    + * KIND, either express or implied.  See the License for the
    + * specific language governing permissions and limitations
    + * under the License.
    + */
    +package brooklyn.entity.rebind.persister.jclouds;
    +import static;
    +import org.jclouds.ContextBuilder;
    +import org.jclouds.blobstore.BlobStoreContext;
    +import org.jclouds.blobstore.domain.PageSet;
    +import org.jclouds.blobstore.domain.StorageMetadata;
    +import org.slf4j.Logger;
    +import org.slf4j.LoggerFactory;
    +import brooklyn.config.BrooklynProperties;
    +import brooklyn.location.basic.LocationConfigKeys;
    +import brooklyn.location.jclouds.JcloudsLocation;
    +import brooklyn.test.entity.LocalManagementContextForTests;
    +/** Utility for cleaning up after test leaks. Most should not leak of course, but if
they do... */
    +public class BlobStoreExplorer {
    +    private static String locationSpec = BlobStoreTest.PERSIST_TO_OBJECT_STORE_FOR_TEST_SPEC;
    +    private static final Logger log = LoggerFactory.getLogger(BlobStoreExplorer.class);
    +    public static void main(String[] args) {
    +        LocalManagementContextForTests mgmt = new LocalManagementContextForTests(BrooklynProperties.Factory.newDefault());

    --- End diff --
    I don't understand how this or `BlobStoreTest` works. They both use `LocalManagementContextForTests`,
so will not have read ``. Yet the comment says a named location with credentials
needs to be defined (presumably in Or am I missing something about what
`LocalManagementContextForTests` does?

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 or file a JIRA ticket
with INFRA.

View raw message