-
Notifications
You must be signed in to change notification settings - Fork 90
add rocket chat client and allure testops integration #163
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
base: master
Are you sure you want to change the base?
Conversation
add client for rocket chat
# Conflicts: # README.md
Rocket chat client
@svasenkov можете плиз проревьюить и смержить, нужная фича |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My personal recommendation is to split this PR into 2: 1 for rocket chat and 1 for testOps
implementation('io.rest-assured:rest-assured:4.4.0') | ||
implementation('org.jboss.resteasy:resteasy-jackson2-provider:3.0.6.Final') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are these dependencies used somewhere?
} | ||
catch (JsonSyntaxException e) { | ||
JsonReader reader = new JsonReader(new StringReader(json)); | ||
reader.setLenient(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this tweak needed?
@@ -19,14 +21,23 @@ | |||
public class Chart { | |||
|
|||
public static byte[] createChart(Base base) throws MessageBuildException { | |||
return createChart(base, null); | |||
} | |||
public static byte[] createChart(Base base, TestOps testOps) throws MessageBuildException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the thing here is generic Chart starts "knowing" about TestOps, which is not good if low coupling is followed
- [x] [Email config](https://github.com/qa-guru/allure-notifications/wiki/Email-configuration) | ||
- [x] [Skype config](https://github.com/qa-guru/allure-notifications/wiki/Skype-configuration) | ||
- [x] [Mattermost config](https://github.com/qa-guru/allure-notifications/wiki/Mattermost-configuration) | ||
- [x] [Rocket config] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
broken link
@@ -117,6 +155,11 @@ Languages: 🇬🇧 🇫🇷 🇷🇺 🇺🇦 🇧🇾 🇨🇳 | |||
} | |||
} | |||
``` | |||
You only need: | |||
- to fill needed options in `base` block (please, be careful, `language` field is required!); | |||
- to configure desired destinations for notifications (`telegram`, `slack`, `mattermost`, `skype`, `mail`), keep in mind it's possible to set multiple destinations at once, if no destination is set, then no notification will be sent and no error will occur; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add rocket
No description provided.