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

PAYARA-1415 Added test notifiers admin console and command #1620

Merged
merged 12 commits into from
Jul 24, 2017

Conversation

Cousjava
Copy link
Contributor

No description provided.

@Cousjava Cousjava added this to the Payara 173 milestone May 24, 2017
@Cousjava
Copy link
Contributor Author

jenkins test please

@Cousjava
Copy link
Contributor Author

Not tested SNMP or Slack notifier working

@payara-ci
Copy link
Contributor

All tests have passed

@Cousjava Cousjava requested a review from Pandrex247 May 25, 2017 08:46
@Cousjava
Copy link
Contributor Author

jenkins test please

@payara-ci
Copy link
Contributor

All tests have passed

@@ -95,6 +95,7 @@ public void run() {
pdu.add(new VariableBinding(oidInstance, new OctetString(message.getSubject() + "\n" + message.getMessage())));

snmp.send(pdu, communityTarget);
logger.log(Level.FINE, "Message sent seuccessfully");
Copy link
Contributor

Choose a reason for hiding this comment

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

seuccessfully -> successfully

notifier.datadog.configuration.keyLabelHelpText=Datadog key
Copy link
Contributor

Choose a reason for hiding this comment

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

key -> Key

@Cousjava
Copy link
Contributor Author

jenkins test please

@payara-ci
Copy link
Contributor

One or more tests have failed

@michaelranaldo
Copy link
Contributor

Jenkins test please

@payara-ci
Copy link
Contributor

One or more tests have failed

Copy link
Contributor

@lprimak lprimak left a comment

Choose a reason for hiding this comment

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

In general, I can tell there is a lot of copy-paste code.
Is there any way to refactor this so it's reusing both UI components and the back-end commands to some common parent class, so this all the notifiers don't look so similar but reuse some core components?

Also, you can use ManagedExecutorService (@Inject it) instead of raw threads

@mulderbaba
Copy link
Contributor

jenkins test please

@payara-ci
Copy link
Contributor

One or more tests have failed

@Cousjava
Copy link
Contributor Author

Jenkins, would you kindly?

@payara-ci
Copy link
Contributor

One or more tests have failed

@payara payara deleted a comment from payara-ci Jun 19, 2017
@payara payara deleted a comment from payara-ci Jun 19, 2017
@Cousjava
Copy link
Contributor Author

jenkins test please

@payara-ci
Copy link
Contributor

All tests have passed

@Cousjava
Copy link
Contributor Author

@lprimak No, it can't be refactored as each time it is using different classes that all work in slightly different ways.

@payara-ci
Copy link
Contributor

Quick build and test failed!

@Cousjava
Copy link
Contributor Author

jenkins test please

@payara-ci
Copy link
Contributor

Quick build and test passed!

@smillidge smillidge merged commit c21cb04 into payara:master Jul 24, 2017
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.

7 participants