Note that the dataSource parameter has just a bean reference #dataSource, referencing a bean defined in the beans
We should support this usecase at least in 2 ways - in the step configuration form, on the dataSource parameter :
User can get a list of existing beans those are compatible with javax.sql.DataSource, and when one of them is chosen, the dataSource parameter is filled with a reference to that bean
How does Kaoto know org.postgresql.ds.PGSimpleDataSource is an implementation of javax.sql.DataSource? this is Java knowledge, need hints from outside - i.e. vscode host
User can create a new bean entry directly from SQL step configuration form, for example by showing a pop-up mini form to create a new DataSource bean, then fill the dataSource parameter with a reference
As a 1st iteration, we might just add a basic capability without looking into Java type
List all visible beans in dropdown and fill the reference once chosen
Allow creating a bean from step configuration form, Java type FQCN needs to be typed by the user
Then consider the Java type handling in 2nd iteration.
Please describe the feature that you want to propose
For example when a user is configuring a SQL step, they needs to configure a DataSource bean
Note that the
dataSource
parameter has just a bean reference#dataSource
, referencing a bean defined in thebeans
We should support this usecase at least in 2 ways - in the step configuration form, on the
dataSource
parameter :javax.sql.DataSource
, and when one of them is chosen, thedataSource
parameter is filled with a reference to that beanorg.postgresql.ds.PGSimpleDataSource
is an implementation ofjavax.sql.DataSource
? this is Java knowledge, need hints from outside - i.e. vscode hostdataSource
parameter with a referenceAs a 1st iteration, we might just add a basic capability without looking into Java type
Then consider the Java type handling in 2nd iteration.