Long projectId = projectService.createProject(project);
// Attributes.
LOG.info("Creating attributes.");
List<Attribute> attributes = Lists.newArrayList();
Attribute attr1 = new Attribute();
attr1.setParentProjectId(projectId);
attr1.setName("Fast");
attr1.setDescription("This should be speedy.");
attr1.addLabel("owner: alaska@example");
attr1.addLabel("pm: will@example");
attr1.setAttributeId(projectService.createAttribute(attr1));
attributes.add(attr1);
Attribute attr2 = new Attribute();
attr2.setParentProjectId(projectId);
attr2.setName("Simple");
attr2.addLabel("owner: alaska@example");
attr2.setAttributeId(projectService.createAttribute(attr2));
attributes.add(attr2);
Attribute attr3 = new Attribute();
attr3.setParentProjectId(projectId);
attr3.setName("Secure");
attr3.addLabel("owner: margo@example");
attr3.addLabel("tester: quentin@example");
attr3.setAttributeId(projectService.createAttribute(attr3));
attributes.add(attr3);
// Components.
LOG.info("Creating components.");
ArrayList<Component> components = Lists.newArrayList();