infinispan 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +7 -6
- package/.eslintrc +0 -25
- package/.flowconfig +0 -6
- package/Jenkinsfile +0 -50
- package/Jenkinsfile-release +0 -63
- package/documentation/asciidoc/stories/assembly_client_usage_examples.adoc +0 -10
- package/documentation/asciidoc/stories/assembly_installation_configuration.adoc +0 -20
- package/documentation/asciidoc/titles/js_client.asciidoc +0 -28
- package/documentation/asciidoc/titles/stories.adoc +0 -5
- package/documentation/asciidoc/topics/attributes/community-attributes.adoc +0 -9
- package/documentation/asciidoc/topics/attributes/downstream-attributes.adoc +0 -2
- package/documentation/asciidoc/topics/code_examples/authentication-digest.js +0 -12
- package/documentation/asciidoc/topics/code_examples/authentication-external.js +0 -15
- package/documentation/asciidoc/topics/code_examples/authentication-oauthbearer.js +0 -10
- package/documentation/asciidoc/topics/code_examples/authentication-plain.js +0 -11
- package/documentation/asciidoc/topics/code_examples/authentication-scram.js +0 -11
- package/documentation/asciidoc/topics/code_examples/await-multiple-entries.js +0 -36
- package/documentation/asciidoc/topics/code_examples/await-single-entries.js +0 -29
- package/documentation/asciidoc/topics/code_examples/conditional-operations.js +0 -57
- package/documentation/asciidoc/topics/code_examples/connection-multiple-servers.js +0 -23
- package/documentation/asciidoc/topics/code_examples/connection-xsite-cluster-switch.js +0 -39
- package/documentation/asciidoc/topics/code_examples/connection-xsite.js +0 -13
- package/documentation/asciidoc/topics/code_examples/data-types.js +0 -30
- package/documentation/asciidoc/topics/code_examples/encryption-crypto-store.js +0 -11
- package/documentation/asciidoc/topics/code_examples/encryption-private-key.js +0 -13
- package/documentation/asciidoc/topics/code_examples/encryption-sni-hostname.js +0 -9
- package/documentation/asciidoc/topics/code_examples/encryption-trust-certs.js +0 -8
- package/documentation/asciidoc/topics/code_examples/ephemeral-data.js +0 -52
- package/documentation/asciidoc/topics/code_examples/hello-world.js +0 -42
- package/documentation/asciidoc/topics/code_examples/key-value-converter.js +0 -67
- package/documentation/asciidoc/topics/code_examples/logging-configuration.js +0 -2
- package/documentation/asciidoc/topics/code_examples/multiple-entries.js +0 -64
- package/documentation/asciidoc/topics/code_examples/queries.js +0 -92
- package/documentation/asciidoc/topics/code_examples/register-event-listener.js +0 -64
- package/documentation/asciidoc/topics/code_examples/sample-script-execute.js +0 -33
- package/documentation/asciidoc/topics/code_examples/sample-script.js +0 -3
- package/documentation/asciidoc/topics/code_examples/single-entries.js +0 -49
- package/documentation/asciidoc/topics/config_examples/logging.json +0 -14
- package/documentation/asciidoc/topics/proc_configuring_authentication.adoc +0 -16
- package/documentation/asciidoc/topics/proc_configuring_connections.adoc +0 -25
- package/documentation/asciidoc/topics/proc_configuring_connections_xsite.adoc +0 -18
- package/documentation/asciidoc/topics/proc_configuring_data_formats.adoc +0 -30
- package/documentation/asciidoc/topics/proc_configuring_encryption.adoc +0 -15
- package/documentation/asciidoc/topics/proc_configuring_logging.adoc +0 -28
- package/documentation/asciidoc/topics/proc_installing_clients.adoc +0 -58
- package/documentation/asciidoc/topics/proc_switching_clusters.adoc +0 -17
- package/documentation/asciidoc/topics/ref_authentication_mechanisms.adoc +0 -68
- package/documentation/asciidoc/topics/ref_client_usage.adoc +0 -128
- package/documentation/asciidoc/topics/ref_encryption.adoc +0 -71
- package/gen-jsdoc.sh +0 -6
- package/make-ssl.sh +0 -335
- package/memory-profiling/helper.js +0 -9
- package/memory-profiling/infinispan_memory_many_get.js +0 -50
- package/memory-profiling/infinispan_memory_one_get.js +0 -56
- package/release.sh +0 -19
- package/run-servers.sh +0 -171
- package/run-testsuite.sh +0 -6
- package/server/.keep +0 -0
- package/set-npm-auth-token.sh +0 -4
- package/smoke-tests.sh +0 -21
- package/spec/codec_spec.js +0 -224
- package/spec/configs/clean/infinispan.xml +0 -55
- package/spec/configs/infinispan-clustered.xml +0 -63
- package/spec/configs/infinispan-ssl.xml +0 -115
- package/spec/configs/infinispan-xsite-EARTH.xml +0 -187
- package/spec/configs/infinispan-xsite-MOON.xml +0 -189
- package/spec/configs/infinispan.xml +0 -77
- package/spec/functional_spec.js +0 -73
- package/spec/infinispan_auth_spec.js +0 -19
- package/spec/infinispan_cluster_spec.js +0 -176
- package/spec/infinispan_expiry_spec.js +0 -218
- package/spec/infinispan_failover_listener_spec.js +0 -52
- package/spec/infinispan_failover_spec.js +0 -63
- package/spec/infinispan_json_spec.js +0 -182
- package/spec/infinispan_local_spec.js +0 -354
- package/spec/infinispan_ssl_spec.js +0 -442
- package/spec/infinispan_stress_spec.js +0 -32
- package/spec/infinispan_xsite_spec.js +0 -99
- package/spec/protocols_spec.js +0 -82
- package/spec/protostream_spec.js +0 -237
- package/spec/tests.js +0 -28
- package/spec/utils/test-log4js.json +0 -14
- package/spec/utils/testing.js +0 -762
- package/spec/utils/typed-cachemanager-put-get.js +0 -3
- package/spec/utils/typed-null-return-dist.js +0 -2
- package/spec/utils/typed-null-return.js +0 -2
- package/spec/utils/typed-put-get-dist.js +0 -3
- package/spec/utils/typed-put-get-unicode.js +0 -3
- package/spec/utils/typed-put-get.js +0 -3
- package/spec/utils/typed-size.js +0 -2
- package/spec/utils_spec.js +0 -154
- package/spec-manual/infinispan_manual_stress_get_spec.js +0 -50
- package/spec-manual/infinispan_manual_stress_iterate_spec.js +0 -86
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
<infinispan
|
|
2
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3
|
-
xsi:schemaLocation="urn:infinispan:config:13.0 https://infinispan.org/schemas/infinispan-config-13.0.xsd
|
|
4
|
-
urn:infinispan:server:13.0 https://infinispan.org/schemas/infinispan-server-13.0.xsd"
|
|
5
|
-
xmlns="urn:infinispan:config:13.0"
|
|
6
|
-
xmlns:server="urn:infinispan:server:13.0">
|
|
7
|
-
|
|
8
|
-
<cache-container name="clustered" default-cache="default">
|
|
9
|
-
<!-- <security>-->
|
|
10
|
-
<!-- <authorization/>-->
|
|
11
|
-
<!-- </security>-->
|
|
12
|
-
<transport cluster="${infinispan.cluster.name:cluster}" stack="${infinispan.cluster.stack:tcp}" node-name="${infinispan.node.name:}"/>
|
|
13
|
-
<!--<global-state/>-->
|
|
14
|
-
<metrics accurate-size="true"/>
|
|
15
|
-
<distributed-cache name="default" segments="20" remote-timeout="30000">
|
|
16
|
-
<locking acquire-timeout="30000" concurrency-level="1000" />
|
|
17
|
-
<encoding media-type="text/plain"/>
|
|
18
|
-
</distributed-cache>
|
|
19
|
-
</cache-container>
|
|
20
|
-
|
|
21
|
-
<server xmlns="urn:infinispan:server:13.0">
|
|
22
|
-
<interfaces>
|
|
23
|
-
<interface name="public">
|
|
24
|
-
<inet-address value="${infinispan.bind.address:127.0.0.1}"/>
|
|
25
|
-
</interface>
|
|
26
|
-
</interfaces>
|
|
27
|
-
|
|
28
|
-
<socket-bindings default-interface="public" port-offset="${infinispan.socket.binding.port-offset:0}">
|
|
29
|
-
<socket-binding name="default" port="${infinispan.bind.port:11222}"/>
|
|
30
|
-
</socket-bindings>
|
|
31
|
-
|
|
32
|
-
<security>
|
|
33
|
-
<security-realms>
|
|
34
|
-
<security-realm name="default">
|
|
35
|
-
<!-- Uncomment to enable TLS on the realm -->
|
|
36
|
-
<!-- server-identities>
|
|
37
|
-
<ssl>
|
|
38
|
-
<keystore path="application.keystore" relative-to="infinispan.server.config.path"
|
|
39
|
-
password="password" alias="server" key-password="password"
|
|
40
|
-
generate-self-signed-certificate-host="localhost"/>
|
|
41
|
-
</ssl>
|
|
42
|
-
</server-identities-->
|
|
43
|
-
<properties-realm groups-attribute="Roles">
|
|
44
|
-
<user-properties path="users.properties" relative-to="infinispan.server.config.path" plain-text="true"/>
|
|
45
|
-
<group-properties path="groups.properties" relative-to="infinispan.server.config.path" />
|
|
46
|
-
</properties-realm>
|
|
47
|
-
</security-realm>
|
|
48
|
-
</security-realms>
|
|
49
|
-
</security>
|
|
50
|
-
|
|
51
|
-
<endpoints>
|
|
52
|
-
<endpoint socket-binding="default" security-realm="default">
|
|
53
|
-
<hotrod-connector name="hotrod">
|
|
54
|
-
<authentication>
|
|
55
|
-
<sasl mechanisms="PLAIN"
|
|
56
|
-
server-name="infinispan"/>
|
|
57
|
-
</authentication>
|
|
58
|
-
</hotrod-connector>
|
|
59
|
-
<rest-connector name="rest"/>
|
|
60
|
-
</endpoint>
|
|
61
|
-
</endpoints>
|
|
62
|
-
</server>
|
|
63
|
-
</infinispan>
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
<infinispan
|
|
2
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3
|
-
xsi:schemaLocation="urn:infinispan:config:13.0 https://infinispan.org/schemas/infinispan-config-13.0.xsd
|
|
4
|
-
urn:infinispan:server:13.0 https://infinispan.org/schemas/infinispan-server-13.0.xsd"
|
|
5
|
-
xmlns="urn:infinispan:config:13.0"
|
|
6
|
-
xmlns:server="urn:infinispan:server:13.0">
|
|
7
|
-
|
|
8
|
-
<cache-container name="local" default-cache="default" statistics="true">
|
|
9
|
-
<global-state/>
|
|
10
|
-
<metrics accurate-size="true"/>
|
|
11
|
-
<security>
|
|
12
|
-
<authorization/>
|
|
13
|
-
</security>
|
|
14
|
-
<local-cache name="default">
|
|
15
|
-
<encoding media-type="text/plain"/>
|
|
16
|
-
<locking acquire-timeout="30000" concurrency-level="1000"/>
|
|
17
|
-
</local-cache>
|
|
18
|
-
<local-cache name="memcachedCache">
|
|
19
|
-
<encoding media-type="text/plain"/>
|
|
20
|
-
<locking acquire-timeout="30000" concurrency-level="1000" />
|
|
21
|
-
</local-cache>
|
|
22
|
-
<local-cache name="namedCache">
|
|
23
|
-
<encoding media-type="text/plain"/>
|
|
24
|
-
</local-cache>
|
|
25
|
-
</cache-container>
|
|
26
|
-
|
|
27
|
-
<server xmlns="urn:infinispan:server:13.0">
|
|
28
|
-
<interfaces>
|
|
29
|
-
<interface name="public">
|
|
30
|
-
<inet-address value="${infinispan.bind.address:127.0.0.1}"/>
|
|
31
|
-
</interface>
|
|
32
|
-
</interfaces>
|
|
33
|
-
|
|
34
|
-
<socket-bindings default-interface="public" port-offset="${infinispan.socket.binding.port-offset:0}">
|
|
35
|
-
<socket-binding name="default" port="${infinispan.bind.port:11622}" />
|
|
36
|
-
<socket-binding name="hotrod-trust" port="11232" />
|
|
37
|
-
</socket-bindings>
|
|
38
|
-
|
|
39
|
-
<security>
|
|
40
|
-
<credential-stores>
|
|
41
|
-
<credential-store name="credentials" path="server.p12" relative-to="infinispan.server.config.path">
|
|
42
|
-
<clear-text-credential clear-text="secret"/>
|
|
43
|
-
</credential-store>
|
|
44
|
-
</credential-stores>
|
|
45
|
-
<security-realms>
|
|
46
|
-
<security-realm name="default">
|
|
47
|
-
<server-identities>
|
|
48
|
-
<ssl>
|
|
49
|
-
<keystore path="server.p12" password="secret" alias="server"/>
|
|
50
|
-
</ssl>
|
|
51
|
-
</server-identities>
|
|
52
|
-
<properties-realm groups-attribute="Roles">
|
|
53
|
-
<user-properties path="users.properties"/>
|
|
54
|
-
<group-properties path="groups.properties"/>
|
|
55
|
-
</properties-realm>
|
|
56
|
-
</security-realm>
|
|
57
|
-
<security-realm name="client-cert">
|
|
58
|
-
<server-identities>
|
|
59
|
-
<ssl>
|
|
60
|
-
<keystore path="server.p12" password="secret" alias="server"/>
|
|
61
|
-
</ssl>
|
|
62
|
-
</server-identities>
|
|
63
|
-
<properties-realm groups-attribute="Roles">
|
|
64
|
-
<user-properties path="users.properties"/>
|
|
65
|
-
<group-properties path="groups.properties"/>
|
|
66
|
-
</properties-realm>
|
|
67
|
-
<!--truststore-realm path="client.p12" password="secret"/-->
|
|
68
|
-
</security-realm>
|
|
69
|
-
<security-realm name="Trust1Realm">
|
|
70
|
-
<server-identities>
|
|
71
|
-
<ssl>
|
|
72
|
-
<keystore path="trust1.p12" password="secret"/>
|
|
73
|
-
</ssl>
|
|
74
|
-
</server-identities>
|
|
75
|
-
</security-realm>
|
|
76
|
-
<security-realm name="Trust2Realm">
|
|
77
|
-
<server-identities>
|
|
78
|
-
<ssl>
|
|
79
|
-
<keystore path="trust2.p12" password="secret"/>
|
|
80
|
-
</ssl>
|
|
81
|
-
</server-identities>
|
|
82
|
-
</security-realm>
|
|
83
|
-
<security-realm name="UntrustRealm">
|
|
84
|
-
<server-identities>
|
|
85
|
-
<ssl>
|
|
86
|
-
<keystore path="untrust.p12" password="secret"/>
|
|
87
|
-
</ssl>
|
|
88
|
-
</server-identities>
|
|
89
|
-
</security-realm>
|
|
90
|
-
</security-realms>
|
|
91
|
-
</security>
|
|
92
|
-
|
|
93
|
-
<endpoints>
|
|
94
|
-
<endpoint socket-binding="default" security-realm="default">
|
|
95
|
-
<hotrod-connector>
|
|
96
|
-
<authentication>
|
|
97
|
-
<sasl mechanisms="PLAIN"
|
|
98
|
-
server-name="infinispan"/>
|
|
99
|
-
</authentication>
|
|
100
|
-
</hotrod-connector>
|
|
101
|
-
<rest-connector/>
|
|
102
|
-
</endpoint>
|
|
103
|
-
<endpoint socket-binding="hotrod-trust" security-realm="client-cert">
|
|
104
|
-
<hotrod-connector>
|
|
105
|
-
<authentication>
|
|
106
|
-
<sasl mechanisms="PLAIN"
|
|
107
|
-
server-name="infinispan"/>
|
|
108
|
-
</authentication>
|
|
109
|
-
</hotrod-connector>
|
|
110
|
-
<rest-connector/>
|
|
111
|
-
</endpoint>
|
|
112
|
-
</endpoints>
|
|
113
|
-
|
|
114
|
-
</server>
|
|
115
|
-
</infinispan>
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
<infinispan
|
|
2
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3
|
-
xsi:schemaLocation="urn:infinispan:config:13.0 https://infinispan.org/schemas/infinispan-config-13.0.xsd
|
|
4
|
-
urn:infinispan:server:13.0 https://infinispan.org/schemas/infinispan-server-13.0.xsd
|
|
5
|
-
urn:org:jgroups http://www.jgroups.org/schema/jgroups-4.0.xsd"
|
|
6
|
-
xmlns="urn:infinispan:config:13.0"
|
|
7
|
-
xmlns:server="urn:infinispan:server:13.0">
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
<jgroups>
|
|
11
|
-
<stack name="bridge">
|
|
12
|
-
<UDP bind_addr="${jgroups.bind.address,jgroups.udp.address:SITE_LOCAL}"
|
|
13
|
-
bind_port="${jgroups.bind.port,jgroups.udp.port:0}"
|
|
14
|
-
mcast_addr="${jgroups.bridge.mcast_addr:228.6.7.5}"
|
|
15
|
-
mcast_port="${jgroups.bridge.mcast_port:46655}"
|
|
16
|
-
ucast_send_buf_size="1m"
|
|
17
|
-
mcast_send_buf_size="1m"
|
|
18
|
-
ucast_recv_buf_size="20m"
|
|
19
|
-
mcast_recv_buf_size="25m"
|
|
20
|
-
ip_ttl="${jgroups.ip_ttl:2}"
|
|
21
|
-
thread_naming_pattern="pl"
|
|
22
|
-
bundler_type="no-bundler"
|
|
23
|
-
|
|
24
|
-
thread_pool.min_threads="${jgroups.thread_pool.min_threads:0}"
|
|
25
|
-
thread_pool.max_threads="${jgroups.thread_pool.max_threads:200}"
|
|
26
|
-
thread_pool.keep_alive_time="60000"
|
|
27
|
-
/>
|
|
28
|
-
<PING num_discovery_runs="3"/>
|
|
29
|
-
<MERGE3 min_interval="10000"
|
|
30
|
-
max_interval="30000"
|
|
31
|
-
/>
|
|
32
|
-
<FD_SOCK />
|
|
33
|
-
<!-- Suspect node `timeout` to `timeout + timeout_check_interval` millis after the last heartbeat -->
|
|
34
|
-
<FD_ALL timeout="10000"
|
|
35
|
-
interval="2000"
|
|
36
|
-
timeout_check_interval="1000"
|
|
37
|
-
/>
|
|
38
|
-
<VERIFY_SUSPECT timeout="1000"/>
|
|
39
|
-
<pbcast.NAKACK2 xmit_interval="100"
|
|
40
|
-
xmit_table_num_rows="50"
|
|
41
|
-
xmit_table_msgs_per_row="1024"
|
|
42
|
-
xmit_table_max_compaction_time="30000"
|
|
43
|
-
resend_last_seqno="true"
|
|
44
|
-
/>
|
|
45
|
-
<UNICAST3 xmit_interval="100"
|
|
46
|
-
xmit_table_num_rows="50"
|
|
47
|
-
xmit_table_msgs_per_row="1024"
|
|
48
|
-
xmit_table_max_compaction_time="30000"
|
|
49
|
-
/>
|
|
50
|
-
<pbcast.STABLE
|
|
51
|
-
desired_avg_gossip="5000"
|
|
52
|
-
max_bytes="1M"
|
|
53
|
-
/>
|
|
54
|
-
<pbcast.GMS print_local_addr="false"
|
|
55
|
-
join_timeout="${jgroups.join_timeout:2000}"
|
|
56
|
-
/>
|
|
57
|
-
<UFC_NB max_credits="3m"
|
|
58
|
-
min_threshold="0.40"
|
|
59
|
-
/>
|
|
60
|
-
<MFC_NB max_credits="3m"
|
|
61
|
-
min_threshold="0.40"
|
|
62
|
-
/>
|
|
63
|
-
</stack>
|
|
64
|
-
<stack name="cluster" xmlns="urn:org:jgroups">
|
|
65
|
-
<UDP bind_addr="${jgroups.bind.address,jgroups.udp.address:SITE_LOCAL}"
|
|
66
|
-
bind_port="${jgroups.bind.port,jgroups.udp.port:0}"
|
|
67
|
-
mcast_addr="${jgroups.cluster.mcast_addr:228.6.7.10}"
|
|
68
|
-
mcast_port="${jgroups.cluster.mcast_port:46655}"
|
|
69
|
-
ucast_send_buf_size="1m"
|
|
70
|
-
mcast_send_buf_size="1m"
|
|
71
|
-
ucast_recv_buf_size="20m"
|
|
72
|
-
mcast_recv_buf_size="25m"
|
|
73
|
-
ip_ttl="${jgroups.ip_ttl:2}"
|
|
74
|
-
thread_naming_pattern="pl"
|
|
75
|
-
bundler_type="no-bundler"
|
|
76
|
-
|
|
77
|
-
thread_pool.min_threads="${jgroups.thread_pool.min_threads:0}"
|
|
78
|
-
thread_pool.max_threads="${jgroups.thread_pool.max_threads:200}"
|
|
79
|
-
thread_pool.keep_alive_time="60000"
|
|
80
|
-
/>
|
|
81
|
-
<PING num_discovery_runs="3"/>
|
|
82
|
-
<MERGE3 min_interval="10000"
|
|
83
|
-
max_interval="30000"
|
|
84
|
-
/>
|
|
85
|
-
<FD_SOCK />
|
|
86
|
-
<!-- Suspect node `timeout` to `timeout + timeout_check_interval` millis after the last heartbeat -->
|
|
87
|
-
<FD_ALL timeout="10000"
|
|
88
|
-
interval="2000"
|
|
89
|
-
timeout_check_interval="1000"
|
|
90
|
-
/>
|
|
91
|
-
<VERIFY_SUSPECT timeout="1000"/>
|
|
92
|
-
<pbcast.NAKACK2 xmit_interval="100"
|
|
93
|
-
xmit_table_num_rows="50"
|
|
94
|
-
xmit_table_msgs_per_row="1024"
|
|
95
|
-
xmit_table_max_compaction_time="30000"
|
|
96
|
-
resend_last_seqno="true"
|
|
97
|
-
/>
|
|
98
|
-
<UNICAST3 xmit_interval="100"
|
|
99
|
-
xmit_table_num_rows="50"
|
|
100
|
-
xmit_table_msgs_per_row="1024"
|
|
101
|
-
xmit_table_max_compaction_time="30000"
|
|
102
|
-
/>
|
|
103
|
-
<pbcast.STABLE
|
|
104
|
-
desired_avg_gossip="5000"
|
|
105
|
-
max_bytes="1M"
|
|
106
|
-
/>
|
|
107
|
-
<pbcast.GMS print_local_addr="false"
|
|
108
|
-
join_timeout="${jgroups.join_timeout:2000}"
|
|
109
|
-
/>
|
|
110
|
-
<UFC_NB max_credits="3m"
|
|
111
|
-
min_threshold="0.40"
|
|
112
|
-
/>
|
|
113
|
-
<MFC_NB max_credits="3m"
|
|
114
|
-
min_threshold="0.40"
|
|
115
|
-
/>
|
|
116
|
-
<FRAG3 frag_size="8000"/>
|
|
117
|
-
<relay.RELAY2 site="EARTH"/>
|
|
118
|
-
<remote-sites default-stack="bridge">
|
|
119
|
-
<remote-site name="EARTH"/>
|
|
120
|
-
<remote-site name="MOON"/>
|
|
121
|
-
</remote-sites>
|
|
122
|
-
</stack>
|
|
123
|
-
</jgroups>
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
<cache-container name="clustered">
|
|
127
|
-
<transport cluster="cluster-earth" stack="cluster"/>
|
|
128
|
-
<security>
|
|
129
|
-
<authorization/>
|
|
130
|
-
</security>
|
|
131
|
-
<metrics accurate-size="true"/>
|
|
132
|
-
<distributed-cache name="xsiteCache" segments="20" remote-timeout="30000" >
|
|
133
|
-
<locking acquire-timeout="30000" concurrency-level="1000" />
|
|
134
|
-
<backups>
|
|
135
|
-
<backup site="MOON" strategy="SYNC" timeout="3000"/>
|
|
136
|
-
</backups>
|
|
137
|
-
<encoding media-type="text/plain"/>
|
|
138
|
-
</distributed-cache>
|
|
139
|
-
</cache-container>
|
|
140
|
-
|
|
141
|
-
<server xmlns="urn:infinispan:server:13.0">
|
|
142
|
-
<interfaces>
|
|
143
|
-
<interface name="public">
|
|
144
|
-
<inet-address value="${infinispan.bind.address:127.0.0.1}"/>
|
|
145
|
-
</interface>
|
|
146
|
-
</interfaces>
|
|
147
|
-
|
|
148
|
-
<socket-bindings default-interface="public" port-offset="${infinispan.socket.binding.port-offset:0}">
|
|
149
|
-
<socket-binding name="default" port="${infinispan.bind.port:11222}"/>
|
|
150
|
-
<socket-binding name="memcached" port="11221"/>
|
|
151
|
-
</socket-bindings>
|
|
152
|
-
|
|
153
|
-
<security>
|
|
154
|
-
<security-realms>
|
|
155
|
-
<security-realm name="default">
|
|
156
|
-
<!-- Uncomment to enable TLS on the realm -->
|
|
157
|
-
<!-- server-identities>
|
|
158
|
-
<ssl>
|
|
159
|
-
<keystore path="application.keystore" relative-to="infinispan.server.config.path"
|
|
160
|
-
password="password" alias="server" key-password="password"
|
|
161
|
-
generate-self-signed-certificate-host="localhost"/>
|
|
162
|
-
</ssl>
|
|
163
|
-
</server-identities-->
|
|
164
|
-
<properties-realm groups-attribute="Roles">
|
|
165
|
-
<user-properties path="users.properties" relative-to="infinispan.server.config.path"
|
|
166
|
-
plain-text="true"/>
|
|
167
|
-
<group-properties path="groups.properties" relative-to="infinispan.server.config.path"/>
|
|
168
|
-
</properties-realm>
|
|
169
|
-
</security-realm>
|
|
170
|
-
</security-realms>
|
|
171
|
-
</security>
|
|
172
|
-
|
|
173
|
-
<!-- not secured -->
|
|
174
|
-
<endpoints>
|
|
175
|
-
<endpoint socket-binding="default" security-realm="default">
|
|
176
|
-
<hotrod-connector name="hotrod">
|
|
177
|
-
<authentication>
|
|
178
|
-
<sasl mechanisms="PLAIN"/>
|
|
179
|
-
</authentication>
|
|
180
|
-
</hotrod-connector>
|
|
181
|
-
<rest-connector name="rest"/>
|
|
182
|
-
<!-- Uncomment to enable the memcached connector -->
|
|
183
|
-
<!-- memcached-connector socket-binding="memcached" / -->
|
|
184
|
-
</endpoint>
|
|
185
|
-
</endpoints>
|
|
186
|
-
</server>
|
|
187
|
-
</infinispan>
|
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
<infinispan
|
|
2
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3
|
-
xsi:schemaLocation="urn:infinispan:config:12.1 https://infinispan.org/schemas/infinispan-config-12.1.xsd
|
|
4
|
-
urn:infinispan:server:12.1 https://infinispan.org/schemas/infinispan-server-12.1.xsd
|
|
5
|
-
urn:org:jgroups http://www.jgroups.org/schema/jgroups-4.0.xsd"
|
|
6
|
-
xmlns="urn:infinispan:config:12.1"
|
|
7
|
-
xmlns:server="urn:infinispan:server:12.1">
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
<jgroups>
|
|
11
|
-
<stack name="bridge">
|
|
12
|
-
<UDP bind_addr="${jgroups.bind.address,jgroups.udp.address:SITE_LOCAL}"
|
|
13
|
-
bind_port="${jgroups.bind.port,jgroups.udp.port:0}"
|
|
14
|
-
mcast_addr="${jgroups.bridge.mcast_addr:228.6.7.5}"
|
|
15
|
-
mcast_port="${jgroups.bridge.mcast_port:46655}"
|
|
16
|
-
ucast_send_buf_size="1m"
|
|
17
|
-
mcast_send_buf_size="1m"
|
|
18
|
-
ucast_recv_buf_size="20m"
|
|
19
|
-
mcast_recv_buf_size="25m"
|
|
20
|
-
ip_ttl="${jgroups.ip_ttl:2}"
|
|
21
|
-
thread_naming_pattern="pl"
|
|
22
|
-
bundler_type="no-bundler"
|
|
23
|
-
|
|
24
|
-
thread_pool.min_threads="${jgroups.thread_pool.min_threads:0}"
|
|
25
|
-
thread_pool.max_threads="${jgroups.thread_pool.max_threads:200}"
|
|
26
|
-
thread_pool.keep_alive_time="60000"
|
|
27
|
-
/>
|
|
28
|
-
<PING num_discovery_runs="3"/>
|
|
29
|
-
<MERGE3 min_interval="10000"
|
|
30
|
-
max_interval="30000"
|
|
31
|
-
/>
|
|
32
|
-
<FD_SOCK />
|
|
33
|
-
<!-- Suspect node `timeout` to `timeout + timeout_check_interval` millis after the last heartbeat -->
|
|
34
|
-
<FD_ALL timeout="10000"
|
|
35
|
-
interval="2000"
|
|
36
|
-
timeout_check_interval="1000"
|
|
37
|
-
/>
|
|
38
|
-
<VERIFY_SUSPECT timeout="1000"/>
|
|
39
|
-
<pbcast.NAKACK2 xmit_interval="100"
|
|
40
|
-
xmit_table_num_rows="50"
|
|
41
|
-
xmit_table_msgs_per_row="1024"
|
|
42
|
-
xmit_table_max_compaction_time="30000"
|
|
43
|
-
resend_last_seqno="true"
|
|
44
|
-
/>
|
|
45
|
-
<UNICAST3 xmit_interval="100"
|
|
46
|
-
xmit_table_num_rows="50"
|
|
47
|
-
xmit_table_msgs_per_row="1024"
|
|
48
|
-
xmit_table_max_compaction_time="30000"
|
|
49
|
-
/>
|
|
50
|
-
<pbcast.STABLE
|
|
51
|
-
desired_avg_gossip="5000"
|
|
52
|
-
max_bytes="1M"
|
|
53
|
-
/>
|
|
54
|
-
<pbcast.GMS print_local_addr="false"
|
|
55
|
-
join_timeout="${jgroups.join_timeout:2000}"
|
|
56
|
-
/>
|
|
57
|
-
<UFC_NB max_credits="3m"
|
|
58
|
-
min_threshold="0.40"
|
|
59
|
-
/>
|
|
60
|
-
<MFC_NB max_credits="3m"
|
|
61
|
-
min_threshold="0.40"
|
|
62
|
-
/>
|
|
63
|
-
</stack>
|
|
64
|
-
<stack name="cluster" xmlns="urn:org:jgroups">
|
|
65
|
-
<UDP bind_addr="${jgroups.bind.address,jgroups.udp.address:SITE_LOCAL}"
|
|
66
|
-
bind_port="${jgroups.bind.port,jgroups.udp.port:0}"
|
|
67
|
-
mcast_addr="${jgroups.cluster.mcast_addr:228.6.7.10}"
|
|
68
|
-
mcast_port="${jgroups.cluster.mcast_port:46655}"
|
|
69
|
-
ucast_send_buf_size="1m"
|
|
70
|
-
mcast_send_buf_size="1m"
|
|
71
|
-
ucast_recv_buf_size="20m"
|
|
72
|
-
mcast_recv_buf_size="25m"
|
|
73
|
-
ip_ttl="${jgroups.ip_ttl:2}"
|
|
74
|
-
thread_naming_pattern="pl"
|
|
75
|
-
bundler_type="no-bundler"
|
|
76
|
-
|
|
77
|
-
thread_pool.min_threads="${jgroups.thread_pool.min_threads:0}"
|
|
78
|
-
thread_pool.max_threads="${jgroups.thread_pool.max_threads:200}"
|
|
79
|
-
thread_pool.keep_alive_time="60000"
|
|
80
|
-
/>
|
|
81
|
-
<PING num_discovery_runs="3"/>
|
|
82
|
-
<MERGE3 min_interval="10000"
|
|
83
|
-
max_interval="30000"
|
|
84
|
-
/>
|
|
85
|
-
<FD_SOCK />
|
|
86
|
-
<!-- Suspect node `timeout` to `timeout + timeout_check_interval` millis after the last heartbeat -->
|
|
87
|
-
<FD_ALL timeout="10000"
|
|
88
|
-
interval="2000"
|
|
89
|
-
timeout_check_interval="1000"
|
|
90
|
-
/>
|
|
91
|
-
<VERIFY_SUSPECT timeout="1000"/>
|
|
92
|
-
<pbcast.NAKACK2 xmit_interval="100"
|
|
93
|
-
xmit_table_num_rows="50"
|
|
94
|
-
xmit_table_msgs_per_row="1024"
|
|
95
|
-
xmit_table_max_compaction_time="30000"
|
|
96
|
-
resend_last_seqno="true"
|
|
97
|
-
/>
|
|
98
|
-
<UNICAST3 xmit_interval="100"
|
|
99
|
-
xmit_table_num_rows="50"
|
|
100
|
-
xmit_table_msgs_per_row="1024"
|
|
101
|
-
xmit_table_max_compaction_time="30000"
|
|
102
|
-
/>
|
|
103
|
-
<pbcast.STABLE
|
|
104
|
-
desired_avg_gossip="5000"
|
|
105
|
-
max_bytes="1M"
|
|
106
|
-
/>
|
|
107
|
-
<pbcast.GMS print_local_addr="false"
|
|
108
|
-
join_timeout="${jgroups.join_timeout:2000}"
|
|
109
|
-
/>
|
|
110
|
-
<UFC_NB max_credits="3m"
|
|
111
|
-
min_threshold="0.40"
|
|
112
|
-
/>
|
|
113
|
-
<MFC_NB max_credits="3m"
|
|
114
|
-
min_threshold="0.40"
|
|
115
|
-
/>
|
|
116
|
-
<FRAG3 frag_size="8000"/>
|
|
117
|
-
<relay.RELAY2 site="MOON"/>
|
|
118
|
-
<remote-sites default-stack="bridge">
|
|
119
|
-
<remote-site name="EARTH"/>
|
|
120
|
-
<remote-site name="MOON"/>
|
|
121
|
-
</remote-sites>
|
|
122
|
-
</stack>
|
|
123
|
-
</jgroups>
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
<cache-container name="clustered">
|
|
127
|
-
<transport cluster="cluster-moon" stack="cluster"/>
|
|
128
|
-
<security>
|
|
129
|
-
<authorization/>
|
|
130
|
-
</security>
|
|
131
|
-
<metrics accurate-size="true"/>
|
|
132
|
-
<distributed-cache name="xsiteCache" segments="20" remote-timeout="30000" >
|
|
133
|
-
<locking acquire-timeout="30000" concurrency-level="1000"/>
|
|
134
|
-
<backups>
|
|
135
|
-
<backup site="EARTH" strategy="SYNC" timeout="3000">
|
|
136
|
-
<state-transfer chunk-size="098" timeout="7654" max-retries="321" wait-time="0101"/>
|
|
137
|
-
</backup>
|
|
138
|
-
</backups>
|
|
139
|
-
<encoding media-type="text/plain"/>
|
|
140
|
-
</distributed-cache>
|
|
141
|
-
</cache-container>
|
|
142
|
-
|
|
143
|
-
<server xmlns="urn:infinispan:server:13.0">
|
|
144
|
-
<interfaces>
|
|
145
|
-
<interface name="public">
|
|
146
|
-
<inet-address value="${infinispan.bind.address:127.0.0.1}"/>
|
|
147
|
-
</interface>
|
|
148
|
-
</interfaces>
|
|
149
|
-
|
|
150
|
-
<socket-bindings default-interface="public" port-offset="${infinispan.socket.binding.port-offset:0}">
|
|
151
|
-
<socket-binding name="default" port="${infinispan.bind.port:11222}"/>
|
|
152
|
-
<socket-binding name="memcached" port="11221"/>
|
|
153
|
-
</socket-bindings>
|
|
154
|
-
|
|
155
|
-
<security>
|
|
156
|
-
<security-realms>
|
|
157
|
-
<security-realm name="default">
|
|
158
|
-
<!-- Uncomment to enable TLS on the realm -->
|
|
159
|
-
<!-- server-identities>
|
|
160
|
-
<ssl>
|
|
161
|
-
<keystore path="application.keystore" relative-to="infinispan.server.config.path"
|
|
162
|
-
password="password" alias="server" key-password="password"
|
|
163
|
-
generate-self-signed-certificate-host="localhost"/>
|
|
164
|
-
</ssl>
|
|
165
|
-
</server-identities-->
|
|
166
|
-
<properties-realm groups-attribute="Roles">
|
|
167
|
-
<user-properties path="users.properties" relative-to="infinispan.server.config.path"
|
|
168
|
-
plain-text="true"/>
|
|
169
|
-
<group-properties path="groups.properties" relative-to="infinispan.server.config.path"/>
|
|
170
|
-
</properties-realm>
|
|
171
|
-
</security-realm>
|
|
172
|
-
</security-realms>
|
|
173
|
-
</security>
|
|
174
|
-
|
|
175
|
-
<!-- not secured -->
|
|
176
|
-
<endpoints>
|
|
177
|
-
<endpoint socket-binding="default" security-realm="default">
|
|
178
|
-
<hotrod-connector name="hotrod">
|
|
179
|
-
<authentication>
|
|
180
|
-
<sasl mechanisms="PLAIN"/>
|
|
181
|
-
</authentication>
|
|
182
|
-
</hotrod-connector>
|
|
183
|
-
<rest-connector name="rest"/>
|
|
184
|
-
<!-- Uncomment to enable the memcached connector -->
|
|
185
|
-
<!-- memcached-connector socket-binding="memcached" / -->
|
|
186
|
-
</endpoint>
|
|
187
|
-
</endpoints>
|
|
188
|
-
</server>
|
|
189
|
-
</infinispan>
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
<infinispan
|
|
2
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3
|
-
xsi:schemaLocation="urn:infinispan:config:13.0 https://infinispan.org/schemas/infinispan-config-13.0.xsd
|
|
4
|
-
urn:infinispan:server:13.0 https://infinispan.org/schemas/infinispan-server-13.0.xsd"
|
|
5
|
-
xmlns="urn:infinispan:config:13.0"
|
|
6
|
-
xmlns:server="urn:infinispan:server:13.0">
|
|
7
|
-
|
|
8
|
-
<cache-container name="default" statistics="true" default-cache="default">
|
|
9
|
-
<!-- <security>-->
|
|
10
|
-
<!-- <authorization/>-->
|
|
11
|
-
<!-- </security>-->
|
|
12
|
-
<metrics accurate-size="true"/>
|
|
13
|
-
<local-cache name="default">
|
|
14
|
-
<locking acquire-timeout="30000" concurrency-level="1000" />
|
|
15
|
-
<encoding media-type="text/plain"/>
|
|
16
|
-
</local-cache>
|
|
17
|
-
<local-cache name="memcachedCache">
|
|
18
|
-
<locking acquire-timeout="30000" concurrency-level="1000" />
|
|
19
|
-
<encoding media-type="text/plain"/>
|
|
20
|
-
</local-cache>
|
|
21
|
-
<local-cache name="namedCache">
|
|
22
|
-
<encoding media-type="text/plain"/>
|
|
23
|
-
</local-cache>
|
|
24
|
-
<local-cache name="jsonCache">
|
|
25
|
-
<encoding media-type="text/plain"/>
|
|
26
|
-
</local-cache>
|
|
27
|
-
<local-cache name="protoStreamCache">
|
|
28
|
-
<encoding>
|
|
29
|
-
<key media-type="text/plain"/>
|
|
30
|
-
<value media-type="application/x-protostream"/>
|
|
31
|
-
</encoding>
|
|
32
|
-
</local-cache>
|
|
33
|
-
</cache-container>
|
|
34
|
-
|
|
35
|
-
<server xmlns="urn:infinispan:server:13.0">
|
|
36
|
-
<interfaces>
|
|
37
|
-
<interface name="public">
|
|
38
|
-
<inet-address value="${infinispan.bind.address:127.0.0.1}"/>
|
|
39
|
-
</interface>
|
|
40
|
-
</interfaces>
|
|
41
|
-
|
|
42
|
-
<socket-bindings default-interface="public" port-offset="${infinispan.socket.binding.port-offset:0}">
|
|
43
|
-
<socket-binding name="default" port="${infinispan.bind.port:11222}"/>
|
|
44
|
-
</socket-bindings>
|
|
45
|
-
|
|
46
|
-
<security>
|
|
47
|
-
<security-realms>
|
|
48
|
-
<security-realm name="default">
|
|
49
|
-
<!-- Uncomment to enable TLS on the realm -->
|
|
50
|
-
<!-- server-identities>
|
|
51
|
-
<ssl>
|
|
52
|
-
<keystore path="application.keystore" relative-to="infinispan.server.config.path"
|
|
53
|
-
password="password" alias="server" key-password="password"
|
|
54
|
-
generate-self-signed-certificate-host="localhost"/>
|
|
55
|
-
</ssl>
|
|
56
|
-
</server-identities-->
|
|
57
|
-
<properties-realm groups-attribute="Roles">
|
|
58
|
-
<user-properties path="users.properties" relative-to="infinispan.server.config.path" plain-text="true"/>
|
|
59
|
-
<group-properties path="groups.properties" relative-to="infinispan.server.config.path" />
|
|
60
|
-
</properties-realm>
|
|
61
|
-
</security-realm>
|
|
62
|
-
</security-realms>
|
|
63
|
-
</security>
|
|
64
|
-
|
|
65
|
-
<endpoints>
|
|
66
|
-
<endpoint socket-binding="default" security-realm="default">
|
|
67
|
-
<hotrod-connector name="hotrod">
|
|
68
|
-
<authentication>
|
|
69
|
-
<sasl mechanisms="PLAIN DIGEST-MD5 SCRAM-SHA-1 SCRAM-SHA-256 SCRAM-SHA-384 SCRAM-SHA-512"
|
|
70
|
-
server-name="infinispan"/>
|
|
71
|
-
</authentication>
|
|
72
|
-
</hotrod-connector>
|
|
73
|
-
<rest-connector name="rest"/>
|
|
74
|
-
</endpoint>
|
|
75
|
-
</endpoints>
|
|
76
|
-
</server>
|
|
77
|
-
</infinispan>
|