Skip to content

Commit 566db98

Browse files
author
Danny Logsdon
committed
# 1.4.0-c
- Create new ServiceBricks.Cache.Model package and include DTOs, clients and contracts
1 parent 24825e7 commit 566db98

72 files changed

Lines changed: 557 additions & 369 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ReleaseNotes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 1.4.0-c
2+
- Create new ServiceBricks.Cache.Model package and include DTOs, clients and contracts
3+
14
# 1.4.0-a
25
- Net10 support and update nuget packages
36
- Upgrade mapping profiles

ServiceBricksCacheV1.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceBricks.Cache.XunitNe
137137
EndProject
138138
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebAppNet10", "src\V1\Tests\WebAppNet10\WebAppNet10.csproj", "{55FA1428-DD3A-2F2B-74DD-4C7F1F7D7CEC}"
139139
EndProject
140+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceBricks.Cache.Model", "src\V1\ServiceBricks.Cache.Model\ServiceBricks.Cache.Model.csproj", "{DDA57D17-2B8D-4275-BDA4-F69D2974AE3C}"
141+
EndProject
140142
Global
141143
GlobalSection(SolutionConfigurationPlatforms) = preSolution
142144
Debug|Any CPU = Debug|Any CPU
@@ -387,6 +389,10 @@ Global
387389
{55FA1428-DD3A-2F2B-74DD-4C7F1F7D7CEC}.Debug|Any CPU.Build.0 = Debug|Any CPU
388390
{55FA1428-DD3A-2F2B-74DD-4C7F1F7D7CEC}.Release|Any CPU.ActiveCfg = Release|Any CPU
389391
{55FA1428-DD3A-2F2B-74DD-4C7F1F7D7CEC}.Release|Any CPU.Build.0 = Release|Any CPU
392+
{DDA57D17-2B8D-4275-BDA4-F69D2974AE3C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
393+
{DDA57D17-2B8D-4275-BDA4-F69D2974AE3C}.Debug|Any CPU.Build.0 = Debug|Any CPU
394+
{DDA57D17-2B8D-4275-BDA4-F69D2974AE3C}.Release|Any CPU.ActiveCfg = Release|Any CPU
395+
{DDA57D17-2B8D-4275-BDA4-F69D2974AE3C}.Release|Any CPU.Build.0 = Release|Any CPU
390396
EndGlobalSection
391397
GlobalSection(SolutionProperties) = preSolution
392398
HideSolutionNode = FALSE

src/V1/ServiceBricks.Cache.AzureDataTables/Mapping/CacheDataMappingProfile.cs

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,21 @@ public static void Register(IMapperRegistry registry)
2727
registry.Register<CacheDataDto, CacheData>(
2828
(s, d) =>
2929
{
30-
if (string.IsNullOrEmpty(s.CacheKey))
31-
{
32-
d.CacheKey = s.StorageKey;
33-
d.PartitionKey = s.StorageKey;
34-
}
35-
else
36-
{
37-
d.CacheKey = s.CacheKey;
38-
d.PartitionKey = s.CacheKey;
39-
}
30+
d.CacheKey = s.CacheKey;
4031
d.CacheValue = s.CacheValue;
4132
//d.CreateDate ignored
4233
//d.ETag ignored
43-
d.ExpirationDate = s.ExpirationDate;
44-
45-
d.RowKey = string.Empty;
34+
d.ExpirationDate = s.ExpirationDate;
4635
//d.Timestamp ignored
4736
d.UpdateDate = s.UpdateDate;
37+
if (!string.IsNullOrEmpty(s.StorageKey))
38+
{
39+
d.CacheKey = s.StorageKey;
40+
d.PartitionKey = s.StorageKey;
41+
}
42+
else
43+
d.PartitionKey = s.CacheKey;
44+
4845
});
4946
}
5047
}

src/V1/ServiceBricks.Cache.AzureDataTables/Resource/readme.md

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,41 +4,42 @@
44
![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/holomodular-support/bdb5c7c570a7a88ffb3efb3505273e34/raw/servicebricks-codecoverage.json)
55
[![License: MIT](https://img.shields.io/badge/License-MIT-389DA0.svg)](https://opensource.org/licenses/MIT)
66

7-
# ServiceBricks: The Foundation for Microservices
7+
# ServiceBricks: The Microservices Foundation
88

99
## Overview
1010

11-
Welcome to [ServiceBricks](https://ServiceBricks.com), your cornerstone for building a robust microservices foundation.
12-
ServiceBricks is a powerful platform designed to streamline the development, deployment, and maintenance of distributed systems.
11+
[ServiceBricks](https://ServiceBricks.com) is a powerful microservices platform designed to streamline the development, deployment, and maintenance of distributed systems using artificial intelligence.
1312
Leveraging Domain-Driven Design (DDD), Event-Driven Architecture (EDA), and a host of advanced features, ServiceBricks empowers teams to create scalable, customizable services tailored to specific business domains.
1413

1514
## Why ServiceBricks?
1615

17-
* **Architectural Excellence:** Provides the core architectural patterns, implementation, standardization, and governance for your microservices.
18-
* **Storage Agnostic:** Exposes a storage platform-agnostic model and repository-based API, supporting both relational (SQL) and document (NoSQL) databases.
19-
* **Seamless Integration:** Switch storage providers without impacting microservice operations.
16+
* **Artificial Intelligence:** Use our online generator to create production-grade microservices in seconds using only a single human sentence as input.
17+
* **Advanced Architecture:** Provides the core architectural patterns, implementation, standardization, and governance for your microservices.
18+
* **REST APIs:** Expose standardized, secure REST APIs to manage your data.
19+
* **Storage Agnostic:** Interchangeably supports relational, document, cloud or embedded database engines
20+
* **Seamless Integration:** Switch storage providers without impacting microservice operations and avoid vendor lock-in.
2021

2122

2223
## Major Features
2324

24-
* **Generics:** Extensive use of generics, allowing the compiler to generate most of the required code.
25-
* **REST API Services:** Templated, repository-based services for quickly exposing standard CRUD methods or custom methods.
26-
* **[ServiceQuery Integration](https://github.com/holomodular/ServiceQuery):** Supports standardized, polyglot data querying for SQL and NoSQL databases.
25+
* **Artificial Intelligence Integration:** Use large language models to build, query and manipulate your microservice data using simple human input.
26+
* **Generics:** Extensive use of generics, allowing the compiler to generate most of the required source code.
27+
* **REST API Services:** Templated, repository-based services for quickly exposing standard CRUD+QPV (Query, Patch, Validate) methods or custom methods.
28+
* **[ServiceQuery Integration](https://github.com/holomodular/ServiceQuery):** Supports standardized, polyglot, dynamic data querying for all database engines.
2729
* **[Business Rule Engine](https://github.com/holomodular/ServiceBricks-Documentation/blob/main/V1/BusinessRuleEngine.md):** Polymorphic techniques to build reusable business logic.
2830
* **[Domain-Driven Design (DDD)](https://github.com/holomodular/ServiceBricks-Documentation/blob/main/V1/FlowOfData.md) & [Event-Driven Architecture (EDA)](https://github.com/holomodular/ServiceBricks-Documentation/blob/main/V1/EventDrivenArchitecture.md):** Customize business logic for any supported object and method.
2931
* **[Background Processing](https://github.com/holomodular/ServiceBricks-Documentation/blob/main/V1/BackgroundTasks.md):** Supports asynchronous processes, tasks, and rules.
30-
* **[SQL and NoSQL Database Support](https://github.com/holomodular/ServiceBricks-Documentation/blob/main/V1/SupportedDatabaseEngines.md):** Works standard with Azure Data Tables, Cosmos DB, InMemory, MongoDB, Postgres, SQLite, SQL Server or other providers.
32+
* **[Relational, Document, Cloud and Embedded Database Support](https://github.com/holomodular/ServiceBricks-Documentation/blob/main/V1/SupportedDatabaseEngines.md):** Works standard with Azure Data Tables, Cosmos DB, InMemory, MongoDB, Postgres, SQLite, SQL Server and more.
3133
* **[Service Bus Engine](https://github.com/holomodular/ServiceBricks-Documentation/blob/main/V1/BroadcastsAndServiceBus.md):** Supports broadcasts of system data with InMemory and Azure Service Bus.
3234
* **[Classic or Modern REST API Design](https://github.com/holomodular/ServiceBricks-Documentation/blob/main/V1/ClassicVsModernRestApi.md):** Choose between Classic or Modern modes, with various response formats.
3335
* **[NuGet Packages](https://github.com/holomodular/ServiceBricks-Documentation/blob/main/V1/NuGet.md):** Quickly build new services and applications.
34-
* **Testing Framework:** Comprehensive Xunit test framework for robust unit and integration testing.
35-
* **Open Source:** Only three dependencies (AutoMapper, Newtonsoft.Json, and ServiceQuery), all MIT licensed.
36-
* **AI Integration:** Training AI to build new ServiceBricks microservices. Updates coming soon!
36+
* **Testing Framework:** Comprehensive Xunit test framework for robust unit and integration testing with thousands of tests available.
37+
* **Open Source:** All referenced assemblies are open source and licensed under MIT or an equivalent license.
3738

3839

3940
## Getting Started with Examples
4041

41-
Explore our [ServiceBricks-Examples](https://github.com/holomodular/ServiceBricks-Examples) repository for practical examples on hosting and deploying your ServiceBricks foundation. From single, monolithic web applications to containerized web applications, these examples provide the building blocks to create and scale your foundations quickly.
42+
Explore our [ServiceBricks-Examples](https://github.com/holomodular/ServiceBricks-Examples) repository for practical examples on hosting and deploying your ServiceBricks foundation. From single, monolithic web applications to distributed, multi-deployment, containerized web applications, these examples provide the building blocks to create and scale your own foundations quickly.
4243

4344
## Documentation
4445

@@ -48,11 +49,16 @@ Check out our [ServiceBricks-Documentation](https://github.com/holomodular/Servi
4849

4950
Get started quickly with our pre-built microservices:
5051

51-
* [ServiceBricks-Cache](https://github.com/holomodular/ServiceBricks-Cache): Generic data storage with expiration microservice.
52-
* [ServiceBricks-Logging](https://github.com/holomodular/ServiceBricks-Logging): Service-scoped or centralized application and web request logging microservice.
53-
* [ServiceBricks-Notification](https://github.com/holomodular/ServiceBricks-Notification): Notification and delivery of emails and SMS messages.
54-
* [ServiceBricks-Security](https://github.com/holomodular/ServiceBricks-Security): Authentication, authorization, and application security with JWT bearer token support for multi-application deployments.
52+
* [ServiceBricks-Cache](https://github.com/holomodular/ServiceBricks-Cache): Generic data storage microservice with a built in expiration process and a distributed semaphore for cache-level locking for multi-instance deployments.
53+
* [ServiceBricks-Logging](https://github.com/holomodular/ServiceBricks-Logging): Service-scoped or centralized logging and a web request auditing microservice.
54+
* [ServiceBricks-Notification](https://github.com/holomodular/ServiceBricks-Notification): Notification and delivery for emails and SMS messages.
55+
* [ServiceBricks-Security](https://github.com/holomodular/ServiceBricks-Security): Authentication, authorization, and application security with JWT bearer token support for multi-instance deployments.
56+
* [ServiceBricks-Work](https://github.com/holomodular/ServiceBricks-Work): Work queue microservice for reliable, event-driven background processing.
57+
58+
## Trademarks
59+
60+
“ServiceBricks”, "ServiceQuery" and “HoloModular” are trademarks of HoloModular LLC. The MIT License covers code only; it does not grant rights to use our trademarks, logos, or brand assets (including in modified or redistributed versions) without permission.
5561

5662
## About
5763

58-
I am a business executive and software architect with 25+ years professional experience. You can reach me via www.linkedin.com/in/danlogsdon or https://HoloModular.com
64+
ServiceBricks is owned and maintained by HoloModular LLC and authored by Danny Logsdon (Founder). Visit our websites at https://HoloModular.com, https://ServiceBricks.com or https://www.linkedin.com/in/danlogsdon to learn more.

src/V1/ServiceBricks.Cache.AzureDataTables/ServiceBricks.Cache.AzureDataTables.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Version>1.4.0-a</Version>
4+
<Version>1.4.0-c</Version>
55
<Description>The open source microservices platform. Visit https://ServiceBricks.com to learn more.</Description>
66
<PackageId>ServiceBricks.Cache.AzureDataTables</PackageId>
77
<Title>ServiceBricks.Cache.AzureDataTables</Title>
@@ -36,6 +36,6 @@
3636
<ProjectReference Include="..\ServiceBricks.Cache\ServiceBricks.Cache.csproj" />
3737
</ItemGroup>
3838
<ItemGroup>
39-
<PackageReference Include="ServiceBricks.Core" Version="1.4.0-a" />
39+
<PackageReference Include="ServiceBricks.Core" Version="1.4.0-c" />
4040
</ItemGroup>
4141
</Project>

0 commit comments

Comments
 (0)