├── .asf.yaml ├── .clang-format ├── .clang-tidy ├── .cpackignore ├── .gitignore ├── .lcovrc ├── .lgtm.yml ├── .ratignore ├── BUILDING.md ├── CMakeLists.txt ├── CONTRIBUTING.md ├── FindNativeClient.cmake ├── FindNativeClientCPPCache.cmake ├── LICENSE ├── NOTICE ├── README.md ├── ci ├── README.md ├── base │ ├── base.yml │ └── pipeline.yml ├── docker │ ├── clang-tools │ │ └── Dockerfile │ └── task │ │ └── Dockerfile ├── lib │ ├── functions.lib.yml │ ├── templates.lib.txt │ └── templates.lib.yml ├── pr │ ├── data.yml │ └── pipeline.yml ├── release │ ├── data.yml │ └── pipeline.yml └── set-pipeline.sh ├── clicache ├── .clang-format ├── CMakeLists.txt ├── acceptance-test │ ├── CMakeLists.txt │ ├── Config.cs.in │ ├── SNITests.cs │ ├── TestBase.cs │ ├── cache.xml │ ├── packages.config │ └── xunit.runner.json ├── integration-test │ ├── AssemblyInfo.cs │ ├── AttributesMutatorTestsN.cs │ ├── BuiltinCacheableWrappersN.cs │ ├── CMakeLists.txt │ ├── CacheHelperN.cs │ ├── CacheServPoolRedun1.xml │ ├── CacheServPoolRedun2.xml │ ├── CacheServPoolRedun3.xml │ ├── CacheableWrapperN.cs │ ├── CachelessTestsN.cs │ ├── DataOutputTests.cs │ ├── DefaultCacheableN.cs │ ├── DistOpsStepsN.cs │ ├── DupListenerN.cs │ ├── DurableListenerN.cs │ ├── ExpirationTestsN.cs │ ├── LogTests.cs │ ├── NUnitTestAddTests.ps1 │ ├── OverflowTestsN.cs │ ├── PutGetTestsN.cs │ ├── QueryHelperN.cs │ ├── RegionAttributesFactoryTestsN.cs │ ├── RegionFailingTests.cs │ ├── RegionFailoverTests.cs │ ├── RegionOperationN.cs │ ├── RegionRemoveTests.cs │ ├── RegionWrapperN.cs │ ├── SecurityTestUtilN.cs │ ├── SerializationTestsN.cs │ ├── Settings.xml │ ├── TallyListener.cs │ ├── TallyListenerN.cs │ ├── TallyLoaderN.cs │ ├── TallyResolverN.cs │ ├── TallyWriter.cs │ ├── TallyWriterN.cs │ ├── TestCacheXmlInitializationN.cs │ ├── ThinClientAppDomainFunctionExecutionTests.cs │ ├── ThinClientAppDomainQueryTests.cs │ ├── ThinClientCSTXN.cs │ ├── ThinClientCallbackArgN.cs │ ├── ThinClientConflationTestsN.cs │ ├── ThinClientCqAttributesMutatorTests.cs │ ├── ThinClientCqIRTestsN.cs │ ├── ThinClientCqPdxTest.cs │ ├── ThinClientCqStatusTest.cs │ ├── ThinClientCqStatusTestTwoServers.cs │ ├── ThinClientCqTest.cs │ ├── ThinClientDeltaTest.cs │ ├── ThinClientDeltaTestFailing.cs │ ├── ThinClientDurableCqTestsN.cs │ ├── ThinClientDurableTestsN.cs │ ├── ThinClientFunctionExecutionTestsN.cs │ ├── ThinClientHARegionTestsN.cs │ ├── ThinClientListenerWriterN.cs │ ├── ThinClientNameTests.cs │ ├── ThinClientPdxLocalTests.cs │ ├── ThinClientPdxTests1.cs │ ├── ThinClientPdxTests2.cs │ ├── ThinClientPdxTests3.cs │ ├── ThinClientPdxVersionTests.cs │ ├── ThinClientPoolTestsN.cs │ ├── ThinClientQueryTestsN.cs │ ├── ThinClientRegionInterestFailoverInterest2Tests.cs │ ├── ThinClientRegionInterestFailoverInterestTests.cs │ ├── ThinClientRegionInterestFailoverRegexInterestTests.cs │ ├── ThinClientRegionInterestList2Tests.cs │ ├── ThinClientRegionInterestListTests.cs │ ├── ThinClientRegionInterestListWithPdxTests.cs │ ├── ThinClientRegionInterestNotifyTests.cs │ ├── ThinClientRegionInterestRegexInterest2Tests.cs │ ├── ThinClientRegionInterestRegexInterest3Tests.cs │ ├── ThinClientRegionInterestRegexInterestTests.cs │ ├── ThinClientRegionInterestResultPolicyInvTests.cs │ ├── ThinClientRegionQueryTests.cs │ ├── ThinClientRegionStepsN.cs │ ├── ThinClientRegionTestsN.cs │ ├── ThinClientRemoteParamQueryResultSetTests.cs │ ├── ThinClientRemoteParamQueryStructSetTests.cs │ ├── ThinClientRemoteQueryExclusivenessTests.cs │ ├── ThinClientRemoteQueryFailoverTests.cs │ ├── ThinClientRemoteQueryResultSetTests.cs │ ├── ThinClientRemoteQueryStructSetTests.cs │ ├── ThinClientSecurityAuthSetAuthInitializeTests.cs │ ├── ThinClientSecurityAuthTestsMUN.cs │ ├── ThinClientSecurityAuthTestsN.cs │ ├── ThinClientSecurityAuthzTestBaseN.cs │ ├── ThinClientSecurityAuthzTestsMUN.cs │ ├── ThinClientSecurityAuthzTestsN.cs │ ├── ThinClientStringArrayTestsN.cs │ ├── Timeouts.xml │ ├── UnitTestsN.cs │ ├── cache.xml │ ├── cacheServer_pdxreadserialized.xml │ ├── cache_redundancy.xml │ ├── cacheserver.xml │ ├── cacheserver1_TradeKey.xml │ ├── cacheserver1_expiry.xml │ ├── cacheserver1_fpr.xml │ ├── cacheserver1_partitioned.xml │ ├── cacheserver1_partitioned_R1.xml │ ├── cacheserver1_partitioned_servergroup.xml │ ├── cacheserver1_pool.xml │ ├── cacheserver1_pr.xml │ ├── cacheserver1_pr_putall.xml │ ├── cacheserver2.xml │ ├── cacheserver2_TradeKey.xml │ ├── cacheserver2_fpr.xml │ ├── cacheserver2_partitioned.xml │ ├── cacheserver2_partitioned_R1.xml │ ├── cacheserver2_partitioned_servergroup.xml │ ├── cacheserver2_pool.xml │ ├── cacheserver2_pr.xml │ ├── cacheserver2_pr_putall.xml │ ├── cacheserver3.xml │ ├── cacheserver3_TradeKey.xml │ ├── cacheserver3_fpr.xml │ ├── cacheserver3_partitioned.xml │ ├── cacheserver3_partitioned_servergroup.xml │ ├── cacheserver3_pool.xml │ ├── cacheserver3_pr.xml │ ├── cacheserver3_pr_putall.xml │ ├── cacheserver4.xml │ ├── cacheserver4_pr_putall.xml │ ├── cacheserverDurableCqs.xml │ ├── cacheserverForPdx.xml │ ├── cacheserverForPdxWithAuto.xml │ ├── cacheserverMDS1.xml │ ├── cacheserverMDS2.xml │ ├── cacheserverPdx.xml │ ├── cacheserverPdx2.xml │ ├── cacheserverPdxSerializer.xml │ ├── cacheserver_concurrency_enabled1.xml │ ├── cacheserver_concurrency_enabled2.xml │ ├── cacheserver_concurrency_enabled_disk1.xml │ ├── cacheserver_concurrency_enabled_disk2.xml │ ├── cacheserver_concurrency_enabled_disk_replicate1.xml │ ├── cacheserver_concurrency_enabled_disk_replicate2.xml │ ├── cacheserver_conflation.xml │ ├── cacheserver_hashcode.xml │ ├── cacheserver_interest_notify.xml │ ├── cacheserver_loader.xml │ ├── cacheserver_notify_subscription.xml │ ├── cacheserver_notify_subscription2.xml │ ├── cacheserver_notify_subscription3.xml │ ├── cacheserver_notify_subscription4.xml │ ├── cacheserver_notify_subscription5.xml │ ├── cacheserver_notify_subscription5N.xml │ ├── cacheserver_notify_subscription6.xml │ ├── cacheserver_notify_subscriptionBug849.xml │ ├── cacheserver_notify_subscription_PutAllTimeout.xml │ ├── cacheserver_notify_subscription_forDoc.xml │ ├── cacheserver_pdxinstance_hashcode.xml │ ├── cacheserver_pool_client.xml │ ├── cacheserver_remoteoql.xml │ ├── cacheserver_remoteoql2.xml │ ├── cacheserver_remoteoql2N.xml │ ├── cacheserver_remoteoqlN.xml │ ├── cacheserver_servergroup.xml │ ├── cacheserver_servergroup2.xml │ ├── cacheserver_with_delta.xml │ ├── cacheserver_with_deltaAD.xml │ ├── cacheserver_with_delta_test_impl.xml │ ├── client_Loader.xml │ ├── client_generics_plugins.xml │ ├── client_pdx.xml │ ├── client_pool.xml │ ├── client_server_persistent_transactions.xml │ ├── client_server_transactions.xml │ ├── cqqueryfailover.xml │ ├── func_cacheserver1_pool.xml │ ├── func_cacheserver2_pool.xml │ ├── func_cacheserver3_pool.xml │ ├── gateway1.xml │ ├── gateway2.xml │ ├── geode.properties.mixed │ ├── geode.properties.nativeclient │ ├── invalid_cache1.xml │ ├── invalid_cache2.xml │ ├── invalid_cache3.xml │ ├── invalid_cache_pool.xml │ ├── invalid_cache_pool2.xml │ ├── invalid_cache_pool3.xml │ ├── invalid_cache_pool4.xml │ ├── invalid_overflowAttr1.xml │ ├── invalid_overflowAttr2.xml │ ├── invalid_overflowAttr3.xml │ ├── multi_get_function_server.xml │ ├── packages.config │ ├── regionquery_diffconfig.xml │ ├── regionquery_diffconfig2.xml │ ├── regionquery_diffconfig2N.xml │ ├── regionquery_diffconfig2_SG.xml │ ├── regionquery_diffconfigN.xml │ ├── regionquery_diffconfig_SG.xml │ ├── remotequery.xml │ ├── remotequery2.xml │ ├── remotequeryN.xml │ ├── serverDurableClient.xml │ ├── system.properties │ ├── test.runsettings.in │ ├── valid_cache.xml │ ├── valid_cache_pool.xml │ ├── valid_cache_refid.xml │ ├── valid_cache_region_refid.xml │ ├── valid_declarative_cache_creation.xml │ ├── valid_lruExpiration.xml │ └── valid_overflowAttr.xml ├── integration-test2 │ ├── AutoSerializationTests.cs │ ├── CMakeLists.txt │ ├── CacheXml.cs │ ├── CacheXmlTests.cs │ ├── Cluster.cs │ ├── ClusterTest.cs │ ├── Command.cs │ ├── Config.cs.in │ ├── CqOperationTest.cs │ ├── DataInputTest.cs │ ├── Framework.cs │ ├── FunctionExecutionTest.cs │ ├── GarbageCollectCache.cs │ ├── Gfsh.cs │ ├── GfshExecute.cs │ ├── GfshExecuteTest.cs │ ├── GfshTest.cs │ ├── Position.cs │ ├── PositionKey.cs │ ├── QueryTest.cs │ ├── RegionSSLTest.cs │ ├── RegionTest.cs │ ├── SerializationTests.cs │ ├── TestBase.cs │ ├── cache.xml │ ├── geode.properties │ ├── packages.config │ ├── xUnitTestAddTests.ps1 │ └── xunit.runner.json ├── plugins │ └── SQLiteCLI │ │ ├── AssemblyInfo.cs │ │ ├── CMakeLists.txt │ │ └── SqLiteImpl.cs ├── src │ ├── Apache.Geode.rc │ ├── AttributesMutator.cpp │ ├── AttributesMutator.hpp │ ├── CMakeLists.txt │ ├── Cache.cpp │ ├── Cache.hpp │ ├── CacheFactory.cpp │ ├── CacheFactory.hpp │ ├── CacheListenerAdapter.hpp │ ├── CacheStatistics.cpp │ ├── CacheStatistics.hpp │ ├── CacheTransactionManager.cpp │ ├── CacheTransactionManager.hpp │ ├── CacheWriterAdapter.hpp │ ├── CacheableArrayList.hpp │ ├── CacheableBuiltins.hpp │ ├── CacheableDate.cpp │ ├── CacheableDate.hpp │ ├── CacheableFileName.cpp │ ├── CacheableFileName.hpp │ ├── CacheableHashMap.cpp │ ├── CacheableHashMap.hpp │ ├── CacheableHashSet.hpp │ ├── CacheableHashTable.hpp │ ├── CacheableIdentityHashMap.hpp │ ├── CacheableKey.cpp │ ├── CacheableKey.hpp │ ├── CacheableLinkedList.hpp │ ├── CacheableObject.cpp │ ├── CacheableObject.hpp │ ├── CacheableObjectArray.cpp │ ├── CacheableObjectArray.hpp │ ├── CacheableObjectXml.cpp │ ├── CacheableObjectXml.hpp │ ├── CacheableStack.cpp │ ├── CacheableStack.hpp │ ├── CacheableString.cpp │ ├── CacheableString.hpp │ ├── CacheableStringArray.cpp │ ├── CacheableStringArray.hpp │ ├── CacheableUndefined.cpp │ ├── CacheableUndefined.hpp │ ├── CacheableVector.cpp │ ├── CacheableVector.hpp │ ├── CqAttributes.cpp │ ├── CqAttributes.hpp │ ├── CqAttributesFactory.cpp │ ├── CqAttributesFactory.hpp │ ├── CqAttributesMutator.cpp │ ├── CqAttributesMutator.hpp │ ├── CqEvent.cpp │ ├── CqEvent.hpp │ ├── CqOperation.hpp │ ├── CqQuery.cpp │ ├── CqQuery.hpp │ ├── CqServiceStatistics.cpp │ ├── CqServiceStatistics.hpp │ ├── CqState.hpp │ ├── CqStatistics.cpp │ ├── CqStatistics.hpp │ ├── DataInput.cpp │ ├── DataInput.hpp │ ├── DataOutput.cpp │ ├── DataOutput.hpp │ ├── DiskPolicyType.hpp │ ├── DistributedSystem.cpp │ ├── DistributedSystem.hpp │ ├── EntryEvent.cpp │ ├── EntryEvent.hpp │ ├── ExceptionTypes.cpp │ ├── ExceptionTypes.hpp │ ├── Execution.cpp │ ├── Execution.hpp │ ├── ExpirationAction.hpp │ ├── FunctionService.cpp │ ├── FunctionService.hpp │ ├── GeodeClassIds.hpp │ ├── IAuthInitialize.hpp │ ├── ICacheListener.hpp │ ├── ICacheLoader.hpp │ ├── ICacheWriter.hpp │ ├── ICacheableKey.hpp │ ├── ICqAttributes.hpp │ ├── ICqEvent.hpp │ ├── ICqListener.hpp │ ├── ICqResults.hpp │ ├── ICqStatusListener.hpp │ ├── IDataSerializable.hpp │ ├── IDataSerializableFixedId.hpp │ ├── IDataSerializableInternal.hpp │ ├── IDataSerializablePrimitive.hpp │ ├── IDelta.hpp │ ├── IFixedPartitionResolver.hpp │ ├── IGeodeCache.hpp │ ├── IPartitionResolver.hpp │ ├── IPdxInstance.hpp │ ├── IPdxInstanceFactory.hpp │ ├── IPdxReader.hpp │ ├── IPdxSerializable.hpp │ ├── IPdxSerializer.hpp │ ├── IPdxTypeMapper.hpp │ ├── IPdxUnreadFields.hpp │ ├── IPdxWriter.hpp │ ├── IPersistenceManager.hpp │ ├── IRegion.hpp │ ├── IRegionService.hpp │ ├── IResultCollector.hpp │ ├── ISelectResults.hpp │ ├── ISerializable.hpp │ ├── ISubscriptionService.hpp │ ├── ITransactionListener.hpp │ ├── ITransactionWriter.hpp │ ├── IWritablePdxInstance.hpp │ ├── LocalRegion.cpp │ ├── LocalRegion.hpp │ ├── Log.cpp │ ├── Log.hpp │ ├── ManagedDataSerializableHandler.hpp │ ├── ManagedPdxTypeHandler.hpp │ ├── Objects.cpp │ ├── Objects.hpp │ ├── PdxIdentityFieldAttribute.hpp │ ├── Pool.cpp │ ├── Pool.hpp │ ├── PoolFactory.cpp │ ├── PoolFactory.hpp │ ├── PoolManager.cpp │ ├── PoolManager.hpp │ ├── Properties.cpp │ ├── Properties.hpp │ ├── Query.cpp │ ├── Query.hpp │ ├── QueryService.cpp │ ├── QueryService.hpp │ ├── ReflectionBasedAutoSerializer.cpp │ ├── ReflectionBasedAutoSerializer.hpp │ ├── Region.cpp │ ├── Region.hpp │ ├── RegionAttributes.cpp │ ├── RegionAttributes.hpp │ ├── RegionAttributesFactory.cpp │ ├── RegionAttributesFactory.hpp │ ├── RegionEntry.cpp │ ├── RegionEntry.hpp │ ├── RegionEvent.cpp │ ├── RegionEvent.hpp │ ├── RegionFactory.cpp │ ├── RegionFactory.hpp │ ├── RegionShortcut.hpp │ ├── ResultCollector.cpp │ ├── ResultCollector.hpp │ ├── ResultSet.cpp │ ├── ResultSet.hpp │ ├── SelectResultsIterator.cpp │ ├── SelectResultsIterator.hpp │ ├── Serializable.cpp │ ├── Serializable.hpp │ ├── String.hpp │ ├── Struct.cpp │ ├── Struct.hpp │ ├── StructSet.cpp │ ├── StructSet.hpp │ ├── SystemProperties.cpp │ ├── SystemProperties.hpp │ ├── TimeUtils.hpp │ ├── TransactionEvent.cpp │ ├── TransactionEvent.hpp │ ├── TransactionId.hpp │ ├── TransactionListenerAdapter.hpp │ ├── TransactionWriterAdapter.hpp │ ├── TypeRegistry.cpp │ ├── TypeRegistry.hpp │ ├── UserFunctionExecutionException.cpp │ ├── UserFunctionExecutionException.hpp │ ├── Utils.cpp │ ├── Utils.hpp │ ├── begin_native.hpp │ ├── end_native.hpp │ ├── geode_defs.hpp │ ├── geode_includes.cpp │ ├── geode_includes.hpp │ ├── impl │ │ ├── AppDomainContext.cpp │ │ ├── AppDomainContext.hpp │ │ ├── AssemblyInfo.cpp.in │ │ ├── AuthenticatedView.cpp │ │ ├── AuthenticatedView.hpp │ │ ├── CacheListener.hpp │ │ ├── CacheLoader.hpp │ │ ├── CacheResolver.cpp │ │ ├── CacheResolver.hpp │ │ ├── CacheWriter.hpp │ │ ├── CliCallbackDelgate.cpp │ │ ├── CliCallbackDelgate.hpp │ │ ├── CqListenerProxy.hpp │ │ ├── CqStatusListenerProxy.hpp │ │ ├── DelegateWrapper.hpp │ │ ├── DotNetTypes.hpp │ │ ├── EnumInfo.cpp │ │ ├── EnumInfo.hpp │ │ ├── FixedPartitionResolver.hpp │ │ ├── GeodeDataInputStream.hpp │ │ ├── GeodeDataOutputStream.hpp │ │ ├── GeodeNullStream.hpp │ │ ├── ManagedAuthInitialize.cpp │ │ ├── ManagedAuthInitialize.hpp │ │ ├── ManagedCacheListener.cpp │ │ ├── ManagedCacheListener.hpp │ │ ├── ManagedCacheLoader.cpp │ │ ├── ManagedCacheLoader.hpp │ │ ├── ManagedCacheWriter.cpp │ │ ├── ManagedCacheWriter.hpp │ │ ├── ManagedCacheableDelta.cpp │ │ ├── ManagedCacheableDelta.hpp │ │ ├── ManagedCacheableKey.cpp │ │ ├── ManagedCacheableKey.hpp │ │ ├── ManagedCqListener.cpp │ │ ├── ManagedCqListener.hpp │ │ ├── ManagedCqStatusListener.cpp │ │ ├── ManagedCqStatusListener.hpp │ │ ├── ManagedFixedPartitionResolver.cpp │ │ ├── ManagedFixedPartitionResolver.hpp │ │ ├── ManagedPartitionResolver.cpp │ │ ├── ManagedPartitionResolver.hpp │ │ ├── ManagedPersistenceManager.cpp │ │ ├── ManagedPersistenceManager.hpp │ │ ├── ManagedResultCollector.cpp │ │ ├── ManagedResultCollector.hpp │ │ ├── ManagedString.hpp │ │ ├── ManagedTransactionListener.cpp │ │ ├── ManagedTransactionListener.hpp │ │ ├── ManagedTransactionWriter.cpp │ │ ├── ManagedTransactionWriter.hpp │ │ ├── ManagedVisitor.cpp │ │ ├── ManagedVisitor.hpp │ │ ├── PartitionResolver.hpp │ │ ├── PdxFieldType.cpp │ │ ├── PdxFieldType.hpp │ │ ├── PdxHelper.cpp │ │ ├── PdxHelper.hpp │ │ ├── PdxInstanceFactoryImpl.cpp │ │ ├── PdxInstanceFactoryImpl.hpp │ │ ├── PdxInstanceImpl.cpp │ │ ├── PdxInstanceImpl.hpp │ │ ├── PdxLocalReader.cpp │ │ ├── PdxLocalReader.hpp │ │ ├── PdxLocalWriter.cpp │ │ ├── PdxLocalWriter.hpp │ │ ├── PdxManagedCacheableKey.cpp │ │ ├── PdxManagedCacheableKey.hpp │ │ ├── PdxReaderWithTypeCollector.cpp │ │ ├── PdxReaderWithTypeCollector.hpp │ │ ├── PdxRemotePreservedData.hpp │ │ ├── PdxRemoteReader.cpp │ │ ├── PdxRemoteReader.hpp │ │ ├── PdxRemoteWriter.cpp │ │ ├── PdxRemoteWriter.hpp │ │ ├── PdxType.cpp │ │ ├── PdxType.hpp │ │ ├── PdxTypeRegistry.cpp │ │ ├── PdxTypeRegistry.hpp │ │ ├── PdxWrapper.hpp │ │ ├── PdxWriterWithTypeCollector.cpp │ │ ├── PdxWriterWithTypeCollector.hpp │ │ ├── PersistenceManagerProxy.hpp │ │ ├── RegionImpl.cpp │ │ ├── RegionImpl.hpp │ │ ├── ResultCollectorProxy.hpp │ │ ├── SafeConvert.hpp │ │ ├── TransactionListener.hpp │ │ ├── TransactionWriter.hpp │ │ └── WeakhashMap.hpp │ ├── native_conditional_shared_ptr.hpp │ ├── native_conditional_unique_ptr.hpp │ ├── native_shared_ptr.hpp │ └── native_unique_ptr.hpp ├── test │ ├── AssemblyInfo.cpp.in │ ├── CMakeLists.txt │ ├── SerializableTests.cpp │ ├── StringTests.cpp │ ├── TimeUtilsTests.cpp │ ├── Utils.hpp │ ├── native_conditional_unqiue_ptrTests.cpp │ ├── native_shared_ptrTests.cpp │ ├── native_unique_ptrTests.cpp │ └── packages.config └── test2 │ ├── CMakeLists.txt │ ├── ObjectsTests.cs │ ├── Tests2.cs │ ├── packages.config │ └── xunit.runner.json ├── cmake ├── ApacheGeodeExportHeader.cmake ├── CXXFlags.cmake ├── CheckJavaClassExists.cmake ├── ClangFormat.cmake ├── ExecutableExportHeader.cmake ├── FindClangFormat.cmake ├── FindGeode.cmake ├── PrecompiledHeader.cmake ├── RatCheck.cmake └── cotire.cmake ├── cppcache ├── CMakeLists.txt ├── CPPCacheConfig.cmake ├── FindCPPCache.cmake ├── README.md ├── acceptance-test │ ├── CMakeLists.txt │ └── SNITest.cpp ├── benchmark │ ├── CMakeLists.txt │ ├── ConnectionQueueBM.cpp │ ├── GeodeHashBM.cpp │ ├── GeodeLoggingBM.cpp │ ├── NoopBM.cpp │ ├── SerializationRegistryBM.cpp │ └── main.cpp ├── include │ └── geode │ │ ├── AttributesMutator.hpp │ │ ├── AuthInitialize.hpp │ │ ├── AuthenticatedView.hpp │ │ ├── Cache.hpp │ │ ├── CacheFactory.hpp │ │ ├── CacheListener.hpp │ │ ├── CacheLoader.hpp │ │ ├── CacheStatistics.hpp │ │ ├── CacheTransactionManager.hpp │ │ ├── CacheWriter.hpp │ │ ├── CacheableBuiltins.hpp │ │ ├── CacheableDate.hpp │ │ ├── CacheableEnum.hpp │ │ ├── CacheableFileName.hpp │ │ ├── CacheableKey.hpp │ │ ├── CacheableObjectArray.hpp │ │ ├── CacheableString.hpp │ │ ├── CacheableUndefined.hpp │ │ ├── CqAttributes.hpp │ │ ├── CqAttributesFactory.hpp │ │ ├── CqAttributesMutator.hpp │ │ ├── CqEvent.hpp │ │ ├── CqListener.hpp │ │ ├── CqOperation.hpp │ │ ├── CqQuery.hpp │ │ ├── CqResults.hpp │ │ ├── CqServiceStatistics.hpp │ │ ├── CqState.hpp │ │ ├── CqStatistics.hpp │ │ ├── CqStatusListener.hpp │ │ ├── DataInput.hpp │ │ ├── DataOutput.hpp │ │ ├── DataSerializable.hpp │ │ ├── DefaultResultCollector.hpp │ │ ├── Delta.hpp │ │ ├── DiskPolicyType.hpp │ │ ├── EntryEvent.hpp │ │ ├── Exception.hpp │ │ ├── ExceptionTypes.hpp │ │ ├── Execution.hpp │ │ ├── ExpirationAction.hpp │ │ ├── ExpirationAttributes.hpp │ │ ├── FixedPartitionResolver.hpp │ │ ├── FunctionService.hpp │ │ ├── GeodeCache.hpp │ │ ├── HashMapOfPools.hpp │ │ ├── PartitionResolver.hpp │ │ ├── PdxFieldTypes.hpp │ │ ├── PdxInstance.hpp │ │ ├── PdxInstanceFactory.hpp │ │ ├── PdxReader.hpp │ │ ├── PdxSerializable.hpp │ │ ├── PdxSerializer.hpp │ │ ├── PdxUnreadFields.hpp │ │ ├── PdxWrapper.hpp │ │ ├── PdxWriter.hpp │ │ ├── PersistenceManager.hpp │ │ ├── Pool.hpp │ │ ├── PoolFactory.hpp │ │ ├── PoolManager.hpp │ │ ├── Properties.hpp │ │ ├── Query.hpp │ │ ├── QueryService.hpp │ │ ├── Region.hpp │ │ ├── RegionAttributes.hpp │ │ ├── RegionAttributesFactory.hpp │ │ ├── RegionEntry.hpp │ │ ├── RegionEvent.hpp │ │ ├── RegionFactory.hpp │ │ ├── RegionService.hpp │ │ ├── RegionShortcut.hpp │ │ ├── ResultCollector.hpp │ │ ├── ResultSet.hpp │ │ ├── SelectResults.hpp │ │ ├── Serializable.hpp │ │ ├── Serializer.hpp │ │ ├── StringPrefixPartitionResolver.hpp │ │ ├── Struct.hpp │ │ ├── StructSet.hpp │ │ ├── SystemProperties.hpp │ │ ├── TransactionId.hpp │ │ ├── TypeRegistry.hpp │ │ ├── UserFunctionExecutionException.hpp │ │ ├── WritablePdxInstance.hpp │ │ ├── internal │ │ ├── CacheableBuiltinTemplates.hpp │ │ ├── CacheableKeys.hpp │ │ ├── DSCode.hpp │ │ ├── DSFixedId.hpp │ │ ├── DataSerializableFixedId.hpp │ │ ├── DataSerializableInternal.hpp │ │ ├── DataSerializablePrimitive.hpp │ │ ├── InternalId.hpp │ │ ├── chrono │ │ │ └── duration.hpp │ │ ├── functional.hpp │ │ ├── geode_base.hpp │ │ └── geode_globals.hpp │ │ └── util │ │ └── LogLevel.hpp ├── integration-test │ ├── .clang-format │ ├── .clang-tidy │ ├── BuiltinCacheableWrappers.hpp │ ├── CMakeLists.txt │ ├── CTestCustom.cmake.in │ ├── CacheHelper.cpp │ ├── CacheHelper.hpp │ ├── CacheImplHelper.hpp │ ├── CacheableWrapper.cpp │ ├── CacheableWrapper.hpp │ ├── ClientCleanup.cpp │ ├── ClientCleanup.hpp │ ├── DeltaEx.hpp │ ├── InitSmartHeap.cpp │ ├── LibraryCallbacks.cpp │ ├── LocatorHelper.hpp │ ├── QueryHelper.hpp │ ├── QueryStrings.hpp │ ├── TallyListener.hpp │ ├── TallyLoader.hpp │ ├── TallyWriter.hpp │ ├── ThinClientCQ.hpp │ ├── ThinClientCallbackArg.hpp │ ├── ThinClientDistOps.hpp │ ├── ThinClientDistOps2.hpp │ ├── ThinClientDurable.hpp │ ├── ThinClientDurableConnect.hpp │ ├── ThinClientDurableFailover.hpp │ ├── ThinClientDurableInit.hpp │ ├── ThinClientDurableInterest.hpp │ ├── ThinClientDurableReconnect.hpp │ ├── ThinClientFailover.hpp │ ├── ThinClientFailover2.hpp │ ├── ThinClientFailover3.hpp │ ├── ThinClientFailoverInterest.hpp │ ├── ThinClientFailoverInterest2.hpp │ ├── ThinClientFailoverInterestAllWithCache.hpp │ ├── ThinClientFailoverRegex.hpp │ ├── ThinClientGatewayTest.hpp │ ├── ThinClientHeapLRU.hpp │ ├── ThinClientHelper.hpp │ ├── ThinClientInterest1.hpp │ ├── ThinClientInterest2.hpp │ ├── ThinClientInterest3.hpp │ ├── ThinClientInterest3Cacheless.hpp │ ├── ThinClientInterestList.hpp │ ├── ThinClientInterestList2.hpp │ ├── ThinClientListenerInit.hpp │ ├── ThinClientListenerWriter.hpp │ ├── ThinClientLocalCacheLoader.hpp │ ├── ThinClientMultipleCaches.hpp │ ├── ThinClientNotification.hpp │ ├── ThinClientPdxSerializer.hpp │ ├── ThinClientPdxSerializers.hpp │ ├── ThinClientPutAll.hpp │ ├── ThinClientPutAllTimeout.hpp │ ├── ThinClientPutAllWithCallBack.hpp │ ├── ThinClientPutGetAll.hpp │ ├── ThinClientRIwithlocalRegionDestroy.hpp │ ├── ThinClientRegex.hpp │ ├── ThinClientRegex2.hpp │ ├── ThinClientRegex3.hpp │ ├── ThinClientRemoveAll.hpp │ ├── ThinClientSecurity.hpp │ ├── ThinClientSecurityHelper.hpp │ ├── ThinClientTXFailover.hpp │ ├── ThinClientTasks_C2S2.hpp │ ├── ThinClientTransactions.hpp │ ├── ThinClientTransactionsXA.hpp │ ├── ThinClientVersionedOps.hpp │ ├── TimeBomb.cpp │ ├── TimeBomb.hpp │ ├── fw_dunit.cpp │ ├── fw_dunit.hpp │ ├── fw_helper.hpp │ ├── keystore │ │ ├── geode1.keystore │ │ ├── geode11.keystore │ │ ├── geode2.keystore │ │ └── publickeyfile │ ├── locator_globals.hpp │ ├── resources │ │ ├── CacheServPoolRedun1.xml │ │ ├── CacheServPoolRedun2.xml │ │ ├── CacheServPoolRedun3.xml │ │ ├── bad_schema.xml │ │ ├── cache.xml │ │ ├── cacheWriterTransaction1.xml │ │ ├── cacheserver.xml │ │ ├── cacheserver1_expiry.xml │ │ ├── cacheserver1_fpr.xml │ │ ├── cacheserver1_fpr_transaction.xml │ │ ├── cacheserver1_partitioned.xml │ │ ├── cacheserver1_partitioned_R1.xml │ │ ├── cacheserver1_partitioned_servergroup.xml │ │ ├── cacheserver1_pool.xml │ │ ├── cacheserver1_pr.xml │ │ ├── cacheserver1_pr_putall.xml │ │ ├── cacheserver2.xml │ │ ├── cacheserver2_fpr.xml │ │ ├── cacheserver2_fpr_transaction.xml │ │ ├── cacheserver2_partitioned.xml │ │ ├── cacheserver2_partitioned_R1.xml │ │ ├── cacheserver2_partitioned_servergroup.xml │ │ ├── cacheserver2_pool.xml │ │ ├── cacheserver2_pr.xml │ │ ├── cacheserver2_pr_putall.xml │ │ ├── cacheserver3.xml │ │ ├── cacheserver3_fpr.xml │ │ ├── cacheserver3_fpr_transaction.xml │ │ ├── cacheserver3_partitioned.xml │ │ ├── cacheserver3_partitioned_servergroup.xml │ │ ├── cacheserver3_pool.xml │ │ ├── cacheserver3_pr.xml │ │ ├── cacheserver3_pr_putall.xml │ │ ├── cacheserver4.xml │ │ ├── cacheserver4_pr_putall.xml │ │ ├── cacheserverForPdx.xml │ │ ├── cacheserverPdx.xml │ │ ├── cacheserverPdx2.xml │ │ ├── cacheserverPdxSerializer.xml │ │ ├── cacheserver_concurrency_enabled1.xml │ │ ├── cacheserver_concurrency_enabled2.xml │ │ ├── cacheserver_concurrency_enabled_disk1.xml │ │ ├── cacheserver_concurrency_enabled_disk2.xml │ │ ├── cacheserver_concurrency_enabled_disk_replicate1.xml │ │ ├── cacheserver_concurrency_enabled_disk_replicate2.xml │ │ ├── cacheserver_conflation.xml │ │ ├── cacheserver_interest_notify.xml │ │ ├── cacheserver_loader.xml │ │ ├── cacheserver_notify_subscription.xml │ │ ├── cacheserver_notify_subscription2.xml │ │ ├── cacheserver_notify_subscription3.xml │ │ ├── cacheserver_notify_subscription4.xml │ │ ├── cacheserver_notify_subscription5.xml │ │ ├── cacheserver_notify_subscriptionBug849.xml │ │ ├── cacheserver_notify_subscription_PutAllTimeout.xml │ │ ├── cacheserver_pdxinstance_hashcode.xml │ │ ├── cacheserver_pool_client.xml │ │ ├── cacheserver_remoteoql.xml │ │ ├── cacheserver_remoteoql2.xml │ │ ├── cacheserver_servergroup.xml │ │ ├── cacheserver_servergroup2.xml │ │ ├── cacheserver_with_delta.xml │ │ ├── cacheserver_with_delta_test_impl.xml │ │ ├── client_Loader.xml │ │ ├── cqqueryfailover.xml │ │ ├── func_cacheserver1_pool.xml │ │ ├── func_cacheserver2_pool.xml │ │ ├── func_cacheserver3_pool.xml │ │ ├── gateway1.xml │ │ ├── gateway2.xml │ │ ├── invalid_cache_pool.xml │ │ ├── invalid_cache_pool2.xml │ │ ├── invalid_cache_pool3.xml │ │ ├── invalid_cache_pool4.xml │ │ ├── invalid_overflowAttr1.xml │ │ ├── invalid_overflowAttr2.xml │ │ ├── invalid_overflowAttr3.xml │ │ ├── regionquery_diffconfig2_SG.xml │ │ ├── regionquery_diffconfig_SG.xml │ │ ├── remotequery.xml │ │ ├── remotequery2.xml │ │ ├── serverDurableClient.xml │ │ ├── system.properties │ │ ├── unnamed_pool.xml │ │ ├── valid_cache_pool.xml │ │ ├── valid_cache_refid.xml │ │ ├── valid_cache_region_refid.xml │ │ ├── valid_declarative_cache_creation.xml │ │ └── valid_overflowAttr.xml │ ├── testCacheless.cpp │ ├── testCreateAndDestroyPool.cpp │ ├── testDataOutput.cpp │ ├── testDunit.cpp │ ├── testExpiration.cpp │ ├── testFWHelper.cpp │ ├── testLinkage.cpp │ ├── testOverflowPutGetSqLite.cpp │ ├── testPdxMetadataCheckTest.cpp │ ├── testPoolFactory.cpp │ ├── testRegionAccessThreadSafe.cpp │ ├── testRegionAttributesFactory.cpp │ ├── testRegionMap.cpp │ ├── testRegionTemplateArgs.cpp │ ├── testSerialization.cpp │ ├── testSpinLock.cpp │ ├── testSubRegions.cpp │ ├── testSystemProperties.cpp │ ├── testThinClientAfterRegionLive.cpp │ ├── testThinClientBigValue.cpp │ ├── testThinClientCacheableStringArray.cpp │ ├── testThinClientCacheables.cpp │ ├── testThinClientCacheablesLimits.cpp │ ├── testThinClientCallbackArg.cpp │ ├── testThinClientClearRegion.cpp │ ├── testThinClientConflation.cpp │ ├── testThinClientContainsKeyOnServer.cpp │ ├── testThinClientCq.cpp │ ├── testThinClientCqDelta.cpp │ ├── testThinClientCqDurable.cpp │ ├── testThinClientCqFailover.cpp │ ├── testThinClientCqHAFailover.cpp │ ├── testThinClientCqIR.cpp │ ├── testThinClientDeltaWithNotification.cpp │ ├── testThinClientDisconnectionListioner.cpp │ ├── testThinClientDistOps2.cpp │ ├── testThinClientDistOpsDontUpdateLocatorList.cpp │ ├── testThinClientDistOpsNotSticky.cpp │ ├── testThinClientDistOpsSticky.cpp │ ├── testThinClientDistOpsUpdateLocatorList.cpp │ ├── testThinClientDurableConnect.cpp │ ├── testThinClientDurableCrashNormal.cpp │ ├── testThinClientDurableCrashTimeout.cpp │ ├── testThinClientDurableDisconnectNormal.cpp │ ├── testThinClientDurableDisconnectTimeout.cpp │ ├── testThinClientDurableFailoverClientClosedNoRedundancy.cpp │ ├── testThinClientDurableFailoverClientClosedRedundancy.cpp │ ├── testThinClientDurableFailoverClientNotClosedRedundancy.cpp │ ├── testThinClientDurableInterest.cpp │ ├── testThinClientDurableKeepAliveFalseNormal.cpp │ ├── testThinClientDurableKeepAliveFalseTimeout.cpp │ ├── testThinClientDurableKeepAliveTrueNormal.cpp │ ├── testThinClientDurableKeepAliveTrueTimeout.cpp │ ├── testThinClientDurableReconnect.cpp │ ├── testThinClientFailover.cpp │ ├── testThinClientFailover2.cpp │ ├── testThinClientFailover3.cpp │ ├── testThinClientFailoverInterest.cpp │ ├── testThinClientFailoverInterest2.cpp │ ├── testThinClientFailoverInterestAllWithCache.cpp │ ├── testThinClientFailoverRegex.cpp │ ├── testThinClientFixedPartitionResolver.cpp │ ├── testThinClientGatewayTest.cpp │ ├── testThinClientGetInterests.cpp │ ├── testThinClientHADistOps.cpp │ ├── testThinClientHAEventIDMap.cpp │ ├── testThinClientHAFailover.cpp │ ├── testThinClientHAFailoverRegex.cpp │ ├── testThinClientHAMixedRedundancy.cpp │ ├── testThinClientHAPeriodicAck.cpp │ ├── testThinClientHAQueryFailover.cpp │ ├── testThinClientHeapLRU.cpp │ ├── testThinClientIntResPolKeysInv.cpp │ ├── testThinClientInterest1.cpp │ ├── testThinClientInterest1Cacheless.cpp │ ├── testThinClientInterest1_Bug1001.cpp │ ├── testThinClientInterest2Pooled.cpp │ ├── testThinClientInterest3.cpp │ ├── testThinClientInterest3Cacheless.cpp │ ├── testThinClientInterestList.cpp │ ├── testThinClientInterestList2.cpp │ ├── testThinClientInterestNotify.cpp │ ├── testThinClientLRUExpiration.cpp │ ├── testThinClientLargePutAllWithCallBackArg.cpp │ ├── testThinClientListenerCallbackArgTest.cpp │ ├── testThinClientListenerEvents.cpp │ ├── testThinClientListenerInit.cpp │ ├── testThinClientListenerWriterWithSubscription.cpp │ ├── testThinClientListenerWriterWithoutSubscription.cpp │ ├── testThinClientLocalCacheLoader.cpp │ ├── testThinClientLocator.cpp │ ├── testThinClientLocatorFailover.cpp │ ├── testThinClientMultipleCaches.cpp │ ├── testThinClientNotification.cpp │ ├── testThinClientNotificationWithDeltaWithoutcache.cpp │ ├── testThinClientPRPutAllFailover.cpp │ ├── testThinClientPRSingleHopServerGroup.cpp │ ├── testThinClientPartitionResolver.cpp │ ├── testThinClientPdxDeltaWithNotification.cpp │ ├── testThinClientPdxEnum.cpp │ ├── testThinClientPdxSerializer.cpp │ ├── testThinClientPdxSerializerForJava.cpp │ ├── testThinClientPdxTests.cpp │ ├── testThinClientPoolAttrTest.cpp │ ├── testThinClientPoolExecuteFunctionThrowsException.cpp │ ├── testThinClientPoolExecuteHAFunction.cpp │ ├── testThinClientPoolExecuteHAFunctionPrSHOP.cpp │ ├── testThinClientPoolLocator.cpp │ ├── testThinClientPoolRedundancy.cpp │ ├── testThinClientPoolRegInterest.cpp │ ├── testThinClientPoolServer.cpp │ ├── testThinClientPutAll.cpp │ ├── testThinClientPutAllTimeout.cpp │ ├── testThinClientPutAllWithCallBackArgWithConcurrency.cpp │ ├── testThinClientPutAllWithCallBackArgWithoutConcurrency.cpp │ ├── testThinClientPutGetAll.cpp │ ├── testThinClientPutWithDelta.cpp │ ├── testThinClientRIwithlocalRegionDestroy.cpp │ ├── testThinClientRegex.cpp │ ├── testThinClientRegex2.cpp │ ├── testThinClientRegex3.cpp │ ├── testThinClientRegionQueryDifferentServerConfigs.cpp │ ├── testThinClientRegionQueryExclusiveness.cpp │ ├── testThinClientRemoteQueryFailover.cpp │ ├── testThinClientRemoteQueryFailoverPdx.cpp │ ├── testThinClientRemoteQueryRS.cpp │ ├── testThinClientRemoteQuerySS.cpp │ ├── testThinClientRemoteQueryTimeout.cpp │ ├── testThinClientRemoteRegionQuery.cpp │ ├── testThinClientRemoveAll.cpp │ ├── testThinClientRemoveAllLocal.cpp │ ├── testThinClientRemoveAllSequence.cpp │ ├── testThinClientRemoveOps.cpp │ ├── testThinClientSecurityAuthenticationSetAuthInitialize.cpp │ ├── testThinClientSecurityMultiUserTest.cpp │ ├── testThinClientSecurityPostAuthorization.cpp │ ├── testThinClientTXFailover.cpp │ ├── testThinClientTicket317.cpp │ ├── testThinClientTransactionsWithSticky.cpp │ ├── testThinClientTransactionsWithoutSticky.cpp │ ├── testThinClientTransactionsXA.cpp │ ├── testThinClientVersionedOps.cpp │ ├── testThinClientVersionedOpsPartitionPersistent.cpp │ ├── testThinClientVersionedOpsReplicate.cpp │ ├── testThinClientVersionedOpsReplicatePersistent.cpp │ ├── testUtils.hpp │ ├── testXmlCacheCreationWithOverFlow.cpp │ ├── testXmlCacheCreationWithPools.cpp │ ├── testXmlCacheCreationWithRefid.cpp │ └── testXmlCacheInitialization.cpp ├── integration │ ├── CMakeLists.txt │ ├── benchmark │ │ ├── CMakeLists.txt │ │ ├── PdxTypeBM.cpp │ │ ├── RegionBM.cpp │ │ ├── RegisterInterestBM.cpp │ │ └── main.cpp │ ├── framework │ │ ├── CMakeLists.txt │ │ ├── Cluster.cpp │ │ ├── Cluster.h │ │ ├── Framework.cpp │ │ ├── Framework.h │ │ ├── Gfsh.cpp │ │ ├── Gfsh.h │ │ ├── GfshExecute.cpp │ │ ├── GfshExecute.h │ │ ├── NamedType.h │ │ ├── TestConfig.cpp.in │ │ └── TestConfig.h │ └── test │ │ ├── AllowAttachTest.cpp │ │ ├── AuthInitializeTest.cpp │ │ ├── BasicIPv6Test.cpp │ │ ├── CMakeLists.txt │ │ ├── CacheWriterTest.cpp │ │ ├── CacheXmlTest.cpp │ │ ├── CachingProxyTest.cpp │ │ ├── CleanIdleConnections.cpp │ │ ├── ClientTransactionXATest.cpp │ │ ├── CommitConflictExceptionTest.cpp │ │ ├── ContainsKeyOnServerExceptionTest.cpp │ │ ├── CqPlusAuthInitializeTest.cpp │ │ ├── CqTest.cpp │ │ ├── DataSerializableTest.cpp │ │ ├── DisconnectEndPointAtException.cpp │ │ ├── EnableChunkHandlerThreadTest.cpp │ │ ├── ExampleTest.cpp │ │ ├── ExceptionTranslationTest.cpp │ │ ├── ExpirationTest.cpp │ │ ├── FunctionExecutionTest.cpp │ │ ├── HARegionCacheListenerARLEPDTest.cpp │ │ ├── HARegionCacheListenerARLTest.cpp │ │ ├── HARegionCacheListenerKeyValueTest.cpp │ │ ├── HARegionCacheListenerTest.cpp │ │ ├── HARegionCacheListenerWithClusterRegionTest.cpp │ │ ├── LRUEvictionTest.cpp │ │ ├── LocalRegionCacheListenerTest.cpp │ │ ├── LocatorRequestsTest.cpp │ │ ├── Order.cpp │ │ ├── Order.hpp │ │ ├── PartitionRegionOpsTest.cpp │ │ ├── PdxInstanceFactoryTest.cpp │ │ ├── PdxInstanceTest.cpp │ │ ├── PdxJsonTypeTest.cpp │ │ ├── PdxSerializerTest.cpp │ │ ├── PdxTypeRegistryTest.cpp │ │ ├── Position.cpp │ │ ├── Position.hpp │ │ ├── PositionKey.cpp │ │ ├── PositionKey.hpp │ │ ├── RegionGetAllTest.cpp │ │ ├── RegionPutAllTest.cpp │ │ ├── RegionPutGetAllTest.cpp │ │ ├── RegisterKeysTest.cpp │ │ ├── ServerDisconnectWithListener.cpp │ │ ├── SimpleAuthInitialize.cpp │ │ ├── SimpleAuthInitialize.hpp │ │ ├── SimpleCqListener.cpp │ │ ├── SimpleCqListener.hpp │ │ ├── SslOneWayTest.cpp │ │ ├── SslTwoWayTest.cpp │ │ ├── StructTest.cpp │ │ ├── TransactionCleaningTest.cpp │ │ ├── TransactionsTest.cpp │ │ ├── WanDeserializationTest.cpp │ │ ├── func_cacheserver1_pool.xml │ │ ├── func_cacheserver2_pool.xml │ │ ├── gmock_actions.hpp │ │ ├── mock │ │ └── CacheListenerMock.hpp │ │ ├── resources │ │ ├── lowmemory_cacheserver.xml │ │ ├── pdxjson_cacheserver.xml │ │ ├── pr_app_client_cache.xml │ │ └── pr_lib_client_cache.xml │ │ └── utility │ │ └── make_unique.hpp ├── internal │ ├── CMakeLists.txt │ └── hacks │ │ ├── AceThreadId.h │ │ └── range.h ├── shared │ └── CMakeLists.txt ├── src │ ├── AdminRegion.cpp │ ├── AdminRegion.hpp │ ├── AppDomainContext.cpp │ ├── AppDomainContext.hpp │ ├── AttributesMutator.cpp │ ├── AuthenticatedView.cpp │ ├── AutoDelete.hpp │ ├── BucketServerLocation.hpp │ ├── Cache.cpp │ ├── CacheFactory.cpp │ ├── CacheImpl.cpp │ ├── CacheImpl.hpp │ ├── CacheListener.cpp │ ├── CacheLoader.cpp │ ├── CachePerfStats.hpp │ ├── CacheRegionHelper.cpp │ ├── CacheRegionHelper.hpp │ ├── CacheStatistics.cpp │ ├── CacheTransactionManager.cpp │ ├── CacheTransactionManagerImpl.cpp │ ├── CacheTransactionManagerImpl.hpp │ ├── CacheWriter.cpp │ ├── CacheXmlCreation.cpp │ ├── CacheXmlCreation.hpp │ ├── CacheXmlParser.cpp │ ├── CacheXmlParser.hpp │ ├── CacheableBuiltins.cpp │ ├── CacheableDate.cpp │ ├── CacheableEnum.cpp │ ├── CacheableFileName.cpp │ ├── CacheableObjectArray.cpp │ ├── CacheableObjectPartList.cpp │ ├── CacheableObjectPartList.hpp │ ├── CacheableString.cpp │ ├── CacheableToken.cpp │ ├── CacheableToken.hpp │ ├── CacheableUndefined.cpp │ ├── ClientConnectionRequest.cpp │ ├── ClientConnectionRequest.hpp │ ├── ClientConnectionResponse.cpp │ ├── ClientConnectionResponse.hpp │ ├── ClientHealthStats.cpp │ ├── ClientHealthStats.hpp │ ├── ClientMetadata.cpp │ ├── ClientMetadata.hpp │ ├── ClientMetadataService.cpp │ ├── ClientMetadataService.hpp │ ├── ClientProxyMembershipID.cpp │ ├── ClientProxyMembershipID.hpp │ ├── ClientProxyMembershipIDFactory.cpp │ ├── ClientProxyMembershipIDFactory.hpp │ ├── ClientReplacementRequest.cpp │ ├── ClientReplacementRequest.hpp │ ├── ConcurrentEntriesMap.cpp │ ├── ConcurrentEntriesMap.hpp │ ├── ConnectCounter.cpp │ ├── ConnectCounter.hpp │ ├── ConnectionQueue.hpp │ ├── Connector.hpp │ ├── CppCacheLibrary.cpp │ ├── CppCacheLibrary.hpp │ ├── CqAttributesFactory.cpp │ ├── CqAttributesImpl.cpp │ ├── CqAttributesImpl.hpp │ ├── CqAttributesMutator.cpp │ ├── CqEventImpl.cpp │ ├── CqEventImpl.hpp │ ├── CqListener.cpp │ ├── CqQueryImpl.cpp │ ├── CqQueryImpl.hpp │ ├── CqQueryVsdStats.cpp │ ├── CqQueryVsdStats.hpp │ ├── CqService.cpp │ ├── CqService.hpp │ ├── CqServiceVsdStats.cpp │ ├── CqServiceVsdStats.hpp │ ├── CqStatusListener.cpp │ ├── DSMemberForVersionStamp.hpp │ ├── DataInput.cpp │ ├── DataInputInternal.hpp │ ├── DataOutput.cpp │ ├── DataOutputInternal.hpp │ ├── DefaultResultCollector.cpp │ ├── DiskStoreId.cpp │ ├── DiskStoreId.hpp │ ├── DiskVersionTag.hpp │ ├── DistributedSystem.cpp │ ├── DistributedSystem.hpp │ ├── DistributedSystemImpl.cpp │ ├── DistributedSystemImpl.hpp │ ├── EntriesMap.cpp │ ├── EntriesMap.hpp │ ├── EntriesMapFactory.cpp │ ├── EntriesMapFactory.hpp │ ├── EntryEvent.cpp │ ├── EntryExpiryTask.cpp │ ├── EntryExpiryTask.hpp │ ├── EnumInfo.cpp │ ├── EnumInfo.hpp │ ├── ErrType.hpp │ ├── EventId.cpp │ ├── EventId.hpp │ ├── EventIdMap.cpp │ ├── EventIdMap.hpp │ ├── EventSource.cpp │ ├── EventSource.hpp │ ├── EventType.hpp │ ├── EvictionController.cpp │ ├── EvictionController.hpp │ ├── Exception.cpp │ ├── ExceptionTypes.cpp │ ├── Execution.cpp │ ├── ExecutionImpl.cpp │ ├── ExecutionImpl.hpp │ ├── ExpEntryProperties.hpp │ ├── ExpMapEntry.cpp │ ├── ExpMapEntry.hpp │ ├── ExpirationAttributes.cpp │ ├── ExpiryTask.cpp │ ├── ExpiryTask.hpp │ ├── ExpiryTaskManager.cpp │ ├── ExpiryTaskManager.hpp │ ├── FarSideEntryOp.cpp │ ├── FarSideEntryOp.hpp │ ├── FixedPartitionAttributesImpl.hpp │ ├── FunctionExpiryTask.hpp │ ├── FunctionMacros.hpp │ ├── FunctionService.cpp │ ├── GatewaySenderEventCallbackArgument.cpp │ ├── GatewaySenderEventCallbackArgument.hpp │ ├── GeodeCache.cpp │ ├── GetAllServersRequest.cpp │ ├── GetAllServersRequest.hpp │ ├── GetAllServersResponse.cpp │ ├── GetAllServersResponse.hpp │ ├── HashMapOfException.hpp │ ├── InterestResultPolicy.hpp │ ├── InternalCacheTransactionManager2PCImpl.cpp │ ├── InternalCacheTransactionManager2PCImpl.hpp │ ├── InternalDataView.cpp │ ├── InternalDataView.hpp │ ├── LRUAction.cpp │ ├── LRUAction.hpp │ ├── LRUEntriesMap.cpp │ ├── LRUEntriesMap.hpp │ ├── LRUEntryProperties.hpp │ ├── LRUExpMapEntry.cpp │ ├── LRUExpMapEntry.hpp │ ├── LRULocalDestroyAction.cpp │ ├── LRULocalDestroyAction.hpp │ ├── LRUMapEntry.cpp │ ├── LRUMapEntry.hpp │ ├── LRUQueue.cpp │ ├── LRUQueue.hpp │ ├── LocalRegion.cpp │ ├── LocalRegion.hpp │ ├── LocatorListRequest.cpp │ ├── LocatorListRequest.hpp │ ├── LocatorListResponse.cpp │ ├── LocatorListResponse.hpp │ ├── Log.cpp │ ├── MapEntry.hpp │ ├── MapEntryImpl.cpp │ ├── MapEntryImpl.hpp │ ├── MapEntryT.hpp │ ├── MapSegment.cpp │ ├── MapSegment.hpp │ ├── MapWithLock.hpp │ ├── MemberListForVersionStamp.cpp │ ├── MemberListForVersionStamp.hpp │ ├── NoResult.hpp │ ├── PartitionResolver.cpp │ ├── PdxFieldType.cpp │ ├── PdxFieldType.hpp │ ├── PdxHelper.cpp │ ├── PdxHelper.hpp │ ├── PdxInstanceFactory.cpp │ ├── PdxInstanceImpl.cpp │ ├── PdxInstanceImpl.hpp │ ├── PdxLocalReader.cpp │ ├── PdxLocalReader.hpp │ ├── PdxLocalWriter.cpp │ ├── PdxLocalWriter.hpp │ ├── PdxReaderWithTypeCollector.cpp │ ├── PdxReaderWithTypeCollector.hpp │ ├── PdxRemotePreservedData.hpp │ ├── PdxRemoteReader.cpp │ ├── PdxRemoteReader.hpp │ ├── PdxRemoteWriter.cpp │ ├── PdxRemoteWriter.hpp │ ├── PdxSerializable.cpp │ ├── PdxSerializer.cpp │ ├── PdxType.cpp │ ├── PdxType.hpp │ ├── PdxTypeRegistry.cpp │ ├── PdxTypeRegistry.hpp │ ├── PdxTypes.hpp │ ├── PdxWrapper.cpp │ ├── PdxWriterWithTypeCollector.cpp │ ├── PdxWriterWithTypeCollector.hpp │ ├── PersistenceManager.cpp │ ├── Pool.cpp │ ├── PoolAttributes.cpp │ ├── PoolAttributes.hpp │ ├── PoolFactory.cpp │ ├── PoolManager.cpp │ ├── PoolManagerImpl.cpp │ ├── PoolManagerImpl.hpp │ ├── PoolStatistics.cpp │ ├── PoolStatistics.hpp │ ├── PoolXmlCreation.cpp │ ├── PoolXmlCreation.hpp │ ├── PreservedDataExpiryTask.cpp │ ├── PreservedDataExpiryTask.hpp │ ├── Properties.cpp │ ├── ProxyRegion.hpp │ ├── ProxyRemoteQueryService.cpp │ ├── ProxyRemoteQueryService.hpp │ ├── PutAllPartialResult.cpp │ ├── PutAllPartialResult.hpp │ ├── PutAllPartialResultServerException.cpp │ ├── PutAllPartialResultServerException.hpp │ ├── Queue.hpp │ ├── QueueConnectionRequest.cpp │ ├── QueueConnectionRequest.hpp │ ├── QueueConnectionResponse.cpp │ ├── QueueConnectionResponse.hpp │ ├── Region.cpp │ ├── RegionAttributes.cpp │ ├── RegionAttributesFactory.cpp │ ├── RegionCommit.cpp │ ├── RegionCommit.hpp │ ├── RegionConfig.cpp │ ├── RegionConfig.hpp │ ├── RegionEntry.cpp │ ├── RegionEvent.cpp │ ├── RegionExpiryTask.cpp │ ├── RegionExpiryTask.hpp │ ├── RegionFactory.cpp │ ├── RegionGlobalLocks.hpp │ ├── RegionInternal.cpp │ ├── RegionInternal.hpp │ ├── RegionService.cpp │ ├── RegionStats.cpp │ ├── RegionStats.hpp │ ├── RegionXmlCreation.cpp │ ├── RegionXmlCreation.hpp │ ├── RemoteQuery.cpp │ ├── RemoteQuery.hpp │ ├── RemoteQueryService.cpp │ ├── RemoteQueryService.hpp │ ├── ResultSetImpl.cpp │ ├── ResultSetImpl.hpp │ ├── Serializable.cpp │ ├── SerializableHelper.hpp │ ├── SerializationRegistry.cpp │ ├── SerializationRegistry.hpp │ ├── ServerLocation.hpp │ ├── ServerLocationRequest.hpp │ ├── ServerLocationResponse.hpp │ ├── StackTrace.cpp │ ├── StackTrace.hpp │ ├── StreamDataInput.cpp │ ├── StreamDataInput.hpp │ ├── StringPrefixPartitionResolver.cpp │ ├── Struct.cpp │ ├── StructSetImpl.cpp │ ├── StructSetImpl.hpp │ ├── SuspendedTxExpiryTask.cpp │ ├── SuspendedTxExpiryTask.hpp │ ├── SystemProperties.cpp │ ├── TSSTXStateWrapper.cpp │ ├── TSSTXStateWrapper.hpp │ ├── TXCleaner.cpp │ ├── TXCleaner.hpp │ ├── TXCommitMessage.cpp │ ├── TXCommitMessage.hpp │ ├── TXEntryState.cpp │ ├── TXEntryState.hpp │ ├── TXId.cpp │ ├── TXId.hpp │ ├── TXState.cpp │ ├── TXState.hpp │ ├── TableOfPrimes.hpp │ ├── Task.hpp │ ├── TcpConn.cpp │ ├── TcpConn.hpp │ ├── TcpSslConn.cpp │ ├── TcpSslConn.hpp │ ├── TcrChunkedContext.hpp │ ├── TcrConnection.cpp │ ├── TcrConnection.hpp │ ├── TcrConnectionManager.cpp │ ├── TcrConnectionManager.hpp │ ├── TcrDistributionManager.cpp │ ├── TcrDistributionManager.hpp │ ├── TcrEndpoint.cpp │ ├── TcrEndpoint.hpp │ ├── TcrHADistributionManager.cpp │ ├── TcrHADistributionManager.hpp │ ├── TcrMessage.cpp │ ├── TcrMessage.hpp │ ├── TcrPoolEndPoint.cpp │ ├── TcrPoolEndPoint.hpp │ ├── ThinClientBaseDM.cpp │ ├── ThinClientBaseDM.hpp │ ├── ThinClientCacheDistributionManager.cpp │ ├── ThinClientCacheDistributionManager.hpp │ ├── ThinClientDistributionManager.cpp │ ├── ThinClientDistributionManager.hpp │ ├── ThinClientHARegion.cpp │ ├── ThinClientHARegion.hpp │ ├── ThinClientLocatorHelper.cpp │ ├── ThinClientLocatorHelper.hpp │ ├── ThinClientPoolDM.cpp │ ├── ThinClientPoolDM.hpp │ ├── ThinClientPoolHADM.cpp │ ├── ThinClientPoolHADM.hpp │ ├── ThinClientPoolRegion.cpp │ ├── ThinClientPoolRegion.hpp │ ├── ThinClientPoolStickyDM.cpp │ ├── ThinClientPoolStickyDM.hpp │ ├── ThinClientPoolStickyHADM.hpp │ ├── ThinClientRedundancyManager.cpp │ ├── ThinClientRedundancyManager.hpp │ ├── ThinClientRegion.cpp │ ├── ThinClientRegion.hpp │ ├── ThinClientStickyManager.cpp │ ├── ThinClientStickyManager.hpp │ ├── ThreadPool.cpp │ ├── ThreadPool.hpp │ ├── TombstoneEntry.hpp │ ├── TombstoneExpiryTask.cpp │ ├── TombstoneExpiryTask.hpp │ ├── TombstoneList.cpp │ ├── TombstoneList.hpp │ ├── TrackedMapEntry.cpp │ ├── TrackedMapEntry.hpp │ ├── TransactionId.cpp │ ├── TransactionSuspender.cpp │ ├── TransactionSuspender.hpp │ ├── TransactionalOperation.cpp │ ├── TransactionalOperation.hpp │ ├── TssConnectionWrapper.cpp │ ├── TssConnectionWrapper.hpp │ ├── TypeRegistry.cpp │ ├── UserAttributes.cpp │ ├── UserAttributes.hpp │ ├── UserFunctionExecutionException.cpp │ ├── Utils.cpp │ ├── Utils.hpp │ ├── Version.cpp │ ├── Version.hpp │ ├── VersionStamp.cpp │ ├── VersionStamp.hpp │ ├── VersionTag.cpp │ ├── VersionTag.hpp │ ├── VersionedCacheableObjectPartList.cpp │ ├── VersionedCacheableObjectPartList.hpp │ ├── apache-geode.rc │ ├── config.h.in │ ├── dllmain.cpp │ ├── geodeBanner.cpp │ ├── geodeBanner.hpp │ ├── internal │ │ └── chrono │ │ │ └── duration.cpp │ ├── statistics │ │ ├── AtomicStatisticsImpl.cpp │ │ ├── AtomicStatisticsImpl.hpp │ │ ├── GeodeStatisticsFactory.cpp │ │ ├── GeodeStatisticsFactory.hpp │ │ ├── HostStatSampler.cpp │ │ ├── HostStatSampler.hpp │ │ ├── OsStatisticsImpl.cpp │ │ ├── OsStatisticsImpl.hpp │ │ ├── PoolStatsSampler.cpp │ │ ├── PoolStatsSampler.hpp │ │ ├── ProcessStats.cpp │ │ ├── ProcessStats.hpp │ │ ├── StatArchiveWriter.cpp │ │ ├── StatArchiveWriter.hpp │ │ ├── StatSamplerStats.cpp │ │ ├── StatSamplerStats.hpp │ │ ├── StatisticDescriptor.hpp │ │ ├── StatisticDescriptorImpl.cpp │ │ ├── StatisticDescriptorImpl.hpp │ │ ├── Statistics.cpp │ │ ├── Statistics.hpp │ │ ├── StatisticsFactory.hpp │ │ ├── StatisticsManager.cpp │ │ ├── StatisticsManager.hpp │ │ ├── StatisticsType.hpp │ │ ├── StatisticsTypeImpl.cpp │ │ ├── StatisticsTypeImpl.hpp │ │ └── StatsDef.hpp │ ├── util │ │ ├── JavaModifiedUtf8.cpp │ │ ├── JavaModifiedUtf8.hpp │ │ ├── Log.hpp │ │ ├── bounds.hpp │ │ ├── chrono │ │ │ ├── duration_bounds.hpp │ │ │ ├── time_point.cpp │ │ │ └── time_point.hpp │ │ ├── concurrent │ │ │ ├── binary_semaphore.cpp │ │ │ ├── binary_semaphore.hpp │ │ │ ├── spinlock_mutex.cpp │ │ │ └── spinlock_mutex.hpp │ │ ├── exception.hpp │ │ ├── queue.hpp │ │ ├── string.cpp │ │ ├── string.hpp │ │ ├── synchronized_map.hpp │ │ ├── synchronized_set.hpp │ │ └── type_traits.hpp │ └── version.h.in ├── static │ └── CMakeLists.txt └── test │ ├── AutoDeleteTest.cpp │ ├── ByteArray.cpp │ ├── ByteArray.hpp │ ├── ByteArrayFixture.cpp │ ├── ByteArrayFixture.hpp │ ├── ByteArrayTest.cpp │ ├── CMakeLists.txt │ ├── CacheTest.cpp │ ├── CacheXmlParserTest.cpp │ ├── CacheableDateTest.cpp │ ├── CacheableKeyCreateTests.cpp │ ├── CacheableKeysTest.cpp │ ├── CacheableStringEqualityTest.cpp │ ├── CacheableStringTests.cpp │ ├── ChunkedHeaderTest.cpp │ ├── ClientConnectionResponseTest.cpp │ ├── ClientMetadataServiceTest.cpp │ ├── ClientProxyMembershipIDTest.cpp │ ├── ConnectionQueueTest.cpp │ ├── DataInputTest.cpp │ ├── DataOutputTest.cpp │ ├── ExceptionTypesTest.cpp │ ├── ExpiryTaskManagerTest.cpp │ ├── ExpiryTaskTest.cpp │ ├── GatewaySenderEventCallbackArgumentTest.cpp │ ├── LRUQueueTest.cpp │ ├── LocalRegionTest.cpp │ ├── LoggingTest.cpp │ ├── PartitionTest.cpp │ ├── PdxInstanceImplTest.cpp │ ├── PdxTypeTest.cpp │ ├── QueueConnectionRequestTest.cpp │ ├── RegionAttributesFactoryTest.cpp │ ├── SerializableCreateTests.cpp │ ├── StreamDataInputTest.cpp │ ├── StringPrefixPartitionResolverTest.cpp │ ├── StructSetTest.cpp │ ├── TXIdTest.cpp │ ├── TcrConnectionTest.cpp │ ├── TcrMessageTest.cpp │ ├── ThreadPoolTest.cpp │ ├── geodeBannerTest.cpp │ ├── gmock_extensions.h │ ├── gtest_extensions.h │ ├── mock │ ├── ClientMetadataMock.hpp │ ├── ConnectorMock.hpp │ ├── MapEntryImplMock.hpp │ └── MockExpiryTask.hpp │ ├── statistics │ └── HostStatSamplerTest.cpp │ └── util │ ├── JavaModifiedUtf8Tests.cpp │ ├── TestableRecursiveMutex.hpp │ ├── chrono │ └── durationTest.cpp │ ├── functionalTests.cpp │ ├── queueTest.cpp │ ├── synchronized_mapTest.cpp │ └── synchronized_setTest.cpp ├── defaultSystem └── geode.properties ├── dependencies ├── CMakeLists.txt ├── benchmark │ ├── CMakeLists.txt │ └── patches ├── boost │ └── CMakeLists.txt ├── doxygen │ └── CMakeLists.txt ├── gtest │ └── CMakeLists.txt ├── rat │ └── CMakeLists.txt ├── sqlite-netFx │ └── CMakeLists.txt ├── sqlite │ ├── CMakeLists.txt │ └── CMakeLists.txt.in └── xerces-c │ └── CMakeLists.txt ├── dist ├── LICENSE └── NOTICE ├── docker ├── centos-7 │ ├── Dockerfile │ └── bellsoft.repo ├── centos-8 │ ├── Dockerfile │ └── bellsoft.repo ├── rhel-7 │ ├── Dockerfile │ └── bellsoft.repo ├── rhel-8 │ ├── Dockerfile │ └── bellsoft.repo ├── ubuntu-16.04 │ └── Dockerfile ├── ubuntu-18.04 │ └── Dockerfile ├── ubuntu-20.04 │ └── Dockerfile └── windows │ ├── Dockerfile │ └── README.md ├── docs ├── README.md ├── api │ ├── CMakeLists.txt │ ├── DocIndex.css │ ├── c-footer.html │ ├── clicache │ │ ├── CMakeLists.txt │ │ ├── Doxyfile.in │ │ ├── footer.html │ │ └── gemFireDotNETLogo.png │ ├── common-Doxyfile │ ├── cppcache │ │ ├── CMakeLists.txt │ │ ├── Doxyfile.in │ │ ├── footer.html │ │ └── gemFireCPPLogo.png │ ├── doclet │ │ └── package-list │ ├── log4j │ │ └── package-list │ ├── native_delta_propagation.doc │ ├── native_delta_propagation_doc.pdf │ ├── unix_index.html │ └── win_index.html ├── docker │ ├── Dockerfile │ └── preview-user-guide.sh ├── geode-native-book-cpp │ ├── .gitignore │ ├── Gemfile │ ├── Gemfile.lock │ ├── config.yml │ ├── master_middleman │ │ └── source │ │ │ ├── archive_menus │ │ │ └── _default.erb │ │ │ ├── images │ │ │ ├── Apache_Geode_logo_symbol.png │ │ │ ├── Apache_Geode_logo_symbol_white.png │ │ │ └── favicon.ico │ │ │ ├── javascripts │ │ │ ├── book.js │ │ │ └── waypoints │ │ │ │ ├── context.js │ │ │ │ ├── group.js │ │ │ │ ├── noframeworkAdapter.js │ │ │ │ ├── sticky.js │ │ │ │ └── waypoint.js │ │ │ ├── layouts │ │ │ ├── _book-footer.erb │ │ │ ├── _header.erb │ │ │ ├── _local-header.erb │ │ │ └── _title.erb │ │ │ ├── stylesheets │ │ │ ├── book-styles.scss │ │ │ └── partials │ │ │ │ ├── _book-base-values.scss │ │ │ │ └── _book-vars.scss │ │ │ └── subnavs │ │ │ └── geode-nc-nav.erb │ └── redirects.rb ├── geode-native-book-dotnet │ ├── .gitignore │ ├── Gemfile │ ├── Gemfile.lock │ ├── config.yml │ ├── master_middleman │ │ └── source │ │ │ ├── archive_menus │ │ │ └── _default.erb │ │ │ ├── images │ │ │ ├── Apache_Geode_logo_symbol.png │ │ │ ├── Apache_Geode_logo_symbol_white.png │ │ │ └── favicon.ico │ │ │ ├── javascripts │ │ │ ├── book.js │ │ │ └── waypoints │ │ │ │ ├── context.js │ │ │ │ ├── group.js │ │ │ │ ├── noframeworkAdapter.js │ │ │ │ ├── sticky.js │ │ │ │ └── waypoint.js │ │ │ ├── layouts │ │ │ ├── _book-footer.erb │ │ │ ├── _header.erb │ │ │ ├── _local-header.erb │ │ │ └── _title.erb │ │ │ ├── stylesheets │ │ │ ├── book-styles.scss │ │ │ └── partials │ │ │ │ ├── _book-base-values.scss │ │ │ │ └── _book-vars.scss │ │ │ └── subnavs │ │ │ └── geode-nc-nav.erb │ └── redirects.rb ├── geode-native-docs-cpp │ ├── about-client-users-guide.html.md.erb │ ├── client-cache-ref.html.md.erb │ ├── configuring │ │ ├── config-client-cache.html.md.erb │ │ ├── configuration.html.md.erb │ │ ├── sysprops.html.md.erb │ │ └── system-level-configuration.html.md.erb │ ├── connection-pools │ │ ├── client-pool-api.html.md.erb │ │ ├── configuring-pools-attributes-example.html.md.erb │ │ ├── configuring-pools.html.md.erb │ │ └── subscription-properties.html.md.erb │ ├── continuous-queries.html.md.erb │ ├── function-execution.html.md.erb │ ├── getting-started │ │ ├── app-dev-walkthrough-cpp.html.md.erb │ │ ├── getting-started-nc-client.html.md.erb │ │ └── put-get-example.html.md.erb │ ├── images │ │ ├── 7-Preserving_Data-2.gif │ │ └── client-server-arch.gif │ ├── regions │ │ ├── region-attributes.html.md.erb │ │ ├── regions.html.md.erb │ │ └── registering-interest-for-entries.html.md.erb │ ├── remote-queries.html.md.erb │ ├── security │ │ ├── SampleAuth.cpp │ │ ├── SampleAuth.cs │ │ ├── authentication.html.md.erb │ │ ├── security.html.md.erb │ │ └── sslclientserver.html.md.erb │ ├── serialization │ │ ├── cpp-serialization │ │ │ ├── cpp-pdx-serialization.html.md.erb │ │ │ ├── pdx-serializable-examples.html.md.erb │ │ │ └── pdxserializable-interface.html.md.erb │ │ └── data-serialization.html.md.erb │ └── transactions.html.md.erb └── geode-native-docs-dotnet │ ├── about-client-users-guide.html.md.erb │ ├── client-cache-ref.html.md.erb │ ├── configuring │ ├── config-client-cache.html.md.erb │ ├── configuration.html.md.erb │ ├── sysprops.html.md.erb │ └── system-level-configuration.html.md.erb │ ├── connection-pools │ ├── client-pool-api.html.md.erb │ ├── configuring-pools-attributes-example.html.md.erb │ ├── configuring-pools.html.md.erb │ └── subscription-properties.html.md.erb │ ├── continuous-queries.html.md.erb │ ├── function-execution.html.md.erb │ ├── getting-started │ ├── app-dev-walkthrough-dotnet.html.md.erb │ ├── getting-started-nc-client.html.md.erb │ └── put-get-example.html.md.erb │ ├── images │ ├── 7-Preserving_Data-2.gif │ └── client-server-arch.gif │ ├── preserving-data │ ├── app-ops-during-int-reg.html.md.erb │ ├── client-side-config.html.md.erb │ ├── config-durable-interest-keys.html.md.erb │ ├── config-durable-reconnect.html.md.erb │ ├── configuring-durable-nc.html.md.erb │ ├── configuring-nc-ha.html.md.erb │ ├── disconnecting-from-server.html.md.erb │ ├── disconnection.html.md.erb │ ├── durable-client-life-cycle.html.md.erb │ ├── durable-client-messaging-req.html.md.erb │ ├── durable-client-messaging.html.md.erb │ ├── durable-message-replay.html.md.erb │ ├── high-availability-client-server.html.md.erb │ ├── impl-cache-listeners-durable-clients.html.md.erb │ ├── initial-operation.html.md.erb │ ├── preserving-data.html.md.erb │ ├── reconnection.html.md.erb │ ├── sending-cache-ready-message.html.md.erb │ ├── sending-periodic-ack.html.md.erb │ └── using-queue-conflation.html.md.erb │ ├── regions │ ├── region-attributes.html.md.erb │ ├── regions.html.md.erb │ └── registering-interest-for-entries.html.md.erb │ ├── remote-queries.html.md.erb │ ├── security │ ├── SampleAuth.cs │ ├── authentication.html.md.erb │ ├── security.html.md.erb │ └── sslclientserver.html.md.erb │ ├── serialization │ ├── data-serialization.html.md.erb │ └── dotnet-serialization │ │ ├── dotnet-pdx-autoserializer.html.md.erb │ │ ├── dotnet-pdx-serialization.html.md.erb │ │ ├── pdx-serializable-examples.html.md.erb │ │ └── serialize-using-ipdxserializable.html.md.erb │ └── transactions.html.md.erb ├── etc └── format.vssettings ├── examples ├── BUILD-EXAMPLES.md ├── CMakeLists.txt ├── CMakeLists.txt.in ├── cmake │ └── FindGeodeNative.cmake.in ├── cpp │ ├── CMakeLists.txt │ ├── CMakeLists.txt.cpp_example.in │ ├── CMakeLists.txt.in │ ├── authinitialize │ │ ├── README.md │ │ ├── exampleAuthInitialize.cpp │ │ ├── exampleAuthInitialize.hpp │ │ ├── main.cpp │ │ ├── startserver.ps1 │ │ ├── startserver.sh │ │ ├── stopserver.ps1 │ │ └── stopserver.sh │ ├── continuousquery │ │ ├── Order.cpp │ │ ├── Order.hpp │ │ ├── README.md │ │ ├── main.cpp │ │ ├── startserver.ps1 │ │ ├── startserver.sh │ │ ├── stopserver.ps1 │ │ └── stopserver.sh │ ├── dataserializable │ │ ├── Order.cpp │ │ ├── Order.hpp │ │ ├── README.md │ │ ├── main.cpp │ │ ├── startserver.ps1 │ │ ├── startserver.sh │ │ ├── stopserver.ps1 │ │ └── stopserver.sh │ ├── functionexecution │ │ ├── README.md │ │ ├── main.cpp │ │ ├── startserver.ps1 │ │ ├── startserver.sh │ │ ├── stopserver.ps1 │ │ └── stopserver.sh │ ├── pdxserializable │ │ ├── Order.cpp │ │ ├── Order.hpp │ │ ├── README.md │ │ ├── main.cpp │ │ ├── startserver.ps1 │ │ ├── startserver.sh │ │ ├── stopserver.ps1 │ │ └── stopserver.sh │ ├── pdxserializer │ │ ├── Order.cpp │ │ ├── Order.hpp │ │ ├── OrderSerializer.cpp │ │ ├── OrderSerializer.hpp │ │ ├── README.md │ │ ├── main.cpp │ │ ├── startserver.ps1 │ │ ├── startserver.sh │ │ ├── stopserver.ps1 │ │ └── stopserver.sh │ ├── putgetremove │ │ ├── README.md │ │ ├── main.cpp │ │ ├── startserver.ps1 │ │ ├── startserver.sh │ │ ├── stopserver.ps1 │ │ └── stopserver.sh │ ├── remotequery │ │ ├── Order.cpp │ │ ├── Order.hpp │ │ ├── README.md │ │ ├── main.cpp │ │ ├── startserver.ps1 │ │ ├── startserver.sh │ │ ├── stopserver.ps1 │ │ └── stopserver.sh │ ├── sslputget │ │ ├── CMakeLists.txt │ │ ├── CMakeLists.txt.in │ │ ├── README.md │ │ ├── main.cpp │ │ ├── startserver.ps1 │ │ ├── startserver.sh │ │ ├── stopserver.ps1 │ │ └── stopserver.sh │ └── transaction │ │ ├── README.md │ │ ├── main.cpp │ │ ├── startserver.ps1 │ │ ├── startserver.sh │ │ ├── stopserver.ps1 │ │ └── stopserver.sh ├── dotnet │ ├── CMakeLists.txt │ ├── CMakeLists.txt.dotnet_example.in │ ├── CMakeLists.txt.in │ ├── authinitialize │ │ ├── ExampleAuthInitialize.cs │ │ ├── Program.cs │ │ ├── README.md │ │ ├── startserver.ps1 │ │ └── stopserver.ps1 │ ├── classaskey │ │ ├── CMakeLists.txt │ │ ├── PhotosKey.cs │ │ ├── PhotosValue.cs │ │ ├── Program.cs │ │ ├── README.md │ │ ├── startserver.ps1 │ │ └── stopserver.ps1 │ ├── continuousquery │ │ ├── MyCqListener.cs │ │ ├── Order.cs │ │ ├── Program.cs │ │ ├── README.md │ │ ├── startserver.ps1 │ │ └── stopserver.ps1 │ ├── dataserializable │ │ ├── Order.cs │ │ ├── Program.cs │ │ ├── README.md │ │ ├── startserver.ps1 │ │ └── stopserver.ps1 │ ├── functionexecution │ │ ├── Program.cs │ │ ├── README.md │ │ ├── startserver.ps1 │ │ └── stopserver.ps1 │ ├── pdxautoserializer │ │ ├── Order.cs │ │ ├── Program.cs │ │ ├── README.md │ │ ├── startserver.ps1 │ │ └── stopserver.ps1 │ ├── pdxserializable │ │ ├── Order.cs │ │ ├── Program.cs │ │ ├── README.md │ │ ├── startserver.ps1 │ │ └── stopserver.ps1 │ ├── putgetremove │ │ ├── Program.cs │ │ ├── README.md │ │ ├── startserver.ps1 │ │ └── stopserver.ps1 │ ├── remotequery │ │ ├── CMakeLists.txt │ │ ├── Order.cs │ │ ├── Program.cs │ │ ├── README.md │ │ ├── startserver.ps1 │ │ └── stopserver.ps1 │ ├── sslputget │ │ ├── CMakeLists.txt │ │ ├── CMakeLists.txt.in │ │ ├── Program.cs │ │ ├── README.md │ │ ├── startserver.ps1 │ │ └── stopserver.ps1 │ └── transaction │ │ ├── Program.cs │ │ ├── README.md │ │ ├── startserver.ps1 │ │ └── stopserver.ps1 └── utilities │ ├── CMakeLists.txt │ ├── CMakeLists.txt.in │ ├── ExampleMultiGetFunction.java │ ├── InstantiateDataSerializable.java │ ├── PhotosKey.java │ ├── SimpleSecurityManager.java │ ├── UserPasswordAuthInit.java │ ├── UsernamePrincipal.java │ └── startserver.sh ├── executables └── GacInstall │ ├── AssemblyInfo.cs │ └── Program.cs ├── packer ├── build-rhel-7.json ├── build-rhel-8.json ├── build-ubuntu-16-04.json ├── build-ubuntu-18-04.json ├── build-ubuntu-20-04.json ├── build-windows-2016-vs-2017.json ├── build-windows-2019-vs-2017.json ├── build-windows-2019-vs-2019.json ├── default.json ├── linux │ ├── aws │ │ ├── files │ │ │ └── usr │ │ │ │ └── local │ │ │ │ └── bin │ │ │ │ └── init-user.sh │ │ ├── setup-files.sh │ │ └── wait-for-cloud-init.sh │ ├── files │ │ ├── etc │ │ │ └── systemd │ │ │ │ └── system │ │ │ │ └── update-hosts.service │ │ └── usr │ │ │ └── local │ │ │ └── bin │ │ │ └── update-hosts.sh │ ├── install-cmake.sh │ ├── install-dotnet.sh │ └── setup-files.sh ├── rhel │ ├── 7 │ │ └── install-devtoolset.sh │ ├── aws │ │ ├── add-user-build.sh │ │ ├── files │ │ │ └── etc │ │ │ │ └── cloud │ │ │ │ └── cloud.cfg.d │ │ │ │ └── 10_hosts.cfg │ │ └── setup-files.sh │ ├── cleanup.sh │ ├── disable-selinux.sh │ ├── init-hosts.rc.local │ └── install-jdk-11.sh ├── ubuntu │ ├── aws │ │ └── add-user-build.sh │ ├── cleanup.sh │ ├── files │ │ ├── etc │ │ │ ├── init-user.sh │ │ │ └── systemd │ │ │ │ └── system │ │ │ │ └── update-hosts.service │ │ └── usr │ │ │ └── local │ │ │ └── bin │ │ │ └── update-hosts.sh │ ├── install-clang-format.sh │ ├── install-jdk-11.sh │ └── update.sh └── windows │ ├── 2016 │ └── aws │ │ └── startup.ps1 │ ├── 2019 │ ├── aws │ │ └── startup.ps1 │ └── install-ssh.ps1 │ ├── aws │ ├── init-ssh.ps1 │ └── setup-ec2launch.ps1 │ ├── cleanup.ps1 │ ├── disable-uac.ps1 │ ├── google │ └── init-ssh.ps1 │ ├── install-chocolatey.ps1 │ ├── install-vs-2017-community.ps1 │ └── install-vs-2019-community.ps1 ├── sni-test-config ├── docker-compose.yml ├── geode-config │ ├── gemfire.properties │ ├── gfsecurity.properties │ ├── locator-maeve-keystore.jks │ ├── server-clementine-keystore.jks │ ├── server-dolores-keystore.jks │ ├── truststore.jks │ └── truststore.p12 ├── haproxy.cfg └── scripts │ ├── forever │ ├── geode-starter-2.gfsh │ └── geode-starter.gfsh ├── sqliteimpl ├── CMakeLists.txt ├── SqLiteHelper.cpp ├── SqLiteHelper.hpp ├── SqLiteImpl.cpp └── SqLiteImpl.hpp ├── ssl_keys ├── client_keys │ ├── client_keystore.password.pem │ ├── client_keystore.pem │ ├── client_keystore_chained.pem │ ├── client_keystore_corrupt.pem │ ├── client_keystore_untrusted.pem │ ├── client_truststore.pem │ ├── client_truststore_chained_root.pem │ ├── client_truststore_corrupt.pem │ ├── client_truststore_untrusting.pem │ ├── gemfire.pem │ └── truststore_sni.pem └── server_keys │ ├── server_keystore.jks │ ├── server_keystore_chained.jks │ ├── server_keystore_chained.p12 │ ├── server_truststore.jks │ ├── server_truststore_chained_root.jks │ ├── untrusted_server_keystore.jks │ └── untrusted_server_truststore.jks ├── templates ├── CMakeLists.txt └── security │ ├── CMakeLists.txt │ ├── CMakeLists.txt.forInstall │ ├── UserPasswordAuthInit.cpp │ ├── UserPasswordAuthInit.hpp │ ├── authz-dummy.xml │ ├── authz-ldap.xml │ ├── authz-pkcs.xml │ ├── authz5_5.dtd │ └── csharp │ ├── AssemblyInfo.cs │ ├── CMakeLists.txt │ └── UserPasswordAuthInit.cs ├── tests ├── CMakeLists.txt ├── cli │ ├── .clang-format │ ├── CMakeLists.txt │ ├── DUnitFramework │ │ ├── AssemblyInfo.cs │ │ ├── CMakeLists.txt │ │ ├── ClientBase.cs │ │ ├── ClientGroup.cs │ │ ├── DUnitTestClass.cs │ │ ├── Exceptions.cs │ │ ├── IClientServerComm.cs │ │ ├── Log.cs │ │ ├── ServerCommunication.cs │ │ ├── ServerConnection.cs │ │ ├── TimeBomb.cs │ │ ├── UnitProcess.cs │ │ ├── UnitThread.cs │ │ ├── Util.cs │ │ ├── XmlNodeReaderWriter.cs │ │ └── packages.config │ ├── FwkClient │ │ ├── App.config │ │ ├── AssemblyInfo.cs │ │ ├── CMakeLists.txt │ │ ├── ClientComm.cs │ │ └── ClientProcess.cs │ ├── FwkLauncher │ │ ├── AssemblyInfo.cs │ │ ├── FwkLauncher.csproj.txt │ │ ├── LauncherComm.cs │ │ └── LauncherProcess.cs │ ├── FwkUtil │ │ ├── FwkClient.cs │ │ ├── FwkData.cs │ │ └── FwkUtil.csproj.txt │ ├── NewTestObject │ │ ├── ArrayOfByte.cs │ │ ├── BatchObject.cs │ │ ├── CMakeLists.txt │ │ ├── DeltaEx.cs │ │ ├── DeltaFastAssetAccount.cs │ │ ├── DeltaPSTObject.cs │ │ ├── DeltaTestImpl.cs │ │ ├── EqStruct.cs │ │ ├── FastAsset.cs │ │ ├── FastAssetAccount.cs │ │ ├── NoopAuthInit.cs │ │ ├── PSTObject.cs │ │ ├── PdxAutoSerializerObj.cs │ │ ├── Portfolio.cs │ │ ├── PortfolioPdx.cs │ │ ├── Position.cs │ │ ├── PositionPdx.cs │ │ ├── SimpleCacheListener.cs │ │ ├── TestObject1.cs │ │ └── TimeStampdObject.cs │ ├── PdxClassLibrary │ │ ├── CMakeLists.txt │ │ ├── PdxType.cs │ │ ├── PdxTypesReflectionTest.cs │ │ ├── Person.cs │ │ ├── PortfolioPdx.cs │ │ ├── PositionPdx.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── VariousPdxTypes.cs │ ├── PdxVersion1Lib │ │ ├── CMakeLists.txt │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── Version1.cs │ ├── PdxVersion2Lib │ │ ├── CMakeLists.txt │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── Version2.cs │ ├── QueryHelper │ │ ├── AssemblyInfo.cpp │ │ ├── CMakeLists.txt │ │ ├── QueryStringsM.cpp │ │ └── QueryStringsM.hpp │ └── SecurityUtil │ │ ├── AuthzCredentialGeneratorN.cs │ │ ├── CMakeLists.txt │ │ ├── CredentialGeneratorN.cs │ │ ├── DummyAuthorization3N.cs │ │ ├── LdapCredentialGeneratorN.cs │ │ ├── PKCSCredentialGeneratorN.cs │ │ └── XmlAuthzCredentialGeneratorN.cs ├── cpp │ ├── .clang-tidy │ ├── CMakeLists.txt │ ├── fwklib │ │ ├── CMakeLists.txt │ │ ├── FwkException.hpp │ │ ├── FwkExport.hpp │ │ ├── GsRandom.cpp │ │ └── GsRandom.hpp │ ├── security │ │ ├── CMakeLists.txt │ │ ├── CredentialGenerator.cpp │ │ ├── CredentialGenerator.hpp │ │ ├── DummyCredentialGenerator.cpp │ │ ├── DummyCredentialGenerator.hpp │ │ ├── DummyCredentialGenerator2.cpp │ │ ├── DummyCredentialGenerator2.hpp │ │ ├── DummyCredentialGenerator3.cpp │ │ ├── DummyCredentialGenerator3.hpp │ │ ├── LdapUserCredentialGenerator.cpp │ │ ├── LdapUserCredentialGenerator.hpp │ │ ├── NoopCredentialGenerator.hpp │ │ ├── PkcsCredentialGenerator.cpp │ │ ├── PkcsCredentialGenerator.hpp │ │ ├── XmlAuthzCredentialGenerator.cpp │ │ ├── XmlAuthzCredentialGenerator.hpp │ │ └── typedefs.hpp │ └── testobject │ │ ├── ArrayOfByte.cpp │ │ ├── ArrayOfByte.hpp │ │ ├── BatchObject.cpp │ │ ├── BatchObject.hpp │ │ ├── CMakeLists.txt │ │ ├── DeltaFastAssetAccount.cpp │ │ ├── DeltaFastAssetAccount.hpp │ │ ├── DeltaPSTObject.cpp │ │ ├── DeltaPSTObject.hpp │ │ ├── DeltaTestImpl.cpp │ │ ├── DeltaTestImpl.hpp │ │ ├── DeltaTestObj.hpp │ │ ├── EqStruct.cpp │ │ ├── EqStruct.hpp │ │ ├── FastAsset.cpp │ │ ├── FastAsset.hpp │ │ ├── FastAssetAccount.cpp │ │ ├── FastAssetAccount.hpp │ │ ├── InvalidPdxUsage.cpp │ │ ├── InvalidPdxUsage.hpp │ │ ├── NestedPdxObject.cpp │ │ ├── NestedPdxObject.hpp │ │ ├── NonPdxType.cpp │ │ ├── NonPdxType.hpp │ │ ├── NoopAuthInit.cpp │ │ ├── NoopAuthInit.hpp │ │ ├── PSTObject.cpp │ │ ├── PSTObject.hpp │ │ ├── PdxClassV1.cpp │ │ ├── PdxClassV1.hpp │ │ ├── PdxClassV2.cpp │ │ ├── PdxClassV2.hpp │ │ ├── PdxType.cpp │ │ ├── PdxType.hpp │ │ ├── PdxVersioned1.cpp │ │ ├── PdxVersioned1.hpp │ │ ├── PdxVersioned2.cpp │ │ ├── PdxVersioned2.hpp │ │ ├── Portfolio.cpp │ │ ├── Portfolio.hpp │ │ ├── PortfolioPdx.cpp │ │ ├── PortfolioPdx.hpp │ │ ├── Position.cpp │ │ ├── Position.hpp │ │ ├── PositionPdx.cpp │ │ ├── PositionPdx.hpp │ │ ├── TestFactories.cpp │ │ ├── TestObject1.cpp │ │ ├── TestObject1.hpp │ │ ├── TimestampedObject.hpp │ │ ├── VariousPdxTypes.cpp │ │ └── VariousPdxTypes.hpp └── javaobject │ ├── BankAccount.java │ ├── BatchObject.java │ ├── BridgeClientMembershipListener.java │ ├── BridgeEventListener.java │ ├── CMakeLists.txt │ ├── CacheListenerForConflation.java │ ├── CacheListenerForQueryIndex.java │ ├── CacheLoaderForSingleHop.java │ ├── CacheWriterForSingleHop.java │ ├── CacheWriterTransaction.java │ ├── CacheWriterTransactionDelay.java │ ├── ComparePdxInstanceFunction.java │ ├── ComparePdxTypes.java │ ├── CustomFixedPartitionResolver1.java │ ├── CustomFixedPartitionResolver2.java │ ├── CustomFixedPartitionResolver3.java │ ├── CustomPartitionResolver.java │ ├── DefaultCacheable.java │ ├── DeltaEx.java │ ├── DeltaExample.java │ ├── DeltaFastAssetAccount.java │ ├── DeltaPSTObject.java │ ├── DeltaTest.java │ ├── DeltaTestImpl.java │ ├── DummyAuthenticator.java │ ├── DummyAuthorization.java │ ├── DummyAuthorization2.java │ ├── DummyAuthorization3.java │ ├── EqStruct.java │ ├── ExampleFunction.java │ ├── ExampleObject.java │ ├── ExceptionHandlingFunction.java │ ├── FEOnRegionPrSHOP.java │ ├── FEOnRegionPrSHOP_OptimizeForWrite.java │ ├── FastAsset.java │ ├── FastAssetAccount.java │ ├── FireNForget.java │ ├── GetFunctionExeHA.java │ ├── GetKeyFunction.java │ ├── InstantiatorTest.java │ ├── IterateRegion.java │ ├── LatestProp.java │ ├── ModPartitionResolver.java │ ├── ModRoutingObject.java │ ├── MultiGetAllFunctionNonHA.java │ ├── MultiGetFunction.java │ ├── MultiGetFunction2.java │ ├── MultiGetFunctionI.java │ ├── MultiGetFunctionISlow.java │ ├── MultiPutFunction.java │ ├── MultiPutFunctionI.java │ ├── NonDeserializableObject.java │ ├── NoopAccessor.java │ ├── NoopAuthenticator.java │ ├── NoopPrincipal.java │ ├── OnServerHAExceptionFunction.java │ ├── OnServerHAShutdownFunction.java │ ├── PSTObject.java │ ├── PdxCacheListener.java │ ├── PdxDelta.java │ ├── PdxFunctionTest.java │ ├── PdxTests │ ├── Address.java │ ├── PdxDeltaEx.java │ ├── PdxTestsWithAuto.java │ ├── PdxType.java │ ├── PdxTypes1.java │ ├── PdxTypes10.java │ ├── PdxTypes2.java │ ├── PdxTypes3.java │ ├── PdxTypes4.java │ ├── PdxTypes5.java │ ├── PdxTypes6.java │ ├── PdxTypes7.java │ ├── PdxTypes8.java │ ├── PdxTypes9.java │ ├── PdxVersioned.java │ └── pdxEnumTest.java │ ├── PdxinstanceHashcodeListener.java │ ├── Portfolio.java │ ├── Position.java │ ├── PutAllTimeout.java │ ├── PutKeyFunction.java │ ├── QueryFunction.java │ ├── RegionOperationsFunction.java │ ├── RegionOperationsFunctionOptimized.java │ ├── RegionOperationsFunctionOptimizedFalse.java │ ├── RegionOperationsFunctionPdx.java │ ├── RegionOperationsHAFunction.java │ ├── RegionOperationsHAFunctionPrSHOP.java │ ├── RegionOperationsWithOutResultFunction.java │ ├── ServerOperationsFunction.java │ ├── ServerOperationsWithOutResultFunction.java │ ├── SimpleCacheListener.java │ ├── SimpleCacheListenerWithAuto.java │ ├── SimpleSecurityManager.java │ ├── SimulatedExpirationSecurityManager.java │ ├── SingleStrGetFunction.java │ ├── TestObject1.java │ ├── ThinClientRegionExceptionTest.java │ ├── TradeKey.java │ ├── TradeKeyResolver.java │ ├── TradeOrder.java │ ├── User.java │ ├── UserExceptionFunction.java │ ├── UserPasswordAuthInit.java │ ├── UsernamePrincipal.java │ ├── cli │ ├── CompositeClass.java │ ├── InstantiateDataSerializable.java │ ├── Position.java │ ├── PositionKey.java │ ├── TestClassA.java │ ├── TestClassB.java │ └── TestClassC.java │ ├── executeFunction_SendException.java │ ├── executeFunction_SendObjectWhichCantBeDeserialized.java │ └── newapi │ ├── Portfolio.java │ └── Position.java ├── tools └── gnmsg │ ├── README.md │ ├── chunked_message_decoder.py │ ├── client_message_decoder.py │ ├── client_messages.py │ ├── command_line.py │ ├── connection_types.py │ ├── decoder_base.py │ ├── ds_codes.py │ ├── ds_fids.py │ ├── gnmsg.py │ ├── gnmsg_globals.py │ ├── handshake_acceptance_codes.py │ ├── handshake_decoder.py │ ├── interest_policy.py │ ├── interest_type.py │ ├── message_types.py │ ├── modified_utf8.py │ ├── numeric_conversion.py │ ├── protocol_state.py │ ├── read_parts.py │ ├── read_values.py │ ├── server_message_decoder.py │ ├── server_messages.py │ └── textfiles.py └── xsds ├── cpp-cache-1.0.xsd └── cpp-cache-1.10-DRAFT.xsd /.clang-tidy: -------------------------------------------------------------------------------- 1 | --- 2 | Checks: '-*,clang-diagnostic-*,clang-analyzer-*,-clang-analyzer-alpha*,google-*,-google-readability-todo,-google-runtime-references,-google-default-arguments' 3 | WarningsAsErrors: '*' 4 | HeaderFilterRegex: '.*' 5 | FormatStyle: file 6 | ... 7 | 8 | # Disable Checks 9 | # google-runtime-references - We have diverged from this rule due to both legacy and disagreement with the rule. 10 | # google-readability-todo - Adds current user name when fix applied. 11 | 12 | # TODO - Fix these checks 13 | # google-default-arguments 14 | # clang-analyzer-core.uninitialized.UndefReturn - Generates errors in ACE, how do we ignore? 15 | # clang-analyzer-core.UndefinedBinaryOperatorResult - Generates errors in ACE, how do we ignore? 16 | 17 | -------------------------------------------------------------------------------- /.cpackignore: -------------------------------------------------------------------------------- 1 | /\\.git/ 2 | /\\.DS_Store 3 | 4 | /build-.*/ 5 | 6 | /build/ 7 | /\\.settings/ 8 | /\\.cproject 9 | /\\.project 10 | /\\.idea/ 11 | \\.vs/ 12 | \\.vscode/ 13 | 14 | /examples/dotnet/.*/bin/ 15 | /examples/dotnet/.*/obj/ 16 | \\.ruby-version 17 | 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /build-*/ 2 | 3 | /cmake-build-*/ 4 | /build/ 5 | /.settings/ 6 | /.cproject 7 | /.project 8 | /.idea/ 9 | .vs/ 10 | .vscode/ 11 | 12 | /examples/dotnet/*/bin/ 13 | /examples/dotnet/*/obj/ 14 | .ruby-version 15 | 16 | .DS_Store 17 | .history/ 18 | 19 | /tools/gnmsg/.idea/ 20 | /tools/gnmsg/__pycache__/ 21 | -------------------------------------------------------------------------------- /.lcovrc: -------------------------------------------------------------------------------- 1 | # branch coverage generates lots of misses due to emitted exception code. 2 | lcov_branch_coverage=0 3 | -------------------------------------------------------------------------------- /.lgtm.yml: -------------------------------------------------------------------------------- 1 | extraction: 2 | cpp: 3 | configure: 4 | command: 5 | - GEODE_VERSION=1.15.0 6 | - mkdir _lgtm_build_dir 7 | - cd _lgtm_build_dir 8 | - wget -O apache-geode.tgz https://downloads.apache.org/geode/${GEODE_VERSION}/apache-geode-${GEODE_VERSION}.tgz 9 | - tar xzf apache-geode.tgz 10 | - "curl -o cmake.tgz -L $(curl -s https://api.github.com/repos/Kitware/CMake/releases | grep -P -i 'browser_download_url.*cmake-\\d+\\.\\d+\\.\\d+-linux-x86_64\\.sh' | head -n 1 | cut -d: -f 2,3 | tr -d \\\")" 11 | - bash cmake.tgz --skip-license --prefix=`pwd` 12 | - PATH="`pwd`/bin":$PATH 13 | - cmake -DGEODE_ROOT="`pwd`/apache-geode-${GEODE_VERSION}" -DCMAKE_INSTALL_PREFIX=/home/build .. 14 | - cd dependencies && cmake --build . -- -j2 15 | index: 16 | build_command: 17 | - cd _lgtm_build_dir && cmake --build . --target apache-geode -- -j 2 18 | csharp: 19 | index: 20 | buildless: true 21 | -------------------------------------------------------------------------------- /.ratignore: -------------------------------------------------------------------------------- 1 | # rat -E only matches filename components 2 | # All matches are anchored automatically to who string 3 | 4 | # / 5 | \.clang-format 6 | \.clang-tidy 7 | \.gitignore 8 | \.ratignore 9 | \.lgtm.yml 10 | \.lcovrc 11 | \.cpackignore 12 | 13 | # dependencies/*/ 14 | patches 15 | 16 | # packer/*/ 17 | .*\.cloud-init 18 | .*\.json 19 | 20 | # docs/ 21 | Gemfile.lock 22 | package-list 23 | .*\.md 24 | .*\.md.erb 25 | 26 | # docker/ 27 | bellsoft.repo 28 | 29 | # well known build directories 30 | build 31 | cmake-build-.* 32 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | Apache Geode Native Client 2 | Copyright 2017-2021 The Apache Software Foundation. 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /ci/docker/task/Dockerfile: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | FROM alpine:3.13 18 | LABEL maintainer="Apache Geode " 19 | LABEL description="Minimal image for executing CI tasks." 20 | RUN apk add --no-cache bash git openssh-client 21 | -------------------------------------------------------------------------------- /ci/pr/data.yml: -------------------------------------------------------------------------------- 1 | #! Licensed to the Apache Software Foundation (ASF) under one or more 2 | #! contributor license agreements. See the NOTICE file distributed with 3 | #! this work for additional information regarding copyright ownership. 4 | #! The ASF licenses this file to You under the Apache License, Version 2.0 5 | #! (the "License"); you may not use this file except in compliance with 6 | #! the License. You may obtain a copy of the License at 7 | #! 8 | #! http://www.apache.org/licenses/LICENSE-2.0 9 | #! 10 | #! Unless required by applicable law or agreed to in writing, software 11 | #! distributed under the License is distributed on an "AS IS" BASIS, 12 | #! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | #! See the License for the specific language governing permissions and 14 | #! limitations under the License. 15 | 16 | #@ load("@ytt:overlay", "overlay") 17 | 18 | #@data/values 19 | #@overlay/match-child-defaults missing_ok=True 20 | --- 21 | pipeline: 22 | variant: pr 23 | 24 | configs: 25 | #@overlay/append 26 | - name: debug 27 | config: Debug 28 | -------------------------------------------------------------------------------- /ci/release/data.yml: -------------------------------------------------------------------------------- 1 | #! Licensed to the Apache Software Foundation (ASF) under one or more 2 | #! contributor license agreements. See the NOTICE file distributed with 3 | #! this work for additional information regarding copyright ownership. 4 | #! The ASF licenses this file to You under the Apache License, Version 2.0 5 | #! (the "License"); you may not use this file except in compliance with 6 | #! the License. You may obtain a copy of the License at 7 | #! 8 | #! http://www.apache.org/licenses/LICENSE-2.0 9 | #! 10 | #! Unless required by applicable law or agreed to in writing, software 11 | #! distributed under the License is distributed on an "AS IS" BASIS, 12 | #! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | #! See the License for the specific language governing permissions and 14 | #! limitations under the License. 15 | 16 | #@ load("@ytt:overlay", "overlay") 17 | 18 | #@data/values 19 | #@overlay/match-child-defaults missing_ok=True 20 | --- 21 | pipeline: 22 | variant: release 23 | 24 | configs: 25 | #@overlay/append 26 | - name: debug 27 | config: Debug 28 | #@overlay/append 29 | - name: release 30 | config: RelWithDebInfo 31 | 32 | -------------------------------------------------------------------------------- /clicache/.clang-format: -------------------------------------------------------------------------------- 1 | # C++/CLI sources not supported in clang-format 2 | --- 3 | Language: Cpp 4 | DisableFormat: true 5 | SortIncludes: false 6 | -------------------------------------------------------------------------------- /clicache/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | add_subdirectory(src) 17 | add_subdirectory(test) 18 | add_subdirectory(test2) 19 | add_subdirectory(integration-test) 20 | add_subdirectory(integration-test2) 21 | if ((NOT ${DOCKER_PGM} MATCHES "DOCKER_NOTFOUND") AND 22 | (NOT ${DOCKERCOMPOSE_PGM} MATCHES "DOCKERCOMPOSE_NOTFOUND")) 23 | add_subdirectory(acceptance-test) 24 | endif() 25 | add_subdirectory(plugins/SQLiteCLI) 26 | 27 | -------------------------------------------------------------------------------- /clicache/acceptance-test/xunit.runner.json: -------------------------------------------------------------------------------- 1 | { 2 | "methodDisplay": "classAndMethod", 3 | "parallelizeAssembly": true, 4 | "parallelizeTestCollections": true 5 | } 6 | -------------------------------------------------------------------------------- /clicache/integration-test/cache.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 19 | 20 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /clicache/integration-test/geode.properties.mixed: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | #cache-server-version=5.0 16 | #license-file=../../../../hidden/internal.license.nativeclientonly.zip 17 | -------------------------------------------------------------------------------- /clicache/integration-test/geode.properties.nativeclient: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | #cache-server-version=5.0 16 | #license-file=../../../../hidden/internal.license.nativeclientonly.zip 17 | -------------------------------------------------------------------------------- /clicache/integration-test/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /clicache/integration-test2/Command.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | using System; 19 | using System.Diagnostics; 20 | using System.Net; 21 | using System.IO; 22 | using System.Net.Sockets; 23 | using Xunit; 24 | 25 | public class Command 26 | { 27 | #region Public methods 28 | 29 | public Command() 30 | { 31 | } 32 | 33 | #endregion 34 | } 35 | -------------------------------------------------------------------------------- /clicache/integration-test2/xunit.runner.json: -------------------------------------------------------------------------------- 1 | { 2 | "methodDisplay": "classAndMethod", 3 | "parallelizeAssembly": true, 4 | "parallelizeTestCollections": true 5 | } 6 | -------------------------------------------------------------------------------- /clicache/src/end_native.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #pragma managed(pop) 19 | 20 | //#pragma pack(pop) 21 | 22 | #pragma warning(pop) 23 | 24 | #pragma pop_macro("_M_CEE") 25 | #pragma pop_macro("nullptr") 26 | #pragma pop_macro("_ALLOW_KEYWORD_MACROS") 27 | 28 | #undef __begin_native__hpp__ 29 | -------------------------------------------------------------------------------- /clicache/src/geode_includes.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | /** 19 | * Precompiled headers source file. 20 | */ 21 | 22 | #include "geode_includes.hpp" 23 | -------------------------------------------------------------------------------- /clicache/src/impl/AppDomainContext.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | 19 | #include "AppDomainContext.hpp" 20 | 21 | namespace Apache 22 | { 23 | namespace Geode 24 | { 25 | namespace Client 26 | { 27 | 28 | apache::geode::client::AppDomainContext* createAppDomainContext() { 29 | return new AppDomainContext(); 30 | } 31 | 32 | } // namespace Client 33 | } // namespace Geode 34 | } // namespace Apache 35 | 36 | -------------------------------------------------------------------------------- /clicache/src/impl/RegionImpl.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /clicache/src/impl/RegionImpl.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #pragma once 19 | 20 | 21 | #include "../geode_defs.hpp" 22 | #include "../../../IRegion.hpp" 23 | #include "../begin_native.hpp" 24 | #include 25 | #include "../end_native.hpp" 26 | 27 | 28 | //#include "CacheableHashMap.hpp" 29 | //#include "Log.hpp" 30 | #include "../ExceptionTypes.hpp" 31 | 32 | using namespace System::Collections::Generic; 33 | 34 | -------------------------------------------------------------------------------- /clicache/test/Utils.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #pragma once 19 | 20 | 21 | using namespace System; 22 | 23 | namespace cliunittests 24 | { 25 | private ref class Utils { 26 | internal: 27 | static void GCCollectAndWait() { 28 | GC::Collect(); 29 | GC::WaitForPendingFinalizers(); 30 | } 31 | }; 32 | } -------------------------------------------------------------------------------- /clicache/test/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /clicache/test2/xunit.runner.json: -------------------------------------------------------------------------------- 1 | { 2 | "methodDisplay": "classAndMethod", 3 | "parallelizeAssembly": true, 4 | "parallelizeTestCollections": true 5 | } 6 | -------------------------------------------------------------------------------- /cmake/ExecutableExportHeader.cmake: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | function(GENERATE_EXEC_EXPORT_HEADER TARGET) 17 | get_property(type TARGET ${TARGET} PROPERTY TYPE) 18 | if(NOT ${type} STREQUAL "EXECUTABLE") 19 | message(WARNING "This macro can only be used with executables") 20 | return() 21 | endif() 22 | 23 | include(GenerateExportHeader) 24 | 25 | _test_compiler_hidden_visibility() 26 | _test_compiler_has_deprecated() 27 | _do_set_macro_values(${TARGET}) 28 | _do_generate_export_header(${TARGET} ${ARGN}) 29 | endfunction() -------------------------------------------------------------------------------- /cmake/FindClangFormat.cmake: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | include(FindPackageHandleStandardArgs) 17 | 18 | find_program(ClangFormat_EXECUTABLE 19 | NAMES clang-format 20 | DOC "clang-format executable" 21 | ) 22 | mark_as_advanced(ClangFormat_EXECUTABLE) 23 | 24 | find_package_handle_standard_args(ClangFormat 25 | REQUIRED_VARS ClangFormat_EXECUTABLE 26 | ) 27 | -------------------------------------------------------------------------------- /cppcache/README.md: -------------------------------------------------------------------------------- 1 | Contents 2 | ======== 3 | 4 | 5 | ## Main sources 6 | 7 | # include/ 8 | Public include header files for C++ library. 9 | 10 | # src/ 11 | Sources for both static and shared C++ library. 12 | 13 | # shared/ 14 | Shared library definition only. Should not contain any sources. 15 | 16 | # static/ 17 | Static library definition only. Should not contain any sources. 18 | 19 | 20 | ## Test and Benchmark sources 21 | 22 | # integration/ 23 | Integration syle tests, benchmarks, and common sources. These are all "modern" 24 | single process style and shoult not use any of the "legacy" multiple process 25 | framework. 26 | 27 | ## integrtion-test/ 28 | Legacy integration tests written in the multiple process framework. No new tests 29 | should be added to this collections. Fixes and rewrites should be migrated to 30 | the new framework in the _integration/test_ directory metioned above. 31 | 32 | ## test/ 33 | Unit style tests. 34 | 35 | ## benchmark/ 36 | Unit style or micro benchmark tests. 37 | 38 | -------------------------------------------------------------------------------- /cppcache/benchmark/NoopBM.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | #include 21 | 22 | /** 23 | * Benchmarks a no-op for comparison to other benchmarks. If your benchmark has 24 | * similar results it is possible that it has been optimized to a no-op. 25 | */ 26 | void noop(benchmark::State& state) { 27 | for (auto _ : state) { 28 | } 29 | } 30 | 31 | BENCHMARK(noop) 32 | ->ThreadRange(1, std::thread::hardware_concurrency()) 33 | ->UseRealTime(); 34 | -------------------------------------------------------------------------------- /cppcache/benchmark/main.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | BENCHMARK_MAIN(); 21 | -------------------------------------------------------------------------------- /cppcache/include/geode/HashMapOfPools.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #pragma once 19 | 20 | #include 21 | #include 22 | #include 23 | 24 | namespace apache { 25 | namespace geode { 26 | namespace client { 27 | class Pool; 28 | 29 | using HashMapOfPools = std::unordered_map>; 30 | } // namespace client 31 | } // namespace geode 32 | } // namespace apache 33 | -------------------------------------------------------------------------------- /cppcache/integration-test/.clang-tidy: -------------------------------------------------------------------------------- 1 | --- 2 | InheritParentConfig: true 3 | Checks: '-google-readability-function-size' 4 | ... 5 | 6 | # google-readability-function-size 7 | # Some tests have large bodies that cause this rule to fail. 8 | -------------------------------------------------------------------------------- /cppcache/integration-test/CTestCustom.cmake.in: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | # NOTHING YET 18 | -------------------------------------------------------------------------------- /cppcache/integration-test/ClientCleanup.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #pragma once 19 | 20 | #ifndef GEODE_INTEGRATION_TEST_CLIENT_CLEANUP_H_ 21 | #define GEODE_INTEGRATION_TEST_CLIENT_CLEANUP_H_ 22 | 23 | #include 24 | #include 25 | 26 | class ClientCleanup { 27 | public: 28 | void trigger(); 29 | void registerCallback(std::function callback); 30 | 31 | protected: 32 | std::list> callbacks_; 33 | }; 34 | 35 | #endif // GEODE_INTEGRATION_TEST_CLIENT_CLEANUP_H_ 36 | -------------------------------------------------------------------------------- /cppcache/integration-test/InitSmartHeap.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | namespace geode_smartheap { 21 | 22 | class InitSmartHeap { 23 | public: 24 | InitSmartHeap() {} 25 | 26 | } doInit; 27 | } // namespace geode_smartheap 28 | -------------------------------------------------------------------------------- /cppcache/integration-test/keystore/geode1.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/cppcache/integration-test/keystore/geode1.keystore -------------------------------------------------------------------------------- /cppcache/integration-test/keystore/geode11.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/cppcache/integration-test/keystore/geode11.keystore -------------------------------------------------------------------------------- /cppcache/integration-test/keystore/geode2.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/cppcache/integration-test/keystore/geode2.keystore -------------------------------------------------------------------------------- /cppcache/integration-test/keystore/publickeyfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/cppcache/integration-test/keystore/publickeyfile -------------------------------------------------------------------------------- /cppcache/integration-test/resources/bad_schema.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 19 | 20 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /cppcache/integration-test/resources/cache.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 19 | 20 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /cppcache/integration-test/testFWHelper.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | #include "fw_helper.hpp" 21 | 22 | /** 23 | * @brief Test a test runs. 24 | */ 25 | BEGIN_TEST(TestOne) 26 | std::cout << "test 1." << std::endl; 27 | END_TEST(TestOne) 28 | 29 | /** 30 | * @brief Test a test runs. 31 | */ 32 | BEGIN_TEST(TestTwo) 33 | std::cout << "test 2." << std::endl; 34 | END_TEST(TestTwo) 35 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientCallbackArg.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientCallbackArg.hpp" 19 | DUNIT_MAIN 20 | { runCallbackArg(); } 21 | END_MAIN 22 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientDistOpsDontUpdateLocatorList.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | #include "ThinClientDistOps.hpp" 18 | 19 | DUNIT_MAIN 20 | { runDistOpsDontUpdateLocatorList(); } 21 | END_MAIN 22 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientDistOpsNotSticky.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | #include "ThinClientDistOps.hpp" 18 | 19 | DUNIT_MAIN 20 | { runDistOpsNotSticky(); } 21 | END_MAIN 22 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientDistOpsSticky.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | #include "ThinClientDistOps.hpp" 18 | 19 | DUNIT_MAIN 20 | { runDistOpsSticky(); } 21 | END_MAIN 22 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientDistOpsUpdateLocatorList.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | #include "ThinClientDistOps.hpp" 18 | 19 | DUNIT_MAIN 20 | { runDistOpsUpdateLocatorList(); } 21 | END_MAIN 22 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientDurableConnect.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientDurableConnect.hpp" 19 | 20 | DUNIT_MAIN 21 | { doThinClientDurableConnect(); } 22 | END_MAIN 23 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientDurableFailoverClientClosedNoRedundancy.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientDurableFailover.hpp" 19 | 20 | DUNIT_MAIN 21 | { doThinClientDurableFailoverClientClosedNoRedundancy(); } 22 | END_MAIN 23 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientDurableFailoverClientClosedRedundancy.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientDurableFailover.hpp" 19 | 20 | DUNIT_MAIN 21 | { doThinClientDurableFailoverClientClosedRedundancy(); } 22 | END_MAIN 23 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientDurableFailoverClientNotClosedRedundancy.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientDurableFailover.hpp" 19 | 20 | DUNIT_MAIN 21 | { doThinClientDurableFailoverClientNotClosedRedundancy(); } 22 | END_MAIN 23 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientDurableReconnect.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientDurableReconnect.hpp" 19 | 20 | DUNIT_MAIN 21 | { doThinClientDurableReconnect(); } 22 | END_MAIN 23 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientFailover.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientFailover.hpp" 19 | 20 | DUNIT_MAIN 21 | { 22 | runThinClientFailover(); 23 | runThinClientFailover(true); 24 | } 25 | END_MAIN 26 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientFailover2.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientFailover2.hpp" 19 | DUNIT_MAIN 20 | { runThinClientFailover2(); } 21 | END_MAIN 22 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientFailoverInterest.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientFailoverInterest.hpp" 19 | DUNIT_MAIN 20 | { runThinClientFailoverInterest(); } 21 | END_MAIN 22 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientFailoverInterest2.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientFailoverInterest2.hpp" 19 | DUNIT_MAIN 20 | { runThinClientFailoverInterest2(); } 21 | END_MAIN 22 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientFailoverRegex.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientFailoverRegex.hpp" 19 | DUNIT_MAIN 20 | { runThinClientFailOverRegex(); } 21 | END_MAIN 22 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientGatewayTest.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientGatewayTest.hpp" 19 | 20 | DUNIT_MAIN 21 | { runListenerInit(); } 22 | END_MAIN 23 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientInterest1.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientInterest1.hpp" 19 | 20 | DUNIT_MAIN 21 | { 22 | CALL_TASK(CreateLocator1); 23 | CALL_TASK(CreateServer1_With_Locator_XML); 24 | CALL_TASK(SetupClient1_Pool_Locator); 25 | CALL_TASK(populateServer); 26 | CALL_TASK(setupClient2_Pool_Locator); 27 | CALL_TASK(verify); 28 | CALL_TASK(StopClient1); 29 | CALL_TASK(StopClient2); 30 | CALL_TASK(StopServer); 31 | CALL_TASK(CloseLocator1); 32 | } 33 | END_MAIN 34 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientInterest2Pooled.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientInterest2.hpp" 19 | 20 | DUNIT_MAIN 21 | { 22 | CALL_TASK(CreateLocator1); 23 | CALL_TASK(CreateServer1_With_Locator_XML); 24 | CALL_TASK(SetupClient1_Pool_Locator); 25 | CALL_TASK(setupClient2_Pool_Locator); 26 | CALL_TASK(populateServer); 27 | CALL_TASK(verify); 28 | CALL_TASK(StopClient1); 29 | CALL_TASK(StopClient2); 30 | CALL_TASK(StopServer); 31 | CALL_TASK(CloseLocator1); 32 | } 33 | END_MAIN 34 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientInterest3.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientInterest3.hpp" 19 | 20 | DUNIT_MAIN 21 | { 22 | CALL_TASK(CreateLocator1); 23 | CALL_TASK(CreateServer1_With_Locator_XML); 24 | CALL_TASK(SetupClient1_Pool_Locator); 25 | 26 | CALL_TASK(testCreatesAndUpdates); 27 | CALL_TASK(testInvalidateAndDestroy); 28 | 29 | CALL_TASK(StopClient1); 30 | CALL_TASK(StopServer); 31 | CALL_TASK(CloseLocator1); 32 | } 33 | END_MAIN 34 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientInterest3Cacheless.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientInterest3Cacheless.hpp" 19 | 20 | DUNIT_MAIN 21 | { 22 | CALL_TASK(CreateLocator1); 23 | CALL_TASK(CreateServer1_With_Locator_XML); 24 | 25 | CALL_TASK(SetupClient1_Pool_Locator); 26 | 27 | CALL_TASK(testCreatesAndUpdates); 28 | CALL_TASK(StopClient1); 29 | CALL_TASK(StopServer); 30 | 31 | CALL_TASK(CloseLocator1); 32 | } 33 | END_MAIN 34 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientLocalCacheLoader.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientLocalCacheLoader.hpp" 19 | 20 | DUNIT_MAIN 21 | { runCacheLoaderTest(); } 22 | END_MAIN 23 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientMultipleCaches.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientMultipleCaches.hpp" 19 | DUNIT_MAIN 20 | { run(); } 21 | END_MAIN 22 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientNotification.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientNotification.hpp" 19 | 20 | DUNIT_MAIN 21 | { doThinClientNotification(); } 22 | END_MAIN 23 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientPutAll.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientPutAll.hpp" 19 | DUNIT_MAIN 20 | { 21 | // runPutAll( false ); // removed as pdx object doesn't work with old 22 | // endpoint 23 | // scheme 24 | runPutAll(); 25 | 26 | runPutAll1(); 27 | 28 | runPutAll1(false); 29 | } 30 | END_MAIN 31 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientPutGetAll.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientPutGetAll.hpp" 19 | 20 | DUNIT_MAIN 21 | { runPutGetAll(); } 22 | END_MAIN 23 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientRemoveAllLocal.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientRemoveAll.hpp" 19 | 20 | DUNIT_MAIN 21 | { 22 | CALL_TASK(CreateClient1RegionsLocal); 23 | CALL_TASK(removeAllValidation); 24 | CALL_TASK(removeAllOpsLocal); 25 | CALL_TASK(CloseCache1); 26 | } 27 | END_MAIN 28 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientRemoveAllSequence.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientRemoveAll.hpp" 19 | 20 | DUNIT_MAIN 21 | { 22 | CALL_TASK(CreateLocator1); 23 | CALL_TASK(CreateServer1_With_Locator_XML); 24 | CALL_TASK(CreateClient1Regions_Pooled_Locator_NoCaching); 25 | 26 | CALL_TASK(removeAllSequence); 27 | 28 | CALL_TASK(CloseCache1); 29 | CALL_TASK(CloseServer1); 30 | CALL_TASK(CloseLocator1); 31 | } 32 | END_MAIN 33 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientTXFailover.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientTXFailover.hpp" 19 | 20 | DUNIT_MAIN 21 | { 22 | runThinClientFailover(); 23 | runThinClientFailover(true); // With Sticky 24 | } 25 | END_MAIN 26 | -------------------------------------------------------------------------------- /cppcache/integration-test/testThinClientTransactionsXA.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ThinClientTransactionsXA.hpp" 19 | 20 | DUNIT_MAIN 21 | { runTransactionOps(); } 22 | END_MAIN 23 | -------------------------------------------------------------------------------- /cppcache/integration/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | add_subdirectory(framework) 17 | add_subdirectory(test) 18 | 19 | if (BUILD_BENCHMARKS) 20 | add_subdirectory(benchmark) 21 | endif() 22 | -------------------------------------------------------------------------------- /cppcache/integration/benchmark/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | add_executable(cpp-integration-benchmark 17 | main.cpp 18 | RegionBM.cpp 19 | PdxTypeBM.cpp 20 | RegisterInterestBM.cpp 21 | ) 22 | 23 | target_link_libraries(cpp-integration-benchmark 24 | PUBLIC 25 | apache-geode 26 | benchmark::benchmark 27 | integration-framework 28 | PRIVATE 29 | _WarningsAsError 30 | ) 31 | 32 | add_clangformat(cpp-integration-benchmark) 33 | -------------------------------------------------------------------------------- /cppcache/integration/benchmark/main.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | BENCHMARK_MAIN(); 21 | -------------------------------------------------------------------------------- /cppcache/integration/framework/TestConfig.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #pragma once 19 | 20 | #ifndef INTEGRATION_TEST_FRAMEWORK_CONFIG_H 21 | #define INTEGRATION_TEST_FRAMEWORK_CONFIG_H 22 | 23 | enum class FrameworkVariable { 24 | JavaObjectJarPath, 25 | GfShExecutable, 26 | TestCacheXmlDir, 27 | NewTestResourcesDir, 28 | TestClientSslKeysDir, 29 | TestServerSslKeysDir, 30 | TestSniConfigPath 31 | }; 32 | 33 | const char *getFrameworkString(FrameworkVariable name); 34 | 35 | #endif // INTEGRATION_TEST_FRAMEWORK_CONFIG_H 36 | -------------------------------------------------------------------------------- /cppcache/integration/test/gmock_actions.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #pragma once 19 | 20 | #ifndef GMOCK_ACTIONS_H_ 21 | #define GMOCK_ACTIONS_H_ 22 | 23 | #include 24 | 25 | ACTION_P(ReleaseSem, sem) { sem->release(); } 26 | ACTION_P(AcquireSem, sem) { sem->acquire(); } 27 | ACTION_P(CountDownLatch, latch) { latch->count_down(); } 28 | 29 | #endif // GMOCK_ACTIONS_H_ 30 | -------------------------------------------------------------------------------- /cppcache/integration/test/utility/make_unique.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #ifndef INTEGRATION_TEST_UTILITY_MAKE_UNIQUE_H 19 | #define INTEGRATION_TEST_UTILITY_MAKE_UNIQUE_H 20 | 21 | #include 22 | #include 23 | 24 | // Until we get C++14 support... 25 | template 26 | ::std::unique_ptr make_unique(Args &&... args) { 27 | return ::std::unique_ptr(new T(::std::forward(args)...)); 28 | } 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /cppcache/internal/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | add_library(internal INTERFACE) 17 | target_include_directories(internal INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) 18 | -------------------------------------------------------------------------------- /cppcache/src/AppDomainContext.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "AppDomainContext.hpp" 19 | 20 | namespace apache { 21 | namespace geode { 22 | namespace client { 23 | 24 | AppDomainContext* nullAppDomainContext() { return nullptr; } 25 | 26 | AppDomainContext::factory createAppDomainContext = &nullAppDomainContext; 27 | } // namespace client 28 | } // namespace geode 29 | } // namespace apache 30 | -------------------------------------------------------------------------------- /cppcache/src/CacheLoader.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | namespace apache { 21 | namespace geode { 22 | namespace client { 23 | 24 | void CacheLoader::close(Region&) {} 25 | 26 | } // namespace client 27 | } // namespace geode 28 | } // namespace apache 29 | -------------------------------------------------------------------------------- /cppcache/src/CacheTransactionManager.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | namespace apache { 21 | namespace geode { 22 | namespace client { 23 | CacheTransactionManager::CacheTransactionManager() {} 24 | CacheTransactionManager::~CacheTransactionManager() {} 25 | } // namespace client 26 | } // namespace geode 27 | } // namespace apache 28 | -------------------------------------------------------------------------------- /cppcache/src/CacheableUndefined.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | namespace apache { 21 | namespace geode { 22 | namespace client { 23 | 24 | void CacheableUndefined::toData(DataOutput&) const {} 25 | 26 | void CacheableUndefined::fromData(DataInput&) {} 27 | 28 | } // namespace client 29 | } // namespace geode 30 | } // namespace apache 31 | -------------------------------------------------------------------------------- /cppcache/src/ConnectCounter.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "ConnectCounter.hpp" 19 | 20 | namespace apache { 21 | namespace geode { 22 | namespace client { 23 | 24 | ConnectCounter::ConnectCounter() {} 25 | 26 | ConnectCounter::~ConnectCounter() {} 27 | } // namespace client 28 | } // namespace geode 29 | } // namespace apache 30 | -------------------------------------------------------------------------------- /cppcache/src/CqListener.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | namespace apache { 21 | namespace geode { 22 | namespace client { 23 | 24 | CqListener::CqListener() {} 25 | 26 | void CqListener::onEvent(const CqEvent&) {} 27 | 28 | void CqListener::onError(const CqEvent&) {} 29 | 30 | void CqListener::close() {} 31 | 32 | } // namespace client 33 | } // namespace geode 34 | } // namespace apache 35 | -------------------------------------------------------------------------------- /cppcache/src/CqStatusListener.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | namespace apache { 21 | namespace geode { 22 | namespace client { 23 | 24 | void CqStatusListener::onCqDisconnected() {} 25 | void CqStatusListener::onCqConnected() {} 26 | } // namespace client 27 | } // namespace geode 28 | } // namespace apache 29 | -------------------------------------------------------------------------------- /cppcache/src/DiskStoreId.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "DiskStoreId.hpp" 19 | 20 | namespace apache { 21 | namespace geode { 22 | namespace client { 23 | 24 | std::string DiskStoreId::getHashKey() { 25 | if (m_hashCode.empty()) { 26 | m_hashCode.append(std::to_string(m_mostSig)) 27 | .append("_") 28 | .append(std::to_string(m_leastSig)); 29 | } 30 | return m_hashCode; 31 | } 32 | 33 | } // namespace client 34 | } // namespace geode 35 | } // namespace apache 36 | -------------------------------------------------------------------------------- /cppcache/src/EntriesMap.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "EntriesMap.hpp" 19 | 20 | namespace apache { 21 | namespace geode { 22 | namespace client { 23 | 24 | std::shared_ptr EntriesMap::getFromDisk( 25 | const std::shared_ptr&, 26 | std::shared_ptr&) const { 27 | return nullptr; 28 | } 29 | 30 | } // namespace client 31 | } // namespace geode 32 | } // namespace apache 33 | -------------------------------------------------------------------------------- /cppcache/src/FunctionMacros.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | #pragma once 18 | #ifndef __INC_FUNCTIONMACROS__ 19 | #define __INC_FUNCTIONMACROS__ 20 | 21 | #define INIT_GNFN(this_class) \ 22 | namespace { \ 23 | const auto classname = std::string(this_class); \ 24 | } 25 | 26 | #define __GNFN__ (classname + "::" + __func__).c_str() 27 | 28 | #endif // __INC_FUNCTIONMACROS__ 29 | -------------------------------------------------------------------------------- /cppcache/src/GeodeCache.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | namespace apache { 21 | namespace geode { 22 | namespace client { 23 | 24 | GeodeCache::~GeodeCache() = default; 25 | 26 | } // namespace client 27 | } // namespace geode 28 | } // namespace apache 29 | -------------------------------------------------------------------------------- /cppcache/src/PartitionResolver.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | #include 18 | #include 19 | 20 | namespace apache { 21 | namespace geode { 22 | namespace client { 23 | 24 | PartitionResolver::PartitionResolver() {} 25 | 26 | PartitionResolver::~PartitionResolver() {} 27 | 28 | const std::string& PartitionResolver::getName() { 29 | static std::string name = "PartitionResolver"; 30 | return name; 31 | } 32 | } // namespace client 33 | } // namespace geode 34 | } // namespace apache 35 | -------------------------------------------------------------------------------- /cppcache/src/PdxSerializer.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | namespace apache { 21 | namespace geode { 22 | namespace client { 23 | 24 | UserObjectSizer PdxSerializer::getObjectSizer(const std::string&) { 25 | return nullptr; 26 | } 27 | 28 | } // namespace client 29 | } // namespace geode 30 | } // namespace apache 31 | -------------------------------------------------------------------------------- /cppcache/src/PersistenceManager.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | namespace apache { 21 | namespace geode { 22 | namespace client {} // namespace client 23 | } // namespace geode 24 | } // namespace apache 25 | -------------------------------------------------------------------------------- /cppcache/src/Region.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | #include "CacheImpl.hpp" 21 | 22 | namespace apache { 23 | namespace geode { 24 | namespace client { 25 | 26 | Region::Region(CacheImpl* cacheImpl) : m_cacheImpl(cacheImpl) {} 27 | 28 | Region::~Region() noexcept = default; 29 | 30 | Cache& Region::getCache() { return *m_cacheImpl->getCache(); } 31 | 32 | } // namespace client 33 | } // namespace geode 34 | } // namespace apache 35 | -------------------------------------------------------------------------------- /cppcache/src/RegionService.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | namespace apache { 21 | namespace geode { 22 | namespace client { 23 | 24 | RegionService::~RegionService() = default; 25 | 26 | } // namespace client 27 | } // namespace geode 28 | } // namespace apache 29 | -------------------------------------------------------------------------------- /cppcache/src/TSSTXStateWrapper.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "TSSTXStateWrapper.hpp" 19 | 20 | #include "TXState.hpp" 21 | 22 | namespace apache { 23 | namespace geode { 24 | namespace client { 25 | 26 | TSSTXStateWrapper::~TSSTXStateWrapper() noexcept { 27 | if (m_txState) { 28 | delete m_txState; 29 | m_txState = nullptr; 30 | } 31 | } 32 | 33 | } // namespace client 34 | } // namespace geode 35 | } // namespace apache 36 | -------------------------------------------------------------------------------- /cppcache/src/UserFunctionExecutionException.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | #include 20 | 21 | namespace apache { 22 | namespace geode { 23 | namespace client {} // namespace client 24 | } // namespace geode 25 | } // namespace apache 26 | -------------------------------------------------------------------------------- /cppcache/src/geodeBanner.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifndef GEODE_BANNER_H_ 4 | #define GEODE_BANNER_H_ 5 | 6 | /* 7 | * Licensed to the Apache Software Foundation (ASF) under one or more 8 | * contributor license agreements. See the NOTICE file distributed with 9 | * this work for additional information regarding copyright ownership. 10 | * The ASF licenses this file to You under the Apache License, Version 2.0 11 | * (the "License"); you may not use this file except in compliance with 12 | * the License. You may obtain a copy of the License at 13 | * 14 | * http://www.apache.org/licenses/LICENSE-2.0 15 | * 16 | * Unless required by applicable law or agreed to in writing, software 17 | * distributed under the License is distributed on an "AS IS" BASIS, 18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 19 | * See the License for the specific language governing permissions and 20 | * limitations under the License. 21 | */ 22 | 23 | #include 24 | 25 | namespace apache { 26 | namespace geode { 27 | namespace client { 28 | class geodeBanner { 29 | public: 30 | static std::string getBanner(); 31 | }; 32 | } // namespace client 33 | } // namespace geode 34 | } // namespace apache 35 | 36 | #endif // GEODE_BANNER_H_ 37 | -------------------------------------------------------------------------------- /cppcache/src/statistics/ProcessStats.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | #include "ProcessStats.hpp" 18 | 19 | namespace apache { 20 | namespace geode { 21 | namespace statistics { 22 | 23 | int64_t ProcessStats::getProcessSize() { return 0; } 24 | 25 | } // namespace statistics 26 | } // namespace geode 27 | } // namespace apache 28 | -------------------------------------------------------------------------------- /cppcache/src/util/bounds.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #pragma once 19 | 20 | #ifndef GEODE_UTIL_BOUNDS_H_ 21 | #define GEODE_UTIL_BOUNDS_H_ 22 | 23 | #include "chrono/duration_bounds.hpp" 24 | 25 | namespace apache { 26 | namespace geode { 27 | namespace util { 28 | 29 | constexpr auto PROTOCOL_OPERATION_TIMEOUT_BOUNDS = 30 | chrono::duration::assert_bounds{}; 31 | 32 | } // namespace util 33 | } // namespace geode 34 | } // namespace apache 35 | 36 | #endif // GEODE_UTIL_BOUNDS_H_ 37 | -------------------------------------------------------------------------------- /cppcache/src/util/concurrent/spinlock_mutex.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "spinlock_mutex.hpp" 19 | 20 | namespace apache { 21 | namespace geode { 22 | namespace util { 23 | namespace concurrent { 24 | 25 | void spinlock_mutex::lock() { 26 | while (flag.test_and_set(std::memory_order_acquire)) continue; 27 | } 28 | 29 | void spinlock_mutex::unlock() { flag.clear(std::memory_order_release); } 30 | 31 | } /* namespace concurrent */ 32 | } /* namespace util */ 33 | } /* namespace geode */ 34 | } /* namespace apache */ 35 | -------------------------------------------------------------------------------- /cppcache/src/version.h.in: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | // clang-format off 19 | 20 | #define PRODUCT_VERSION "@PRODUCT_VERSION@" 21 | #define PRODUCT_BUILDDATE "@PRODUCT_BUILDDATE@" 22 | #define PRODUCT_SOURCE_REVISION "@PRODUCT_SOURCE_REVISION@" 23 | #define PRODUCT_SOURCE_REPOSITORY "@PRODUCT_SOURCE_REPOSITORY@" 24 | #define PRODUCT_VERSION_RC @PRODUCT_VERSION_RC@ 25 | 26 | // clang-format on 27 | -------------------------------------------------------------------------------- /cppcache/test/GatewaySenderEventCallbackArgumentTest.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | #include "GatewaySenderEventCallbackArgument.hpp" 21 | 22 | using apache::geode::client::GatewaySenderEventCallbackArgument; 23 | 24 | TEST(GatewaySenderEventCallbackArgument, testDefaultValues) { 25 | GatewaySenderEventCallbackArgument object; 26 | EXPECT_EQ(-1, object.getOriginatingDSId()); 27 | EXPECT_EQ(0, object.getRecipientDSIds().size()); 28 | } 29 | -------------------------------------------------------------------------------- /cppcache/test/PartitionTest.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | #include 21 | 22 | #include "FixedPartitionAttributesImpl.hpp" 23 | 24 | using apache::geode::client::FixedPartitionAttributesImpl; 25 | 26 | TEST(PartitionTest, createFixedPartitionAttributes) { 27 | FixedPartitionAttributesImpl attributes; 28 | } 29 | -------------------------------------------------------------------------------- /cppcache/test/geodeBannerTest.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | #include 21 | 22 | using apache::geode::client::geodeBanner; 23 | 24 | TEST(geodeBannerTest, ValidateBanner) { 25 | EXPECT_LT(static_cast(0), geodeBanner::getBanner().size()) 26 | << "Non-empty banner"; 27 | } 28 | -------------------------------------------------------------------------------- /cppcache/test/gmock_extensions.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #pragma once 19 | 20 | #ifndef GEODE_GMOCK_EXTENSIONS_H_ 21 | #define GEODE_GMOCK_EXTENSIONS_H_ 22 | 23 | #include 24 | 25 | ACTION_P(ReleaseSem, sem) { sem->release(); } 26 | 27 | #endif // GEODE_GMOCK_EXTENSIONS_H_ 28 | -------------------------------------------------------------------------------- /cppcache/test/util/queueTest.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | 20 | #include 21 | 22 | #include "util/queue.hpp" 23 | 24 | using apache::geode::client::queue::coalesce; 25 | 26 | TEST(queueTest, coalesce) { 27 | auto queue = std::deque({1, 1, 1, 2, 3, 4}); 28 | 29 | coalesce(queue, 1); 30 | EXPECT_EQ(2, queue.front()); 31 | EXPECT_EQ(3, queue.size()); 32 | 33 | coalesce(queue, 3); 34 | EXPECT_EQ(2, queue.front()); 35 | EXPECT_EQ(3, queue.size()); 36 | } 37 | -------------------------------------------------------------------------------- /dependencies/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | cmake_minimum_required( VERSION 3.10 ) 17 | project( dependencies LANGUAGES NONE ) 18 | 19 | find_package(Patch REQUIRED) 20 | 21 | add_subdirectory(boost) 22 | add_subdirectory(sqlite) 23 | add_subdirectory(doxygen) 24 | add_subdirectory(gtest) 25 | add_subdirectory(benchmark) 26 | add_subdirectory(xerces-c) 27 | 28 | if (USE_RAT) 29 | add_subdirectory( rat ) 30 | endif() 31 | 32 | if (WIN32) 33 | add_subdirectory( sqlite-netFx ) 34 | endif() 35 | -------------------------------------------------------------------------------- /dependencies/benchmark/patches: -------------------------------------------------------------------------------- 1 | diff -ru a/CMakeLists.txt b/CMakeLists.txt 2 | --- a/CMakeLists.txt Tue Apr 3 22:12:47 2018 3 | +++ b/CMakeLists.txt Sun May 6 00:15:34 2018 4 | @@ -120,6 +120,8 @@ 5 | set(CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL "${CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL} /LTCG") 6 | set(CMAKE_EXE_LINKER_FLAGS_MINSIZEREL "${CMAKE_EXE_LINKER_FLAGS_MINSIZEREL} /LTCG") 7 | endif() 8 | +elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "SunPro") 9 | + add_cxx_compiler_flag(-std=c++11) 10 | else() 11 | # Try and enable C++11. Don't use C++14 because it doesn't work in some 12 | # configurations. 13 | -------------------------------------------------------------------------------- /dependencies/doxygen/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | project( doxygen VERSION 1.6 LANGUAGES NONE ) 17 | # used to compile documents 18 | 19 | # Not a runtime requirement, so look for existing installation. 20 | find_package(Doxygen ${PROJECT_VERSION} REQUIRED) 21 | -------------------------------------------------------------------------------- /dist/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Geode Native Client 2 | Copyright 2017-2021 The Apache Software Foundation. 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /docker/centos-7/bellsoft.repo: -------------------------------------------------------------------------------- 1 | [BellSoft] 2 | name=BellSoft Repository 3 | baseurl=https://yum.bell-sw.com 4 | enabled=1 5 | gpgcheck=1 6 | gpgkey=https://download.bell-sw.com/pki/GPG-KEY-bellsoft 7 | priority=1 8 | -------------------------------------------------------------------------------- /docker/centos-8/bellsoft.repo: -------------------------------------------------------------------------------- 1 | [BellSoft] 2 | name=BellSoft Repository 3 | baseurl=https://yum.bell-sw.com 4 | enabled=1 5 | gpgcheck=1 6 | gpgkey=https://download.bell-sw.com/pki/GPG-KEY-bellsoft 7 | priority=1 8 | -------------------------------------------------------------------------------- /docker/rhel-7/bellsoft.repo: -------------------------------------------------------------------------------- 1 | [BellSoft] 2 | name=BellSoft Repository 3 | baseurl=https://yum.bell-sw.com 4 | enabled=1 5 | gpgcheck=1 6 | gpgkey=https://download.bell-sw.com/pki/GPG-KEY-bellsoft 7 | priority=1 8 | -------------------------------------------------------------------------------- /docker/rhel-8/bellsoft.repo: -------------------------------------------------------------------------------- 1 | [BellSoft] 2 | name=BellSoft Repository 3 | baseurl=https://yum.bell-sw.com 4 | enabled=1 5 | gpgcheck=1 6 | gpgkey=https://download.bell-sw.com/pki/GPG-KEY-bellsoft 7 | priority=1 8 | -------------------------------------------------------------------------------- /docker/windows/README.md: -------------------------------------------------------------------------------- 1 | # C++ Toolkit Version 2 | Currently we target VC toolset 14.15 which is forward compatible to 14.15+. 3 | * Build Tools Component: `Microsoft.VisualStudio.Component.VC.Tools.14.15` 4 | * Entrypoint: `vcvarsall.bat ... -vcvars_ver=14.15` 5 | 6 | We should investigate if we need to go back a few more minors to remain compatible 7 | with previous releases. 8 | 9 | # C++ SDK Version 10 | We haven't really figured out if or how to lock down the SDK version. Currently we use 11 | version 10.16299. 12 | * Build Tools Component: `Microsoft.VisualStudio.Component.Windows10SDK.16299.Desktop` 13 | * Entrypoint: `vcvarsall.bat ... 10.0.16299.0 ...` 14 | 15 | ACE library seems to be stuck on 10.16299. If we upgrade in the future we may need to 16 | unstick ACE to avoid mixing of SDKs. It is unclear is mixing SDKs is an issue. 17 | 18 | # .NET Framework 19 | We build against version 4.5.2 but require 3.5 for old NUnit 2.6.4 at runtime. 20 | * Base Image: `mcr.microsoft.com/dotnet/framework/runtime:3.5` 21 | * Build Tools Component: `Microsoft.Net.Component.4.5.2.TargetingPack` 22 | -------------------------------------------------------------------------------- /docs/api/c-footer.html: -------------------------------------------------------------------------------- 1 | 17 |
Apache Geode Native API Documentation
18 | -------------------------------------------------------------------------------- /docs/api/clicache/footer.html: -------------------------------------------------------------------------------- 1 | 17 |
Apache Geode C++ Cache .NET API Documentation
18 | -------------------------------------------------------------------------------- /docs/api/clicache/gemFireDotNETLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/docs/api/clicache/gemFireDotNETLogo.png -------------------------------------------------------------------------------- /docs/api/cppcache/footer.html: -------------------------------------------------------------------------------- 1 | 17 |
Apache Geode C++ Cache API Documentation
18 | -------------------------------------------------------------------------------- /docs/api/cppcache/gemFireCPPLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/docs/api/cppcache/gemFireCPPLogo.png -------------------------------------------------------------------------------- /docs/api/doclet/package-list: -------------------------------------------------------------------------------- 1 | com.sun.javadoc 2 | -------------------------------------------------------------------------------- /docs/api/log4j/package-list: -------------------------------------------------------------------------------- 1 | org.apache.log4j 2 | org.apache.log4j.chainsaw 3 | org.apache.log4j.config 4 | org.apache.log4j.helpers 5 | org.apache.log4j.jdbc 6 | org.apache.log4j.jmx 7 | org.apache.log4j.lf5 8 | org.apache.log4j.net 9 | org.apache.log4j.nt 10 | org.apache.log4j.or 11 | org.apache.log4j.or.jms 12 | org.apache.log4j.or.sax 13 | org.apache.log4j.performance 14 | org.apache.log4j.spi 15 | org.apache.log4j.varia 16 | org.apache.log4j.xml 17 | org.apache.log4j.xml.examples 18 | -------------------------------------------------------------------------------- /docs/api/native_delta_propagation.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/docs/api/native_delta_propagation.doc -------------------------------------------------------------------------------- /docs/api/native_delta_propagation_doc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/docs/api/native_delta_propagation_doc.pdf -------------------------------------------------------------------------------- /docs/geode-native-book-cpp/.gitignore: -------------------------------------------------------------------------------- 1 | GEmfile.lock 2 | output/ 3 | final_app/ 4 | -------------------------------------------------------------------------------- /docs/geode-native-book-cpp/Gemfile: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | source "https://rubygems.org" 19 | 20 | gem 'bookbindery' 21 | 22 | -------------------------------------------------------------------------------- /docs/geode-native-book-cpp/master_middleman/source/archive_menus/_default.erb: -------------------------------------------------------------------------------- 1 | 17 |
18 | 19 | <%= menu_title %> 20 | 21 |
22 | 27 |
28 |
29 | -------------------------------------------------------------------------------- /docs/geode-native-book-cpp/master_middleman/source/images/Apache_Geode_logo_symbol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/docs/geode-native-book-cpp/master_middleman/source/images/Apache_Geode_logo_symbol.png -------------------------------------------------------------------------------- /docs/geode-native-book-cpp/master_middleman/source/images/Apache_Geode_logo_symbol_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/docs/geode-native-book-cpp/master_middleman/source/images/Apache_Geode_logo_symbol_white.png -------------------------------------------------------------------------------- /docs/geode-native-book-cpp/master_middleman/source/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/docs/geode-native-book-cpp/master_middleman/source/images/favicon.ico -------------------------------------------------------------------------------- /docs/geode-native-book-cpp/master_middleman/source/layouts/_book-footer.erb: -------------------------------------------------------------------------------- 1 | 17 | 21 |
22 | Need help? Visit the Community 23 |
24 | -------------------------------------------------------------------------------- /docs/geode-native-book-cpp/master_middleman/source/layouts/_local-header.erb: -------------------------------------------------------------------------------- 1 | 17 | 18 | <% if vars.local_header_img %> 19 | 20 | <% end %> 21 | <%= vars.local_header_title %> 22 | 23 | <% if vars.changelog_href %> 24 | 25 | CHANGELOG 26 | 27 | <% end %> 28 | -------------------------------------------------------------------------------- /docs/geode-native-book-cpp/master_middleman/source/layouts/_title.erb: -------------------------------------------------------------------------------- 1 | 17 | <% if current_page.data.title %> 18 |

> 19 | <%= current_page.data.title %> 20 |

21 | <% end %> 22 | -------------------------------------------------------------------------------- /docs/geode-native-book-cpp/master_middleman/source/stylesheets/book-styles.scss: -------------------------------------------------------------------------------- 1 | //Licensed to the Apache Software Foundation (ASF) under one or more 2 | //contributor license agreements. See the NOTICE file distributed with 3 | //this work for additional information regarding copyright ownership. 4 | //The ASF licenses this file to You under the Apache License, Version 2.0 5 | //(the "License"); you may not use this file except in compliance with 6 | //the License. You may obtain a copy of the License at 7 | // 8 | //http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | //Unless required by applicable law or agreed to in writing, software 11 | //distributed under the License is distributed on an "AS IS" BASIS, 12 | //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 13 | //express or implied. See the License for the specific language governing 14 | //permissions and limitations under the License. 15 | 16 | * { 17 | box-sizing: border-box; 18 | } 19 | -------------------------------------------------------------------------------- /docs/geode-native-book-cpp/master_middleman/source/stylesheets/partials/_book-base-values.scss: -------------------------------------------------------------------------------- 1 | //Licensed to the Apache Software Foundation (ASF) under one or more 2 | //contributor license agreements. See the NOTICE file distributed with 3 | //this work for additional information regarding copyright ownership. 4 | //The ASF licenses this file to You under the Apache License, Version 2.0 5 | //(the "License"); you may not use this file except in compliance with 6 | //the License. You may obtain a copy of the License at 7 | // 8 | //http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | //Unless required by applicable law or agreed to in writing, software 11 | //distributed under the License is distributed on an "AS IS" BASIS, 12 | //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 13 | //express or implied. See the License for the specific language governing 14 | //permissions and limitations under the License. 15 | -------------------------------------------------------------------------------- /docs/geode-native-book-cpp/master_middleman/source/stylesheets/partials/_book-vars.scss: -------------------------------------------------------------------------------- 1 | //Licensed to the Apache Software Foundation (ASF) under one or more 2 | //contributor license agreements. See the NOTICE file distributed with 3 | //this work for additional information regarding copyright ownership. 4 | //The ASF licenses this file to You under the Apache License, Version 2.0 5 | //(the "License"); you may not use this file except in compliance with 6 | //the License. You may obtain a copy of the License at 7 | // 8 | //http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | //Unless required by applicable law or agreed to in writing, software 11 | //distributed under the License is distributed on an "AS IS" BASIS, 12 | //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 13 | //express or implied. See the License for the specific language governing 14 | //permissions and limitations under the License. 15 | 16 | $navy: #243640; 17 | $blue1: #2185c5; 18 | $blue2: #a7cae1; 19 | $bluegray1: #4b6475; 20 | $teal1: #03786D; 21 | $teal2: #00a79d; 22 | 23 | $color-accent: $teal1; 24 | $color-accent-bright: $teal2; 25 | 26 | // link colors 27 | $color-link: $blue1; 28 | $color-link-border: $blue2; 29 | 30 | $color-border-tip: $blue2; 31 | 32 | $color-bg-header: $navy; 33 | $color-bg-dark: $bluegray1; 34 | -------------------------------------------------------------------------------- /docs/geode-native-book-dotnet/.gitignore: -------------------------------------------------------------------------------- 1 | GEmfile.lock 2 | output/ 3 | final_app/ 4 | -------------------------------------------------------------------------------- /docs/geode-native-book-dotnet/Gemfile: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | source "https://rubygems.org" 19 | 20 | gem 'bookbindery' 21 | 22 | -------------------------------------------------------------------------------- /docs/geode-native-book-dotnet/master_middleman/source/archive_menus/_default.erb: -------------------------------------------------------------------------------- 1 | 17 |
18 | 19 | <%= menu_title %> 20 | 21 |
22 | 27 |
28 |
29 | -------------------------------------------------------------------------------- /docs/geode-native-book-dotnet/master_middleman/source/images/Apache_Geode_logo_symbol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/docs/geode-native-book-dotnet/master_middleman/source/images/Apache_Geode_logo_symbol.png -------------------------------------------------------------------------------- /docs/geode-native-book-dotnet/master_middleman/source/images/Apache_Geode_logo_symbol_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/docs/geode-native-book-dotnet/master_middleman/source/images/Apache_Geode_logo_symbol_white.png -------------------------------------------------------------------------------- /docs/geode-native-book-dotnet/master_middleman/source/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/docs/geode-native-book-dotnet/master_middleman/source/images/favicon.ico -------------------------------------------------------------------------------- /docs/geode-native-book-dotnet/master_middleman/source/layouts/_book-footer.erb: -------------------------------------------------------------------------------- 1 | 17 | 21 |
22 | Need help? Visit the Community 23 |
24 | -------------------------------------------------------------------------------- /docs/geode-native-book-dotnet/master_middleman/source/layouts/_local-header.erb: -------------------------------------------------------------------------------- 1 | 17 | 18 | <% if vars.local_header_img %> 19 | 20 | <% end %> 21 | <%= vars.local_header_title %> 22 | 23 | <% if vars.changelog_href %> 24 | 25 | CHANGELOG 26 | 27 | <% end %> 28 | -------------------------------------------------------------------------------- /docs/geode-native-book-dotnet/master_middleman/source/layouts/_title.erb: -------------------------------------------------------------------------------- 1 | 17 | <% if current_page.data.title %> 18 |

> 19 | <%= current_page.data.title %> 20 |

21 | <% end %> 22 | -------------------------------------------------------------------------------- /docs/geode-native-book-dotnet/master_middleman/source/stylesheets/book-styles.scss: -------------------------------------------------------------------------------- 1 | //Licensed to the Apache Software Foundation (ASF) under one or more 2 | //contributor license agreements. See the NOTICE file distributed with 3 | //this work for additional information regarding copyright ownership. 4 | //The ASF licenses this file to You under the Apache License, Version 2.0 5 | //(the "License"); you may not use this file except in compliance with 6 | //the License. You may obtain a copy of the License at 7 | // 8 | //http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | //Unless required by applicable law or agreed to in writing, software 11 | //distributed under the License is distributed on an "AS IS" BASIS, 12 | //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 13 | //express or implied. See the License for the specific language governing 14 | //permissions and limitations under the License. 15 | 16 | * { 17 | box-sizing: border-box; 18 | } 19 | -------------------------------------------------------------------------------- /docs/geode-native-book-dotnet/master_middleman/source/stylesheets/partials/_book-base-values.scss: -------------------------------------------------------------------------------- 1 | //Licensed to the Apache Software Foundation (ASF) under one or more 2 | //contributor license agreements. See the NOTICE file distributed with 3 | //this work for additional information regarding copyright ownership. 4 | //The ASF licenses this file to You under the Apache License, Version 2.0 5 | //(the "License"); you may not use this file except in compliance with 6 | //the License. You may obtain a copy of the License at 7 | // 8 | //http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | //Unless required by applicable law or agreed to in writing, software 11 | //distributed under the License is distributed on an "AS IS" BASIS, 12 | //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 13 | //express or implied. See the License for the specific language governing 14 | //permissions and limitations under the License. 15 | -------------------------------------------------------------------------------- /docs/geode-native-book-dotnet/master_middleman/source/stylesheets/partials/_book-vars.scss: -------------------------------------------------------------------------------- 1 | //Licensed to the Apache Software Foundation (ASF) under one or more 2 | //contributor license agreements. See the NOTICE file distributed with 3 | //this work for additional information regarding copyright ownership. 4 | //The ASF licenses this file to You under the Apache License, Version 2.0 5 | //(the "License"); you may not use this file except in compliance with 6 | //the License. You may obtain a copy of the License at 7 | // 8 | //http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | //Unless required by applicable law or agreed to in writing, software 11 | //distributed under the License is distributed on an "AS IS" BASIS, 12 | //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 13 | //express or implied. See the License for the specific language governing 14 | //permissions and limitations under the License. 15 | 16 | $navy: #243640; 17 | $blue1: #2185c5; 18 | $blue2: #a7cae1; 19 | $bluegray1: #4b6475; 20 | $teal1: #03786D; 21 | $teal2: #00a79d; 22 | 23 | $color-accent: $teal1; 24 | $color-accent-bright: $teal2; 25 | 26 | // link colors 27 | $color-link: $blue1; 28 | $color-link-border: $blue2; 29 | 30 | $color-border-tip: $blue2; 31 | 32 | $color-bg-header: $navy; 33 | $color-bg-dark: $bluegray1; 34 | -------------------------------------------------------------------------------- /docs/geode-native-docs-cpp/images/7-Preserving_Data-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/docs/geode-native-docs-cpp/images/7-Preserving_Data-2.gif -------------------------------------------------------------------------------- /docs/geode-native-docs-cpp/images/client-server-arch.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/docs/geode-native-docs-cpp/images/client-server-arch.gif -------------------------------------------------------------------------------- /docs/geode-native-docs-dotnet/images/7-Preserving_Data-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/docs/geode-native-docs-dotnet/images/7-Preserving_Data-2.gif -------------------------------------------------------------------------------- /docs/geode-native-docs-dotnet/images/client-server-arch.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/docs/geode-native-docs-dotnet/images/client-server-arch.gif -------------------------------------------------------------------------------- /docs/geode-native-docs-dotnet/preserving-data/initial-operation.html.md.erb: -------------------------------------------------------------------------------- 1 | --- 2 | title: Initial Operation 3 | --- 4 | 5 | 21 | 22 | The initial startup of a durable client is similar to the startup of any other client, except that it specifically calls the `Cache.readyForEvents` method when all regions and listeners on the client are ready to process messages from the server. 23 | 24 | See [Sending the Cache Ready Message to the Server](sending-cache-ready-message.html#concept_C28D015FA85B4EE4B2F8D2DA5FCAFBFF). 25 | 26 | 27 | -------------------------------------------------------------------------------- /examples/CMakeLists.txt.in: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | cmake_minimum_required(VERSION 3.10) 17 | 18 | project(examples LANGUAGES NONE) 19 | 20 | 21 | add_subdirectory(cpp) 22 | @DOTNET_SUB_DIRECTORY@ 23 | add_subdirectory(utilities) 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /examples/cpp/CMakeLists.txt.in: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | cmake_minimum_required(VERSION 3.10) 17 | 18 | project(@PRODUCT_DLL_NAME@.Cpp.Examples LANGUAGES NONE) 19 | 20 | add_subdirectory(authinitialize) 21 | add_subdirectory(continuousquery) 22 | add_subdirectory(dataserializable) 23 | add_subdirectory(functionexecution) 24 | add_subdirectory(pdxserializable) 25 | add_subdirectory(pdxserializer) 26 | add_subdirectory(putgetremove) 27 | add_subdirectory(remotequery) 28 | add_subdirectory(transaction) 29 | 30 | add_subdirectory(sslputget) 31 | -------------------------------------------------------------------------------- /examples/cpp/functionexecution/stopserver.sh: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | #!/usr/bin/env bash 17 | GFSH_PATH="" 18 | which gfsh 2> /dev/null 19 | 20 | if [ $? -eq 0 ]; then 21 | GFSH_PATH="gfsh" 22 | else 23 | if [ "$GEODE_HOME" == "" ]; then 24 | echo "Could not find gfsh. Please set the GEODE_HOME path." 25 | echo "e.g. export GEODE_HOME=" 26 | else 27 | GFSH_PATH=$GEODE_HOME/bin/gfsh 28 | fi 29 | fi 30 | 31 | $GFSH_PATH -e "connect" -e "shutdown --include-locators=true" 32 | 33 | rm -rf locator server 34 | -------------------------------------------------------------------------------- /examples/cpp/pdxserializer/Order.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "Order.hpp" 19 | 20 | namespace customserializer { 21 | 22 | void Order::print() { 23 | std::cout << " OrderID: " << order_id_ << std::endl 24 | << " Product Name: " << name_ << std::endl 25 | << " Quantity: " << quantity_ << std::endl; 26 | } 27 | 28 | } // namespace customserializer -------------------------------------------------------------------------------- /examples/cpp/putgetremove/stopserver.sh: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | #!/usr/bin/env bash 17 | GFSH_PATH="" 18 | which gfsh 2> /dev/null 19 | 20 | if [ $? -eq 0 ]; then 21 | GFSH_PATH="gfsh" 22 | else 23 | if [ "$GEODE_HOME" == "" ]; then 24 | echo "Could not find gfsh. Please set the GEODE_HOME path." 25 | echo "e.g. export GEODE_HOME=" 26 | else 27 | GFSH_PATH=$GEODE_HOME/bin/gfsh 28 | fi 29 | fi 30 | 31 | $GFSH_PATH -e "connect" -e "stop server --name=server" -e "stop locator --name=locator" 32 | 33 | rm -rf locator server 34 | -------------------------------------------------------------------------------- /examples/cpp/sslputget/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | cmake_minimum_required(VERSION 3.10) 17 | 18 | project(cpp-sslputget LANGUAGES NONE) 19 | 20 | configure_file(${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt.in ${CMAKE_CURRENT_BINARY_DIR}/CMakeLists.txt @ONLY) 21 | 22 | install(FILES 23 | ${CMAKE_CURRENT_BINARY_DIR}/CMakeLists.txt 24 | main.cpp 25 | README.md 26 | startserver.sh 27 | stopserver.sh 28 | DESTINATION examples/cpp/sslputget) 29 | 30 | -------------------------------------------------------------------------------- /examples/cpp/transaction/stopserver.ps1: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | $GFSH_PATH = "" 17 | if (Get-Command gfsh -ErrorAction SilentlyContinue) 18 | { 19 | $GFSH_PATH = "gfsh" 20 | } 21 | else 22 | { 23 | $GFSH_PATH = "$env:GEODE_HOME\bin\gfsh.bat" 24 | } 25 | 26 | Invoke-Expression "$GFSH_PATH -e 'connect' -e 'destroy region --name=exampleRegion' -e 'stop server --name=server' -e 'stop locator --name=locator'" 27 | 28 | Remove-Item -Path locator -Recurse -Force 29 | Remove-Item -Path server -Recurse -Force 30 | -------------------------------------------------------------------------------- /examples/cpp/transaction/stopserver.sh: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | #!/usr/bin/env bash 17 | GFSH_PATH="" 18 | which gfsh 2> /dev/null 19 | 20 | if [ $? -eq 0 ]; then 21 | GFSH_PATH="gfsh" 22 | else 23 | if [ "$GEODE_HOME" == "" ]; then 24 | echo "Could not find gfsh. Please set the GEODE_HOME path." 25 | echo "e.g. export GEODE_HOME=" 26 | else 27 | GFSH_PATH=$GEODE_HOME/bin/gfsh 28 | fi 29 | fi 30 | 31 | $GFSH_PATH -e "connect" -e "stop server --name=server" -e "stop locator --name=locator" 32 | 33 | rm -rf locator server 34 | -------------------------------------------------------------------------------- /examples/dotnet/sslputget/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | cmake_minimum_required(VERSION 3.10) 17 | 18 | project(dotnet-sslputget LANGUAGES NONE) 19 | 20 | configure_file(${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt.in ${CMAKE_CURRENT_BINARY_DIR}/CMakeLists.txt @ONLY) 21 | 22 | install(FILES 23 | ${CMAKE_CURRENT_BINARY_DIR}/CMakeLists.txt 24 | Program.cs 25 | README.md 26 | startserver.ps1 27 | stopserver.ps1 28 | DESTINATION examples/dotnet/sslputget) 29 | 30 | -------------------------------------------------------------------------------- /packer/default.json: -------------------------------------------------------------------------------- 1 | { 2 | "region": "us-west-2", 3 | "aws_region": "us-west-2", 4 | "googlecompute_project": "apachegeode-ci", 5 | "googlecompute_zone": "us-central1-c" 6 | } 7 | -------------------------------------------------------------------------------- /packer/linux/aws/setup-files.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | set -x -e -o pipefail 19 | 20 | cp -rv /tmp/files/* / 21 | rm -rf /tmp/files 22 | 23 | chmod +x /usr/local/bin/init-user.sh 24 | -------------------------------------------------------------------------------- /packer/linux/aws/wait-for-cloud-init.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | 19 | #set -x 20 | set -e 21 | set -o pipefail 22 | 23 | # leaves tail running but we should be restarting anyway 24 | { tail -n +1 -f /var/log/cloud-init.log /var/log/cloud-init-output.log & } | sed \ 25 | -e '/Cloud-init .* finished/q' \ 26 | -e '/Failed at merging in cloud config/q1' 27 | -------------------------------------------------------------------------------- /packer/linux/files/etc/systemd/system/update-hosts.service: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | [Unit] 17 | Description=Ensure an A record exists for local hostname in /etc/hosts 18 | After=network.target 19 | After=network-online.target 20 | Wants=network-online.target 21 | 22 | [Service] 23 | ExecStart=/usr/local/bin/update-hosts.sh 24 | 25 | [Install] 26 | WantedBy=multi-user.target 27 | -------------------------------------------------------------------------------- /packer/linux/files/usr/local/bin/update-hosts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | # add hostname to /etc/hosts if not set 19 | if (! getent hosts `hostname` >/dev/null); then 20 | echo `hostname -I` `hostname` >> /etc/hosts 21 | fi 22 | -------------------------------------------------------------------------------- /packer/linux/install-cmake.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | set -x -e -o pipefail 19 | 20 | tmp=$(mktemp) 21 | 22 | curl -o ${tmp} -L $(curl -s https://api.github.com/repos/Kitware/CMake/releases \ 23 | | grep -P -i 'browser_download_url.*cmake-\d+\.\d+\.\d+-linux-x86_64\.sh' \ 24 | | head -n 1 \ 25 | | cut -d : -f 2,3 \ 26 | | tr -d \") 27 | 28 | bash ${tmp} --skip-license --prefix=/usr/local 29 | 30 | rm -f ${tmp} 31 | -------------------------------------------------------------------------------- /packer/linux/install-dotnet.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | set -x -e -o pipefail 19 | 20 | curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin \ 21 | --channel 3.1 \ 22 | --install-dir /usr/lib/dotnet 23 | 24 | ln -s /usr/lib/dotnet/dotnet /usr/bin/dotnet 25 | -------------------------------------------------------------------------------- /packer/linux/setup-files.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | set -x -e -o pipefail 19 | 20 | cp -rv /tmp/files/* / 21 | rm -rf /tmp/files 22 | 23 | chmod +x /usr/local/bin/update-hosts.sh 24 | 25 | systemctl daemon-reload 26 | systemctl enable update-hosts.service 27 | systemctl start update-hosts.service 28 | -------------------------------------------------------------------------------- /packer/rhel/7/install-devtoolset.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | set -x -e -o pipefail 19 | 20 | yum --enablerepo '*rhscl*' install -y devtoolset-4-gcc-c++ 21 | 22 | echo "source scl_source enable devtoolset-4" > /etc/profile.d/devtoolset.sh 23 | -------------------------------------------------------------------------------- /packer/rhel/aws/add-user-build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | #set -x -e -o pipefail 19 | 20 | useradd build 21 | 22 | (crontab -l -u build ; echo "@reboot /etc/init-user.sh") | sort - | uniq - | crontab -u build - 23 | -------------------------------------------------------------------------------- /packer/rhel/aws/files/etc/cloud/cloud.cfg.d/10_hosts.cfg: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | manage_etc_hosts: true 17 | -------------------------------------------------------------------------------- /packer/rhel/aws/setup-files.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | set -x -e -o pipefail 19 | 20 | cp -rv /tmp/files/* / 21 | rm -rf /tmp/files 22 | -------------------------------------------------------------------------------- /packer/rhel/cleanup.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | set -x -e -o pipefail 19 | 20 | yum clean all -------------------------------------------------------------------------------- /packer/rhel/init-hosts.rc.local: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | # add hostname to /etc/hosts if not set 17 | if (! getent hosts `hostname` >/dev/null); then 18 | echo `/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'` `hostname` >> /etc/hosts 19 | fi 20 | -------------------------------------------------------------------------------- /packer/rhel/install-jdk-11.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | set -x -e -o pipefail 19 | 20 | cat <<'EOF' > /etc/yum.repos.d/bellsoft.repo 21 | [BellSoft] 22 | name=BellSoft Repository 23 | baseurl=https://yum.bell-sw.com 24 | enabled=1 25 | gpgcheck=1 26 | gpgkey=https://download.bell-sw.com/pki/GPG-KEY-bellsoft 27 | priority=1 28 | EOF 29 | 30 | yum install -y bellsoft-java11 31 | -------------------------------------------------------------------------------- /packer/ubuntu/aws/add-user-build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | #set -x -e -o pipefail 19 | 20 | useradd -m build 21 | 22 | (crontab -l -u build ; echo "@reboot /etc/init-user.sh") | sort - | uniq - | crontab -u build - 23 | -------------------------------------------------------------------------------- /packer/ubuntu/cleanup.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | set -x -e -o pipefail 19 | 20 | apt-get autoclean 21 | -------------------------------------------------------------------------------- /packer/ubuntu/files/etc/systemd/system/update-hosts.service: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | [Unit] 17 | Description=Ensure an A record exists for local hostname in /etc/hosts 18 | After=network.target 19 | After=network-online.target 20 | Wants=network-online.target 21 | 22 | [Service] 23 | ExecStart=/usr/local/bin/update-hosts.sh 24 | 25 | [Install] 26 | WantedBy=multi-user.target 27 | -------------------------------------------------------------------------------- /packer/ubuntu/files/usr/local/bin/update-hosts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | # add hostname to /etc/hosts if not set 19 | if (! getent hosts `hostname` >/dev/null); then 20 | echo `hostname -I` `hostname` >> /etc/hosts 21 | fi 22 | -------------------------------------------------------------------------------- /packer/ubuntu/install-jdk-11.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | set -x -e -o pipefail 19 | 20 | wget -q -O - https://download.bell-sw.com/pki/GPG-KEY-bellsoft | sudo apt-key add - 21 | echo "deb [arch=amd64] https://apt.bell-sw.com/ stable main" | sudo tee /etc/apt/sources.list.d/bellsoft.list 22 | 23 | sudo apt-get update 24 | sudo apt-get install -y bellsoft-java11 25 | -------------------------------------------------------------------------------- /packer/ubuntu/update.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one or more 4 | # contributor license agreements. See the NOTICE file distributed with 5 | # this work for additional information regarding copyright ownership. 6 | # The ASF licenses this file to You under the Apache License, Version 2.0 7 | # (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | 18 | set -x -e -o pipefail 19 | 20 | export DEBIAN_FRONTEND=noninteractive 21 | apt update && apt-get -y autoremove && apt remove -y unattended-upgrades 22 | -------------------------------------------------------------------------------- /packer/windows/cleanup.ps1: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | # Remove admin ssh keys 17 | $authorized_keys_file = "${ENV:PROGRAMDATA}\ssh\administrators_authorized_keys" 18 | Remove-Item "${authorized_keys_file}" -Force -ErrorAction SilentlyContinue 19 | 20 | # Cleanup temp 21 | Get-ChildItem $env:tmp -Recurse | Remove-Item -Recurse -force -ErrorAction SilentlyContinue 22 | Get-ChildItem ([environment]::GetEnvironmentVariable("temp","machine")) -Recurse| Remove-Item -Recurse -Force -ErrorAction SilentlyContinue 23 | -------------------------------------------------------------------------------- /packer/windows/disable-uac.ps1: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | $ErrorActionPreference = "Stop" 17 | 18 | Write-Host "Disabling UAC..." 19 | 20 | New-ItemProperty -Path HKLM:Software\Microsoft\Windows\CurrentVersion\Policies\System -Name EnableLUA -PropertyType DWord -Value 0 -Force 21 | New-ItemProperty -Path HKLM:Software\Microsoft\Windows\CurrentVersion\Policies\System -Name ConsentPromptBehaviorAdmin -PropertyType DWord -Value 0 -Force 22 | 23 | Write-Host "Disabled UAC." 24 | -------------------------------------------------------------------------------- /packer/windows/install-chocolatey.ps1: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | $ErrorActionPreference = "Stop" 17 | 18 | write-host "Installing Chocolatey..." 19 | 20 | [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 21 | iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) 22 | 23 | write-host "Installed Chocolatey." 24 | -------------------------------------------------------------------------------- /sni-test-config/geode-config/gemfire.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one or more 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to You under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | 18 | statistic-sampling-enabled=true 19 | statistic-archive-file=statArchive.gfs 20 | -------------------------------------------------------------------------------- /sni-test-config/geode-config/gfsecurity.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one or more 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to You under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | 18 | security-log-level=info 19 | security-peer-verifymember-timeout=1000 20 | ssl-keystore-password=geode 21 | ssl-truststore=/geode/config/truststore.jks 22 | ssl-truststore-password=geode 23 | ssl-require-authentication=false 24 | ssl-web-require-authentication=false 25 | ssl-enabled-components=all 26 | ssl-endpoint-identification-enabled=false 27 | 28 | -------------------------------------------------------------------------------- /sni-test-config/geode-config/locator-maeve-keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/sni-test-config/geode-config/locator-maeve-keystore.jks -------------------------------------------------------------------------------- /sni-test-config/geode-config/server-clementine-keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/sni-test-config/geode-config/server-clementine-keystore.jks -------------------------------------------------------------------------------- /sni-test-config/geode-config/server-dolores-keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/sni-test-config/geode-config/server-dolores-keystore.jks -------------------------------------------------------------------------------- /sni-test-config/geode-config/truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/sni-test-config/geode-config/truststore.jks -------------------------------------------------------------------------------- /sni-test-config/geode-config/truststore.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/sni-test-config/geode-config/truststore.p12 -------------------------------------------------------------------------------- /sni-test-config/scripts/forever: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | # 4 | # Licensed to the Apache Software Foundation (ASF) under one or more 5 | # contributor license agreements. See the NOTICE file distributed with 6 | # this work for additional information regarding copyright ownership. 7 | # The ASF licenses this file to You under the Apache License, Version 2.0 8 | # (the "License"); you may not use this file except in compliance with 9 | # the License. You may obtain a copy of the License at 10 | # 11 | # http://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, software 14 | # distributed under the License is distributed on an "AS IS" BASIS, 15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | # See the License for the specific language governing permissions and 17 | # limitations under the License. 18 | # 19 | 20 | while true; do sleep 600; done 21 | -------------------------------------------------------------------------------- /ssl_keys/client_keys/client_truststore.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIC6zCCAdOgAwIBAgIEUCOimzANBgkqhkiG9w0BAQUFADAeMQswCQYDVQQGEwJVUzEPMA0GA1UE 3 | AwwGc2VydmVyMB4XDTEyMDgwOTExNDQyN1oXDTM3MDgwMzExNDQyN1owHjELMAkGA1UEBhMCVVMx 4 | DzANBgNVBAMMBnNlcnZlcjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMKe/Phwhj/V 5 | KcFrQuEcnlsWgDGYedyAYwUXItmolvyTeqPRI89H+NktE0zxsn3FjINN/ioz/LLSk6n4y68RGwg+ 6 | 8/7EBnYJ/zWYnmPdFeDjzQP6B81YR2YHZH7h+FweQpSpWvo4tZEeiMskQHVMO6t8tE/rwNqcoNfa 7 | BEFUxPWm/S2q22rueS71ft1MtcGRAUr31fGuKslmoBeT8PqBavo0eVeFu4x/b0TbVg5+arJ/JcOc 8 | 0qFtSBacnY4hMs4uvTKe4yWd0g3wEEMpy5NpImew1be9nDuCnmP2jorvH4RMfNmq4bNWTJJr6sbt 9 | cCooOE7wEB20Gx69jIATxoXkzHkCAwEAAaMxMC8wHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUF 10 | BwMCMA4GA1UdDwEB/wQEAwIEsDANBgkqhkiG9w0BAQUFAAOCAQEAYEt4ia2UcU21clHqzsyg1X1R 11 | nyImw/AKg8D62U1XCdJtqE9JN1H56cijZGKKJqItEtk/ZvsKSUvvBx9tnrrtR/Tz4UZudhG6L/2R 12 | CeU2A2FXk4t0o1PhWY7aOyNfJ9Y7PRRhYuZ5gXCVGy3c+Aiemb1JUF+pwOs92OvALpv+cG6UfxU7 13 | gZ/VucKvHROFLMru6Kx0luS3SxdAcYa1XhX0OlbYtbZ+8kzfUbKUvNHFfamsHJzfVzuFENQmDNU0 14 | wtDX7OgyAhUH/UB1TSk0JFa/upODpZNwyy5OVfF4aFQJ7TH//x8vaiy1zo/V7HBhxU8yzk+GlOTD 15 | x/VMmE7x5hJakA== 16 | -----END CERTIFICATE----- 17 | -------------------------------------------------------------------------------- /ssl_keys/client_keys/client_truststore_corrupt.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | NIIC6zCCAdOgAwIBAgIEUCOimzANBgkqhkiG9w0BAQUFADAeMQswCQYDVQQGEwJVUzEPMA0GA1UE 3 | AwwGc2VydmVyMB4XDTEyMDgwOTExNDQyN1oXDTM3MDgwMzExNDQyN1owHjELMAkGA1UEBhMCVVMx 4 | DzANBgNVBAMMBnNlcnZlcjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMKe/Phwhj/V 5 | KcFrQuEcnlsWgDGYedyAYwUXItmolvyTeqPRI89H+NktE0zxsn3FjINN/ioz/LLSk6n4y68RGwg+ 6 | 8/7EBnYJ/zWYnmPdFeDjzQP6B81YR2YHZH7h+FweQpSpWvo4tZEeiMskQHVMO6t8tE/rwNqcoNfa 7 | BEFUxPWm/S2q22rueS71ft1MtcGRAUr31fGuKslmoBeT8PqBavo0eVeFu4x/b0TbVg5+arJ/JcOc 8 | 0qFtSBacnY4hMs4uvTKe4yWd0g3wEEMpy5NpImew1be9nDuCnmP2jorvH4RMfNmq4bNWTJJr6sbt 9 | cCooOE7wEB20Gx69jIATxoXkzHkCAwEAAaMxMC8wHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUF 10 | BwMCMA4GA1UdDwEB/wQEAwIEsDANBgkqhkiG9w0BAQUFAAOCAQEAYEt4ia2UcU21clHqzsyg1X1R 11 | nyImw/AKg8D62U1XCdJtqE9JN1H56cijZGKKJqItEtk/ZvsKSUvvBx9tnrrtR/Tz4UZudhG6L/2R 12 | CeU2A2FXk4t0o1PhWY7aOyNfJ9Y7PRRhYuZ5gXCVGy3c+Aiemb1JUF+pwOs92OvALpv+cG6UfxU7 13 | gZ/VucKvHROFLMru6Kx0luS3SxdAcYa1XhX0OlbYtbZ+8kzfUbKUvNHFfamsHJzfVzuFENQmDNU0 14 | wtDX7OgyAhUH/UB1TSk0JFa/upODpZNwyy5OVfF4aFQJ7TH//x8vaiy1zo/V7HBhxU8yzk+GlOTD 15 | x/VMmE7x5hJakA== 16 | -----END CERTIFICATE----- 17 | -------------------------------------------------------------------------------- /ssl_keys/server_keys/server_keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/ssl_keys/server_keys/server_keystore.jks -------------------------------------------------------------------------------- /ssl_keys/server_keys/server_keystore_chained.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/ssl_keys/server_keys/server_keystore_chained.jks -------------------------------------------------------------------------------- /ssl_keys/server_keys/server_keystore_chained.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/ssl_keys/server_keys/server_keystore_chained.p12 -------------------------------------------------------------------------------- /ssl_keys/server_keys/server_truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/ssl_keys/server_keys/server_truststore.jks -------------------------------------------------------------------------------- /ssl_keys/server_keys/server_truststore_chained_root.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/ssl_keys/server_keys/server_truststore_chained_root.jks -------------------------------------------------------------------------------- /ssl_keys/server_keys/untrusted_server_keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/ssl_keys/server_keys/untrusted_server_keystore.jks -------------------------------------------------------------------------------- /ssl_keys/server_keys/untrusted_server_truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/geode-native/049309470cd01ddcb256cc2c0f60ed0aa3a4caf2/ssl_keys/server_keys/untrusted_server_truststore.jks -------------------------------------------------------------------------------- /templates/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | cmake_minimum_required(VERSION 3.4) 16 | 17 | add_subdirectory(security) -------------------------------------------------------------------------------- /tests/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | project(nativeclient.tests LANGUAGES NONE) 17 | 18 | add_subdirectory(cpp) 19 | 20 | if (${BUILD_CLI}) 21 | add_subdirectory(cli) 22 | endif() 23 | -------------------------------------------------------------------------------- /tests/cli/.clang-format: -------------------------------------------------------------------------------- 1 | # C++/CLI sources not supported in clang-format 2 | --- 3 | Language: Cpp 4 | DisableFormat: true 5 | SortIncludes: false 6 | -------------------------------------------------------------------------------- /tests/cli/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | add_subdirectory(DUnitFramework) 17 | add_subdirectory(FwkClient) 18 | add_subdirectory(QueryHelper) 19 | add_subdirectory(PdxClassLibrary) 20 | add_subdirectory(NewTestObject) 21 | add_subdirectory(PdxVersion1Lib) 22 | add_subdirectory(PdxVersion2Lib) 23 | add_subdirectory(SecurityUtil) 24 | 25 | -------------------------------------------------------------------------------- /tests/cli/DUnitFramework/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /tests/cli/FwkClient/App.config: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /tests/cli/PdxClassLibrary/Person.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | using System; 19 | using System.Collections.Generic; 20 | using System.Text; 21 | 22 | namespace PdxClassLibrary 23 | { 24 | public class Person 25 | { 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /tests/cpp/.clang-tidy: -------------------------------------------------------------------------------- 1 | --- 2 | InheritParentConfig: true 3 | Checks: '' 4 | ... 5 | -------------------------------------------------------------------------------- /tests/cpp/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | project(nativeclient.tests.cpp LANGUAGES NONE) 17 | 18 | add_subdirectory(fwklib) 19 | add_subdirectory(testobject) 20 | add_subdirectory(security) 21 | -------------------------------------------------------------------------------- /tests/javaobject/NoopPrincipal.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package javaobject; 18 | 19 | import java.security.Principal; 20 | 21 | public class NoopPrincipal implements Principal { 22 | 23 | public static NoopPrincipal create() { 24 | return new NoopPrincipal(); 25 | } 26 | 27 | public String getName() { 28 | return ""; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /tests/javaobject/PdxTests/pdxEnumTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | package PdxTests; 19 | public enum pdxEnumTest { pdx1, pdx2, pdx3}; 20 | -------------------------------------------------------------------------------- /tools/gnmsg/README.md: -------------------------------------------------------------------------------- 1 | ## Message parsing tool for geode-native (gnmsg) 2 | Given a debug-level log file from a geode-native application, this script will decode all of the Geode protocol messages it can between client and server, and print them out as a list of JSON objects. 3 | 4 | ``` 5 | usage: gnmsg.py [-h] [--file [F]] [--handshake] [--messages] 6 | 7 | Parse a Gemfire NativeClient log file. 8 | 9 | optional arguments: 10 | -h, --help show this help message and exit 11 | --file [F] Data file path/name 12 | --handshake (optionally) print out handshake message details 13 | --messages (optionally) print out regular message details 14 | ``` 15 | 16 | The `handshake` argument should be considered experimental at the time of this writing, since there doesn't yet exist a public version of geode-native that actually logs the handshake bytes to parse. 17 | -------------------------------------------------------------------------------- /tools/gnmsg/connection_types.py: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python3 2 | 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to You under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | from enum import Enum 17 | 18 | 19 | class ConnectionTypes(int, Enum): 20 | CLIENT_TO_SERVER = 100 21 | PRIMARY_SERVER_TO_CLIENT = 101 22 | SECONDARY_SERVER_TO_CLIENT = 102 23 | 24 | 25 | ConnectionTypeStrings = { 26 | ConnectionTypes.CLIENT_TO_SERVER: "Client to server", 27 | ConnectionTypes.PRIMARY_SERVER_TO_CLIENT: "Primary server to client", 28 | ConnectionTypes.SECONDARY_SERVER_TO_CLIENT: "Secondary server to client", 29 | } 30 | -------------------------------------------------------------------------------- /tools/gnmsg/decoder_base.py: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python3 2 | 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to You under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | import logging 17 | import queue 18 | import sys 19 | import traceback 20 | import threading 21 | 22 | 23 | class DecoderBase: 24 | def __init__(self, output_queue): 25 | self.output_queue_ = output_queue 26 | 27 | def process_line(self, line): 28 | print("process_line") 29 | -------------------------------------------------------------------------------- /tools/gnmsg/gnmsg_globals.py: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python3 2 | 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to You under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | import protocol_state 17 | 18 | 19 | # global protocol state. We need to keep track of (at least) the last client 20 | # message sent, per thread, in order to decode server responses. 21 | global_protocol_state = protocol_state.ProtocolState() 22 | -------------------------------------------------------------------------------- /tools/gnmsg/handshake_acceptance_codes.py: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python3 2 | 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to You under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | server_handshake_reply_codes = { 17 | 21: "REPLY_SSL_ENABLED", 18 | 59: "REPLY_OK", 19 | 60: "REPLY_REFUSED", 20 | 61: "REPLY_INVALID", 21 | 62: "REPLY_AUTHENTICATION_REQUIRED", 22 | 63: "REPLY_AUTHENTICATION_FAILED", 23 | 64: "REPLY_DUPLICATE_DURABLE_CLIENT", 24 | 105: "SUCCESSFUL_SERVER_TO_CLIENT", 25 | 106: "UNSUCCESSFUL_SERVER_TO_CLIENT", 26 | } 27 | -------------------------------------------------------------------------------- /tools/gnmsg/interest_policy.py: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python3 2 | 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to You under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | interest_policy = { 17 | 0: "NONE", 18 | 1: "KEYS", 19 | 2: "KEYS/VALUES", 20 | } 21 | -------------------------------------------------------------------------------- /tools/gnmsg/interest_type.py: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python3 2 | 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to You under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | interest_type = { 17 | 0: "KEY", 18 | 1: "REGULAR_EXPRESSION", 19 | 2: "FILTER_CLASS", 20 | 3: "OQL_QUERY", 21 | 4: "CQ" 22 | } 23 | --------------------------------------------------------------------------------