Uploaded image for project: 'ERM Platform'
  1. ERM Platform
  2. ERM-1560

When displaying Interfaces for an organisation in a License full details are only retrieved for 10

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      ERM Sprint 108
    • Development Team:
      ERM

      Description

      Overview:
      Steps to Reproduce:

      1. Add >10 interfaces to an organization
      2. link organization to License
      3. view License

      Expected Results:

      Details of the organization displayed with all the interfaces listed

      Actual Results:

      Full details only displayed for 10 interfaces - see this example screenshot and note that the name, interface type and notes do not display for all rows

      N.B. although in this example all the interfaces are attached to a single organization, the issue also arises if you have >10 interfaces across multiple organizations linked to the license (e.g. one Org with 6 interfaces, another org with 5 interfaces, only 10 of the interfaces would be retrieved successfully)

      Additional Information:

      Currently the details for the interfaces are retrieved with a search like:

      /organizations-storage/interfaces?query=<id=interface UUID>

      For each additional interface UUID listed for the organization an extra term is added to the query. e.g. a query for 13 interfaces:

      /organizations-storage/interfaces?query=id%3D%3D14e81009-0f98-45a0-b8e6-e25547beb22f%20or%20id%3D%3Dcd592659-77aa-4eb3-ac34-c9a4657bb20f%20or%20id%3D%3D60b952a6-5570-44f3-9972-f00c9dcb098e%20or%20id%3D%3Dddfd8661-896d-4ffc-be57-d0f466cb790b%20or%20id%3D%3D793b9d42-ae12-41d7-a36a-f33e5b9e82c5%20or%20id%3D%3Dcd5926fa-77aa-4eb3-ac34-c9a1747ba21a%20or%20id%3D%3D6c862414-a87c-4c19-b4dc-c9c2b68f296c%20or%20id%3D%3Dcd5926fa-77aa-4eb3-ac34-c9a1747ba21b%20or%20id%3D%3Dfae74b9c-5338-4cd6-8a17-47c750d40b7b%20or%20id%3D%3D00b1c903-38f2-45c7-a427-30a141cf643a%20or%20id%3D%3Dcd5926fa-77aa-4eb3-ac34-c9a1747ba21c%20or%20id%3D%3D92289a36-5d83-4794-9f45-97eda8938064%20or%20id%3D%3D766e42dc-386b-4710-897d-2ad226fa3679

       

      However, there is no `limit` parameter in the query which means the default number of responses (10) are included in the results.

       

      The limit parameter should be included in the query for interfaces based on the number of interfaces that are listed for the organization

      Documentation for /interfaces API https://s3.amazonaws.com/foliodocs/api/mod-organizations-storage/p/interface.html#organizations_storage_interfaces_get

       

      URL:
      Interested parties: Dennis Bridges Khalilah Gambrell Jack Mulvaney Anya Arnold

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ostephens Owen Stephens
                Reporter:
                ostephens Owen Stephens
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases