Compare commits
14 Commits
master
...
branch-2.1
Author | SHA1 | Date | |
---|---|---|---|
|
315934ba22 | ||
|
e6cb601c1d | ||
|
0ddcf21a4c | ||
|
29b3c6ee62 | ||
|
114691ded6 | ||
|
30e3709669 | ||
|
930e719863 | ||
|
02df8c16d7 | ||
|
a74d82bd79 | ||
|
270718d79f | ||
|
364303bcef | ||
|
04b5b25327 | ||
|
9d8dda35bf | ||
|
66d95f8500 |
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
VERSION=666.development
|
VERSION=2.1.6
|
||||||
|
|
||||||
if test -f version
|
if test -f version
|
||||||
then
|
then
|
||||||
|
2
dist/debian/build_deb.sh
vendored
2
dist/debian/build_deb.sh
vendored
@ -48,7 +48,7 @@ if [ "$(arch)" != "x86_64" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -e debian ] || [ -e build/release ]; then
|
if [ -e debian ] || [ -e build/release ]; then
|
||||||
rm -rf debian build
|
sudo rm -rf debian build
|
||||||
mkdir build
|
mkdir build
|
||||||
fi
|
fi
|
||||||
if is_debian_variant; then
|
if is_debian_variant; then
|
||||||
|
41
dist/redhat/mock/scylla-jmx-epel-7-x86_64.cfg
vendored
41
dist/redhat/mock/scylla-jmx-epel-7-x86_64.cfg
vendored
@ -22,51 +22,32 @@ mdpolicy=group:primary
|
|||||||
best=1
|
best=1
|
||||||
|
|
||||||
# repos
|
# repos
|
||||||
[base]
|
[scylla-centos-base]
|
||||||
name=BaseOS
|
name=BaseOS
|
||||||
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os
|
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os
|
||||||
failovermethod=priority
|
failovermethod=priority
|
||||||
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-7
|
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-7
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
|
||||||
[updates]
|
[scylla-centos-updates]
|
||||||
name=updates
|
name=updates
|
||||||
enabled=1
|
enabled=1
|
||||||
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates
|
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates
|
||||||
failovermethod=priority
|
failovermethod=priority
|
||||||
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-7
|
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-7
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
|
||||||
[epel]
|
[scylla-centos-extras]
|
||||||
name=epel
|
|
||||||
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=x86_64
|
|
||||||
failovermethod=priority
|
|
||||||
gpgkey=file:///usr/share/distribution-gpg-keys/epel/RPM-GPG-KEY-EPEL-7
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[extras]
|
|
||||||
name=extras
|
name=extras
|
||||||
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras
|
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras
|
||||||
failovermethod=priority
|
failovermethod=priority
|
||||||
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-7
|
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-7
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
|
||||||
[testing]
|
[scylla-epel]
|
||||||
name=epel-testing
|
name=epel
|
||||||
enabled=0
|
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=x86_64
|
||||||
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel7&arch=x86_64
|
|
||||||
failovermethod=priority
|
failovermethod=priority
|
||||||
|
gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
|
||||||
|
gpgcheck=1
|
||||||
[local]
|
|
||||||
name=local
|
|
||||||
baseurl=https://kojipkgs.fedoraproject.org/repos/epel7-build/latest/x86_64/
|
|
||||||
cost=2000
|
|
||||||
enabled=0
|
|
||||||
|
|
||||||
[epel-debuginfo]
|
|
||||||
name=epel-debug
|
|
||||||
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=x86_64
|
|
||||||
failovermethod=priority
|
|
||||||
enabled=0
|
|
||||||
"""
|
"""
|
||||||
|
@ -105,9 +105,11 @@ public class FailureDetector extends APIMBean implements FailureDetectorMBean {
|
|||||||
ep.setAliave(obj.getBoolean("is_alive"));
|
ep.setAliave(obj.getBoolean("is_alive"));
|
||||||
ep.setUpdateTimestamp(obj.getJsonNumber("update_time").longValue());
|
ep.setUpdateTimestamp(obj.getJsonNumber("update_time").longValue());
|
||||||
JsonArray states = obj.getJsonArray("application_state");
|
JsonArray states = obj.getJsonArray("application_state");
|
||||||
for (int j = 0; j < states.size(); j++) {
|
if (states != null) {
|
||||||
JsonObject state = states.getJsonObject(j);
|
for (int j = 0; j < states.size(); j++) {
|
||||||
ep.addApplicationState(state.getInt("application_state"), state.getString("value"));
|
JsonObject state = states.getJsonObject(j);
|
||||||
|
ep.addApplicationState(state.getInt("application_state"), state.getString("value"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
res.put(obj.getString("addrs"), ep);
|
res.put(obj.getString("addrs"), ep);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user