Skip to content

Commit 65bfcbe

Browse files
authored
Merge pull request #41 from billmurrin/develop
Merge branch 3.0.2
2 parents 9de5a62 + 1ecb01b commit 65bfcbe

File tree

4 files changed

+22
-13
lines changed

4 files changed

+22
-13
lines changed

.travis.yml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,24 @@ sudo: required
22
dist: trusty
33
language: java
44
jdk:
5-
- oraclejdk8
5+
- oraclejdk8
66
install:
7-
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dskip.web.build=true -B
8-
-V
7+
- npm install webpack -g
8+
- pwd
9+
- cd ../
10+
- git clone -b "2.3.2" https://github.com/Graylog2/graylog2-server.git
11+
- cd graylog2-server/graylog2-web-interface
12+
- npm install
13+
- webpack --config webpack.vendor.js
14+
- pwd
15+
- cd ../../graylog-plugin-quickvaluesplus-widget
16+
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
917
script:
10-
- mvn test -Dskip.web.build=true -B
18+
- mvn test
1119
addons:
1220
apt:
1321
packages:
14-
- rpm
22+
- rpm
1523
before_deploy:
1624
- mvn jdeb:jdeb && export RELEASE_DEB_FILE=$(ls target/*.deb)
1725
- mvn rpm:rpm && export RELEASE_RPM_FILE=$(find target/ -name '*.rpm' | tail -1)
@@ -24,11 +32,11 @@ deploy:
2432
secure: e1lIcnvHdc3suR294QbSBKKH4bUewTZztslx1zA0wofFJwcYg76yrcbUIbrC6ZsrxVovVIJaeMIkgwYhaUfZaipq3/jolx8V3acYYUPNfoglamxWBinCoO85SmXQWnLjgEgt5B+HaRz/TK3BBhAifq5/jSwqUbmegkDnYLIxQ5BsRKKYIXeHQ55Mv+QEhofNSpexCS4t1OUByFPihUIyWcdsUvmMQ6SELiWW7ootFHexifU8usJ58BUSmmHmuItLxdF7CV8qA1HAc/sgroN+JHHznpSusfRb7eyO3RykqoAByYhk/K/cp5TtQwRzlBJCnMVkcsuDIYSjgQFFrHh4vg24sfq4fuxhLthYI6Lsff9/JhRf8kpNeSwV1UrkEf9BY3qtYsRI4VFCn9bvfloRxd+zos4PBkRPKYDWS/aKHplM2ElbVdRkiU5AvA3vcbupSbfYlznEfY2fZ7ehaWA3Y3ZvvmAAAUD0zU9aOg8EoKSdYdPiTPLYNCZnm5Mj3Ly6H56axW7jPmkhjt7dODLqcG2O/6QF+JncTd6o+QoGlF658jvfShwbxRKu3840NkofT7o0X6uZN9vZmzsFmOYwKcmItjyg/Yte0bXM4poklYMF+EmRD1yQoSvewXNylqM92zCHWCSqbJpeeEyNIRQwTXm+nICXbp0NxVcEU9FxAXM=
2533
file_glob: true
2634
file:
27-
- "**/target/*.jar"
28-
- "**/target/*.deb"
29-
- "**/target/**/*.rpm"
35+
- "${RELEASE_PKG_FILE}"
36+
- "${RELEASE_DEB_FILE}"
37+
- "${RELEASE_RPM_FILE}"
3038
skip_cleanup: true
3139
on:
3240
repo: billmurrin/graylog-plugin-quickvaluesplus-widget
3341
tags: true
34-
jdk: oraclejdk8
42+
jdk: oraclejdk8

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "QuickValuesPlusWidget",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"description": "GrayLog2 QuickValuesPlus Widget Plugin",
55
"repository": {
66
"type": "git",
@@ -14,7 +14,7 @@
1414
"graylog"
1515
],
1616
"author": "Bill Murrin <[email protected]>",
17-
"license": "MIT",
17+
"license": "GPL-3.0",
1818
"dependencies": {
1919
"bootstrap": "3.3.6",
2020
"reflux": "^0.2.12",

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<groupId>org.graylog.plugins</groupId>
1010
<artifactId>graylog-plugin-quickvaluesplus-widget</artifactId>
11-
<version>3.0.1</version>
11+
<version>3.0.2</version>
1212
<packaging>jar</packaging>
1313

1414
<name>${project.artifactId}</name>

src/web/components/QuickValuesPlusVisualization.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,8 @@ const QuickValuesPlusVisualization = React.createClass({
234234
//Properly format strings containing spaces, backslashes and colons.
235235
let escTerm = this.escape(`${d.term}`);
236236
let appendQuery = (this.props.config.query == "") ? this.props.config.field + ":" + escTerm : this.props.config.query + " AND " + this.props.config.field + ":" + escTerm;
237-
let replayURL = Routes.stream_search(this.props.config.stream_id, appendQuery, this._getTimeRange(), this.props.config.interval);
237+
let replayURL = (this.props.config.stream_id == undefined) ? Routes.search(appendQuery, this._getTimeRange(), this.props.config.interval) : Routes.stream_search(this.props.config.stream_id, appendQuery, this._getTimeRange(), this.props.config.interval);
238+
238239
return `${colourBadge} <a href="${replayURL}">${d.term}</a>`;
239240

240241
}

0 commit comments

Comments
 (0)