Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add date stamp to allocation name #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lpramuk
Copy link

@lpramuk lpramuk commented Nov 15, 2024

Problem

In order to qualify allocation out-dated one has to navigate into allocation details

Solution

Add date stamp into allocation name so that it is easy to qualify allocations out-dated from the allocations overview

@lpramuk lpramuk self-assigned this Nov 15, 2024
@lpramuk lpramuk force-pushed the allocation_date_stamp branch from 3417d73 to 2f46984 Compare November 15, 2024 14:33
@lpramuk lpramuk force-pushed the allocation_date_stamp branch from 2f46984 to 1e357e9 Compare November 15, 2024 15:53
@lpramuk
Copy link
Author

lpramuk commented Feb 27, 2025

I've successfully tested my PR using manifester CLI tool:

(m) 15:46:56 $ manifester inventory
--------------------------------------
| Index | Allocation Name            |
--------------------------------------
(m) 15:47:01 $ manifester get-manifest --manifest-category golden_ticket
(m) 15:48:19 $ manifester inventory --details
0:
    entitlementQuantity: 3
    name: lpramuk-20250227-TwFogh
    simpleContentAccess: enabled
    type: Satellite
    url: https://api.access.redhat.com/management/v1/allocations/88367242-e0c8-42a8-8212-3c9401b53837
    uuid: 88367242-e0c8-42a8-8212-3c9401b53837
    version: 6.16
(m) 15:49:34 $ manifester inventory
--------------------------------------
| Index | Allocation Name            |
--------------------------------------
| 0     | lpramuk-20250227-TwFogh    |
--------------------------------------
(m) 15:49:58 $ manifester get-manifest --manifest-category entitlement
--------------------------------------
| Index | Allocation Name            |
--------------------------------------
| 0     | lpramuk-20250227-TwFogh    |
--------------------------------------
| 1     | lpramuk-20250227-ZCYixG    |
--------------------------------------
(m) 15:51:14 $ manifester delete 0
(m) 15:51:46 $ manifester inventory
--------------------------------------
| Index | Allocation Name            |
--------------------------------------
| 0     | lpramuk-20250227-ZCYixG    |
--------------------------------------
(m) 15:51:51 $ manifester inventory --sync
--------------------------------------
| Index | Allocation Name            |
--------------------------------------
| 0     | lpramuk-mAnUaL             |
--------------------------------------
| 1     | lpramuk-20250227-ZCYixG    |
--------------------------------------
| 2     | lpramuk-ScA                |
--------------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant