Package org.jclouds.chef.domain

Examples of org.jclouds.chef.domain.Metadata


   private void createCookbooksWithMultipleVersions(String cookbookName) throws Exception {
      FilePayload v0content = uploadContent("pom.xml");
      FilePayload v1content = uploadContent("../README.md");

      // Create the metadata of the cookbook
      Metadata metadata = Metadata.builder() //
            .name(cookbookName) //
            .version("0.0.0") //
            .description("Jclouds test uploaded cookbook") //
            .maintainer("jclouds") //
            .maintainerEmail("someone@jclouds.org") //
View Full Code Here


         api.commitSandbox(site.getSandboxId(), false);
         fail("Could not upload content");
      }

      // Create the metadata of the cookbook
      Metadata metadata = Metadata.builder() //
            .name(PREFIX) //
            .version("0.0.0") //
            .description("Jclouds test uploaded cookbook") //
            .maintainer("jclouds") //
            .maintainerEmail("someone@jclouds.org") //
View Full Code Here

         api.commitSandbox(site.getSandboxId(), false);
         fail("Could not upload content");
      }

      // Create the metadata of the cookbook
      Metadata metadata = Metadata.builder() //
            .name(PREFIX) //
            .version("0.0.0") //
            .description("Jclouds test uploaded cookbook") //
            .maintainer("jclouds") //
            .maintainerEmail("someone@jclouds.org") //
View Full Code Here

            new CookbookVersion(
                  "apache-chef-demo-0.0.0",
                  ImmutableSet.<Resource> of(),
                  ImmutableSet.<Attribute> of(),
                  ImmutableSet.<Resource> of(),
                  new Metadata("Apache v2.0", "Your Name", ImmutableMap.<String, String> of(), ImmutableMap
                        .<String, String> of(), "youremail@example.com", ImmutableMap.<String, String> of(),
                        "A fabulous new cookbook", ImmutableMap.<String, String> of(), ImmutableMap
                              .<String, String> of(), "0.0.0", ImmutableMap.<String, String> of(), ImmutableMap
                              .<String, String> of(), "apache-chef-demo", ImmutableMap.<String, String> of(), "",
                        ImmutableMap.<String, Attribute> of(), ImmutableMap.<String, String> of()),
View Full Code Here

         api.commitSandbox(site.getSandboxId(), false);
         fail("Could not upload content");
      }

      // Create the metadata of the cookbook
      Metadata metadata = Metadata.builder() //
            .name(PREFIX) //
            .version("0.0.0") //
            .description("Jclouds test uploaded cookbook") //
            .maintainer("jclouds") //
            .maintainerEmail("someone@jclouds.org") //
View Full Code Here

   private void createCookbooksWithMultipleVersions(String cookbookName) throws Exception {
      FilePayload v0content = uploadContent("pom.xml");
      FilePayload v1content = uploadContent("../README.md");

      // Create the metadata of the cookbook
      Metadata metadata = Metadata.builder() //
            .name(cookbookName) //
            .version("0.0.0") //
            .description("Jclouds test uploaded cookbook") //
            .maintainer("jclouds") //
            .maintainerEmail("someone@jclouds.org") //
View Full Code Here

TOP

Related Classes of org.jclouds.chef.domain.Metadata

Copyright © 2018 www.massapicom. 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.