Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Simplify project and path names
  • Loading branch information
mmartell committed May 18, 2020
1 parent 2bd66be commit 0df067221b2c75ad457e6adf3fce7ade7a993c6c
Showing 42 changed files with 76 additions and 75 deletions.

This file was deleted.

@@ -10,7 +10,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Apache.Geode.DotNetCore\Apache.Geode.DotNetCore.csproj" />
<ProjectReference Include="..\NetCore\NetCore.csproj" />
</ItemGroup>

</Project>
@@ -1,4 +1,4 @@
using Apache.Geode.DotNetCore;
using Apache.Geode.NetCore;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Logging;
using System;
@@ -1,5 +1,5 @@
using System;
using Apache.Geode.DotNetCore;
using Apache.Geode.NetCore;
using NUnit.Framework;

namespace GemfireDotNetTest
@@ -14,7 +14,7 @@ public void Setup()
[Test]
public void TestCreateFactory()
{
using (var client = new GemfireClient())
using (var client = new Client())
{
using (var cacheFactory = CacheFactory.Create())
{
@@ -26,7 +26,7 @@ public void TestCreateFactory()
[Test]
public void TestCacheFactoryGetVersion()
{
using (var client = new GemfireClient())
using (var client = new Client())
{
using (var cacheFactory = CacheFactory.Create())
{
@@ -41,7 +41,7 @@ public void TestCacheFactoryGetVersion()
[Test]
public void TestCacheFactoryGetProductDescription()
{
using (var client = new GemfireClient())
using (var client = new Client())
{
using (var cacheFactory = CacheFactory.Create())
{
@@ -56,7 +56,7 @@ public void TestCacheFactoryGetProductDescription()
[Test]
public void TestCacheFactorySetPdxIgnoreUnreadFields()
{
using (var client = new GemfireClient())
using (var client = new Client())
{
using (var cacheFactory = CacheFactory.Create())
{
@@ -71,7 +71,7 @@ public void TestCacheFactorySetPdxIgnoreUnreadFields()
[Test]
public void TestCacheFactorySetPdxReadSerialized()
{
using (var client = new GemfireClient())
using (var client = new Client())
{
using (var cacheFactory = CacheFactory.Create())
{
@@ -86,7 +86,7 @@ public void TestCacheFactorySetPdxReadSerialized()
[Test]
public void TestCacheFactoryCreateCache()
{
using (var client = new GemfireClient())
using (var client = new Client())
{
using (var cacheFactory = CacheFactory.Create())
{
@@ -103,7 +103,7 @@ public void TestCacheFactoryCreateCache()
[Test]
public void TestCacheFactorySetProperty()
{
using (var client = new GemfireClient())
using (var client = new Client())
{
using (var cacheFactory = CacheFactory.Create())
{
@@ -1,6 +1,6 @@
using System;
using System.Net.Cache;
using Apache.Geode.DotNetCore;
using Apache.Geode.NetCore;
using NUnit.Framework;

namespace GemfireDotNetTest
@@ -15,7 +15,7 @@ public void Setup()
[Test]
public void TestClientCacheGetPdxReadSerialized()
{
using (var client = new GemfireClient())
using (var client = new Client())
{
using (var cacheFactory = CacheFactory.Create()
.SetProperty("log-level", "debug")
@@ -49,7 +49,7 @@ public void TestClientCacheGetPdxReadSerialized()
[Test]
public void TestClientCacheGetPdxIgnoreUnreadFields()
{
using (var client = new GemfireClient())
using (var client = new Client())
{
using (var cacheFactory = CacheFactory.Create()
.SetProperty("log-level", "none")
@@ -75,7 +75,7 @@ public void TestClientCacheGetPdxIgnoreUnreadFields()
[Test]
public void TestClientCacheGetPoolManager()
{
using (var client = new GemfireClient())
using (var client = new Client())
{
using (var cacheFactory = CacheFactory.Create()
.SetProperty("log-level", "none")
@@ -95,7 +95,7 @@ public void TestClientCacheGetPoolManager()
[Test]
public void TestClientCacheCreateRegionFactory()
{
using (var client = new GemfireClient())
using (var client = new Client())
{
using (var cacheFactory = CacheFactory.Create()
.SetProperty("log-level", "none")
@@ -118,7 +118,7 @@ public void TestClientCacheCreateRegionFactory()
[Test]
public void TestClientCacheGetName()
{
using (var client = new GemfireClient())
using (var client = new Client())
{
using (var cacheFactory = CacheFactory.Create()
.SetProperty("log-level", "none"))
@@ -138,7 +138,7 @@ public void TestClientCacheGetName()
[Test]
public void TestClientCacheClose()
{
using (var client = new GemfireClient())
using (var client = new Client())
{
using (var cacheFactory = CacheFactory.Create()
.SetProperty("log-level", "none"))
@@ -159,7 +159,7 @@ public void TestClientCacheClose()
[Test]
public void TestClientCacheCloseWithKeepalive()
{
using (var client = new GemfireClient())
using (var client = new Client())
{
using (var cacheFactory = CacheFactory.Create()
.SetProperty("log-level", "none"))
@@ -16,7 +16,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Apache.Geode.DotNetCore\Apache.Geode.DotNetCore.csproj" />
<ProjectReference Include="..\NetCore\NetCore.csproj" />
</ItemGroup>

</Project>
@@ -1,5 +1,5 @@
using System;
using Apache.Geode.DotNetCore;
using Apache.Geode.NetCore;
using NUnit.Framework;

namespace GemfireDotNetTest
@@ -14,7 +14,7 @@ public void Setup()
[Test]
public void TestLeakCacheFactory()
{
var client = new GemfireClient();
var client = new Client();

using (var cacheFactory = CacheFactory.Create())
{
@@ -1,5 +1,5 @@
using System.Net.Cache;
using Apache.Geode.DotNetCore;
using Apache.Geode.NetCore;
using NUnit.Framework;

namespace GemfireDotNetTest
@@ -1,5 +1,5 @@
using System.Net.Cache;
using Apache.Geode.DotNetCore;
using Apache.Geode.NetCore;
using NUnit.Framework;

namespace GemfireDotNetTest
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
using System.Net.Cache;
using Apache.Geode.DotNetCore;
using Apache.Geode.NetCore;
using NUnit.Framework;

namespace GemfireDotNetTest
@@ -4,7 +4,7 @@ namespace Apache
{
namespace Geode
{
namespace DotNetCore
namespace NetCore
{
public interface IAuthInitialize
{
@@ -7,9 +7,9 @@ namespace Apache
{
namespace Geode
{
namespace DotNetCore
namespace NetCore
{
public class Cache : GemfireNativeObject, IGeodeCache
public class Cache : GeodeNativeObject, IGeodeCache
{
private string _name = String.Empty;
private PoolManager _poolManager = null;
@@ -5,9 +5,9 @@ namespace Apache
{
namespace Geode
{
namespace DotNetCore
namespace NetCore
{
public class CacheFactory : GemfireNativeObject, ICacheFactory
public class CacheFactory : GeodeNativeObject, ICacheFactory
{
private string _version = String.Empty;
private string _productDescription = String.Empty;
@@ -5,17 +5,17 @@ namespace Apache
{
namespace Geode
{
namespace DotNetCore
namespace NetCore
{
public class GemfireClient : GemfireNativeObject
public class Client : GeodeNativeObject
{
[DllImport(Constants.libPath, CharSet = CharSet.Auto)]
private static extern IntPtr apache_geode_ClientInitialize();

[DllImport(Constants.libPath, CharSet = CharSet.Auto)]
private static extern int apache_geode_ClientUninitialize(IntPtr client);

public GemfireClient()
public Client()
{
_containedObject = apache_geode_ClientInitialize();
}
@@ -2,7 +2,7 @@ namespace Apache
{
namespace Geode
{
namespace DotNetCore
namespace NetCore
{

public class Constants
@@ -4,9 +4,9 @@ namespace Apache
{
namespace Geode
{
namespace DotNetCore
namespace NetCore
{
public abstract class GemfireNativeObject : IDisposable
public abstract class GeodeNativeObject : IDisposable
{
private bool _disposed = false;
protected IntPtr _containedObject;
@@ -4,7 +4,7 @@ namespace Apache
{
namespace Geode
{
namespace DotNetCore
namespace NetCore
{
public interface ICacheFactory : IDisposable
{
@@ -4,7 +4,7 @@ namespace Apache
{
namespace Geode
{
namespace DotNetCore
namespace NetCore
{
public interface IGeodeCache : IRegionService, IDisposable
{
@@ -4,7 +4,7 @@ namespace Apache
{
namespace Geode
{
namespace DotNetCore
namespace NetCore
{
public interface IRegionService
{
@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>Apache.Geode.NetCore</RootNamespace>
<AssemblyName>Apache.Geode.NetCore</AssemblyName>
</PropertyGroup>

</Project>
@@ -5,9 +5,9 @@ namespace Apache
{
namespace Geode
{
namespace DotNetCore
namespace NetCore
{
public class Pool : GemfireNativeObject
public class Pool : GeodeNativeObject
{
[DllImport(Constants.libPath,
CharSet = CharSet.Auto)]
@@ -5,9 +5,9 @@ namespace Apache
{
namespace Geode
{
namespace DotNetCore
namespace NetCore
{
public class PoolFactory : GemfireNativeObject
public class PoolFactory : GeodeNativeObject
{
[DllImport(Constants.libPath,
CharSet = CharSet.Auto)]
@@ -5,9 +5,9 @@ namespace Apache
{
namespace Geode
{
namespace DotNetCore
namespace NetCore
{
public class PoolManager : GemfireNativeObject
public class PoolManager : GeodeNativeObject
{
[DllImport(Constants.libPath,
CharSet = CharSet.Auto)]
@@ -5,9 +5,9 @@ namespace Apache
{
namespace Geode
{
namespace DotNetCore
namespace NetCore
{
public class Region : GemfireNativeObject
public class Region : GeodeNativeObject
{
[DllImport(Constants.libPath,
CharSet = CharSet.Auto)]
@@ -5,9 +5,9 @@ namespace Apache
{
namespace Geode
{
namespace DotNetCore
namespace NetCore
{
public class RegionFactory : GemfireNativeObject
public class RegionFactory : GeodeNativeObject
{
[DllImport(Constants.libPath,
CharSet = CharSet.Auto)]
@@ -2,7 +2,7 @@ namespace Apache
{
namespace Geode
{
namespace DotNetCore
namespace NetCore
{
public enum RegionShortcut
{

0 comments on commit 0df0672

Please sign in to comment.