http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_concurrency_enabled1.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_concurrency_enabled1.xml b/clicache/integration-test/cacheserver_concurrency_enabled1.xml new file mode 100644 index 0000000..071afb8 --- /dev/null +++ b/clicache/integration-test/cacheserver_concurrency_enabled1.xml @@ -0,0 +1,32 @@ +<?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"> + <group>A</group> + </cache-server> + <region name="DistRegionAck"> + <region-attributes scope="distributed-ack" data-policy="replicate" concurrency-checks-enabled="true"></region-attributes> + </region> +</cache> +
http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_concurrency_enabled2.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_concurrency_enabled2.xml b/clicache/integration-test/cacheserver_concurrency_enabled2.xml new file mode 100644 index 0000000..d22a2c5 --- /dev/null +++ b/clicache/integration-test/cacheserver_concurrency_enabled2.xml @@ -0,0 +1,32 @@ +<?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>B</group> + </cache-server> + <region name="DistRegionAck"> + <region-attributes scope="distributed-ack" data-policy="replicate" concurrency-checks-enabled="true"></region-attributes> + </region> +</cache> + http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_concurrency_enabled_disk1.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_concurrency_enabled_disk1.xml b/clicache/integration-test/cacheserver_concurrency_enabled_disk1.xml new file mode 100644 index 0000000..d81681b --- /dev/null +++ b/clicache/integration-test/cacheserver_concurrency_enabled_disk1.xml @@ -0,0 +1,35 @@ +<?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"> + <group>A</group> + </cache-server> + <disk-store name="DEFAULT" auto-compact="true" max-oplog-size="20"> + <disk-dirs> + <disk-dir>../backupDirectory3</disk-dir> + </disk-dirs> + </disk-store> + + <region name="DistRegionAck" refid="PARTITION_PERSISTENT"/> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_concurrency_enabled_disk2.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_concurrency_enabled_disk2.xml b/clicache/integration-test/cacheserver_concurrency_enabled_disk2.xml new file mode 100644 index 0000000..b70fa54 --- /dev/null +++ b/clicache/integration-test/cacheserver_concurrency_enabled_disk2.xml @@ -0,0 +1,35 @@ +<?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>B</group> + </cache-server> + <disk-store name="DEFAULT" auto-compact="true" max-oplog-size="20"> + <disk-dirs> + <disk-dir>../backupDirectory4</disk-dir> + </disk-dirs> + </disk-store> + + <region name="DistRegionAck" refid="PARTITION_PERSISTENT"/> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_concurrency_enabled_disk_replicate1.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_concurrency_enabled_disk_replicate1.xml b/clicache/integration-test/cacheserver_concurrency_enabled_disk_replicate1.xml new file mode 100644 index 0000000..00f309f --- /dev/null +++ b/clicache/integration-test/cacheserver_concurrency_enabled_disk_replicate1.xml @@ -0,0 +1,35 @@ +<?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"> + <group>A</group> + </cache-server> + <disk-store name="DEFAULT" auto-compact="true" max-oplog-size="20"> + <disk-dirs> + <disk-dir>../backupDirectory1</disk-dir> + </disk-dirs> + </disk-store> + + <region name="DistRegionAck" refid="REPLICATE_PERSISTENT"/> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_concurrency_enabled_disk_replicate2.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_concurrency_enabled_disk_replicate2.xml b/clicache/integration-test/cacheserver_concurrency_enabled_disk_replicate2.xml new file mode 100644 index 0000000..a96bdc1 --- /dev/null +++ b/clicache/integration-test/cacheserver_concurrency_enabled_disk_replicate2.xml @@ -0,0 +1,35 @@ +<?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>B</group> + </cache-server> + <disk-store name="DEFAULT" auto-compact="true" max-oplog-size="20"> + <disk-dirs> + <disk-dir>../backupDirectory2</disk-dir> + </disk-dirs> + </disk-store> + + <region name="DistRegionAck" refid="REPLICATE_PERSISTENT"/> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_conflation.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_conflation.xml b/clicache/integration-test/cacheserver_conflation.xml new file mode 100644 index 0000000..f01538e --- /dev/null +++ b/clicache/integration-test/cacheserver_conflation.xml @@ -0,0 +1,33 @@ +<?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="ConflatedRegion"> + <region-attributes scope="distributed-ack" data-policy="replicate" enable-subscription-conflation="true"/> + </region> + <region name="NonConflatedRegion"> + <region-attributes scope="distributed-ack" data-policy="replicate" enable-subscription-conflation="false"/> + </region> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_hashcode.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_hashcode.xml b/clicache/integration-test/cacheserver_hashcode.xml new file mode 100644 index 0000000..9f8f525 --- /dev/null +++ b/clicache/integration-test/cacheserver_hashcode.xml @@ -0,0 +1,43 @@ +<?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 data-policy="partition"> + <cache-writer> + <class-name>javaobject.CacheWriterForSingleHop</class-name> + </cache-writer> + </region-attributes> + </region> + <region name="DistRegionNoAck"> + <region-attributes data-policy="partition"> + <cache-writer> + <class-name>javaobject.CacheWriterForSingleHop</class-name> + </cache-writer> + </region-attributes> + </region> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_interest_notify.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_interest_notify.xml b/clicache/integration-test/cacheserver_interest_notify.xml new file mode 100644 index 0000000..ee86380 --- /dev/null +++ b/clicache/integration-test/cacheserver_interest_notify.xml @@ -0,0 +1,36 @@ +<?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="RegionTrue"> + <region-attributes scope="distributed-ack" data-policy="replicate" /> + </region> + <region name="RegionFalse"> + <region-attributes scope="distributed-ack" data-policy="replicate" /> + </region> + <region name="RegionOther"> + <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/cacheserver_loader.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_loader.xml b/clicache/integration-test/cacheserver_loader.xml new file mode 100644 index 0000000..03cf4a4 --- /dev/null +++ b/clicache/integration-test/cacheserver_loader.xml @@ -0,0 +1,38 @@ +<?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. +--> + + +<!-- cacheserverLoader.xml + Configures a server to for clients at port 40404. + The example region also is configured with a loader. +--> + + +<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="40404"/> + <region name="root"> + <region-attributes/> + <region name="exampleRegion"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + </region> + </region> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_notify_subscription.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_notify_subscription.xml b/clicache/integration-test/cacheserver_notify_subscription.xml new file mode 100644 index 0000000..f4c3dcd --- /dev/null +++ b/clicache/integration-test/cacheserver_notify_subscription.xml @@ -0,0 +1,53 @@ +<?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="DistRegionAck"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + <region name="AuthSubregion"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + </region> + <region name="DistRegionNoAck"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + <region name="AuthSubregion"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + </region> + </region> + <function-service> + <function> + <class-name>javaobject.ExampleFunction</class-name> + <parameter name="id"><string>securityTest</string></parameter> + <parameter name="haveResults"><string>true</string></parameter> + </function> + <function> + <class-name>javaobject.FireNForget</class-name> + </function> + <function> + <class-name>javaobject.executeFunction_SendException</class-name> + </function> + </function-service> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_notify_subscription2.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_notify_subscription2.xml b/clicache/integration-test/cacheserver_notify_subscription2.xml new file mode 100644 index 0000000..fcfa37f --- /dev/null +++ b/clicache/integration-test/cacheserver_notify_subscription2.xml @@ -0,0 +1,53 @@ +<?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"/> + + <region name="DistRegionAck"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + <region name="AuthSubregion"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + </region> + <region name="DistRegionNoAck"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + <region name="AuthSubregion"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + </region> + </region> + <function-service> + <function> + <class-name>javaobject.ExampleFunction</class-name> + <parameter name="id"><string>securityTest</string></parameter> + <parameter name="haveResults"><string>true</string></parameter> + </function> + <function> + <class-name>javaobject.FireNForget</class-name> + </function> + <function> + <class-name>javaobject.executeFunction_SendException</class-name> + </function> + </function-service> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_notify_subscription3.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_notify_subscription3.xml b/clicache/integration-test/cacheserver_notify_subscription3.xml new file mode 100644 index 0000000..437dd57 --- /dev/null +++ b/clicache/integration-test/cacheserver_notify_subscription3.xml @@ -0,0 +1,40 @@ +<?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"/> + + <region name="DistRegionAck"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + <region name="AuthSubregion"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + </region> + <region name="DistRegionNoAck"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + <region name="AuthSubregion"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + </region> + </region> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_notify_subscription4.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_notify_subscription4.xml b/clicache/integration-test/cacheserver_notify_subscription4.xml new file mode 100644 index 0000000..989d999 --- /dev/null +++ b/clicache/integration-test/cacheserver_notify_subscription4.xml @@ -0,0 +1,40 @@ +<?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_PORT4"/> + + <region name="DistRegionAck"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + <region name="AuthSubregion"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + </region> + <region name="DistRegionNoAck"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + <region name="AuthSubregion"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + </region> + </region> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_notify_subscription5.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_notify_subscription5.xml b/clicache/integration-test/cacheserver_notify_subscription5.xml new file mode 100644 index 0000000..46d9657 --- /dev/null +++ b/clicache/integration-test/cacheserver_notify_subscription5.xml @@ -0,0 +1,154 @@ +<?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="DistRegionAck"> + + + <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 name="AuthSubregion"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + </region> + <region name="DistRegionNoAck"> + + + <region-attributes scope="distributed-no-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 name="AuthSubregion"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + </region> + </region> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_notify_subscription5N.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_notify_subscription5N.xml b/clicache/integration-test/cacheserver_notify_subscription5N.xml new file mode 100644 index 0000000..485dc07 --- /dev/null +++ b/clicache/integration-test/cacheserver_notify_subscription5N.xml @@ -0,0 +1,154 @@ +<?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="DistRegionAck"> + + + <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 name="AuthSubregion"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + </region> + <region name="DistRegionNoAck"> + + + <region-attributes scope="distributed-no-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 name="AuthSubregion"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + </region> + </region> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_notify_subscription6.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_notify_subscription6.xml b/clicache/integration-test/cacheserver_notify_subscription6.xml new file mode 100644 index 0000000..9918e03 --- /dev/null +++ b/clicache/integration-test/cacheserver_notify_subscription6.xml @@ -0,0 +1,62 @@ +<?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="DistRegionAck"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + <entry> + <key> + <string>DefaultCacheable-1</string> + </key> + <value> + <declarable> + <class-name>javaobject.DefaultCacheable</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> + </declarable> + </value> + </entry> + <region name="AuthSubregion"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + </region> + <region name="DistRegionNoAck"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + <region name="AuthSubregion"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + </region> + </region> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_notify_subscriptionBug849.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_notify_subscriptionBug849.xml b/clicache/integration-test/cacheserver_notify_subscriptionBug849.xml new file mode 100644 index 0000000..a7337b3 --- /dev/null +++ b/clicache/integration-test/cacheserver_notify_subscriptionBug849.xml @@ -0,0 +1,50 @@ +<?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="DistRegionAck"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + <region name="AuthSubregion"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + </region> + <region name="DistRegionNoAck"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + <region name="AuthSubregion"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + </region> + </region> + <region name="ExampleRegion"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + <!-- making sub-regions --> + <region name="SubRegion1"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + <region name="SubRegion2"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + </region> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_notify_subscription_PutAllTimeout.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_notify_subscription_PutAllTimeout.xml b/clicache/integration-test/cacheserver_notify_subscription_PutAllTimeout.xml new file mode 100644 index 0000000..f836e46 --- /dev/null +++ b/clicache/integration-test/cacheserver_notify_subscription_PutAllTimeout.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"> + <cache-server port="HOST_PORT1"/> + + <region name="DistRegionAck"> + <region-attributes scope="distributed-ack" data-policy="replicate"> + <cache-listener> + <class-name>javaobject.PutAllTimeout</class-name> + </cache-listener> + </region-attributes> + <region name="AuthSubregion"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + </region> + <region name="DistRegionNoAck"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + <region name="AuthSubregion"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"/> + </region> + </region> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_notify_subscription_forDoc.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_notify_subscription_forDoc.xml b/clicache/integration-test/cacheserver_notify_subscription_forDoc.xml new file mode 100644 index 0000000..bd08706 --- /dev/null +++ b/clicache/integration-test/cacheserver_notify_subscription_forDoc.xml @@ -0,0 +1,106 @@ +<?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="40404"/> + <region name="exampleRegion"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + + <region name="BankAccounts"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + <entry> + <key> + <string>new-bankaccount</string> + </key> + <value> + <declarable> + <class-name>javaobject.BankAccount</class-name> + <parameter name="customerId"> + <string>100</string> + </parameter> + <parameter name="accountId"> + <string>1000</string> + </parameter> + </declarable> + </value> + </entry> + </region> + + <region name="root"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + <region name="listenerWriterLoader"> + <region-attributes scope="distributed-ack"> + <!--cache-loader> + <class-name>cacheRunner.StringLoader</class-name> + </cache-loader--> + </region-attributes> + <entry> + <key><string>entry1</string></key> + <value><string>1.0</string></value> + </entry> + <region name="sub1"> + <region-attributes scope="local"> + </region-attributes> + </region> + </region> + </region> + + <region name="exampleRegion0"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + + <region name="exampleRegion1"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + <region name="exampleputgetregion"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + <region name="tradeOrder"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + <entry> + <key> + <string>new-trade</string> + </key> + <value> + <declarable> + <class-name>javaobject.TradeOrder</class-name> + <parameter name="price"> + <string>200</string> + </parameter> + <parameter name="pkid"> + <string>A0</string> + </parameter> + </declarable> + </value> + </entry> + </region> + <region name="partition_region"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + <function-service> + <function> + <class-name>javaobject.MultiGetFunctionI</class-name> + </function> + </function-service> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_pdxinstance_hashcode.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_pdxinstance_hashcode.xml b/clicache/integration-test/cacheserver_pdxinstance_hashcode.xml new file mode 100644 index 0000000..aaf2643 --- /dev/null +++ b/clicache/integration-test/cacheserver_pdxinstance_hashcode.xml @@ -0,0 +1,50 @@ +<?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"/> + <pdx read-serialized="true" /> + <region name="DistRegionAck"> + <region-attributes scope="distributed-ack" data-policy="replicate"> + <cache-listener> + <class-name>javaobject.PdxinstanceHashcodeListener</class-name> + </cache-listener> + </region-attributes> + </region> + <region name="DistRegionNoAck"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"> + <cache-listener> + <class-name>javaobject.PdxinstanceHashcodeListener</class-name> + </cache-listener> + </region-attributes> + </region> + <region name="testregion"> + <region-attributes scope="distributed-no-ack" data-policy="replicate"> + <cache-listener> + <class-name>javaobject.PdxinstanceHashcodeListener</class-name> + </cache-listener> + </region-attributes> + </region> +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_pool_client.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_pool_client.xml b/clicache/integration-test/cacheserver_pool_client.xml new file mode 100644 index 0000000..08e6776 --- /dev/null +++ b/clicache/integration-test/cacheserver_pool_client.xml @@ -0,0 +1,62 @@ +<?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"> + + <pool + name="clientPool" + subscription-enabled="true" + free-connection-timeout="10000" + load-conditioning-interval="1" + min-connections="2" + max-connections="5" + retry-attempts="5" + idle-timeout="5" + ping-interval="1" + read-timeout="10" + server-group ="ServerGroup1" + socket-buffer-size ="1024" + subscription-message-tracking-timeout="5" + subscription-ack-interval="1" + subscription-redundancy="1" + statistic-interval="1" + update-locator-list-interval="25000" + pr-single-hop-enabled="false" + > + <locator host="localhost" port="LOC_PORT1" /> + </pool> + + <pool + name="clientPoolMultiUser" + multiuser-authentication="true" + > + <locator host="localhost" port="LOC_PORT1" /> + </pool> + + <region name='PoolRegion1'> + <region-attributes pool-name="clientPool" /> + </region> + +</cache> + + http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_remoteoql.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_remoteoql.xml b/clicache/integration-test/cacheserver_remoteoql.xml new file mode 100644 index 0000000..0806ef5 --- /dev/null +++ b/clicache/integration-test/cacheserver_remoteoql.xml @@ -0,0 +1,93 @@ +<?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"/> + <!-- 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="Portfolios"> + <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/cacheserver_remoteoql2.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_remoteoql2.xml b/clicache/integration-test/cacheserver_remoteoql2.xml new file mode 100644 index 0000000..e5f7f1b --- /dev/null +++ b/clicache/integration-test/cacheserver_remoteoql2.xml @@ -0,0 +1,93 @@ +<?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="DistRegionAck"> + <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="Portfolios"> + <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/cacheserver_remoteoql2N.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_remoteoql2N.xml b/clicache/integration-test/cacheserver_remoteoql2N.xml new file mode 100644 index 0000000..9c6679b --- /dev/null +++ b/clicache/integration-test/cacheserver_remoteoql2N.xml @@ -0,0 +1,93 @@ +<?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="DistRegionAck"> + <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="Portfolios"> + <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/cacheserver_remoteoqlN.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_remoteoqlN.xml b/clicache/integration-test/cacheserver_remoteoqlN.xml new file mode 100644 index 0000000..05367fd --- /dev/null +++ b/clicache/integration-test/cacheserver_remoteoqlN.xml @@ -0,0 +1,93 @@ +<?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"/> + <!-- 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="Portfolios"> + <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/cacheserver_servergroup.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_servergroup.xml b/clicache/integration-test/cacheserver_servergroup.xml new file mode 100644 index 0000000..114e148 --- /dev/null +++ b/clicache/integration-test/cacheserver_servergroup.xml @@ -0,0 +1,35 @@ +<?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"> + <group>group1</group> + </cache-server> + <region name="DistRegionAck"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + <region name="DistRegionAck1"> + <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/cacheserver_servergroup2.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_servergroup2.xml b/clicache/integration-test/cacheserver_servergroup2.xml new file mode 100644 index 0000000..0b014a4 --- /dev/null +++ b/clicache/integration-test/cacheserver_servergroup2.xml @@ -0,0 +1,35 @@ +<?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>group2</group> + </cache-server> + <region name="DistRegionAck"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + </region> + <region name="DistRegionAck1"> + <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/cacheserver_with_delta.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_with_delta.xml b/clicache/integration-test/cacheserver_with_delta.xml new file mode 100644 index 0000000..fa09e95 --- /dev/null +++ b/clicache/integration-test/cacheserver_with_delta.xml @@ -0,0 +1,58 @@ +<?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"/> + <entry> + <key><string>delta1-1</string></key> + <value> + <declarable> + <class-name>javaobject.DeltaEx</class-name> + </declarable> + </value> + </entry> + </region> + + + <region name="DistRegionAck1"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + <entry> + <key><string>delta1-1</string></key> + <value> + <declarable> + <class-name>javaobject.DeltaEx</class-name> + </declarable> + </value> + </entry> + </region> + + <region name="DistRegionAck2"> + <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/cacheserver_with_deltaAD.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_with_deltaAD.xml b/clicache/integration-test/cacheserver_with_deltaAD.xml new file mode 100644 index 0000000..4614f1e --- /dev/null +++ b/clicache/integration-test/cacheserver_with_deltaAD.xml @@ -0,0 +1,43 @@ +<?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"/> + <entry> + <key><string>delta1-1</string></key> + <value> + <declarable> + <class-name>javaobject.DeltaTest</class-name> + </declarable> + </value> + </entry> + </region> + + + +</cache> http://git-wip-us.apache.org/repos/asf/geode-native/blob/6cbd424f/clicache/integration-test/cacheserver_with_delta_test_impl.xml ---------------------------------------------------------------------- diff --git a/clicache/integration-test/cacheserver_with_delta_test_impl.xml b/clicache/integration-test/cacheserver_with_delta_test_impl.xml new file mode 100644 index 0000000..db653fb --- /dev/null +++ b/clicache/integration-test/cacheserver_with_delta_test_impl.xml @@ -0,0 +1,39 @@ +<?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="24680"/> + + <region name="DistRegionAck"> + <region-attributes scope="distributed-ack" data-policy="replicate"/> + <entry> + <key><string>delta1-1</string></key> + <value> + <declarable> + <class-name>javaobject.DeltaTestImpl</class-name> + </declarable> + </value> + </entry> + </region> +</cache>