Skip to content

Atlassian Jira Gameday fixes#5603

Merged
san81 merged 3 commits into
opensearch-project:mainfrom
san81:gameday-fixes
Apr 16, 2025
Merged

Atlassian Jira Gameday fixes#5603
san81 merged 3 commits into
opensearch-project:mainfrom
san81:gameday-fixes

Conversation

@san81

@san81 san81 commented Apr 15, 2025

Copy link
Copy Markdown
Collaborator

Description

  • Some validations are currently at the service level, which is too late. Adding the corresponding validation annotation on the config yaml objects to that they are caught early on
  • Fix for a regex to allow multiple filter values under page type for Confluence when the url is sanitized
  • Fix for sending event meta data to use in dynamic index name construction

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

san81 added 3 commits April 14, 2025 22:13
Signed-off-by: Santhosh Gandhe <1909520+san81@users.noreply.github.com>
Signed-off-by: Santhosh Gandhe <1909520+san81@users.noreply.github.com>
Signed-off-by: Santhosh Gandhe <1909520+san81@users.noreply.github.com>
boolean isValidPageType() {
return checkGivenListForValidPageTypes(include)
&& checkGivenListForValidPageTypes(exclude)
&& noOverlapBetweenIncludeAndExclude();

@oeyh oeyh Apr 16, 2025

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: this noOverlapBetweenIncludeAndExclude() doesn't seem necessary here since there's a separate validation for it just below this. It also doesn't match the error message here.

@san81 san81 merged commit 6a472d8 into opensearch-project:main Apr 16, 2025
Davidding4718 pushed a commit to Davidding4718/data-prepper that referenced this pull request Apr 25, 2025
* regex fix for having multiple values in the cql filter

Signed-off-by: Santhosh Gandhe <1909520+san81@users.noreply.github.com>

* validations fixes for the page type and space key

Signed-off-by: Santhosh Gandhe <1909520+san81@users.noreply.github.com>

* Adding event metadata so that it can be used in dynamic index name

Signed-off-by: Santhosh Gandhe <1909520+san81@users.noreply.github.com>

---------

Signed-off-by: Santhosh Gandhe <1909520+san81@users.noreply.github.com>
Davidding4718 pushed a commit to Davidding4718/data-prepper that referenced this pull request Apr 25, 2025
* regex fix for having multiple values in the cql filter

Signed-off-by: Santhosh Gandhe <1909520+san81@users.noreply.github.com>

* validations fixes for the page type and space key

Signed-off-by: Santhosh Gandhe <1909520+san81@users.noreply.github.com>

* Adding event metadata so that it can be used in dynamic index name

Signed-off-by: Santhosh Gandhe <1909520+san81@users.noreply.github.com>

---------

Signed-off-by: Santhosh Gandhe <1909520+san81@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants