Package org.jclouds.openstack.swift

Examples of org.jclouds.openstack.swift.CommonSwiftClient.deleteContainerMetadata()


      assertEquals(containerMetadata.getMetadata().size(), 3);
      assertEquals(containerMetadata.getMetadata().get("key1"), "value1");
      assertEquals(containerMetadata.getMetadata().get("key2"), "value2");
      assertEquals(containerMetadata.getMetadata().get("key3"), "value3");

      assertTrue(swift.deleteContainerMetadata(containerName, ImmutableList.<String> of("key2","key3")));

      containerMetadata = swift.getContainerMetadata(containerName);
     
      assertEquals(containerMetadata.getMetadata().size(), 1);
      assertEquals(containerMetadata.getMetadata().get("key1"), "value1");
View Full Code Here


         assertEquals(containerMetadata.getMetadata().size(), 3);
         assertEquals(containerMetadata.getMetadata().get("key1"), "value1");
         assertEquals(containerMetadata.getMetadata().get("key2"), "value2");
         assertEquals(containerMetadata.getMetadata().get("key3"), "value3");

         assertTrue(swift.deleteContainerMetadata(containerName, ImmutableList.<String> of("key2","key3")));

         containerMetadata = swift.getContainerMetadata(containerName);

         assertEquals(containerMetadata.getMetadata().size(), 1);
         assertEquals(containerMetadata.getMetadata().get("key1"), "value1");
View Full Code Here

      assertEquals(containerMetadata.getMetadata().size(), 3);
      assertEquals(containerMetadata.getMetadata().get("key1"), "value1");
      assertEquals(containerMetadata.getMetadata().get("key2"), "value2");
      assertEquals(containerMetadata.getMetadata().get("key3"), "value3");

      assertTrue(swift.deleteContainerMetadata(containerName, ImmutableList.<String> of("key2","key3")));

      containerMetadata = swift.getContainerMetadata(containerName);
     
      assertEquals(containerMetadata.getMetadata().size(), 1);
      assertEquals(containerMetadata.getMetadata().get("key1"), "value1");
View Full Code Here

         assertEquals(containerMetadata.getMetadata().size(), 3);
         assertEquals(containerMetadata.getMetadata().get("key1"), "value1");
         assertEquals(containerMetadata.getMetadata().get("key2"), "value2");
         assertEquals(containerMetadata.getMetadata().get("key3"), "value3");

         assertTrue(swift.deleteContainerMetadata(containerName, ImmutableList.<String> of("key2", "key3")));

         containerMetadata = swift.getContainerMetadata(containerName);

         assertEquals(containerMetadata.getMetadata().size(), 1);
         assertEquals(containerMetadata.getMetadata().get("key1"), "value1");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.