Metadata
- Source
- KETTLE-61
- Type
- New Feature
- Priority
- Major
- Status
- Resolved
- Resolution
- Fixed
- Assignee
- Antranig Basman
- Reporter
- Tony Atkins [RtF]
- Created
2017-07-03T10:05:53.461-0400 - Updated
2020-09-30T12:15:29.096-0400 - Versions
- N/A
- Fixed Versions
- N/A
- Component
- N/A
Description
As @@Antranig Basman and others have often discussed, there is a need to have a client-side equivalent of kettle.dataSource.URL. I have a starting point for this work that I would like to submit as a PR against Kettle.
My idea is that this would be a "work alike" backed by jQuery.ajax. Wherever possible, it should support the options supported by the node-based component. The raw options would be expanded and/or transformed and then used to populated a set of options that can be passed directly to jQuery.ajax. Advanced usages of the client-side grade could override and pass options directly to jQuery.ajax.
As part of this, I would need to add browser tests. If there are no objections, I thought I would follow the same pattern used with the recently-merged universal PR, i.e. gpii-testem for browser tests, nyc or istanbul for the node code, and a combined coverage report.
My new approach is a first attempt at addressing KETTLE-55 at least for the client-side grade. We should review the initial work and discuss whether we want to tackle KETTLE-55 for the node-side grades first.
cc: @@Antranig Basman