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

CDAP Component, Package and Property Names don't align


    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.5.2
    • Fix Version/s: None
    • Component/s: CDAP
    • Labels:
    • Rank:


      There are a number of places in the documentation where we talk about "gateway" and "router", "dashboard" and "console", as if the former terms were synonyms for the latter. They aren't exactly, and their use in package names and properties is inconsistent and confusing. However, changing these names – because they are embedded in the code – is non-trivial.

      JJ talked to Terence and Andreas about this. Andreas tried a month ago to get rid of one of "router" and "gateway" and found he couldn't. Those properties are still needed and used.

      So consensus was the best we could do would be to rename "cdap-gateway" to "cdap-router" and gloss over the exposure of "gateway" in the XML file. Eventually we might be able to rename those properties, but that would be a bigger undertaking.

      So, we should try to:

      • replace "cdap-gateway" as a package name with "cdap-router", and change the distribution and the documentation to suit;
      • replace "cdap-web-app" as a package name with "cdap-console", and change the distribution and documentation;
      • see if the properties can be changed in the cdap-site.xml, and replace "gateway" with an augmented "router" name, and "dashboard" with "console".

      Alternatives would be "web app", "web-app", and "console" become "dashboard"...


          Issue Links



              • Assignee:
                John John Jackson
                John John Jackson
              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created: