attributes.add(attr3);
// Components.
LOG.info("Creating components.");
ArrayList<Component> components = Lists.newArrayList();
Component comp1 = new Component(projectId);
comp1.setName("Shopping Cart");
comp1.addLabel("dev lead: miles@example");
comp1.addLabel("tester: katherine@example");
comp1.setDescription("Contains items people want to buy.");
comp1.setComponentId(projectService.createComponent(comp1));
components.add(comp1);
Component comp2 = new Component(projectId);
comp2.setName("Sales Channel");
comp2.addLabel("dev lead: colin@example");
comp2.setComponentId(projectService.createComponent(comp2));
components.add(comp2);
Component comp3 = new Component(projectId);
comp3.setName("Social");
comp3.addLabel("owner: alaska@example");
comp3.setComponentId(projectService.createComponent(comp3));
components.add(comp3);
Component comp4 = new Component(projectId);
comp4.setName("Search");
comp4.setComponentId(projectService.createComponent(comp4));
components.add(comp4);
// Capabilities.
LOG.info("Creating capabilities.");
ArrayList<Capability> capabilities = Lists.newArrayList();