Project: springxd
Issue XD-3754: Composed Module Child Module Validated Too Early
{{module compose foo --definition "time --fixedDelay=5 | shell --command=my.sh"}} {code} xd:>stream create bar --definition "foo | log" --deploy Command failed org.springframework.xd.rest.client.impl.SpringXDException: Error with option(s) for module foo of type source: command: may not be empty command: may not be null {code} The problem stems from the fact that the options metadata validation is performed on the shell module before the property from the composed module is injected. Disabling the validation annotations on the metadata avoids the problem. {code} //	@NotEmpty //	@NotNull public String getCommand() {	return command; } {code}
Story points: 5