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

FISH-5801: Custom Vendor MP Metrics Using Placeholders Require 'tags' #5477

Merged
merged 2 commits into from
Nov 5, 2021
Merged

FISH-5801: Custom Vendor MP Metrics Using Placeholders Require 'tags' #5477

merged 2 commits into from
Nov 5, 2021

Conversation

rdebusscher
Copy link

Description

Fixes Exception when not using tags in custom Vendor metrics having a Placeholder.

Important Info

Testing

New tests

new Unit test MBeanMetadataTest

Testing Environment

Zulu 8.52.0.23-CA-macosx (build 1.8.0_282-b08) on Mac 11.8 with Maven 3.8.2

Documentation

Not needed, Bugfix

@rdebusscher
Copy link
Author

jenkins test please

for (XmlTag tag: tags) {
if (tag.getValue().contains(keyword)) {
tagSpecifier = true;
if (tags != null) {
Copy link
Contributor

Choose a reason for hiding this comment

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

tags can never be null, was fixed by FISH-5658

Copy link
Contributor

@aubi aubi left a comment

Choose a reason for hiding this comment

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

I would prefer to remove tags!=null.
Otherwise, LGTM

@rdebusscher
Copy link
Author

jenkins test please

@breakponchito breakponchito self-requested a review November 4, 2021 19:52
Copy link
Contributor

@breakponchito breakponchito left a comment

Choose a reason for hiding this comment

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

LGTM

@Pandrex247 Pandrex247 merged commit ee379f3 into payara:master Nov 5, 2021
@rdebusscher rdebusscher deleted the FISH-5801 branch November 13, 2021 11:39
JamesHillyard pushed a commit to JamesHillyard/Payara that referenced this pull request Nov 18, 2021
FISH-5801: Custom Vendor MP Metrics Using Placeholders Require 'tags'
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.

4 participants