I hereby claim:
- I am gclitheroe on github.
- I am geoffc (https://keybase.io/geoffc) on keybase.
- I have a public key whose fingerprint is BCC4 3F71 EC8F C6E3 768C 4812 48D3 5E7E EDEF 918E
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
if (req.request == "DELETE") { | |
if (!client.ip ~ purge) { | |
error 405 "Not allowed."; | |
} | |
if (req.http.X-BanExpression) { | |
ban(req.http.X-BanExpression); | |
} | |
else { | |
ban_url(req.url); | |
} |
<http:outbound-endpoint host="localhost" port="${quakevarnish.varnish.port}" method="DELETE"> | |
<property key="X-BanExpression" value="obj.http.X-Url ~ /quakes/*"/> | |
</http:outbound-endpoint> |
<jms:activemq-connector name="jmsVmDurable" specification="1.1" | |
brokerURL="failover:(${seiscomp.producer.amq.url})" clientId="${mule.serverId}.sc3.producer" | |
durable="true" persistentDelivery="true"> | |
</jms:activemq-connector> | |
<jms:activemq-connector name="jmsVmNonDurable" specification="1.1" | |
brokerURL="failover:(${seiscomp.producer.amq.url})" clientId="${mule.serverId}.sc3.producer.nondurable" | |
durable="false" persistentDelivery="false"> | |
</jms:activemq-connector> |
Mule: both applications are deployed | |
... | |
********************************************************************** | |
* - - + APPLICATION + - - * - - + STATUS + - - * | |
********************************************************************** | |
* muletimechatter-1.0-SNAPSHOT * DEPLOYED * | |
* default * DEPLOYED * | |
* seiscompproducer-1.0-SNAPSHOT * DEPLOYED * | |
********************************************************************** |
<jms:activemq-connector name="jmsVmDurable" specification="1.1" | |
brokerURL="${seiscomp.producer.amq.url}" clientId="${mule.serverId}.sc3.producer" | |
durable="true" persistentDelivery="true"> | |
</jms:activemq-connector> | |
<jms:activemq-connector name="jmsVmNonDurable" specification="1.1" | |
brokerURL="${seiscomp.producer.amq.url}" clientId="${mule.serverId}.sc3.producer.nondurable" | |
durable="false" persistentDelivery="false"> | |
</jms:activemq-connector> |
package main | |
import ( | |
"github.com/GeoNet/log/logentries" | |
"log" | |
"time" | |
) | |
func init() { | |
logentries.Init("LOGENTRIES_TOKEN") |
ackage main | |
import ( | |
"log" | |
"log/syslog" | |
) | |
func main() { | |
w, err := syslog.Dial("tcp", "api.logentries.com:10000", syslog.LOG_NOTICE, "LE_TOKEN") | |
if err != nil { |
SPRING_PROFILE=production | |
LOGENTRIES_TOKEN=blah123abc |
... | |
wrapper.java.additional.4=-Dspring.profiles.active="%SPRING_PROFILE%" | |
wrapper.java.additional.4.stripquotes=TRUE | |
wrapper.java.additional.5=-Dhost.name="%HOSTNAME%" | |
wrapper.java.additional.5.stripquotes=TRUE | |
wrapper.java.additional.6=-Dlogentries.token="%LOGENTRIES_TOKEN%" | |
wrapper.java.additional.6.stripquotes=TRUE |