From 245132e154a7097064a41cd90d41055769d7133f Mon Sep 17 00:00:00 2001 From: Karel van Klink <karel.vanklink@geant.org> Date: Wed, 22 May 2024 10:36:23 +0200 Subject: [PATCH] Update sharepoint description for iptrunk approval checklist --- gso/utils/workflow_steps.py | 2 +- gso/workflows/iptrunk/create_iptrunk.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gso/utils/workflow_steps.py b/gso/utils/workflow_steps.py index bcc1cacb..6ab00644 100644 --- a/gso/utils/workflow_steps.py +++ b/gso/utils/workflow_steps.py @@ -110,7 +110,7 @@ def run_checks_after_base_config(subscription: dict[str, Any], callback_route: s @inputstep("Prompt for new SharePoint checklist", assignee=Assignee.SYSTEM) def prompt_sharepoint_checklist_url(checklist_url: str) -> FormGenerator: - """Prompt the operator with the checklist in SharePoint for approving this new router.""" + """Prompt the operator with the checklist in SharePoint for approving a new subscription.""" class SharepointPrompt(FormPage): model_config = ConfigDict(title="Complete new checklist") diff --git a/gso/workflows/iptrunk/create_iptrunk.py b/gso/workflows/iptrunk/create_iptrunk.py index 390c3e13..440bb8e2 100644 --- a/gso/workflows/iptrunk/create_iptrunk.py +++ b/gso/workflows/iptrunk/create_iptrunk.py @@ -498,7 +498,7 @@ def create_new_sharepoint_checklist(subscription: IptrunkProvisioning, tt_number """Create a new checklist item in SharePoint for approving this IPtrunk.""" new_list_item_url = SharePointClient().add_list_item( "ip_trunk", - {"Title": subscription.iptrunk.iptrunk_description or subscription.description, "TT_NUMBER": tt_number}, + {"Title": f"{subscription.description} - {subscription.iptrunk.geant_s_sid}", "TT_NUMBER": tt_number}, ) return {"checklist_url": new_list_item_url} -- GitLab