more pages indication in python-glareclient
Providing the Metadata information in glare list API from glare-client cli.
- Why do we want to add this feature? The drive to make the change:
Currently, there is no indication in list command so a user can understand if there are any more artifacts remaining and he should apply marker and send the query again (especially in case of system defined limit).
This is mainly because we do not show metadata available in outer part of artifacts data.
{
“artifacts” : []
“type_name”:”abc”,
“display_
“total_count”:21,
“marker”: “xxxx-xxx-xxx-xxxx”
}
Solution:
Providing a separate table along with artifact list data, which will show required artifact response metadata.
Right now it will be current_count, total_count, marker etc, Going forward as new metadata field can be added based on glare response attributes.
- Limitation:
As only selected metadata fields will be visible to the user, therefore it will be required to configure every new field in glare-client while introducing it in glare list response.
Blueprint information
- Status:
- Not started
- Approver:
- Moshe Elisha
- Priority:
- Undefined
- Drafter:
- Kushal Agrawal
- Direction:
- Needs approval
- Assignee:
- Kushal Agrawal
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by