Pretty URL for Data Services

Assignee

Reporter

Sprint

Description

Data Services module doesn't support Pretty URLs

  • add support for linking to a DS directly using id

  • add support for linking to Data Services module with a filter set

  • add support for linking to a DS directly and a concrete tab selected on the right panel

Steps to reproduce

None

Attachments

1

Activity

Show:

Martin Predny September 29, 2020 at 7:02 AM

Implementation is OK on cloveretl.server-master #2754
DataServicesPrettyURLTest.java Selenium test is passing ,therefore closing the issue.

Milan Krivanek September 23, 2020 at 8:29 AM
Edited

Merged to master.

Done without switching the tab in detail - .

Parameters:

  • filterFulltext

  • sortField

  • sortOrder

Sample URL:

http://localhost:9091/clover/gui/data-services?filterFulltext=aaa&sortField=name&sortOrder=DESCENDING

DataServicesPrettyURLTest.java Selenium test added.

Martin Predny September 23, 2020 at 7:39 AM
Edited

Tested on cloveretl-release-CLO-16435 #5

Expected behavior:

  • A parameter that is present in the URL should override the previous value.

  • A parameter that is not present in the URL should preserve the previous value. For example, omitting filterFulltext query parameter does not reset the filter, if it was set previously.

QA:

  • table with multiple pages 

  • selecting and unselecting a row in the table

  • closing the detail

  • setting and clearing the filter

  • pasting various URLs directly into browser address bar

  • sorting by various table columns

  • different page sizes Please see attached gif. Have page size set to 25, choose any data service from position 26 higher and change page size to 50. Now refresh page and suddenly no data services are shown. Note: happens on other modules too, will be reported as a new task.

Implementation seems to be OK, waiting for the test results.

Martin Predny September 22, 2020 at 1:30 PM

Tested on cloveretl-release-CLO-16435 #3
Found problems:

  • sorting via URL does not work,

  • selecting data service using ID does not work,

  • expected behavior from previous comment is not fulfilled, a parameter that is present in the URL should override the previous value, but it does not (tested with fulltext search parameter)

Fixed

Details

Story Points

Time tracking

2w logged

Priority

Fix versions

QA Testing

GUI automated test

QA Test Identification

Components

Created April 10, 2019 at 2:27 PM
Updated June 26, 2024 at 2:15 PM
Resolved September 24, 2020 at 8:24 AM