Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-4159

Refactor cube service to use dynamic datasets

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: API, CDAP Examples, Datasets
    • Labels:
      None
    • Rank:
      1|hzz2lz:

      Description

      The CubeService example is odd because it is not self-contained (it uses a dataset that it does not create). We can refactor as follows:

      • Deprecate AbstractCubeHttpHandler
      • Replace it with a CubeHttpHandler that has /cube/<dataset name> as path prefix
      • Use the new Handler in the CubeService. This is still not self-contained, because it relies on other apps to create the cube datasets. But at least it will succeed to start and dynamically serve any existing cube.

        Attachments

          Activity

            People

            • Assignee:
              andreas Andreas Neumann
              Reporter:
              andreas Andreas Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: