Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=1.0.1
version=1.1.0
description=EPAM Report Portal. Slack plugin.
pluginId = slack
lombokVersion=1.18.36
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ public class SlackPluginExtension implements ReportPortalExtensionPoint, Disposa

public static final String SCRIPTS_DIR = "scripts";

private static final String NAME_FIELD = "name";

private static final String PLUGIN_NAME = "Slack";

private final ObjectMapper objectMapper;

private final JsonObjectLoader jsonObjectLoader;
Expand Down Expand Up @@ -196,6 +200,7 @@ private void removeListeners() {
@Override
public Map<String, ?> getPluginParams() {
Map<String, Object> params = new HashMap<>();
params.put(NAME_FIELD, PLUGIN_NAME);
params.put(ALLOWED_COMMANDS, new ArrayList<>(pluginCommandMapping.get().keySet()));
params.put(DOCUMENTATION_LINK_FIELD, DOCUMENTATION_LINK);
params.put(COMMON_COMMANDS, new ArrayList<>(commonPluginCommandMapping.get().keySet()));
Expand Down
Loading