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

Create an Example using the existing Cube Dataset Service

    Details

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

      Description

      We have an existing example "CubeService" that has never been fleshed out.

      It is used by the Cask website as the source for the "weblog" example on the Cask website (http://cask.co/get-started/); the various "weblog" scripts and files use the Cube Service.

      It would be good to create an example with this material, with a test, and move these files from /examples/resources/weblog* to the CubeService directory, as these are not resources for the examples but files that were put in that location instead of a more appropriate one.

      The weblog example on the website could also be the basis for the example (the four steps).

      Andreas commented:
      "Can we change the CubeService to accept the name of the cube dataset as a path parameter? And dynamically access that dataset?"

      "That would illustrate the power of dynamic datasets, too...The difficulty is that the AbstractCubeHttpHandler hardcodes the paths.

      "I think we can just make this a non-abstract handler that uses paths with /cube/<name>/ as the prefix in all URLs"

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: