http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/client_Loader.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/client_Loader.xml b/clicache/integration-test/client_Loader.xml new file mode 100644 index 0000000..274ac12 --- /dev/null +++ b/clicache/integration-test/client_Loader.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + +<!-- Well-formed and valid xml file --> +<client-cache + xmlns="http://schema.pivotal.io/gemfire/gfcpp-cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://schema.pivotal.io/gemfire/gfcpp-cache + http://schema.pivotal.io/gemfire/gfcpp-cache/gfcpp-cache-9.0.xsd" + version="9.0"> + +<region name = "root" > + <region-attributes scope="local" caching-enabled="true"/> + <region name = "exampleRegion" > + <region-attributes scope="local" caching-enabled="true" client-notification="true"/> + </region> + </region> + +</client-cache>
http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/client_generics_plugins.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/client_generics_plugins.xml b/clicache/integration-test/client_generics_plugins.xml new file mode 100644 index 0000000..435600b --- /dev/null +++ b/clicache/integration-test/client_generics_plugins.xml @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<client-cache + xmlns="http://schema.pivotal.io/gemfire/gfcpp-cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://schema.pivotal.io/gemfire/gfcpp-cache + http://schema.pivotal.io/gemfire/gfcpp-cache/gfcpp-cache-9.0.xsd" + version="9.0" + redundancy-level="1" > + + + <root-region name='DistRegionAck'> + <region-attributes pool-name="__TESTPOOL1_"> + <cache-listener library-name="UnitTests" library-function-name="Apache.Geode.Client.UnitTests.TallyListener<System.Object, System.Object>.Create"/> + <cache-loader library-name="UnitTests" library-function-name="Apache.Geode.Client.UnitTests.TallyLoader<System.Object, System.Object>.Create"/> + <cache-writer library-name="UnitTests" library-function-name="Apache.Geode.Client.UnitTests.TallyWriter<System.Object, System.Object>.Create"/> + <partition-resolver library-name="UnitTests" library-function-name="Apache.Geode.Client.UnitTests.TallyResolver<System.Object, System.Object>.Create"/> + </region-attributes> + </root-region> + + <root-region name='DistRegionNoAck'> + <region-attributes pool-name="__TESTPOOL1_"> + <cache-listener library-name="UnitTests" library-function-name="Apache.Geode.Client.UnitTests.TallyListener<System.Object, System.Object>.Create"/> + <cache-loader library-name="UnitTests" library-function-name="Apache.Geode.Client.UnitTests.TallyLoader<System.Object, System.Object>.Create"/> + <cache-writer library-name="UnitTests" library-function-name="Apache.Geode.Client.UnitTests.TallyWriter<System.Object, System.Object>.Create"/> + <partition-resolver library-name="UnitTests" library-function-name="Apache.Geode.Client.UnitTests.TallyResolver<System.Object, System.Object>.Create"/> + </region-attributes> + </root-region> + + <pool + name="__TESTPOOL1_" + subscription-enabled="true" + subscription-redundancy="1" + pr-single-hop-enabled="true" + > + <server host="localhost" port="HOST_PORT1" /> + <server host="localhost" port="HOST_PORT2" /> + + </pool> + +</client-cache> + + http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/client_pdx.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/client_pdx.xml b/clicache/integration-test/client_pdx.xml new file mode 100644 index 0000000..39add41 --- /dev/null +++ b/clicache/integration-test/client_pdx.xml @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + +<client-cache + xmlns="http://schema.pivotal.io/gemfire/gfcpp-cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://schema.pivotal.io/gemfire/gfcpp-cache + http://schema.pivotal.io/gemfire/gfcpp-cache/gfcpp-cache-9.0.xsd" + version="9.0" + redundancy-level="1" > + + <pdx read-serialized="true" /> + <root-region name='DistRegionAck'> + <region-attributes pool-name="__TESTPOOL1_" caching-enabled="false" /> + </root-region> + + <root-region name='DistRegionNoAck'> + <region-attributes pool-name="__TESTPOOL1_" caching-enabled="false" /> + </root-region> + + <pool + name="__TESTPOOL1_" + > + <server host="localhost" port="HOST_PORT1" /> + <server host="localhost" port="HOST_PORT2" /> + + </pool> + +</client-cache> + + http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/client_pool.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/client_pool.xml b/clicache/integration-test/client_pool.xml new file mode 100644 index 0000000..b02791f --- /dev/null +++ b/clicache/integration-test/client_pool.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + +<client-cache + xmlns="http://schema.pivotal.io/gemfire/gfcpp-cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://schema.pivotal.io/gemfire/gfcpp-cache + http://schema.pivotal.io/gemfire/gfcpp-cache/gfcpp-cache-9.0.xsd" + version="9.0" + redundancy-level="1" > + + + <root-region name='DistRegionAck'> + <region-attributes pool-name="__TESTPOOL1_" /> + </root-region> + + <root-region name='DistRegionNoAck'> + <region-attributes pool-name="__TESTPOOL1_" /> + </root-region> + + <pool + name="__TESTPOOL1_" + subscription-enabled="true" + subscription-redundancy="1" + > + <server host="localhost" port="HOST_PORT1" /> + <server host="localhost" port="HOST_PORT2" /> + + </pool> + +</client-cache> + + http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/client_server_persistent_transactions.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/client_server_persistent_transactions.xml b/clicache/integration-test/client_server_persistent_transactions.xml new file mode 100644 index 0000000..a287c04 --- /dev/null +++ b/clicache/integration-test/client_server_persistent_transactions.xml @@ -0,0 +1,31 @@ +<?xml version="1.0"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + + +<cache xmlns="http://geode.apache.org/schema/cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" + version="1.0"> + <cache-server port="HOST_PORT1"/> + <pdx persistent="true"/> + <region name='cstx1'> + <region-attributes data-policy="persistent-partition"></region-attributes> + </region> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/client_server_transactions.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/client_server_transactions.xml b/clicache/integration-test/client_server_transactions.xml new file mode 100644 index 0000000..b104b83 --- /dev/null +++ b/clicache/integration-test/client_server_transactions.xml @@ -0,0 +1,37 @@ +<?xml version="1.0"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + + +<cache xmlns="http://geode.apache.org/schema/cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" + version="1.0"> + <cache-server port="HOST_PORT1"/> + + <region name='cstx1'> + <region-attributes scope="distributed-ack" data-policy="replicate"></region-attributes> + </region> + <region name='cstx2'> + <region-attributes scope="distributed-ack" data-policy="replicate"></region-attributes> + </region> + <region name='cstx3'> + <region-attributes scope="distributed-ack" data-policy="replicate"></region-attributes> + </region> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cqqueryfailover.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cqqueryfailover.xml b/clicache/integration-test/cqqueryfailover.xml new file mode 100644 index 0000000..4bf36af --- /dev/null +++ b/clicache/integration-test/cqqueryfailover.xml @@ -0,0 +1,109 @@ +<?xml version="1.0"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + + +<cache xmlns="http://geode.apache.org/schema/cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" + version="1.0"> + <!--cache-server host="cod" port="24681" /--> + <cache-server port="HOST_PORT2"/> + + <region name="DistRegionAck"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + <region name="Portfolios"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + + <!-- making entries --> + <entry> + <key><string>port1-1</string></key> + <value> + <declarable> + <class-name>javaobject.Portfolio</class-name> + <parameter name="ID"> + <string>1</string> + </parameter> + <parameter name="pkid"> + <string>A0</string> + </parameter> + <parameter name="type"> + <string>type1</string> + </parameter> + <parameter name="status"> + <string>active</string> + </parameter> + <parameter name="position1"> + <declarable> + <class-name>javaobject.Position</class-name> + <parameter name="secId"> + <string>SUN</string> + </parameter> + <parameter name="sharesOutstanding"> + <string>3400</string> + </parameter> + <parameter name="secType"> + <string>r</string> + </parameter> + <parameter name="pid"> + <string>345</string> + </parameter> + </declarable> + </parameter> + <parameter name="position2"> + <declarable> + <class-name>javaobject.Position</class-name> + <parameter name="secId"> + <string>IBM</string> + </parameter> + <parameter name="sharesOutstanding"> + <string>8765</string> + </parameter> + <parameter name="secType"> + <string>p</string> + </parameter> + <parameter name="pid"> + <string>123</string> + </parameter> + </declarable> + </parameter> + </declarable> + </value> + </entry> + + <!-- making sub-regions --> + <region name="Positions"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + + </region> + </region> + <region name="Portfolios2"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + <region name="Portfolios3"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + <region name="Positions"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + <region name="DistRegionNoAck"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + </region> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/func_cacheserver1_pool.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/func_cacheserver1_pool.xml b/clicache/integration-test/func_cacheserver1_pool.xml new file mode 100644 index 0000000..039750d --- /dev/null +++ b/clicache/integration-test/func_cacheserver1_pool.xml @@ -0,0 +1,94 @@ +<?xml version="1.0"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + + +<cache xmlns="http://geode.apache.org/schema/cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" + version="1.0"> + <!--cache-server host="cod" port="24680" /--> + <cache-server port="HOST_PORT1"> + <group>ServerGroup1</group> + </cache-server> + <pdx read-serialized="true" /> + <region name='partition_region'> + <region-attributes data-policy="partition" > + <partition-attributes redundant-copies="1" startup-recovery-delay="1"/> + </region-attributes> + </region> + <function-service> + <function> + <class-name>javaobject.MultiGetFunctionI</class-name> + </function> + <function> + <class-name>javaobject.MultiPutFunctionI</class-name> + </function> + <function> + <class-name>javaobject.MultiGetFunction</class-name> + </function> + <function> + <class-name>javaobject.MultiGetFunction2</class-name> + </function> + <function> + <class-name>javaobject.MultiPutFunction</class-name> + </function> + <function> + <class-name>javaobject.RegionOperationsFunction</class-name> + </function> + <function> + <class-name>javaobject.RegionOperationsHAFunction</class-name> + </function> + <function> + <class-name>javaobject.ExceptionHandlingFunction</class-name> + </function> + <function> + <class-name>javaobject.OnServerHAExceptionFunction</class-name> + </function> + <function> + <class-name>javaobject.OnServerHAShutdownFunction</class-name> + </function> + <function> + <class-name>javaobject.PdxFunctionTest</class-name> + </function> + <function> + <class-name>javaobject.SingleStrGetFunction</class-name> + </function> + <function> + <class-name>javaobject.executeFunction_SendException</class-name> + </function> + <function> + <class-name>javaobject.FEOnRegionPrSHOP</class-name> + </function> + <function> + <class-name>javaobject.FEOnRegionPrSHOP_OptimizeForWrite</class-name> + </function> + <function> + <class-name>javaobject.RegionOperationsHAFunctionPrSHOP</class-name> + </function> + <function> + <class-name>javaobject.FunctionExecutionTimeOut</class-name> + </function> + </function-service> + <serialization-registration> + <instantiator id="5200" > + <class-name>javaobject.InstantiatorTest</class-name> + </instantiator> + </serialization-registration> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/func_cacheserver2_pool.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/func_cacheserver2_pool.xml b/clicache/integration-test/func_cacheserver2_pool.xml new file mode 100644 index 0000000..ec90576 --- /dev/null +++ b/clicache/integration-test/func_cacheserver2_pool.xml @@ -0,0 +1,94 @@ +<?xml version="1.0"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + + +<cache xmlns="http://geode.apache.org/schema/cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" + version="1.0"> + <cache-server port="HOST_PORT2"> + <group>ServerGroup1</group> + </cache-server> + <pdx read-serialized="true" /> + <region name='partition_region'> + <region-attributes data-policy="partition" > + <partition-attributes redundant-copies="1" startup-recovery-delay="1"/> + </region-attributes> + </region> + <function-service> + <function> + <class-name>javaobject.MultiGetFunctionI</class-name> + </function> + <function> + <class-name>javaobject.MultiPutFunctionI</class-name> + </function> + <function> + <class-name>javaobject.MultiGetFunction</class-name> + </function> + <function> + <class-name>javaobject.MultiGetFunction2</class-name> + </function> + <function> + <class-name>javaobject.MultiPutFunction</class-name> + </function> + <function> + <class-name>javaobject.RegionOperationsHAFunction</class-name> + </function> + <function> + <class-name>javaobject.RegionOperationsFunction</class-name> + </function> + <function> + <class-name>javaobject.ExceptionHandlingFunction</class-name> + </function> + <function> + <class-name>javaobject.OnServerHAExceptionFunction</class-name> + </function> + <function> + <class-name>javaobject.OnServerHAShutdownFunction</class-name> + </function> + + <function> + <class-name>javaobject.SingleStrGetFunction</class-name> + </function> + <function> + <class-name>javaobject.executeFunction_SendException</class-name> + </function> + <function> + <class-name>javaobject.RegionOperationsHAFunctionPrSHOP</class-name> + </function> + <function> + <class-name>javaobject.PdxFunctionTest</class-name> + </function> + <function> + <class-name>javaobject.FEOnRegionPrSHOP</class-name> + </function> + <function> + <class-name>javaobject.FEOnRegionPrSHOP_OptimizeForWrite</class-name> + </function> + <function> + <class-name>javaobject.FunctionExecutionTimeOut</class-name> + </function> + </function-service> + <serialization-registration> + <instantiator id="5200" > + <class-name>javaobject.InstantiatorTest</class-name> + </instantiator> + </serialization-registration> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/func_cacheserver3_pool.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/func_cacheserver3_pool.xml b/clicache/integration-test/func_cacheserver3_pool.xml new file mode 100644 index 0000000..263dcc0 --- /dev/null +++ b/clicache/integration-test/func_cacheserver3_pool.xml @@ -0,0 +1,86 @@ +<?xml version="1.0"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + + +<cache xmlns="http://geode.apache.org/schema/cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" + version="1.0"> + <cache-server port="HOST_PORT3"> + <group>ServerGroup1</group> + </cache-server> + <region name='partition_region'> + <region-attributes data-policy="partition" > + <partition-attributes redundant-copies="1" startup-recovery-delay="1"/> + </region-attributes> + </region> + <function-service> + <function> + <class-name>javaobject.MultiGetFunctionI</class-name> + </function> + <function> + <class-name>javaobject.MultiPutFunctionI</class-name> + </function> + <function> + <class-name>javaobject.MultiGetFunction</class-name> + </function> + <function> + <class-name>javaobject.MultiPutFunction</class-name> + </function> + <function> + <class-name>javaobject.RegionOperationsHAFunction</class-name> + </function> + <function> + <class-name>javaobject.RegionOperationsFunction</class-name> + </function> + <function> + <class-name>javaobject.ExceptionHandlingFunction</class-name> + </function> + <function> + <class-name>javaobject.OnServerHAExceptionFunction</class-name> + </function> + <function> + <class-name>javaobject.OnServerHAShutdownFunction</class-name> + </function> + <function> + <class-name>javaobject.SingleStrGetFunction</class-name> + </function> + <function> + <class-name>javaobject.executeFunction_SendException</class-name> + </function> + <function> + <class-name>javaobject.FEOnRegionPrSHOP</class-name> + </function> + <function> + <class-name>javaobject.FEOnRegionPrSHOP_OptimizeForWrite</class-name> + </function> + <function> + <class-name>javaobject.RegionOperationsHAFunctionPrSHOP</class-name> + </function> + <function> + <class-name>javaobject.FunctionExecutionTimeOut</class-name> + </function> + </function-service> + <serialization-registration> + <instantiator id="5200" > + <class-name>javaobject.InstantiatorTest</class-name> + </instantiator> + </serialization-registration> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/gateway1.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/gateway1.xml b/clicache/integration-test/gateway1.xml new file mode 100644 index 0000000..2d142a8 --- /dev/null +++ b/clicache/integration-test/gateway1.xml @@ -0,0 +1,44 @@ +<?xml version="1.0"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<cache xmlns="http://geode.apache.org/schema/cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" + version="1.0" copy-on-read="false" > + + + <gateway-sender id="sender1" remote-distributed-system-id="2" batch-size="20" + batch-time-interval="1000" + enable-persistence="true" maximum-queue-memory="10" parallel="false" + > + </gateway-sender> + + <cache-server port="HOST_PORT1" > + </cache-server> + + <region name="exampleRegion" > + <region-attributes data-policy="partition" gateway-sender-ids="sender1" > + <partition-attributes redundant-copies="0" total-num-buckets="113" > + </partition-attributes> + </region-attributes> + + + </region> +</cache> + http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/gateway2.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/gateway2.xml b/clicache/integration-test/gateway2.xml new file mode 100644 index 0000000..fabbedb --- /dev/null +++ b/clicache/integration-test/gateway2.xml @@ -0,0 +1,49 @@ +<?xml version="1.0"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<cache xmlns="http://geode.apache.org/schema/cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" + version="1.0" copy-on-read="false" > + + + <!-- gateway-sender id="sender1" remote-distributed-system-id="2" batch-size="1000" + batch-time-interval="1000" + enable-persistence="true" maximum-queue-memory="10" parallel="false" + > + </gateway-sender --> + + <gateway-receiver bind-address="localhost" > + + </gateway-receiver> + + <cache-server port="HOST_PORT2" > + </cache-server> + + <!-- pdx read-serialized="true" persistent="true" disk-store-name="myDiskStore" / --> + <region name="exampleRegion" > + <region-attributes data-policy="partition" gateway-sender-ids="sender1" > + <partition-attributes redundant-copies="0" total-num-buckets="113" > + </partition-attributes> + + </region-attributes> + + </region> +</cache> + http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/geode.properties.mixed ---------------------------------------------------------------------- diff --git a/clicache/integration-test/geode.properties.mixed b/clicache/integration-test/geode.properties.mixed new file mode 100644 index 0000000..2fed614 --- /dev/null +++ b/clicache/integration-test/geode.properties.mixed @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#cache-server-version=5.0 +#license-file=../../../../hidden/internal.license.nativeclientonly.zip http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/geode.properties.nativeclient ---------------------------------------------------------------------- diff --git a/clicache/integration-test/geode.properties.nativeclient b/clicache/integration-test/geode.properties.nativeclient new file mode 100644 index 0000000..2fed614 --- /dev/null +++ b/clicache/integration-test/geode.properties.nativeclient @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#cache-server-version=5.0 +#license-file=../../../../hidden/internal.license.nativeclientonly.zip http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/invalid_cache1.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/invalid_cache1.xml b/clicache/integration-test/invalid_cache1.xml new file mode 100644 index 0000000..9ec65ad --- /dev/null +++ b/clicache/integration-test/invalid_cache1.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + +<!--'region- attributes' is an incorrect element name. Element names cannot contain spaces. Hence this xml is not well-formed--> + +<client-cache + xmlns="http://schema.pivotal.io/gemfire/gfcpp-cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://schema.pivotal.io/gemfire/gfcpp-cache + http://schema.pivotal.io/gemfire/gfcpp-cache/gfcpp-cache-9.0.xsd" + version="9.0"> + + <region> + <region- attributes scope="local" caching-enabled="true" initial-capacity="25" load-factor="0.32" concurrency-level="10" lru-entries-limit = "35"> + </region-attributes> + </region> </client-cache> + http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/invalid_cache2.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/invalid_cache2.xml b/clicache/integration-test/invalid_cache2.xml new file mode 100644 index 0000000..1f32738 --- /dev/null +++ b/clicache/integration-test/invalid_cache2.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + +<!-- 'distributed' is an unknown scope --> + +<client-cache + xmlns="http://schema.pivotal.io/gemfire/gfcpp-cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://schema.pivotal.io/gemfire/gfcpp-cache + http://schema.pivotal.io/gemfire/gfcpp-cache/gfcpp-cache-9.0.xsd" + version="9.0"> + <root-region name = "root1" > + <region-attributes scope="local" caching-enabled="true" lru-entries-limit = "35"> + </region-attributes> + </root-region> +</client-cache> + http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/invalid_cache3.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/invalid_cache3.xml b/clicache/integration-test/invalid_cache3.xml new file mode 100644 index 0000000..290c566 --- /dev/null +++ b/clicache/integration-test/invalid_cache3.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + + +<client-cache + xmlns="http://schema.pivotal.io/gemfire/gfcpp-cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://schema.pivotal.io/gemfire/gfcpp-cache + http://schema.pivotal.io/gemfire/gfcpp-cache/gfcpp-cache-9.0.xsd" + version="9.0"> + + <root-region name = "root1" > + <region-attributes scope="local" caching-enabled="true" initial-capacity="25" load-factor="0.32" concurrency-level="10" lru-entries-limit = "35"> + </region-attributes> + </root-region> +</client-cache> + + http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/invalid_cache_pool.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/invalid_cache_pool.xml b/clicache/integration-test/invalid_cache_pool.xml new file mode 100644 index 0000000..3d65334 --- /dev/null +++ b/clicache/integration-test/invalid_cache_pool.xml @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + +<!-- Well-formed and valid xml file --> +<client-cache + xmlns="http://schema.pivotal.io/gemfire/gfcpp-cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://schema.pivotal.io/gemfire/gfcpp-cache + http://schema.pivotal.io/gemfire/gfcpp-cache/gfcpp-cache-9.0.xsd" + version="9.0"> + + <root-region name = "Root1" > + <region-attributes caching-enabled="true" pool-name="test_pool_1" /> + + <region name="SubRegion1"> + <region-attributes caching-enabled="false" pool-name="test_pool_2" /> + </region> + + </root-region> + + <root-region name= "Root2"> + <region-attributes caching-enabled="false" pool-name="test_pool_2" /> + </root-region> + + <pool + free-connection-timeout = "12345" + idle-timeout = "5555" + load-conditioning-interval = "23456" + max-connections = "7" + min-connections = "3" + name = "test_pool_common" + ping-interval = "12345" + read-timeout = "23456" + retry-attempts = "3" + server-group = "ServerGroup1" + socket-buffer-size = "32768" + statistic-interval = "10123" + subscription-ack-interval = "567" + subscription-enabled = "true" + subscription-message-tracking-timeout = "900123" + subscription-redundancy = "0" + thread-local-connections = "5" + > + <locator host="localhost" port="LOC_PORT1" /> + <!-- locator host="localhost" port="34757" / --> + </pool> + + <pool + free-connection-timeout = "23456" + idle-timeout = "6666" + load-conditioning-interval = "34567" + max-connections = "8" + min-connections = "2" + name = "test_pool_common" + ping-interval = "23456" + read-timeout = "34567" + retry-attempts = "5" + server-group = "ServerGroup2" + socket-buffer-size = "65536" + statistic-interval = "20345" + subscription-ack-interval = "678" + subscription-enabled = "false" + subscription-message-tracking-timeout = "800222" + subscription-redundancy = "1" + thread-local-connections = "3" + > + <server host="localhost" port="HOST_PORT1" /> + <server host="localhost" port="HOST_PORT2" /> + </pool> + +</client-cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/invalid_cache_pool2.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/invalid_cache_pool2.xml b/clicache/integration-test/invalid_cache_pool2.xml new file mode 100644 index 0000000..059bc24 --- /dev/null +++ b/clicache/integration-test/invalid_cache_pool2.xml @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + +<!-- Well-formed and valid xml file --> +<client-cache + xmlns="http://schema.pivotal.io/gemfire/gfcpp-cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://schema.pivotal.io/gemfire/gfcpp-cache + http://schema.pivotal.io/gemfire/gfcpp-cache/gfcpp-cache-9.0.xsd" + version="9.0"> + + + <root-region name = "Root1" > + <region-attributes caching-enabled="true" pool-name="test_pool_nonexistent" /> + + <region name="SubRegion1"> + <region-attributes caching-enabled="false" pool-name="test_pool_2" /> + </region> + + </root-region> + + <root-region name= "Root2"> + <region-attributes caching-enabled="false" pool-name="test_pool_2" /> + </root-region> + + <pool + free-connection-timeout = "12345" + idle-timeout = "5555" + load-conditioning-interval = "23456" + max-connections = "7" + min-connections = "3" + name = "test_pool_3" + ping-interval = "12345" + read-timeout = "23456" + retry-attempts = "3" + server-group = "ServerGroup1" + socket-buffer-size = "32768" + statistic-interval = "10123" + subscription-ack-interval = "567" + subscription-enabled = "true" + subscription-message-tracking-timeout = "900123" + subscription-redundancy = "0" + thread-local-connections = "5" + > + <locator host="localhost" port="LOC_PORT1" /> + <!-- locator host="localhost" port="34757" / --> + </pool> + + <pool + free-connection-timeout = "23456" + idle-timeout = "6666" + load-conditioning-interval = "34567" + max-connections = "8" + min-connections = "2" + name = "test_pool_4" + ping-interval = "23456" + read-timeout = "34567" + retry-attempts = "5" + server-group = "ServerGroup2" + socket-buffer-size = "65536" + statistic-interval = "20345" + subscription-ack-interval = "678" + subscription-enabled = "false" + subscription-message-tracking-timeout = "800222" + subscription-redundancy = "1" + thread-local-connections = "3" + > + <server host="localhost" port="HOST_PORT1" /> + <server host="localhost" port="HOST_PORT2" /> + </pool> + +</client-cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/invalid_cache_pool3.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/invalid_cache_pool3.xml b/clicache/integration-test/invalid_cache_pool3.xml new file mode 100644 index 0000000..d7da20b --- /dev/null +++ b/clicache/integration-test/invalid_cache_pool3.xml @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + +<!-- Well-formed and valid xml file --> +<client-cache + xmlns="http://schema.pivotal.io/gemfire/gfcpp-cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://schema.pivotal.io/gemfire/gfcpp-cache + http://schema.pivotal.io/gemfire/gfcpp-cache/gfcpp-cache-9.0.xsd" + version="9.0" + endpoints="must_fail_with_pool:12345"> + + <root-region name = "Root1" > + <region-attributes caching-enabled="true" pool-name="test_pool_3" /> + + <region name="SubRegion1"> + <region-attributes caching-enabled="false" pool-name="test_pool_4" /> + </region> + + </root-region> + + <root-region name= "Root2"> + <region-attributes caching-enabled="false" pool-name="test_pool_2" /> + </root-region> + + <pool + free-connection-timeout = "12345" + idle-timeout = "5555" + load-conditioning-interval = "23456" + max-connections = "7" + min-connections = "3" + name = "test_pool_5" + ping-interval = "12345" + read-timeout = "23456" + retry-attempts = "3" + server-group = "ServerGroup1" + socket-buffer-size = "32768" + statistic-interval = "10123" + subscription-ack-interval = "567" + subscription-enabled = "true" + subscription-message-tracking-timeout = "900123" + subscription-redundancy = "0" + thread-local-connections = "5" + > + <locator host="localhost" port="LOC_PORT1" /> + <!-- locator host="localhost" port="34757" / --> + </pool> + + <pool + free-connection-timeout = "23456" + idle-timeout = "6666" + load-conditioning-interval = "34567" + max-connections = "8" + min-connections = "2" + name = "test_pool_6" + ping-interval = "23456" + read-timeout = "34567" + retry-attempts = "5" + server-group = "ServerGroup2" + socket-buffer-size = "65536" + statistic-interval = "20345" + subscription-ack-interval = "678" + subscription-enabled = "false" + subscription-message-tracking-timeout = "800222" + subscription-redundancy = "1" + thread-local-connections = "3" + > + <server host="localhost" port="HOST_PORT1" /> + <server host="localhost" port="HOST_PORT2" /> + </pool> + +</client-cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/invalid_cache_pool4.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/invalid_cache_pool4.xml b/clicache/integration-test/invalid_cache_pool4.xml new file mode 100644 index 0000000..7f8fb79 --- /dev/null +++ b/clicache/integration-test/invalid_cache_pool4.xml @@ -0,0 +1,91 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + +<!-- Well-formed and valid xml file --> +<client-cache + xmlns="http://schema.pivotal.io/gemfire/gfcpp-cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://schema.pivotal.io/gemfire/gfcpp-cache + http://schema.pivotal.io/gemfire/gfcpp-cache/gfcpp-cache-9.0.xsd" + version="9.0"> + + <root-region name = "Root1" > + <region-attributes caching-enabled="true" pool-name="test_pool_7" /> + + <region name="SubRegion1"> + <region-attributes caching-enabled="false" pool-name="test_pool_8" /> + </region> + + </root-region> + + <root-region name= "Root2"> + <region-attributes caching-enabled="false" pool-name="test_pool_8" /> + </root-region> + + <pool + free-connection-timeout = "12345" + idle-timeout = "5555" + load-conditioning-interval = "23456" + max-connections = "7" + min-connections = "3" + name = "test_pool_7" + ping-interval = "12345" + read-timeout = "23456" + retry-attempts = "3" + server-group = "ServerGroup1" + socket-buffer-size = "32768" + statistic-interval = "10123" + subscription-ack-interval = "567" + subscription-enabled = "true" + subscription-message-tracking-timeout = "900123" + subscription-redundancy = "0" + thread-local-connections = "5" + > + <locator host="localhost" port="LOC_PORT1" /> + <!--locator host="localhost" port="34757" /--> + <server host="localhost" port="HOST_PORT1" /> + <server host="localhost" port="HOST_PORT2" /> + </pool> + + <pool + free-connection-timeout = "23456" + idle-timeout = "6666" + load-conditioning-interval = "34567" + max-connections = "8" + min-connections = "2" + name = "test_pool_8" + ping-interval = "23456" + read-timeout = "34567" + retry-attempts = "5" + server-group = "ServerGroup2" + socket-buffer-size = "65536" + statistic-interval = "20345" + subscription-ack-interval = "678" + subscription-enabled = "false" + subscription-message-tracking-timeout = "800222" + subscription-redundancy = "1" + thread-local-connections = "3" + > + <server host="localhost" port="HOST_PORT1" /> + <server host="localhost" port="HOST_PORT2" /> + <locator host="localhost" port="LOC_PORT1" /> + </pool> + +</client-cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/invalid_overflowAttr1.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/invalid_overflowAttr1.xml b/clicache/integration-test/invalid_overflowAttr1.xml new file mode 100644 index 0000000..dd9c5e8 --- /dev/null +++ b/clicache/integration-test/invalid_overflowAttr1.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + +<!--'region- attributes' is an incorrect element name. Element names cannot contain spaces. Hence this xml is not well-formed--> + +<client-cache + xmlns="http://schema.pivotal.io/gemfire/gfcpp-cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://schema.pivotal.io/gemfire/gfcpp-cache + http://schema.pivotal.io/gemfire/gfcpp-cache/gfcpp-cache-9.0.xsd" + version="9.0"> + <root-region name = "Root1" > + <region-attributes scope="local" caching-enabled="true" initial-capacity="25" load-factor="0.32" concurrency-level="10" lru-entries-limit = "35" disk-policy="overflows"> + </region-attributes> + </root-region> +</client-cache> + http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/invalid_overflowAttr2.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/invalid_overflowAttr2.xml b/clicache/integration-test/invalid_overflowAttr2.xml new file mode 100644 index 0000000..4af0b4b --- /dev/null +++ b/clicache/integration-test/invalid_overflowAttr2.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + +<!-- library function name is not mentioned for persistence --> + +<client-cache + xmlns="http://schema.pivotal.io/gemfire/gfcpp-cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://schema.pivotal.io/gemfire/gfcpp-cache + http://schema.pivotal.io/gemfire/gfcpp-cache/gfcpp-cache-9.0.xsd" + version="9.0"> + <root-region name = "root1" > + <region-attributes scope="local" caching-enabled="true" lru-entries-limit = "35" disk-policy="overflows"> + <persistence-manager library-name="SqLiteImpl"> + <properties> + <property name="PersistenceDirectory" value="SqLiteRegionData"/> + <property name="PageSize" value="32500"/> + </properties> + </region-attributes> + </root-region> +</client-cache> + http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/invalid_overflowAttr3.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/invalid_overflowAttr3.xml b/clicache/integration-test/invalid_overflowAttr3.xml new file mode 100644 index 0000000..9b0732f --- /dev/null +++ b/clicache/integration-test/invalid_overflowAttr3.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + +<!-- Property value not persent for persistence --> + +<client-cache + xmlns="http://schema.pivotal.io/gemfire/gfcpp-cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://schema.pivotal.io/gemfire/gfcpp-cache + http://schema.pivotal.io/gemfire/gfcpp-cache/gfcpp-cache-9.0.xsd" + version="9.0"> + <root-region name = "root1" > + <region-attributes scope="local" caching-enabled="true" initial-capacity="25" load-factor="0.32" concurrency-level="10" lru-entries-limit = "35" disk-policy="overflows"> + <persistence-manager library-name="SqLiteImpl" library-function-name="createSqLiteInstance"> + <properties> + <property name="PersistenceDirectory" value="SqLiteRegionData"/> + <property name="PageSize"/> + </properties> + </persistence-manager> + + </region-attributes> + </root-region> +</client-cache> + + http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/multi_get_function_server.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/multi_get_function_server.xml b/clicache/integration-test/multi_get_function_server.xml new file mode 100644 index 0000000..dcee5a7 --- /dev/null +++ b/clicache/integration-test/multi_get_function_server.xml @@ -0,0 +1,47 @@ +<?xml version="1.0"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + +<!-- Initializes a cache to serve the /root/bridge_region region, + waiting for bridge client communication on port 24680 --> + +<cache xmlns="http://geode.apache.org/schema/cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" + version="1.0" is-server="false"> + <cache-server hostname-for-clients="localhost" port="HOST_PORT1"/> + <region name="partition_region"> + <region-attributes data-policy="partition"> + </region-attributes> + </region> + <function-service> + <function> + <class-name>javaobject.MultiGetFunctionI</class-name> + </function> + <function> + <class-name>javaobject.MultiPutFunctionI</class-name> + </function> + <function> + <class-name>javaobject.MultiGetFunction</class-name> + </function> + <function> + <class-name>javaobject.MultiPutFunction</class-name> + </function> + </function-service> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/regionquery_diffconfig.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/regionquery_diffconfig.xml b/clicache/integration-test/regionquery_diffconfig.xml new file mode 100644 index 0000000..ba9992e --- /dev/null +++ b/clicache/integration-test/regionquery_diffconfig.xml @@ -0,0 +1,94 @@ +<?xml version="1.0"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + + +<cache xmlns="http://geode.apache.org/schema/cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" + version="1.0"> + <!--cache-server host="cod" port="24680" /--> + <cache-server port="HOST_PORT1"/> + + <region name="DistRegionAck"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + <region name="Portfolios"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + + <!-- making entries --> + <entry> + <key><string>port1-1</string></key> + <value> + <declarable> + <class-name>javaobject.Portfolio</class-name> + <parameter name="ID"> + <string>1</string> + </parameter> + <parameter name="pkid"> + <string>A0</string> + </parameter> + <parameter name="type"> + <string>type1</string> + </parameter> + <parameter name="status"> + <string>active</string> + </parameter> + <parameter name="position1"> + <declarable> + <class-name>javaobject.Position</class-name> + <parameter name="secId"> + <string>SUN</string> + </parameter> + <parameter name="sharesOutstanding"> + <string>3400</string> + </parameter> + <parameter name="secType"> + <string>r</string> + </parameter> + <parameter name="pid"> + <string>345</string> + </parameter> + </declarable> + </parameter> + <parameter name="position2"> + <declarable> + <class-name>javaobject.Position</class-name> + <parameter name="secId"> + <string>IBM</string> + </parameter> + <parameter name="sharesOutstanding"> + <string>8765</string> + </parameter> + <parameter name="secType"> + <string>p</string> + </parameter> + <parameter name="pid"> + <string>123</string> + </parameter> + </declarable> + </parameter> + </declarable> + </value> + </entry> + </region> + <region name="DistRegionNoAck"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + </region> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/regionquery_diffconfig2.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/regionquery_diffconfig2.xml b/clicache/integration-test/regionquery_diffconfig2.xml new file mode 100644 index 0000000..cf5ed2c --- /dev/null +++ b/clicache/integration-test/regionquery_diffconfig2.xml @@ -0,0 +1,94 @@ +<?xml version="1.0"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + + +<cache xmlns="http://geode.apache.org/schema/cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" + version="1.0"> + <!--cache-server host="cod" port="24680" /--> + <cache-server port="HOST_PORT2"/> + + <region name="Portfolios2"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + + <!-- making entries --> + <entry> + <key><string>port1-1</string></key> + <value> + <declarable> + <class-name>javaobject.Portfolio</class-name> + <parameter name="ID"> + <string>1</string> + </parameter> + <parameter name="pkid"> + <string>A0</string> + </parameter> + <parameter name="type"> + <string>type1</string> + </parameter> + <parameter name="status"> + <string>active</string> + </parameter> + <parameter name="position1"> + <declarable> + <class-name>javaobject.Position</class-name> + <parameter name="secId"> + <string>SUN</string> + </parameter> + <parameter name="sharesOutstanding"> + <string>3400</string> + </parameter> + <parameter name="secType"> + <string>r</string> + </parameter> + <parameter name="pid"> + <string>345</string> + </parameter> + </declarable> + </parameter> + <parameter name="position2"> + <declarable> + <class-name>javaobject.Position</class-name> + <parameter name="secId"> + <string>IBM</string> + </parameter> + <parameter name="sharesOutstanding"> + <string>8765</string> + </parameter> + <parameter name="secType"> + <string>p</string> + </parameter> + <parameter name="pid"> + <string>123</string> + </parameter> + </declarable> + </parameter> + </declarable> + </value> + </entry> + </region> + <region name="Portfolios3"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + <region name="Positions"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/regionquery_diffconfig2N.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/regionquery_diffconfig2N.xml b/clicache/integration-test/regionquery_diffconfig2N.xml new file mode 100644 index 0000000..5c70b52 --- /dev/null +++ b/clicache/integration-test/regionquery_diffconfig2N.xml @@ -0,0 +1,94 @@ +<?xml version="1.0"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + + +<cache xmlns="http://geode.apache.org/schema/cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" + version="1.0"> + <!--cache-server host="cod" port="24680" /--> + <cache-server port="HOST_PORT2"/> + + <region name="Portfolios2"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + + <!-- making entries --> + <entry> + <key><string>port1-1</string></key> + <value> + <declarable> + <class-name>javaobject.newapi.Portfolio</class-name> + <parameter name="ID"> + <string>1</string> + </parameter> + <parameter name="pkid"> + <string>A0</string> + </parameter> + <parameter name="type"> + <string>type1</string> + </parameter> + <parameter name="status"> + <string>active</string> + </parameter> + <parameter name="position1"> + <declarable> + <class-name>javaobject.newapi.Position</class-name> + <parameter name="secId"> + <string>SUN</string> + </parameter> + <parameter name="sharesOutstanding"> + <string>3400</string> + </parameter> + <parameter name="secType"> + <string>r</string> + </parameter> + <parameter name="pid"> + <string>345</string> + </parameter> + </declarable> + </parameter> + <parameter name="position2"> + <declarable> + <class-name>javaobject.newapi.Position</class-name> + <parameter name="secId"> + <string>IBM</string> + </parameter> + <parameter name="sharesOutstanding"> + <string>8765</string> + </parameter> + <parameter name="secType"> + <string>p</string> + </parameter> + <parameter name="pid"> + <string>123</string> + </parameter> + </declarable> + </parameter> + </declarable> + </value> + </entry> + </region> + <region name="Portfolios3"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + <region name="Positions"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/regionquery_diffconfig2_SG.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/regionquery_diffconfig2_SG.xml b/clicache/integration-test/regionquery_diffconfig2_SG.xml new file mode 100644 index 0000000..2e3028f --- /dev/null +++ b/clicache/integration-test/regionquery_diffconfig2_SG.xml @@ -0,0 +1,96 @@ +<?xml version="1.0"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + + +<cache xmlns="http://geode.apache.org/schema/cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" + version="1.0"> + <!--cache-server host="cod" port="24680" /--> + <cache-server port="HOST_PORT2"> + <group>ServerGroup2</group> + </cache-server> + + <region name="Portfolios2"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + + <!-- making entries --> + <entry> + <key><string>port1-1</string></key> + <value> + <declarable> + <class-name>javaobject.Portfolio</class-name> + <parameter name="ID"> + <string>1</string> + </parameter> + <parameter name="pkid"> + <string>A0</string> + </parameter> + <parameter name="type"> + <string>type1</string> + </parameter> + <parameter name="status"> + <string>active</string> + </parameter> + <parameter name="position1"> + <declarable> + <class-name>javaobject.Position</class-name> + <parameter name="secId"> + <string>SUN</string> + </parameter> + <parameter name="sharesOutstanding"> + <string>3400</string> + </parameter> + <parameter name="secType"> + <string>r</string> + </parameter> + <parameter name="pid"> + <string>345</string> + </parameter> + </declarable> + </parameter> + <parameter name="position2"> + <declarable> + <class-name>javaobject.Position</class-name> + <parameter name="secId"> + <string>IBM</string> + </parameter> + <parameter name="sharesOutstanding"> + <string>8765</string> + </parameter> + <parameter name="secType"> + <string>p</string> + </parameter> + <parameter name="pid"> + <string>123</string> + </parameter> + </declarable> + </parameter> + </declarable> + </value> + </entry> + </region> + <region name="Portfolios3"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + <region name="Positions"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/regionquery_diffconfigN.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/regionquery_diffconfigN.xml b/clicache/integration-test/regionquery_diffconfigN.xml new file mode 100644 index 0000000..7d59828 --- /dev/null +++ b/clicache/integration-test/regionquery_diffconfigN.xml @@ -0,0 +1,94 @@ +<?xml version="1.0"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + + +<cache xmlns="http://geode.apache.org/schema/cache" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://geode.apache.org/schema/cache http://geode.apache.org/schema/cache/cache-1.0.xsd" + version="1.0"> + <!--cache-server host="cod" port="24680" /--> + <cache-server port="HOST_PORT1"/> + + <region name="DistRegionAck"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + <region name="Portfolios"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + + <!-- making entries --> + <entry> + <key><string>port1-1</string></key> + <value> + <declarable> + <class-name>javaobject.newapi.Portfolio</class-name> + <parameter name="ID"> + <string>1</string> + </parameter> + <parameter name="pkid"> + <string>A0</string> + </parameter> + <parameter name="type"> + <string>type1</string> + </parameter> + <parameter name="status"> + <string>active</string> + </parameter> + <parameter name="position1"> + <declarable> + <class-name>javaobject.newapi.Position</class-name> + <parameter name="secId"> + <string>SUN</string> + </parameter> + <parameter name="sharesOutstanding"> + <string>3400</string> + </parameter> + <parameter name="secType"> + <string>r</string> + </parameter> + <parameter name="pid"> + <string>345</string> + </parameter> + </declarable> + </parameter> + <parameter name="position2"> + <declarable> + <class-name>javaobject.newapi.Position</class-name> + <parameter name="secId"> + <string>IBM</string> + </parameter> + <parameter name="sharesOutstanding"> + <string>8765</string> + </parameter> + <parameter name="secType"> + <string>p</string> + </parameter> + <parameter name="pid"> + <string>123</string> + </parameter> + </declarable> + </parameter> + </declarable> + </value> + </entry> + </region> + <region name="DistRegionNoAck"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + </region> +</cache>