spring-cloud-dataflow-ui
spring-cloud-dataflow-ui copied to clipboard
Code-assist doesn't work on existing DSL definitions
As a user, I created the following stream definitions by copy+pasting it in the textual DSL section; however, on ctrl+tab over the DSL portion for an app, I don't see any code-assist results, and a part of the stream definition vanishes.
- Original:
- Now, hit ctrl+tab on the 2nd stream after the
transform
app — nothing happens. No dropdown with options to select:
- Now, hit ctrl+tab on the 2nd stream after the
transform
next to the--
, then it breaks the stream definitions.
FWIW, I see this error on the backend when the operation failed:
2020-01-14 08:32:50.456 ERROR 18588 --- [nio-9393-exec-3] o.s.c.d.s.c.RestControllerAdvice : Caught exception while handling a request
java.lang.IllegalArgumentException: did not tigger after dash-dash
at org.springframework.util.Assert.isTrue(Assert.java:118)
There doesn't seem to be any CA supported for minutes
and seconds
streams...
I do see the exception above but no text is inserted by the CA...
Looks like with channels CA isn't supported... I couldn't get it to insert garbage text though.
@sabbyanandan I'd say we should fix this on the server side as CA for channel case DSL isn't working... you'd probably get the same in the shell...