Instance record - part 3

Description

.Create an instance entity that supports the following:

Story part

Field name

Display field name

Data type

Operators

Values

Notes

3

source

Source

String

==, in 

 

The values should include all supported source types.  Considering the volume of the data != and not in should not be supported (to be verified with developers). 

3

languages

Languages

Array of strings

==, !=, in, not in, isEmpty

List of languages

 

3

contributors.Name

Contributors

Array of objects

==, in, contains, starts with

Free text

 

Requirements:

  • The fields identified above are available in the query builder for the instance entity type

  • When a field identified above is selected in the query builder:

    • the 'operators' identified in the table above are available

    • the type of 'value' identified in the table above are available

    • pre-populated values appear in alphabetical order 

  • The fields identified above are available columns for lists of a holdings entity type

  • Field names use sentence casing (only first letter of first word is capitalized) 

  • Fields are alphabetically ordered

  • Unit and API tests are written/updated and they pass

  • The test code coverage is >80%

 

 

 

Environment

None

Potential Workaround

None

Attachments

3

Checklist

hide

Activity

Show:

Emma_HaroyanMarch 15, 2024 at 4:36 AM

Hey the test case is ready for your review. It’s attached to the ticket.

But I am sending the link as well - https://foliotest.testrail.io/index.php?/cases/view/451491

Emma_HaroyanMarch 12, 2024 at 7:24 PM

Thanks

I see the functionality via Postman

do we have other ticket, that covers the rest of the operators?

Kriti JainMarch 11, 2024 at 2:20 PM
Edited

Instance contributor name type list and language is an array type field and it will only show you the list with contains and not_contains operator. Those are the two operators that works with array. Right now you will not able to query through UI. Cause we have changed the operator name. But from the BE side we can.

you can post a query

Emma_HaroyanMarch 11, 2024 at 2:11 PM

Tested on Rancher env.

The fields “Instance language” and “Instance contributor name type list” don’t return any value, althought there are valid values when I check on ‘Inventory’.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Corsair

Fix versions

Release

Quesnelia (R1 2024)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created February 19, 2024 at 3:02 PM
Updated March 19, 2024 at 1:44 PM
Resolved March 15, 2024 at 9:36 PM
TestRail: Cases
TestRail: Runs