Project: springxd
Issue XD-1287: Tap definitions should verify stream name
xd:>stream create --name simple --definition "http | transform | filter | transform | file" Created new stream 'simple' xd:>stream create --name tapSimple --definition "tap:stream:mystream.transform > file" Created new stream 'tapSimple' There isn't a stream named "mystream"... I don't remember if we want to allow for this (set up taps before there is a stream) or if it should be an error. Otherwise, works as expected xd:>stream create --name tapSimple2 --definition "tap:stream:simple.transform > file" Command failed org.springframework.xd.rest.client.impl.SpringXDException: XD144E:(pos 11): Reference to 'transform' is not unique in the target stream 'http | transform | filter | transform | file', please label the relevant module and use the label, or use a suffix index to indicate which occurrence of the module, e.g. 'transform.0' tap:simple.transform
Story points: 4