Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] Use getUrlPartsWithStrippedDefaultPort instead of getUrlParts (#…
…199264) (#199288) # Backport This will backport the following commits from `main` to `8.x`: - [Use getUrlPartsWithStrippedDefaultPort instead of getUrlParts (#199264)](#199264) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Maryam Saeidi","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-07T10:45:33Z","message":"Use getUrlPartsWithStrippedDefaultPort instead of getUrlParts (#199264)\n\n## Summary\r\n\r\nUse getUrlPartsWithStrippedDefaultPort to avoid this\r\n[issue](https://github.com/elastic/kibana/pull/195902#issuecomment-2411667499)\r\non MKI:\r\n\r\n```\r\nServerless Observability - Deployment-agnostic api integration - Custom Threshold rule AVG - PCT - FIRED Rule creation should set correct action variables\r\n\r\nError: expected 'https://bk-serverless-ftr-3067-e697d43e3ad9-e0ac80.kb.eu-west-1.aws.qa.elastic.cloud/app/observability/alerts/1e0c2d3e-e5c2-4bfe-9df0-d46681253b9f'\r\nto sort of equal 'https://bk-serverless-ftr-3067-e697d43e3ad9-e0ac80.kb.eu-west-1.aws.qa.elastic.cloud:443/app/observability/alerts/1e0c2d3e-e5c2-4bfe-9df0-d46681253b9f'\r\n```","sha":"996104f2eae2a3eb2412d5bb4ca52e89a5dbb1db","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","Team:obs-ux-management"],"title":"Use getUrlPartsWithStrippedDefaultPort instead of getUrlParts","number":199264,"url":"https://github.com/elastic/kibana/pull/199264","mergeCommit":{"message":"Use getUrlPartsWithStrippedDefaultPort instead of getUrlParts (#199264)\n\n## Summary\r\n\r\nUse getUrlPartsWithStrippedDefaultPort to avoid this\r\n[issue](https://github.com/elastic/kibana/pull/195902#issuecomment-2411667499)\r\non MKI:\r\n\r\n```\r\nServerless Observability - Deployment-agnostic api integration - Custom Threshold rule AVG - PCT - FIRED Rule creation should set correct action variables\r\n\r\nError: expected 'https://bk-serverless-ftr-3067-e697d43e3ad9-e0ac80.kb.eu-west-1.aws.qa.elastic.cloud/app/observability/alerts/1e0c2d3e-e5c2-4bfe-9df0-d46681253b9f'\r\nto sort of equal 'https://bk-serverless-ftr-3067-e697d43e3ad9-e0ac80.kb.eu-west-1.aws.qa.elastic.cloud:443/app/observability/alerts/1e0c2d3e-e5c2-4bfe-9df0-d46681253b9f'\r\n```","sha":"996104f2eae2a3eb2412d5bb4ca52e89a5dbb1db"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199264","number":199264,"mergeCommit":{"message":"Use getUrlPartsWithStrippedDefaultPort instead of getUrlParts (#199264)\n\n## Summary\r\n\r\nUse getUrlPartsWithStrippedDefaultPort to avoid this\r\n[issue](https://github.com/elastic/kibana/pull/195902#issuecomment-2411667499)\r\non MKI:\r\n\r\n```\r\nServerless Observability - Deployment-agnostic api integration - Custom Threshold rule AVG - PCT - FIRED Rule creation should set correct action variables\r\n\r\nError: expected 'https://bk-serverless-ftr-3067-e697d43e3ad9-e0ac80.kb.eu-west-1.aws.qa.elastic.cloud/app/observability/alerts/1e0c2d3e-e5c2-4bfe-9df0-d46681253b9f'\r\nto sort of equal 'https://bk-serverless-ftr-3067-e697d43e3ad9-e0ac80.kb.eu-west-1.aws.qa.elastic.cloud:443/app/observability/alerts/1e0c2d3e-e5c2-4bfe-9df0-d46681253b9f'\r\n```","sha":"996104f2eae2a3eb2412d5bb4ca52e89a5dbb1db"}}]}] BACKPORT--> Co-authored-by: Maryam Saeidi <[email protected]>
- Loading branch information