From 0253b399a24182bd56ae588785b14803590618a0 Mon Sep 17 00:00:00 2001 From: Vedant Mehra Date: Tue, 7 Jan 2025 13:16:31 +0530 Subject: [PATCH 1/4] [APPS-3106] Removed special characters from yaml files --- .../main/webapp/definitions/gs-core-api.yaml | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/amps/ags/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml b/amps/ags/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml index 354cec9900..6eec41f13b 100644 --- a/amps/ags/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml +++ b/amps/ags/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml @@ -3315,7 +3315,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. aspectNames: type: array @@ -3346,7 +3346,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -3396,7 +3396,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -3429,7 +3429,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -3484,7 +3484,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -3549,7 +3549,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. properties: type: object @@ -3578,7 +3578,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -3637,7 +3637,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -3702,7 +3702,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. properties: type: object @@ -3729,7 +3729,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -3779,7 +3779,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -3881,7 +3881,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -3967,7 +3967,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -4027,7 +4027,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -4076,7 +4076,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -4141,7 +4141,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. properties: type: object @@ -4166,7 +4166,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -4223,7 +4223,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -4830,7 +4830,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -4852,7 +4852,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " < > \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string From 62a9d439b7cc2ece8a09de6b230917b29151c6dd Mon Sep 17 00:00:00 2001 From: Vedant Mehra Date: Wed, 8 Jan 2025 14:53:04 +0530 Subject: [PATCH 2/4] [APPS-3106] Precommit formatter --- .../src/main/webapp/definitions/gs-core-api.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amps/ags/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml b/amps/ags/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml index 6eec41f13b..ee3f78d826 100644 --- a/amps/ags/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml +++ b/amps/ags/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml @@ -3637,7 +3637,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special character: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string From f20431036482403d61c0e0ad4542a215df494988 Mon Sep 17 00:00:00 2001 From: Vedant Mehra Date: Thu, 9 Jan 2025 11:11:42 +0530 Subject: [PATCH 3/4] [apps-3106]-Reverted yaml change for build check --- .../src/main/webapp/definitions/gs-core-api.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amps/ags/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml b/amps/ags/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml index ee3f78d826..6eec41f13b 100644 --- a/amps/ags/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml +++ b/amps/ags/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml @@ -3637,7 +3637,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special character: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string From 021f7f98d4cf48bc58e1e50d2856c7e4ca4274fb Mon Sep 17 00:00:00 2001 From: Vedant Mehra Date: Thu, 16 Jan 2025 10:21:28 +0530 Subject: [PATCH 4/4] [APPS-3106]-Special characters handling --- .../main/webapp/definitions/gs-core-api.yaml | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/amps/ags/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml b/amps/ags/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml index 6eec41f13b..0e899770f7 100644 --- a/amps/ags/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml +++ b/amps/ags/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml @@ -3315,7 +3315,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. aspectNames: type: array @@ -3346,7 +3346,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -3396,7 +3396,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -3429,7 +3429,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -3484,7 +3484,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -3549,7 +3549,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. properties: type: object @@ -3578,7 +3578,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -3637,7 +3637,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -3702,7 +3702,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. properties: type: object @@ -3729,7 +3729,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -3779,7 +3779,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -3881,7 +3881,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -3967,7 +3967,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -4027,7 +4027,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -4076,7 +4076,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -4141,7 +4141,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. properties: type: object @@ -4166,7 +4166,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -4223,7 +4223,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -4830,7 +4830,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string @@ -4852,7 +4852,7 @@ definitions: type: string pattern: "^(?!(.*[\\\"\\*\\\\\\>\\<\\?\\/\\:\\|]+.*)|(.*[\\.]?.*[\\.]+$)|(.*[ ]+$))" description: | - The name must not contain spaces or the following special characters: * " gt; lt; \ / ? : and |. + The name must not contain spaces or the following special characters: * " `<` `>` \ / ? : and |. The character . must not be used at the end of the name. nodeType: type: string