Created
November 23, 2012 14:51
-
-
Save rhusar/4135975 to your computer and use it in GitHub Desktop.
PROPOSED JSON
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"advertise" => true, | |
"advertise-security-key" => "mysecuritykey", | |
"auto-enable-contexts" => true, | |
"excluded-contexts" => "a b c", | |
"flush-packets" => false, | |
"flush-wait" => -1, | |
"load-balancing-group" => "mylbgroup", | |
"max-attempts" => 1, | |
"node-timeout" => -1, | |
"ping" => 10, | |
"proxy-list" => "example.com:6666", | |
"proxy-url" => "/", | |
"simple-load-provider" => 15, | |
"smax" => -1, | |
"socket-timeout" => 20, | |
"sticky-session" => true, | |
"sticky-session-force" => false, | |
"sticky-session-remove" => false, | |
"stop-context-timeout" => 10, | |
"ttl" => -1, | |
"worker-timeout" => -1, | |
"dynamic-load-provider" => { | |
"decay" => 2, | |
"history" => 10, | |
"custom-load-metric" => {"org.jboss.modcluster.SomeFakeLoadMetricClass" => { | |
"capacity" => 1.0, | |
"class" => "org.jboss.modcluster.SomeFakeLoadMetricClass", | |
"property" => undefined, | |
"weight" => 5 | |
}}, | |
"load-metric" => { | |
"sessions" => { | |
"capacity" => 1000, | |
"property" => undefined, | |
"type" => "sessions", | |
"weight" => 2 | |
}, | |
"send-traffic" => { | |
"capacity" => 512, | |
"property" => undefined, | |
"type" => "send-traffic", | |
"weight" => 3 | |
}, | |
"receive-traffic" => { | |
"capacity" => 1024, | |
"property" => undefined, | |
"type" => "receive-traffic", | |
"weight" => 1 | |
}, | |
"requests" => { | |
"capacity" => 1000, | |
"property" => undefined, | |
"type" => "requests", | |
"weight" => 1 | |
}, | |
"mem" => { | |
"capacity" => 1.0, | |
"property" => undefined, | |
"type" => "mem", | |
"weight" => 1 | |
}, | |
"cpu" => { | |
"capacity" => 1.0, | |
"property" => undefined, | |
"type" => "cpu", | |
"weight" => 1 | |
}, | |
"heap" => { | |
"capacity" => 1.0, | |
"property" => undefined, | |
"type" => "heap", | |
"weight" => 1 | |
}, | |
"busyness" => { | |
"capacity" => 1.0, | |
"property" => {"name" => "value"}, | |
"type" => "busyness", | |
"weight" => 1 | |
} | |
} | |
}, | |
"ssl" => { | |
"ca-certificate-file" => "/home/rhusar/client-keystore.jsk", | |
"ca-revocation-url" => undefined, | |
"certificate-key-file" => "/home/rhusar/client-keystore.jsk", | |
"cipher-suite" => undefined, | |
"key-alias" => undefined, | |
"password" => "mypassword", | |
"protocol" => "TLS" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment