Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-1417

Add filters in cli create schema command

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7
    • client
    • None

    Description

      create schema command is useful but it calls create/update for all the schema xml files. The following things will be useful:

      • Option to specify entity type filter. e.g. create only cubes
      • Option to specify file name filter. e.g. create only entities having `x` in their names
      • Reporting all Failures collectively at the end.

      The general flow in cli is to run a command, then for subsequent runs of the same command, one generally tends to use the command history and modify existing commands. So although there already exists a way to solve for point 2, but it involves writing another command. Having this filter will be helpful.

      Attachments

        1. LENS-1417.03.patch
          10 kB
          Rajat Khandelwal
        2. LENS-1417.02.patch
          11 kB
          Rajat Khandelwal
        3. LENS-1417.01.patch
          10 kB
          Rajat Khandelwal

        Activity

          People

            prongs Rajat Khandelwal
            prongs Rajat Khandelwal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: