From 22a94e99cdc02f994c27674702eef42c27a5be6f Mon Sep 17 00:00:00 2001 From: Christopher Gallo Date: Fri, 19 Jul 2024 15:38:04 -0500 Subject: [PATCH 1/3] 20240719 release, with some error handling in the release Notes generator --- bin/releaseNotes.py | 10 ++++++++-- content/release_notes/2024/20240719.md | 12 ++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 content/release_notes/2024/20240719.md diff --git a/bin/releaseNotes.py b/bin/releaseNotes.py index b330b5dec2..494a5daf4f 100755 --- a/bin/releaseNotes.py +++ b/bin/releaseNotes.py @@ -113,8 +113,12 @@ def printIssues(self, issues): for issue in issues: self.console.print(f"[orange3]{issue['key']}, {issue['summary']}, {issue['resolution']}") for sub_issue in issue.get('issues'): - notes = sub_issue.get('notes') + notes = sub_issue.get('notes', '') color = "green" + if notes is None: + print(f"Notes for {sub_issue.get('key')} is |{notes}|") + + notes = "" isInternal = self.internal.search(notes) if isInternal: color = "red" @@ -134,7 +138,9 @@ def printReleaseNotes(self, issues): self.console.print(template, highlight=False) for issue in issues: for sub_issue in issue.get('issues'): - notes = sub_issue.get('notes') + notes = sub_issue.get('notes', '') + if notes is None: + notes = '' isInternal = self.internal.search(notes) if isInternal is None: self.console.print(f"- {notes}. {sub_issue.get('summary')} {sub_issue.get('key')}") diff --git a/content/release_notes/2024/20240719.md b/content/release_notes/2024/20240719.md new file mode 100644 index 0000000000..e07a0a4b5f --- /dev/null +++ b/content/release_notes/2024/20240719.md @@ -0,0 +1,12 @@ +--- +title: "Release notes: July 19, 2024" +date: "2024-07-19" +tags: + - "release notes" +--- + +#### API + +- Added check for active account state.. SendGrid - Addresses "Failed to disconnect the billing item resource" IMAGE-2371 +- refactor isNfsCapable to isNfsOnly. Changing label from isNfsCapable to isNfsOnly METAL-6221 + From 2ab2ef462e3b190ae9d3f1dfa2535e13f021fe79 Mon Sep 17 00:00:00 2001 From: Christopher Gallo Date: Fri, 19 Jul 2024 15:39:19 -0500 Subject: [PATCH 2/3] 20240719 sldn updates --- .../{getIsNfsCapable.md => getIsNfsOnly.md} | 8 ++--- .../{getIsNfsCapable.md => getIsNfsOnly.md} | 8 ++--- .../{getIsNfsCapable.md => getIsNfsOnly.md} | 8 ++--- data/sldn_metadata.json | 36 +++++++++---------- 4 files changed, 30 insertions(+), 30 deletions(-) rename content/reference/services/SoftLayer_Hardware_SecurityModule/{getIsNfsCapable.md => getIsNfsOnly.md} (53%) rename content/reference/services/SoftLayer_Hardware_SecurityModule750/{getIsNfsCapable.md => getIsNfsOnly.md} (53%) rename content/reference/services/SoftLayer_Hardware_Server/{getIsNfsCapable.md => getIsNfsOnly.md} (53%) diff --git a/content/reference/services/SoftLayer_Hardware_SecurityModule/getIsNfsCapable.md b/content/reference/services/SoftLayer_Hardware_SecurityModule/getIsNfsOnly.md similarity index 53% rename from content/reference/services/SoftLayer_Hardware_SecurityModule/getIsNfsCapable.md rename to content/reference/services/SoftLayer_Hardware_SecurityModule/getIsNfsOnly.md index 268350c2e2..36ca3b5756 100644 --- a/content/reference/services/SoftLayer_Hardware_SecurityModule/getIsNfsCapable.md +++ b/content/reference/services/SoftLayer_Hardware_SecurityModule/getIsNfsOnly.md @@ -1,6 +1,6 @@ --- -title: "getIsNfsCapable" -description: "A server that has nfs capable drive." +title: "getIsNfsOnly" +description: "A server that has nfs only drive." date: "2018-02-12" tags: - "method" @@ -13,8 +13,8 @@ layout: "method" mainService : "SoftLayer_Hardware_SecurityModule" --- -### [REST Example](#getIsNfsCapable-example) {#getIsNfsCapable-example .anchor-link} +### [REST Example](#getIsNfsOnly-example) {#getIsNfsOnly-example .anchor-link} ```bash curl -g -u $SL_USER:$SL_APIKEY -X GET \ -'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_SecurityModule/{SoftLayer_Hardware_SecurityModuleID}/getIsNfsCapable' +'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_SecurityModule/{SoftLayer_Hardware_SecurityModuleID}/getIsNfsOnly' ``` diff --git a/content/reference/services/SoftLayer_Hardware_SecurityModule750/getIsNfsCapable.md b/content/reference/services/SoftLayer_Hardware_SecurityModule750/getIsNfsOnly.md similarity index 53% rename from content/reference/services/SoftLayer_Hardware_SecurityModule750/getIsNfsCapable.md rename to content/reference/services/SoftLayer_Hardware_SecurityModule750/getIsNfsOnly.md index 082f13b05c..2763b1c464 100644 --- a/content/reference/services/SoftLayer_Hardware_SecurityModule750/getIsNfsCapable.md +++ b/content/reference/services/SoftLayer_Hardware_SecurityModule750/getIsNfsOnly.md @@ -1,6 +1,6 @@ --- -title: "getIsNfsCapable" -description: "A server that has nfs capable drive." +title: "getIsNfsOnly" +description: "A server that has nfs only drive." date: "2018-02-12" tags: - "method" @@ -13,8 +13,8 @@ layout: "method" mainService : "SoftLayer_Hardware_SecurityModule750" --- -### [REST Example](#getIsNfsCapable-example) {#getIsNfsCapable-example .anchor-link} +### [REST Example](#getIsNfsOnly-example) {#getIsNfsOnly-example .anchor-link} ```bash curl -g -u $SL_USER:$SL_APIKEY -X GET \ -'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_SecurityModule750/{SoftLayer_Hardware_SecurityModule750ID}/getIsNfsCapable' +'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_SecurityModule750/{SoftLayer_Hardware_SecurityModule750ID}/getIsNfsOnly' ``` diff --git a/content/reference/services/SoftLayer_Hardware_Server/getIsNfsCapable.md b/content/reference/services/SoftLayer_Hardware_Server/getIsNfsOnly.md similarity index 53% rename from content/reference/services/SoftLayer_Hardware_Server/getIsNfsCapable.md rename to content/reference/services/SoftLayer_Hardware_Server/getIsNfsOnly.md index b7c65e99cd..f58bf4de25 100644 --- a/content/reference/services/SoftLayer_Hardware_Server/getIsNfsCapable.md +++ b/content/reference/services/SoftLayer_Hardware_Server/getIsNfsOnly.md @@ -1,6 +1,6 @@ --- -title: "getIsNfsCapable" -description: "A server that has nfs capable drive." +title: "getIsNfsOnly" +description: "A server that has nfs only drive." date: "2018-02-12" tags: - "method" @@ -13,8 +13,8 @@ layout: "method" mainService : "SoftLayer_Hardware_Server" --- -### [REST Example](#getIsNfsCapable-example) {#getIsNfsCapable-example .anchor-link} +### [REST Example](#getIsNfsOnly-example) {#getIsNfsOnly-example .anchor-link} ```bash curl -g -u $SL_USER:$SL_APIKEY -X GET \ -'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_Server/{SoftLayer_Hardware_ServerID}/getIsNfsCapable' +'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_Server/{SoftLayer_Hardware_ServerID}/getIsNfsOnly' ``` diff --git a/data/sldn_metadata.json b/data/sldn_metadata.json index 129eea5f4a..3a62dae598 100644 --- a/data/sldn_metadata.json +++ b/data/sldn_metadata.json @@ -96215,10 +96215,10 @@ "filterable": true, "deprecated": false }, - "getIsNfsCapable": { - "doc": "A server that has nfs capable drive.", + "getIsNfsOnly": { + "doc": "A server that has nfs only drive.", "docOverview": "", - "name": "getIsNfsCapable", + "name": "getIsNfsOnly", "type": "string", "typeArray": null, "ormMethod": true, @@ -98194,11 +98194,11 @@ "form": "relational", "doc": "Determine if remote management has been disabled due to port speed." }, - "isNfsCapable": { - "name": "isNfsCapable", + "isNfsOnly": { + "name": "isNfsOnly", "type": "string", "form": "relational", - "doc": "A server that has nfs capable drive." + "doc": "A server that has nfs only drive." }, "isQeInternalServer": { "name": "isQeInternalServer", @@ -102119,10 +102119,10 @@ "filterable": true, "deprecated": false }, - "getIsNfsCapable": { - "doc": "A server that has nfs capable drive.", + "getIsNfsOnly": { + "doc": "A server that has nfs only drive.", "docOverview": "", - "name": "getIsNfsCapable", + "name": "getIsNfsOnly", "type": "string", "typeArray": null, "ormMethod": true, @@ -104098,11 +104098,11 @@ "form": "relational", "doc": "Determine if remote management has been disabled due to port speed." }, - "isNfsCapable": { - "name": "isNfsCapable", + "isNfsOnly": { + "name": "isNfsOnly", "type": "string", "form": "relational", - "doc": "A server that has nfs capable drive." + "doc": "A server that has nfs only drive." }, "isQeInternalServer": { "name": "isQeInternalServer", @@ -108043,10 +108043,10 @@ "filterable": true, "deprecated": false }, - "getIsNfsCapable": { - "doc": "A server that has nfs capable drive.", + "getIsNfsOnly": { + "doc": "A server that has nfs only drive.", "docOverview": "", - "name": "getIsNfsCapable", + "name": "getIsNfsOnly", "type": "string", "typeArray": null, "ormMethod": true, @@ -110023,11 +110023,11 @@ "form": "relational", "doc": "Determine if remote management has been disabled due to port speed." }, - "isNfsCapable": { - "name": "isNfsCapable", + "isNfsOnly": { + "name": "isNfsOnly", "type": "string", "form": "relational", - "doc": "A server that has nfs capable drive." + "doc": "A server that has nfs only drive." }, "isQeInternalServer": { "name": "isQeInternalServer", From 345579ff46fb2b0ee9bd2c8fc243513fcf6d852e Mon Sep 17 00:00:00 2001 From: Christopher Gallo Date: Fri, 19 Jul 2024 15:41:44 -0500 Subject: [PATCH 3/3] fixed a typo --- content/release_notes/2024/20240712.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/release_notes/2024/20240712.md b/content/release_notes/2024/20240712.md index fa4740a159..92d5aaf381 100644 --- a/content/release_notes/2024/20240712.md +++ b/content/release_notes/2024/20240712.md @@ -7,5 +7,5 @@ tags: #### API --Properties added for continue support of 3DS to ensure uninterrupted workflow.. 3DS Data Field Changes ACCT-8362 +- Properties added for continue support of 3DS to ensure uninterrupted workflow.. 3DS Data Field Changes ACCT-8362 - Update OS reload block for nfsCapable servers vsphere 7 -> vsphere 8. METAL-6189