Skip to content
Snippets Groups Projects
Verified Commit 245132e1 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

Update sharepoint description for iptrunk approval checklist

parent 0fcd4266
No related branches found
Tags 2.0
1 merge request!211Feature/add sharepoint service
Pipeline #86896 passed
......@@ -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")
......
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment