@RequestMapping(value = "", method = RequestMethod.POST)
	@ResponseStatus(HttpStatus.CREATED)
	@ResponseBody
	public ModuleDefinitionResource compose(
			@RequestParam("name") String name,
			@RequestParam("definition") String definition,
			@RequestParam(value = "force", defaultValue = "false") boolean force
			) {
		ModuleDefinition moduleDefinition = moduleDefinitionService.compose(name, /*TODO*/null, definition, force);
		ModuleDefinitionResource resource = simpleAssembler.toResource(moduleDefinition);
		return resource;
	}
Create (install) a new module, by way of composition. Resulting type is inferred.

@param name The name of the module to create (required)
@param definition The module definition, expressed in the XD DSL (required)
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/rest/ModulesController.java