[geode-dotnet-core-client] branch AddNonSteeltoeSample created (now bebc715)
This is an automated email from the ASF dual-hosted git repository. mmartell pushed a change to branch AddNonSteeltoeSample in repository https://gitbox.apache.org/repos/asf/geode-dotnet-core-client.git. at bebc715 GEODE-9359: Delete Steeltoe sample This branch includes the following new commits: new 6594f20 GEODE-9464: Add a non-Steeltoe Asp.Net Core web app new ff7e02e GEODE-9359: Add netcore-session to geode-native new bebc715 GEODE-9359: Delete Steeltoe sample The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[geode-dotnet-core-client] 01/03: GEODE-9464: Add a non-Steeltoe Asp.Net Core web app
This is an automated email from the ASF dual-hosted git repository. mmartell pushed a commit to branch AddNonSteeltoeSample in repository https://gitbox.apache.org/repos/asf/geode-dotnet-core-client.git commit 6594f20bb85ac9c9ed6b7d94b6e48dbef3bffee7 Author: Mike Martell AuthorDate: Tue Jul 27 16:46:00 2021 -0700 GEODE-9464: Add a non-Steeltoe Asp.Net Core web app --- .../AspNetCore GeodeSession Sample.csproj | 13 .../Extensions/SessionExtensions.cs| 44 + .../Middleware/HttpContextItemsMiddleware.cs | 36 +++ .../Models/BasicAuthInitialize.cs | 31 + .../Models/ErrorViewModel.cs | 11 AspNetCore GeodeSession Sample/Pages/Error.cshtml | 26 .../Pages/Error.cshtml.cs | 23 +++ AspNetCore GeodeSession Sample/Pages/Index.cshtml | 72 + .../Pages/Index.cshtml.cs | 71 + .../Pages/Shared/_Layout.cshtml| 14 .../Pages/_ViewImports.cshtml | 3 + .../Pages/_ViewStart.cshtml| 3 + AspNetCore GeodeSession Sample/Program.cs | 17 + .../Properties/launchSettings.json | 28 AspNetCore GeodeSession Sample/README.md | 58 + .../SessionSampleNoSteeltoe.sln| 31 + AspNetCore GeodeSession Sample/Startup.cs | 74 ++ .../appsettings.Development.json | 9 +++ .../appsettings.Production.json| 9 +++ AspNetCore GeodeSession Sample/appsettings.json| 17 + 20 files changed, 590 insertions(+) diff --git a/AspNetCore GeodeSession Sample/AspNetCore GeodeSession Sample.csproj b/AspNetCore GeodeSession Sample/AspNetCore GeodeSession Sample.csproj new file mode 100644 index 000..a3ed1f8 --- /dev/null +++ b/AspNetCore GeodeSession Sample/AspNetCore GeodeSession Sample.csproj @@ -0,0 +1,13 @@ + + + +netcoreapp3.1 +AnyCPU;x64;x86 + + + + + + + + diff --git a/AspNetCore GeodeSession Sample/Extensions/SessionExtensions.cs b/AspNetCore GeodeSession Sample/Extensions/SessionExtensions.cs new file mode 100644 index 000..8b5035e --- /dev/null +++ b/AspNetCore GeodeSession Sample/Extensions/SessionExtensions.cs @@ -0,0 +1,44 @@ +using System.Text.Json; +using Microsoft.AspNetCore.Http; + +namespace Web.Extensions +{ +#region snippet1 +public static class SessionExtensions +{ +public static void Set(this ISession session, string key, T value) +{ +session.SetString(key, JsonSerializer.Serialize(value)); +} + +public static T Get(this ISession session, string key) +{ +var value = session.GetString(key); +return value == null ? default : JsonSerializer.Deserialize(value); +} +} +#endregion +} + +namespace Web.Extensions2 +{ +// Alternate approach + +public static class SessionExtensions +{ +public static void Set(this ISession session, string key, T value) +{ +session.SetString(key, JsonSerializer.Serialize(value)); +} + +public static bool TryGet(this ISession session, string key, out T value) +{ +var state = session.GetString(key); +value = default; +if (state == null) +return false; +value = JsonSerializer.Deserialize(state); +return true; +} +} +} \ No newline at end of file diff --git a/AspNetCore GeodeSession Sample/Middleware/HttpContextItemsMiddleware.cs b/AspNetCore GeodeSession Sample/Middleware/HttpContextItemsMiddleware.cs new file mode 100644 index 000..6a8597c --- /dev/null +++ b/AspNetCore GeodeSession Sample/Middleware/HttpContextItemsMiddleware.cs @@ -0,0 +1,36 @@ +using System; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Http; + +namespace SessionSample.Middleware +{ +#region snippet1 +public class HttpContextItemsMiddleware +{ +private readonly RequestDelegate _next; +public static readonly object HttpContextItemsMiddlewareKey = new Object(); + +public HttpContextItemsMiddleware(RequestDelegate next) +{ +_next = next; +} + +public async Task Invoke(HttpContext httpContext) +{ +httpContext.Items[HttpContextItemsMiddlewareKey] = "K-9"; + +await _next(httpContext); +} +} + +public static class HttpContextItemsMiddlewareExtensions +{ +public static IApplicationBuilder +UseHttpContextItemsMiddleware(this IApplicationBuilder app) +{ +return app.UseMiddleware(); +} +} +#endregion +} diff --git a/AspNetCore GeodeSession Sample/Models/BasicAuth
[geode-dotnet-core-client] 03/03: GEODE-9359: Delete Steeltoe sample
This is an automated email from the ASF dual-hosted git repository. mmartell pushed a commit to branch AddNonSteeltoeSample in repository https://gitbox.apache.org/repos/asf/geode-dotnet-core-client.git commit bebc71500e0b987117970b3faa22878b4f310516 Author: Mike Martell AuthorDate: Tue Jul 27 16:58:53 2021 -0700 GEODE-9359: Delete Steeltoe sample --- SessionSample/Extensions/SessionExtensions.cs | 44 .../Middleware/HttpContextItemsMiddleware.cs | 36 -- SessionSample/Models/BasicAuthInitialize.cs| 31 SessionSample/Models/ErrorViewModel.cs | 11 --- SessionSample/Pages/Error.cshtml | 26 --- SessionSample/Pages/Error.cshtml.cs| 23 -- SessionSample/Pages/Index.cshtml | 72 --- SessionSample/Pages/Index.cshtml.cs| 77 SessionSample/Pages/Shared/_Layout.cshtml | 14 SessionSample/Pages/_ViewImports.cshtml| 3 - SessionSample/Pages/_ViewStart.cshtml | 3 - SessionSample/Program.cs | 17 - SessionSample/Properties/launchSettings.json | 28 SessionSample/SessionSample.csproj | 21 -- SessionSample/SessionSample.csproj.user| 6 -- SessionSample/SessionSample.sln| 31 SessionSample/Startup.cs | 79 - SessionSample/appsettings.Development.json | 9 --- SessionSample/appsettings.Production.json | 9 --- SessionSample/appsettings.json | 8 --- SessionSample/statArchive-19444.gfs| Bin 10402 -> 0 bytes SessionSample/statArchive-20992.gfs| Bin 7654 -> 0 bytes SessionSample/statArchive-23496.gfs| Bin 14196 -> 0 bytes SessionSample/statArchive-23824.gfs| Bin 67316 -> 0 bytes SessionSample/statArchive-25408.gfs| Bin 10608 -> 0 bytes SessionSample/statArchive-4448.gfs | Bin 60278 -> 0 bytes 26 files changed, 548 deletions(-) diff --git a/SessionSample/Extensions/SessionExtensions.cs b/SessionSample/Extensions/SessionExtensions.cs deleted file mode 100644 index 8b5035e..000 --- a/SessionSample/Extensions/SessionExtensions.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System.Text.Json; -using Microsoft.AspNetCore.Http; - -namespace Web.Extensions -{ -#region snippet1 -public static class SessionExtensions -{ -public static void Set(this ISession session, string key, T value) -{ -session.SetString(key, JsonSerializer.Serialize(value)); -} - -public static T Get(this ISession session, string key) -{ -var value = session.GetString(key); -return value == null ? default : JsonSerializer.Deserialize(value); -} -} -#endregion -} - -namespace Web.Extensions2 -{ -// Alternate approach - -public static class SessionExtensions -{ -public static void Set(this ISession session, string key, T value) -{ -session.SetString(key, JsonSerializer.Serialize(value)); -} - -public static bool TryGet(this ISession session, string key, out T value) -{ -var state = session.GetString(key); -value = default; -if (state == null) -return false; -value = JsonSerializer.Deserialize(state); -return true; -} -} -} \ No newline at end of file diff --git a/SessionSample/Middleware/HttpContextItemsMiddleware.cs b/SessionSample/Middleware/HttpContextItemsMiddleware.cs deleted file mode 100644 index 6a8597c..000 --- a/SessionSample/Middleware/HttpContextItemsMiddleware.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Http; - -namespace SessionSample.Middleware -{ -#region snippet1 -public class HttpContextItemsMiddleware -{ -private readonly RequestDelegate _next; -public static readonly object HttpContextItemsMiddlewareKey = new Object(); - -public HttpContextItemsMiddleware(RequestDelegate next) -{ -_next = next; -} - -public async Task Invoke(HttpContext httpContext) -{ -httpContext.Items[HttpContextItemsMiddlewareKey] = "K-9"; - -await _next(httpContext); -} -} - -public static class HttpContextItemsMiddlewareExtensions -{ -public static IApplicationBuilder -UseHttpContextItemsMiddleware(this IApplicationBuilder app) -{ -return app.UseMiddleware(); -} -} -#endregion -} diff --git a/SessionSample/Models/BasicAuthInitialize.cs b/SessionSample/Models/BasicAuthInitialize.cs deleted file mode
[geode-dotnet-core-client] 02/03: GEODE-9359: Add netcore-session to geode-native
This is an automated email from the ASF dual-hosted git repository. mmartell pushed a commit to branch AddNonSteeltoeSample in repository https://gitbox.apache.org/repos/asf/geode-dotnet-core-client.git commit ff7e02e9a58767bcf24a43b77f9c1a873f6c6c82 Author: Mike Martell AuthorDate: Tue Jul 27 16:52:33 2021 -0700 GEODE-9359: Add netcore-session to geode-native --- .../NetCore.Session.IntegrationTests.csproj| 0 .../Properties/launchSettings.json | 0 .../SessionStateIntegrationTests.cs| 10 ++--- .../NetCore.Session.Tests.csproj | 0 .../SessionStateCacheTests.cs | 0 .../GeodeCacheServiceCollectionExtensions.cs | 28 + NetCore.Session/GeodeSessionStateCacheOptions.cs | 16 NetCore.Session/NetCoreSessionState.cs | 46 +- geode-dotnet-core.sln | 46 +- 9 files changed, 113 insertions(+), 33 deletions(-) diff --git a/Session.IntegrationTests/NetCore.Session.IntegrationTests.csproj b/NetCore.Session.IntegrationTests/NetCore.Session.IntegrationTests.csproj similarity index 100% rename from Session.IntegrationTests/NetCore.Session.IntegrationTests.csproj rename to NetCore.Session.IntegrationTests/NetCore.Session.IntegrationTests.csproj diff --git a/Session.IntegrationTests/Properties/launchSettings.json b/NetCore.Session.IntegrationTests/Properties/launchSettings.json similarity index 100% rename from Session.IntegrationTests/Properties/launchSettings.json rename to NetCore.Session.IntegrationTests/Properties/launchSettings.json diff --git a/Session.IntegrationTests/SessionStateIntegrationTests.cs b/NetCore.Session.IntegrationTests/SessionStateIntegrationTests.cs similarity index 94% rename from Session.IntegrationTests/SessionStateIntegrationTests.cs rename to NetCore.Session.IntegrationTests/SessionStateIntegrationTests.cs index 52538df..eafb590 100644 --- a/Session.IntegrationTests/SessionStateIntegrationTests.cs +++ b/NetCore.Session.IntegrationTests/SessionStateIntegrationTests.cs @@ -24,7 +24,7 @@ namespace Apache.Geode.Session.IntegrationTests using var poolFactory = cache.PoolFactory.AddLocator("localhost", 10334); using var pool = poolFactory.CreatePool("myPool"); -using var ssCache = new SessionStateCache(cache, _regionName); +using var ssCache = new GeodeSessionStateCache(cache, _regionName); var options = new DistributedCacheEntryOptions(); DateTime localTime = DateTime.Now.AddDays(1); @@ -48,7 +48,7 @@ namespace Apache.Geode.Session.IntegrationTests using PoolFactory poolFactory = cache.PoolFactory.AddLocator("localhost", 10334); using var pool = poolFactory.CreatePool("myPool"); -using var ssCache = new SessionStateCache(cache, _regionName); +using var ssCache = new GeodeSessionStateCache(cache, _regionName); var options = new DistributedCacheEntryOptions(); int numSeconds = 20; @@ -81,7 +81,7 @@ namespace Apache.Geode.Session.IntegrationTests using var cache = (Cache)cacheFactory.CreateCache(); PoolFactory poolFactory = cache.PoolFactory; -using var ssCache = new SessionStateCache(cache, _regionName); +using var ssCache = new GeodeSessionStateCache(cache, _regionName); var options = new DistributedCacheEntryOptions(); options.AbsoluteExpiration = DateTime.Now.AddSeconds(5); @@ -102,7 +102,7 @@ namespace Apache.Geode.Session.IntegrationTests using var poolFactory = cache.PoolFactory.AddLocator("localhost", 10334); using var pool = poolFactory.CreatePool("myPool"); -using var ssCache = new SessionStateCache(cache, _regionName); +using var ssCache = new GeodeSessionStateCache(cache, _regionName); var options = new DistributedCacheEntryOptions(); DateTime localTime = DateTime.Now.AddDays(1); @@ -129,7 +129,7 @@ namespace Apache.Geode.Session.IntegrationTests using var poolFactory = cache.PoolFactory.AddLocator("localhost", 10334); using var pool = poolFactory.CreatePool("myPool"); -using var ssCache = new SessionStateCache(cache, _regionName); +using var ssCache = new GeodeSessionStateCache(cache, _regionName); var options = new DistributedCacheEntryOptions(); DateTime localTime = DateTime.Now.AddDays(1); diff --git a/Session.Tests/NetCore.Session.Tests.csproj b/NetCore.Session.Tests/NetCore.Session.Tests.csproj similarity index 100% rename from Session.Tests/NetCore.Session.Tests.csproj rename to NetCore.Session.Tests/NetCore.Session.Tests.csproj diff --git a/Session.Tests/SessionStateCacheTests.cs b/NetCore.Session.Tests/SessionStateCacheTests.cs similarity index 100% rename from Session.Tests/Ses
[geode] branch support/1.13 updated: add 1.12.4 to old versions on support/1.13
This is an automated email from the ASF dual-hosted git repository. onichols pushed a commit to branch support/1.13 in repository https://gitbox.apache.org/repos/asf/geode.git The following commit(s) were added to refs/heads/support/1.13 by this push: new 529737f add 1.12.4 to old versions on support/1.13 529737f is described below commit 529737f6de0c7969f208c9774eec9dc6406557f4 Author: Dick Cavender AuthorDate: Mon Jul 26 16:07:07 2021 -0700 add 1.12.4 to old versions on support/1.13 (cherry picked from commit 9b139117d1e47e543466ab18b75dc5ea75fe83b5) (cherry picked from commit 841b1dc3f2368d466feae7533b6e5e4b0fc7a885) --- settings.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/settings.gradle b/settings.gradle index ff3e72d..764537f 100644 --- a/settings.gradle +++ b/settings.gradle @@ -89,6 +89,7 @@ include 'static-analysis:pmd-rules' '1.12.1', '1.12.2', '1.12.3', + '1.12.4', '1.13.0', '1.13.1', '1.13.2',
[geode] 02/02: add 1.12.4 to old versions on support/1.14
This is an automated email from the ASF dual-hosted git repository. onichols pushed a commit to branch support/1.14 in repository https://gitbox.apache.org/repos/asf/geode.git commit 841b1dc3f2368d466feae7533b6e5e4b0fc7a885 Author: Dick Cavender AuthorDate: Mon Jul 26 16:07:07 2021 -0700 add 1.12.4 to old versions on support/1.14 (cherry picked from commit 9b139117d1e47e543466ab18b75dc5ea75fe83b5) --- settings.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/settings.gradle b/settings.gradle index a088b2d..d4934a4 100644 --- a/settings.gradle +++ b/settings.gradle @@ -90,6 +90,7 @@ include 'static-analysis:pmd-rules' '1.12.1', '1.12.2', '1.12.3', + '1.12.4', '1.13.0', '1.13.1', '1.13.2',
[geode] 01/02: increase timeouts (#6404)
This is an automated email from the ASF dual-hosted git repository. onichols pushed a commit to branch support/1.14 in repository https://gitbox.apache.org/repos/asf/geode.git commit f4afdf8c2a8c38ccd7a7a2262616c193a03b0e4d Author: Owen Nichols <34043438+onichols-pivo...@users.noreply.github.com> AuthorDate: Thu Apr 29 15:00:24 2021 -0700 increase timeouts (#6404) * increase acceptanceTest timeout from 2 hours to 3 hours * increase upgradeTest timeout from 1.5 hours to 2.5 hours (cherry picked from commit ebdf8edcc893478ba4f67892f02b312de5d1b5d4) --- ci/pipelines/shared/jinja.variables.yml | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/pipelines/shared/jinja.variables.yml b/ci/pipelines/shared/jinja.variables.yml index 697b05b..5e5350c 100644 --- a/ci/pipelines/shared/jinja.variables.yml +++ b/ci/pipelines/shared/jinja.variables.yml @@ -103,11 +103,11 @@ tests: RAM: '16' name: unit - ARTIFACT_SLUG: acceptancetestfiles - CALL_STACK_TIMEOUT: '6300' + CALL_STACK_TIMEOUT: '9900' CPUS: '8' DISK: '200GB' DUNIT_PARALLEL_FORKS: '0' - EXECUTE_TEST_TIMEOUT: 2h + EXECUTE_TEST_TIMEOUT: 3h GRADLE_TASK: acceptanceTest MAX_IN_FLIGHT: 2 PARALLEL_DUNIT: 'false' @@ -140,11 +140,11 @@ tests: RAM: '90' name: integration - ARTIFACT_SLUG: upgradetestfiles - CALL_STACK_TIMEOUT: '4800' + CALL_STACK_TIMEOUT: '8400' CPUS: '96' DISK: '200GB' DUNIT_PARALLEL_FORKS: '48' - EXECUTE_TEST_TIMEOUT: 90m + EXECUTE_TEST_TIMEOUT: 150m GRADLE_TASK: upgradeTest MAX_IN_FLIGHT: 2 PARALLEL_DUNIT: 'true'
[geode] branch support/1.14 updated (54853e0 -> 841b1dc)
This is an automated email from the ASF dual-hosted git repository. onichols pushed a change to branch support/1.14 in repository https://gitbox.apache.org/repos/asf/geode.git. from 54853e0 GEODE-9426: Update docs for HTTP session management (#6703) (#6706) new f4afdf8 increase timeouts (#6404) new 841b1dc add 1.12.4 to old versions on support/1.14 The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: ci/pipelines/shared/jinja.variables.yml | 8 settings.gradle | 1 + 2 files changed, 5 insertions(+), 4 deletions(-)
[geode] branch develop updated (0fd6201 -> 9b13911)
This is an automated email from the ASF dual-hosted git repository. dixie pushed a change to branch develop in repository https://gitbox.apache.org/repos/asf/geode.git. from 0fd6201 GEODE-9462: Capture call stacks from all sources (#6723) add 9b13911 add 1.12.4 to old versions on develop No new revisions were added by this update. Summary of changes: settings.gradle | 1 + 1 file changed, 1 insertion(+)
[geode] branch support/1.12 updated: GEODE-8740: increase test job timeouts
This is an automated email from the ASF dual-hosted git repository. onichols pushed a commit to branch support/1.12 in repository https://gitbox.apache.org/repos/asf/geode.git The following commit(s) were added to refs/heads/support/1.12 by this push: new 34f6813 GEODE-8740: increase test job timeouts 34f6813 is described below commit 34f681337db24ae934f7b17943755f66a9a0bb7f Author: Owen Nichols AuthorDate: Tue Jul 27 15:25:58 2021 -0700 GEODE-8740: increase test job timeouts --- ci/pipelines/shared/jinja.variables.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/pipelines/shared/jinja.variables.yml b/ci/pipelines/shared/jinja.variables.yml index 53c2fe3..e1bc08c 100644 --- a/ci/pipelines/shared/jinja.variables.yml +++ b/ci/pipelines/shared/jinja.variables.yml @@ -129,10 +129,10 @@ tests: RAM: '90' name: integration - ARTIFACT_SLUG: upgradetestfiles - CALL_STACK_TIMEOUT: '3000' + CALL_STACK_TIMEOUT: '4800' CPUS: '96' DUNIT_PARALLEL_FORKS: '48' - EXECUTE_TEST_TIMEOUT: 1h + EXECUTE_TEST_TIMEOUT: 90m GRADLE_TASK: upgradeTest MAX_IN_FLIGHT: 2 PARALLEL_DUNIT: 'true'
[geode-native] branch develop updated: GEODE-9412: Fix up marshaling of (potential) Unicode strings, where (#833)
This is an automated email from the ASF dual-hosted git repository. bbender pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/geode-native.git The following commit(s) were added to refs/heads/develop by this push: new 8a74364 GEODE-9412: Fix up marshaling of (potential) Unicode strings, where (#833) 8a74364 is described below commit 8a7436443629381b6be6142b6d2abf7187813309 Author: Blake Bender AuthorDate: Tue Jul 27 10:23:31 2021 -0700 GEODE-9412: Fix up marshaling of (potential) Unicode strings, where (#833) applicable - region names can be Unicode, cacheable keys/values, etc. Most of the rest don't need this, because they're never Unicode. Co-authored-by: Matthew Reddington --- clicache/src/Cache.cpp | 5 +++-- clicache/src/CacheFactory.cpp| 3 ++- clicache/src/CqQuery.cpp | 5 +++-- clicache/src/DistributedSystem.cpp | 3 ++- clicache/src/Execution.cpp | 3 ++- clicache/src/LocalRegion.cpp | 9 + clicache/src/Properties.cpp | 3 ++- clicache/src/Query.cpp | 3 ++- clicache/src/QueryService.cpp| 13 +++-- clicache/src/Region.cpp | 21 +++-- clicache/src/Serializable.cpp| 2 +- clicache/src/impl/AuthenticatedView.cpp | 3 ++- clicache/src/impl/ManagedCacheableKey.cpp| 9 + clicache/src/impl/PdxManagedCacheableKey.cpp | 3 ++- 14 files changed, 49 insertions(+), 36 deletions(-) diff --git a/clicache/src/Cache.cpp b/clicache/src/Cache.cpp index c69e58e..8cfbe52 100644 --- a/clicache/src/Cache.cpp +++ b/clicache/src/Cache.cpp @@ -26,6 +26,7 @@ #include "PoolFactory.hpp" #include "Region.hpp" #include "RegionAttributes.hpp" +#include "String.hpp" #include "QueryService.hpp" #include "CacheFactory.hpp" #include "impl/AuthenticatedView.hpp" @@ -168,7 +169,7 @@ namespace Apache try { -return Client::Region::Create(m_nativeptr->get()->getRegion(marshal_as(path))); +return Client::Region::Create(m_nativeptr->get()->getRegion(to_utf8(path))); } finally { @@ -322,7 +323,7 @@ namespace Apache { try { - m_nativeptr->get()->initializeDeclarativeCache( marshal_as(cacheXml)); + m_nativeptr->get()->initializeDeclarativeCache(to_utf8(cacheXml)); } finally { diff --git a/clicache/src/CacheFactory.cpp b/clicache/src/CacheFactory.cpp index 5e720e0..781cd57 100644 --- a/clicache/src/CacheFactory.cpp +++ b/clicache/src/CacheFactory.cpp @@ -23,6 +23,7 @@ #include "CacheFactory.hpp" #include "Cache.hpp" #include "DistributedSystem.hpp" +#include "String.hpp" #include "SystemProperties.hpp" #include "impl/SafeConvert.hpp" #include "impl/PdxTypeRegistry.hpp" @@ -136,7 +137,7 @@ namespace Apache _GF_MG_EXCEPTION_TRY2 try { -m_nativeptr->get()->set(marshal_as(name), marshal_as(value)); +m_nativeptr->get()->set(marshal_as(name), to_utf8(value)); } finally { diff --git a/clicache/src/CqQuery.cpp b/clicache/src/CqQuery.cpp index f3aba04..543ee67 100644 --- a/clicache/src/CqQuery.cpp +++ b/clicache/src/CqQuery.cpp @@ -24,6 +24,7 @@ #include "CqStatistics.hpp" #include "ISelectResults.hpp" #include "ResultSet.hpp" +#include "String.hpp" #include "StructSet.hpp" #include "ExceptionTypes.hpp" #include "TimeUtils.hpp" @@ -89,7 +90,7 @@ namespace Apache { try { - return marshal_as(m_nativeptr->get()->getQueryString()); + return to_String(m_nativeptr->get()->getQueryString()); } finally { @@ -102,7 +103,7 @@ namespace Apache { try { - return marshal_as(m_nativeptr->get()->getName()); + return to_String(m_nativeptr->get()->getName()); } finally { diff --git a/clicache/src/DistributedSystem.cpp b/clicache/src/DistributedSystem.cpp index 05c8e14..57bfb2d 100644 --- a/clicache/src/DistributedSystem.cpp +++ b/clicache/src/DistributedSystem.cpp @@ -51,6 +51,7 @@ #include "CacheableObjectXml.hpp" #include "CacheableBuiltins.hpp" #include "Log.hpp" +#include "String.hpp" #include "Struct.hpp" #include "impl/SafeConvert.hpp" #include "impl/PdxType.hpp" @@ -134,7 +135,7 @@ namespace Apache // TODO AppDomain should we be able to create a DS directly? _GF_MG_EXCEPTION_TRY2 -auto nativeDistributedSystem = native::DistributedSystem::create(marshal_as(name), +auto nativeDistributedSystem = native::DistributedSystem::create(to_utf8(name), config->GetNative()); nativeDistributedSystem.connect(); diff --git a/clicache/src/
[geode-examples] branch support/1.12 updated: Bumping version to 1.12.5
This is an automated email from the ASF dual-hosted git repository. dixie pushed a commit to branch support/1.12 in repository https://gitbox.apache.org/repos/asf/geode-examples.git The following commit(s) were added to refs/heads/support/1.12 by this push: new 9d0e0ea Bumping version to 1.12.5 9d0e0ea is described below commit 9d0e0ea45cfed13135e4294091853e3017a59738 Author: Dick Cavender AuthorDate: Tue Jul 27 10:13:31 2021 -0700 Bumping version to 1.12.5 --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 2d09017..5449352 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -version = 1.12.4-build.0 +version = 1.12.5-build.0 geodeVersion = 1.12.+ # release properties, set these on the command line to validate against
[geode] branch support/1.12 updated: Bumping version to 1.12.5
This is an automated email from the ASF dual-hosted git repository. dixie pushed a commit to branch support/1.12 in repository https://gitbox.apache.org/repos/asf/geode.git The following commit(s) were added to refs/heads/support/1.12 by this push: new daffd84 Bumping version to 1.12.5 daffd84 is described below commit daffd8476c43f1ee03b986fa8613047103c03fc4 Author: Dick Cavender AuthorDate: Tue Jul 27 10:13:26 2021 -0700 Bumping version to 1.12.5 --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 5cb756e..b3b9c97 100755 --- a/gradle.properties +++ b/gradle.properties @@ -26,7 +26,7 @@ # - release # # The full version string consists of 'versionNumber + releaseQualifier + releaseType' -version = 1.12.4-build.0 +version = 1.12.5-build.0 # Default Maven targets mavenSnapshotUrl = gcs://maven.apachegeode-ci.info/snapshots
[geode-site] branch asf-site updated: Update for Geode 1.12.4
This is an automated email from the ASF dual-hosted git repository. dbarnes pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/geode-site.git The following commit(s) were added to refs/heads/asf-site by this push: new f2d98f4 Update for Geode 1.12.4 f2d98f4 is described below commit f2d98f484dafbf3c2c080986b4f832281a73abd6 Author: Dave Barnes AuthorDate: Tue Jul 27 09:12:17 2021 -0700 Update for Geode 1.12.4 --- releases/index.html | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/releases/index.html b/releases/index.html index 175109b..74c3284 100644 --- a/releases/index.html +++ b/releases/index.html @@ -168,39 +168,39 @@ dependencies { - -1.12.3 + +1.12.4 -https://cwiki.apache.org/confluence/display/GEODE/Release+Notes#ReleaseNotes-1.12.3";>Release Notes +https://cwiki.apache.org/confluence/display/GEODE/Release+Notes#ReleaseNotes-1.12.4";>Release Notes Binaries - [https://apache.org/dyn/closer.cgi/geode/1.12.3/apache-geode-1.12.3.tgz";>TGZ, https://downloads.apache.org/geode/1.12.3/apache-geode-1.12.3.tgz.sha256";>SHA-256, - https://downloads.apache.org/geode/1.12.3/apache-geode-1.12.3.tgz.asc";>PGP ] + [https://apache.org/dyn/closer.cgi/geode/1.12.4/apache-geode-1.12.4.tgz";>TGZ, https://downloads.apache.org/geode/1.12.4/apache-geode-1.12.4.tgz.sha256";>SHA-256, + https://downloads.apache.org/geode/1.12.4/apache-geode-1.12.4.tgz.asc";>PGP ] Source - [https://apache.org/dyn/closer.cgi/geode/1.12.3/apache-geode-1.12.3-src.tgz";>TGZ, https://downloads.apache.org/geode/1.12.3/apache-geode-1.12.3-src.tgz.sha256";>SHA-256, - https://downloads.apache.org/geode/1.12.3/apache-geode-1.12.3-src.tgz.asc";>PGP + [https://apache.org/dyn/closer.cgi/geode/1.12.4/apache-geode-1.12.4-src.tgz";>TGZ, https://downloads.apache.org/geode/1.12.4/apache-geode-1.12.4-src.tgz.sha256";>SHA-256, + https://downloads.apache.org/geode/1.12.4/apache-geode-1.12.4-src.tgz.asc";>PGP ] Geode Native Source - [https://apache.org/dyn/closer.cgi/geode/1.12.3/apache-geode-native-1.12.3-src.tgz";>TGZ, https://downloads.apache.org/geode/1.12.3/apache-geode-native-1.12.3-src.tgz.sha256";>SHA-256, - https://downloads.apache.org/geode/1.12.3/apache-geode-native-1.12.3-src.tgz.asc";>PGP + [https://apache.org/dyn/closer.cgi/geode/1.12.4/apache-geode-native-1.12.4-src.tgz";>TGZ, https://downloads.apache.org/geode/1.12.4/apache-geode-native-1.12.4-src.tgz.sha256";>SHA-256, + https://downloads.apache.org/geode/1.12.4/apache-geode-native-1.12.4-src.tgz.asc";>PGP ] Benchmarks - [https://apache.org/dyn/closer.cgi/geode/1.12.3/apache-geode-benchmarks-1.12.3-src.tgz";>TGZ, https://downloads.apache.org/geode/1.12.3/apache-geode-benchmarks-1.12.3-src.tgz.sha256";>SHA-256, - https://downloads.apache.org/geode/1.12.3/apache-geode-benchmarks-1.12.3-src.tgz.asc";>PGP + [https://apache.org/dyn/closer.cgi/geode/1.12.4/apache-geode-benchmarks-1.12.4-src.tgz";>TGZ, https://downloads.apache.org/geode/1.12.4/apache-geode-benchmarks-1.12.4-src.tgz.sha256";>SHA-256, + https://downloads.apache.org/geode/1.12.4/apache-geode-benchmarks-1.12.4-src.tgz.asc";>PGP ] Examples - [https://apache.org/dyn/closer.cgi/geode/1.12.3/apache-geode-examples-1.12.3-src.tgz";>TGZ, https://downloads.apache.org/geode/1.12.3/apache-geode-examples-1.12.3-src.tgz.sha256";>SHA-256, - https://downloads.apache.org/geode/1.12.3/apache-geode-examples-1.12.3-src.tgz.asc";>PGP + [https://apache.org/dyn/closer.cgi/geode/1.12.4/apache-geode-examples-1.12.4-src.tgz";>TGZ, https://downloads.apache.org/geode/1.12.4/apache-geode-examples-1.12.4-src.tgz.sha256";>SHA-256, + https://downloads.apache.org/geode/1.12.4/apache-geode-examples-1.12.4-src.tgz.asc";>PGP ] @@ -209,7 +209,7 @@ dependencies { Gradle dependencies { - compile 'org.apache.geode:geode-core:1.12.3' + compile 'org.apache.geode:geode-core:1.12.4' } Maven @@ -218,12 +218,12 @@ dependencies {- + 1.11.0 org.apache.geode geode-core -1.12.3 +1.12.4
[geode-site] branch master updated: Update for Geode 1.12.4
This is an automated email from the ASF dual-hosted git repository. dbarnes pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/geode-site.git The following commit(s) were added to refs/heads/master by this push: new 9f280c6 Update for Geode 1.12.4 9f280c6 is described below commit 9f280c6b93800e619ef3337d537ff98b8aa560d9 Author: Dave Barnes AuthorDate: Tue Jul 27 09:10:47 2021 -0700 Update for Geode 1.12.4 --- website/content/releases/index.html | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/website/content/releases/index.html b/website/content/releases/index.html index e16317c..ffb5700 100644 --- a/website/content/releases/index.html +++ b/website/content/releases/index.html @@ -91,39 +91,39 @@ dependencies { - -1.12.3 + +1.12.4 -https://cwiki.apache.org/confluence/display/GEODE/Release+Notes#ReleaseNotes-1.12.3";>Release Notes +https://cwiki.apache.org/confluence/display/GEODE/Release+Notes#ReleaseNotes-1.12.4";>Release Notes Binaries - [https://apache.org/dyn/closer.cgi/geode/1.12.3/apache-geode-1.12.3.tgz";>TGZ, https://downloads.apache.org/geode/1.12.3/apache-geode-1.12.3.tgz.sha256";>SHA-256, - https://downloads.apache.org/geode/1.12.3/apache-geode-1.12.3.tgz.asc";>PGP ] + [https://apache.org/dyn/closer.cgi/geode/1.12.4/apache-geode-1.12.4.tgz";>TGZ, https://downloads.apache.org/geode/1.12.4/apache-geode-1.12.4.tgz.sha256";>SHA-256, + https://downloads.apache.org/geode/1.12.4/apache-geode-1.12.4.tgz.asc";>PGP ] Source - [https://apache.org/dyn/closer.cgi/geode/1.12.3/apache-geode-1.12.3-src.tgz";>TGZ, https://downloads.apache.org/geode/1.12.3/apache-geode-1.12.3-src.tgz.sha256";>SHA-256, - https://downloads.apache.org/geode/1.12.3/apache-geode-1.12.3-src.tgz.asc";>PGP + [https://apache.org/dyn/closer.cgi/geode/1.12.4/apache-geode-1.12.4-src.tgz";>TGZ, https://downloads.apache.org/geode/1.12.4/apache-geode-1.12.4-src.tgz.sha256";>SHA-256, + https://downloads.apache.org/geode/1.12.4/apache-geode-1.12.4-src.tgz.asc";>PGP ] Geode Native Source - [https://apache.org/dyn/closer.cgi/geode/1.12.3/apache-geode-native-1.12.3-src.tgz";>TGZ, https://downloads.apache.org/geode/1.12.3/apache-geode-native-1.12.3-src.tgz.sha256";>SHA-256, - https://downloads.apache.org/geode/1.12.3/apache-geode-native-1.12.3-src.tgz.asc";>PGP + [https://apache.org/dyn/closer.cgi/geode/1.12.4/apache-geode-native-1.12.4-src.tgz";>TGZ, https://downloads.apache.org/geode/1.12.4/apache-geode-native-1.12.4-src.tgz.sha256";>SHA-256, + https://downloads.apache.org/geode/1.12.4/apache-geode-native-1.12.4-src.tgz.asc";>PGP ] Benchmarks - [https://apache.org/dyn/closer.cgi/geode/1.12.3/apache-geode-benchmarks-1.12.3-src.tgz";>TGZ, https://downloads.apache.org/geode/1.12.3/apache-geode-benchmarks-1.12.3-src.tgz.sha256";>SHA-256, - https://downloads.apache.org/geode/1.12.3/apache-geode-benchmarks-1.12.3-src.tgz.asc";>PGP + [https://apache.org/dyn/closer.cgi/geode/1.12.4/apache-geode-benchmarks-1.12.4-src.tgz";>TGZ, https://downloads.apache.org/geode/1.12.4/apache-geode-benchmarks-1.12.4-src.tgz.sha256";>SHA-256, + https://downloads.apache.org/geode/1.12.4/apache-geode-benchmarks-1.12.4-src.tgz.asc";>PGP ] Examples - [https://apache.org/dyn/closer.cgi/geode/1.12.3/apache-geode-examples-1.12.3-src.tgz";>TGZ, https://downloads.apache.org/geode/1.12.3/apache-geode-examples-1.12.3-src.tgz.sha256";>SHA-256, - https://downloads.apache.org/geode/1.12.3/apache-geode-examples-1.12.3-src.tgz.asc";>PGP + [https://apache.org/dyn/closer.cgi/geode/1.12.4/apache-geode-examples-1.12.4-src.tgz";>TGZ, https://downloads.apache.org/geode/1.12.4/apache-geode-examples-1.12.4-src.tgz.sha256";>SHA-256, + https://downloads.apache.org/geode/1.12.4/apache-geode-examples-1.12.4-src.tgz.asc";>PGP ] @@ -132,7 +132,7 @@ dependencies { Gradle dependencies { - compile 'org.apache.geode:geode-core:1.12.3' + compile 'org.apache.geode:geode-core:1.12.4' } Maven @@ -141,12 +141,12 @@ dependencies {- + 1.11.0 org.apache.geode geode-core -1.12.3 +1.12.4
[geode] branch develop updated (95d0bee -> 0fd6201)
This is an automated email from the ASF dual-hosted git repository. dhemery pushed a change to branch develop in repository https://gitbox.apache.org/repos/asf/geode.git. from 95d0bee Remove sabbey37 from codeowners (#6717) add 0fd6201 GEODE-9462: Capture call stacks from all sources (#6723) No new revisions were added by this update. Summary of changes: ci/scripts/capture-call-stacks.sh | 37 ++--- 1 file changed, 18 insertions(+), 19 deletions(-)
[geode] branch develop updated (7e246f5 -> 95d0bee)
This is an automated email from the ASF dual-hosted git repository. jensdeppe pushed a change to branch develop in repository https://gitbox.apache.org/repos/asf/geode.git. from 7e246f5 GEODE-9447: fix release scripts (#6712) add 95d0bee Remove sabbey37 from codeowners (#6717) No new revisions were added by this update. Summary of changes: CODEOWNERS | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-)