Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.1.0
    • Component/s: UI
    • Labels:
      None
    • Sprint:
      CDAP UI 02/06, CDAP UI 02/13
    • Release Notes:
      The CDAP UI added a stream detail view.
    • Rank:
      1|hzy32v:

      Description

      As a user, I need to be able to view and manage every single detail of a stream. A stream detail page is its own page, with a unique URL. Users can access it by clicking on the "View Details" button on the stream overview panel.

      Acceptance Criteria
      NAVIGATION:

      • Top bar represents navigation.
      • Should have a back button that allows user to go back to the page where they came from
      • Navigation bar should also show the stream name

      TITLE

      • Shows Stream Name
      • Must have Icon

      CREATION TIME
      Displays the exact creation time in the format MM/DD/YYYY HH:mm. Text says "Created at MM/DD/YYYY HH:mm"

      DESCRIPTION

      • If non-empty, truncate description and add ellipsis after 120 characters. (Lea need your input here)
      • "More" will display the remaining description pushing down the content below, as appropriate
      • If description is not available display: "No description available"

      TIME-TO-LIVE

      • Displays the time to live configured for this stream
      • Help text on icon: Time to live specifies the amount of time after creation after which records in the stream expire.
      • Format: x months,y days, z hours, a mins. Do not show months, days if they are 0.

      OWNER
      If specified, display the owner. Else "No owner specified"

      TAGS

      • Tags and total number of tags set for that stream
      • System tags are not removable
      • Business tags can be removed and added
      • Clicking on Tags, opens a search results modal. Re-use the global search modal. For search, only select datasets and streams as the target types, since we only have detail pages for them.
      • Clicking on a search result takes you to the details page of the search result.
      • If there are no tags, show the message "No tags found. Click Add Tag to add a new business tag"

      FAST ACTIONS

      • Truncate: Shows a confirmation box - "Truncate will remove all records from the stream '[stream-name]'. Are you sure you want to continue?". Buttons: Truncate, Cancel
      • Delete: opens the Delete modal asking the user to confirm action - If the user confirms delete, the modal closes, user goes back to the previous page
      • SQL - Opens the Explore modal, and allows user to execute a query.
      • Filter - Shows the filter modal to view the selected number of events in the given time range.
      • Upload - Opens upload modal to upload events to the stream
      • Tool tip with name of Fast Action is displayed on hover

      TABS
      PROGRAMS

      • Display number of programs using the app
      • Display title: "Programs using <Stream Name>
      • Display number of programs currently running: "Number of Running Programs: #"
      • Toggle to display List or card view
        LIST VIEW (default)
      • Rows are clickable (not in 4.1) and will take user to detail page of the Program.
      • List is sortable by:
      • Name: Alphabetically A-Z; Z-A (Default)
      • Type: Alphabetically A-Z; Z-A
      • Last Started: Most recently started; Least recently started
      • Staus: Alphabetically A-Z; Z-A
      • Name: display names of programs 50 character max (longer names, truncate and add ellipsis) (Lea need your input here)
      • Type: Display type of program
      • Last Started: Display date and time program was run last. If Program is currently running display time in real time.
      • User can start or stop a program by clicking the [play] and [stop] toggle icon:
      • "Stopped" label is displayed in grey
      • "Running" label is displayed in green
      • User can view, create and edit preference modal for a program by clicking the [preferences] icon
      • Bulk action: User can start or stop multiple programs at the same time by clicking on the check box and using the drop down menu to either bulk start or bulk stop programs.

      CARD VIEW

      • Programs are displayed in card format
      • programs are sorted alphabetically
      • Last Started metric is displayed in the card (mm/dd/yyyy - hh:mm). If Program is currently running display time in real time.
      • Cards should not contain application name

      SCHEMA TAB

      • Show the schema of the stream using the existing schema widget.

      PROPERTIES TAB

      • Displays key value pairs of metadata properties (from the metadata system)
      • Scope column specifies System vs Business
      • Has a search button with similar behavior as tag search. Search should be called with [key]:[value]
      • Business properties have an delete (trash) icon
      • If no properties are present, show the text "No business or system properties found for this application. Click to add a business property."

      METRICS TABLE

      • Shows storage metrics for stream - total number of events and total size.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                edwin Edwin Elia
                Reporter:
                bhooshan Bhooshan Mogal
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: