HARMONY-1824: Add route for viewing service deployment error logs. #695
+94
−3
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.
Jira Issue ID
HARMONY-1824
Description
Save the deployment log when service deployment fails.
Add route to allow authorized users to view the log through Harmony frontend.
Provide link to the service deployment log in the message of failed service deployment status page.
Local Test Steps
Tested in my Sandbox with a modified
![Screenshot 2025-02-07 at 2 36 24 PM](https://private-user-images.githubusercontent.com/1275975/411061927-b4786af6-f4b0-48d4-ae8f-36c7bed4f8f1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MTAyNjMsIm5iZiI6MTczOTQwOTk2MywicGF0aCI6Ii8xMjc1OTc1LzQxMTA2MTkyNy1iNDc4NmFmNi1mNGIwLTQ4ZDQtYWU4Zi0zNmM3YmVkNGY4ZjEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTNUMDEyNjAzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Y2RmMTRlMmU4MThlYzAzODcwMDc3NDgxZTA5ZjQzMDY1ZTZhMzhhN2E3MWIyOTU4NDE5Nzc3MWZlYWE2ZTc0NyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.q4YiMssxtpoQ3XPPdQ3UOr_cUz5q0dinfMb5eyjp3eY)
deploy-service
script that will fail with a message.Verified that the service deployment status page provide a link to the deployment logs. See below:
Follow the link, I can see the logs of service deployment.
PR Acceptance Checklist