Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1579

[Test Scenario] [BC Only] Automatically generated ScenarioJunitActivatorTest file should not be displayed in the list of assets

XMLWordPrintable

    • False
    • False
    • Release Notes
    • Undefined

      After creating a test scenario asset in RHPAM/RHDM, the asset ScenariojunitActivatorTest appears in the assets list - as a Data Object. However, this file should not be shown in the asset list as it is not a Data Object generated by customer. Also, it is not possible to open this file in the Editor tab. When trying to do that we get the following message:
       
      >> Java file could not be parsed, it won't be possible to open the Editor tab, use the Source tab instead. 

      The same problem exists when using the DRL editor: the testscenario.ScenarioJunitActivatorTest is proposed in the left panel with all the data objects.

       

      Proposed Solution

      To modify launched query which retrieves assets files in order to exclude ScenariojunitActivatorTest (or the Package where it lives).

      The query is defined in `LibraryServiceImpl:373`

      If this solution should be easily achievable, the alternative is to filter out that file over the query results.

       

            trikkola Toni Rikkola
            rhn-support-bkramer1 Biljana Kramer
            Barbora Siskova Barbora Siskova
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: