Feat: Adds interactive session status command#301
Open
l-mansouri wants to merge 38 commits intomainfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR implements the command to check the status of the interactive session .
JIRA
LP-105732
Changes
Acceptance Criteria
Scenario 1: Check the status of a running IA session
cloudos interactive-session status --session-id <ID>Scenario 2: Check the status of a paused IA session
cloudos interactive-session status --session-id <ID>Scenario 3: Check status with an invalid or non-existent session ID
cloudos interactive-session status --session-id 123456789009876543211234Scenario 4: Watch mode for pre-running session tracks status changes
cloudos interactive-session status --session-id <ID> --watchScenario 5: Watch mode shows warning for already running or stopped session
cloudos interactive-session status --session-id <ID> --watchScenario 6: Save session status to JSON file
cloudos interactive-session status --session-id <ID> --format jsonScenario 7: Save session status to CSV file with custom base name
cloudos interactive-session status --session-id <ID> --format csvCI for interactive session status in PROD will fail as the endpoint is currently only open in DEV