Type: New Feature
Status: In Progress
Affects Version/s: None
Fix Version/s: None
As an end user I should be able to interact with drillbits using a REST API.
This API will provide RESTful resources for query submission, status polling, data source configuration and result pagination.
Link to the design doc -
Task 1 - Embed jetty into drill bit.
– First task is to embed jetty. The version of jetty will be the latest i.e version 9.x
– By default it will run on port 50000 (no particular reason why this port...just simple to remember)
– Will have just one jetty connector assembled which is the HTTP connector.
– At the end of this task you'll be able to run the drill bit and view the contents of an index.json (which for now perhaps could only spit out the version of Drill)
Task 2 - Integrate Jersey to provide a platform for RESTful interactions
Task 3 - Provide an API to submit a new query.
Remaining tasks - TBD