Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REF: service-map processor with the latest config model #4734

Conversation

chenqi0805
Copy link
Collaborator

Description

This PR

  • refactors service-map processor to use latest config model
  • backfill plugin config table in the documentation into @JsonPropertyDescription in ServiceMapProcessorConfig

Issues Resolved

Resolves #[Issue number to be closed when this PR is merged]

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.

Signed-off-by: George Chen <qchea@amazon.com>
Signed-off-by: George Chen <qchea@amazon.com>
graytaylor0
graytaylor0 previously approved these changes Jul 15, 2024
@@ -5,8 +5,20 @@

package org.opensearch.dataprepper.plugins.processor;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;

public class ServiceMapProcessorConfig {
static final String WINDOW_DURATION = "window_duration";
Copy link
Member

Choose a reason for hiding this comment

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

Please make this private now. It doesn't need to be used outside of this class with this change.

@graytaylor0 graytaylor0 dismissed their stale review July 15, 2024 14:43

Build failing with missing import

Signed-off-by: George Chen <qchea@amazon.com>
Signed-off-by: George Chen <qchea@amazon.com>
@chenqi0805 chenqi0805 force-pushed the maint/add-documentation-in-json-property-description-for-service-map-processor branch from bcaab32 to d781c1d Compare July 15, 2024 15:42
Copy link
Member

@dlvenable dlvenable left a comment

Choose a reason for hiding this comment

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

Thanks! Let's make sure the build passes.

@chenqi0805 chenqi0805 merged commit c4455a7 into opensearch-project:main Jul 15, 2024
46 of 47 checks passed
@chenqi0805 chenqi0805 deleted the maint/add-documentation-in-json-property-description-for-service-map-processor branch July 15, 2024 16:02
kkondaka pushed a commit to kkondaka/kk-data-prepper-f2 that referenced this pull request Jul 23, 2024
…roject#4734)

* REF: service-map processor with the latest config model

Signed-off-by: George Chen <qchea@amazon.com>
Signed-off-by: Krishna Kondaka <krishkdk@dev-dsk-krishkdk-2c-bd29c437.us-west-2.amazon.com>
kkondaka pushed a commit to kkondaka/kk-data-prepper-f2 that referenced this pull request Jul 23, 2024
…roject#4734)

* REF: service-map processor with the latest config model

Signed-off-by: George Chen <qchea@amazon.com>
Signed-off-by: Krishna Kondaka <krishkdk@dev-dsk-krishkdk-2c-bd29c437.us-west-2.amazon.com>
kkondaka pushed a commit to kkondaka/kk-data-prepper-f2 that referenced this pull request Jul 30, 2024
…roject#4734)

* REF: service-map processor with the latest config model

Signed-off-by: George Chen <qchea@amazon.com>
Signed-off-by: Krishna Kondaka <krishkdk@dev-dsk-krishkdk-2c-bd29c437.us-west-2.amazon.com>
kkondaka pushed a commit to kkondaka/kk-data-prepper-f2 that referenced this pull request Aug 8, 2024
…roject#4734)

* REF: service-map processor with the latest config model

Signed-off-by: George Chen <qchea@amazon.com>
Signed-off-by: Krishna Kondaka <krishkdk@dev-dsk-krishkdk-2c-bd29c437.us-west-2.amazon.com>
kkondaka pushed a commit to kkondaka/kk-data-prepper-f2 that referenced this pull request Aug 12, 2024
…roject#4734)

* REF: service-map processor with the latest config model

Signed-off-by: George Chen <qchea@amazon.com>
Signed-off-by: Krishna Kondaka <krishkdk@dev-dsk-krishkdk-2c-bd29c437.us-west-2.amazon.com>
kkondaka pushed a commit to kkondaka/kk-data-prepper-f2 that referenced this pull request Aug 14, 2024
…roject#4734)

* REF: service-map processor with the latest config model

Signed-off-by: George Chen <qchea@amazon.com>
Signed-off-by: Krishna Kondaka <krishkdk@dev-dsk-krishkdk-2c-bd29c437.us-west-2.amazon.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