Skip to content

Commit 9048175

Browse files
committed
8.0.0 entra SSO release
- [ENHANCEMENT] added support for entra SSO login - [ENHANCEMENT] upgrade to .net8 log for JWKS success - [ENHANCEMENT] packages updated to latest vesion - [BUGFIX] moving response content length to correct if statement - [BUG FIX] JSONRPC AND RESTFUL threw exceptions if ParseError used in certain scenarios - [BUG FIX] removed unnecessary instantiation of EntraTokenAuthentication() - [ENHANCEMENT] log4net updated to 3.1.0 - [ENHANCEMENT] cache external JWKS once recevied and fail back to cached copy if unable to get latest copy - [ENHANCEMENT] added first business phone record from graph api - [ENHANCEMENT] EnyimMemcachedCore updated to 3.4.0 - [ENHANCEMENT] update Console/ConsoleConfiguration.cs -> AddApiLibrary to allow for optional packages to be added at runtime - [ENHANCEMENT] Added GetStatsDictionary to return a Dictionary of memcache stats - [BUG FIX] memcache works with a DNS name - [ENHANCEMENT] allow machine to machine authentication using entra SSO tokens - [ENHANCEMENT] Added filename to byte[] streamed output - [ENHANCEMENT] remove transaction on trace insert - [ENHANCEMENT] dont log for OperationCanceledException - [ENHANCEMENT] changing error logs to info logs for jsopnrpc exceptionns for malformed json - [ENHANCEMENT] added attribute used for identity within the API when an external ENTRAID token that is a service account - [BUG FIX] memcache fix for on startup when node is not available. Note: appsettings.json memcached times need to be low enough to allow app to startup in time - [ENHANCEMENT] a white list of endpoints that can be access is now recorded - [ENHANCEMENT] a list of assemblies for reflection can now be supplied otherwise all assemblies have to be iterated through - [ENHANCEMENT] removing head as an allowed endpoint from APISettings
1 parent f3f4bc9 commit 9048175

File tree

481 files changed

+97331
-881
lines changed

Some content is hidden

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

481 files changed

+97331
-881
lines changed

db/TD_API_TRACE.sql

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@
99
[TRC_STARTTIME] DATETIME NOT NULL,
1010
[TRC_DURATION] DECIMAL(18,3) NOT NULL,
1111
[TRC_STATUSCODE] INT NOT NULL,
12-
[TRC_MACHINENAME] varchar(256) NOT NULL,
12+
[TRC_MACHINENAME] varchar(256) NULL,
1313
[TRC_REQUEST_TYPE] VARCHAR(50) NULL,
1414
[TRC_REQUEST_VERB] VARCHAR(50) NOT NULL,
1515
[TRC_ERROR_PATH] VARCHAR(1024) NULL,
1616
[TRC_CORRELATION_ID] VARCHAR(1024) null,
1717
[TRC_JSONRPC_ERROR_CODE] int null,
1818
[TRC_CONTENT_LENGTH] BIGINT NULL,
1919
[TRC_REFERER] VARCHAR(MAX) NULL,
20+
[TRC_RESPONSE_CONTENT_LENGTH] BIGINT NULL,
21+
[TRC_CACHE_USED] BIT NULL,
2022
PRIMARY KEY CLUSTERED ([TRC_ID] ASC)
2123
)
2224

@@ -127,4 +129,22 @@ EXEC sp_addextendedproperty @name = N'MS_Description',
127129
@level1type = N'TABLE',
128130
@level1name = N'TD_API_TRACE',
129131
@level2type = N'COLUMN',
130-
@level2name = N'TRC_CONTENT_LENGTH'
132+
@level2name = N'TRC_CONTENT_LENGTH'
133+
GO
134+
EXEC sp_addextendedproperty @name = N'MS_Description',
135+
@value = N'response content length in bytes',
136+
@level0type = N'SCHEMA',
137+
@level0name = N'dbo',
138+
@level1type = N'TABLE',
139+
@level1name = N'TD_API_TRACE',
140+
@level2type = N'COLUMN',
141+
@level2name = N'TRC_RESPONSE_CONTENT_LENGTH'
142+
GO
143+
EXEC sp_addextendedproperty @name = N'MS_Description',
144+
@value = N'indicates if the application flagged that cache was used to generate the response',
145+
@level0type = N'SCHEMA',
146+
@level0name = N'dbo',
147+
@level1type = N'TABLE',
148+
@level1name = N'TD_API_TRACE',
149+
@level2type = N'COLUMN',
150+
@level2name = N'TRC_CACHE_USED'

db/configuration/stored procedures/Security_Trace_Create.sql

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ REVISION HISTORY
1010
----------------
1111
REVIEW NO. DATE CHANGED BY COMMENTS
1212
1 23/07/2024 Stephen Lane added content length and referrer
13+
2 08/05/2025 Stephen Lane added response content length
14+
3 26/01/2026 Stephen Lane added trace cache used flag
1315
1416
PEER REVIEW HISTORY
1517
-------------------
1618
REVIEW NO. DATE REVIEWED BY COMMENTS
1719
1820
*************************************************************************************/
19-
CREATE or alter PROCEDURE Security_Trace_Create @TrcMethod NVARCHAR(256) = null
21+
CREATE PROCEDURE Security_Trace_Create @TrcMethod NVARCHAR(256) = null
2022
,@TrcParams NVARCHAR(2048) = null
2123
,@TrcIp VARCHAR(15) = NULL
2224
,@TrcUseragent VARCHAR(2048) = NULL
@@ -32,6 +34,8 @@ CREATE or alter PROCEDURE Security_Trace_Create @TrcMethod NVARCHAR(256) = null
3234
,@TrcJsonRpcErrorCode int =null
3335
,@TrcContentLength bigint =null
3436
,@TrcReferrer varchar(max) =null
37+
,@TrcResponseContentLength varchar(max) =null
38+
,@TrcCacheUsed bit = null
3539
AS
3640
BEGIN
3741
SET NOCOUNT ON;
@@ -53,7 +57,10 @@ BEGIN
5357
,TRC_CORRELATION_ID
5458
,TRC_JSONRPC_ERROR_CODE
5559
,TRC_CONTENT_LENGTH
56-
,TRC_REFERER)
60+
,TRC_REFERER
61+
,TRC_RESPONSE_CONTENT_LENGTH
62+
,TRC_CACHE_USED
63+
)
5764
VALUES (
5865
@TrcMethod
5966
,@TrcParams
@@ -72,6 +79,8 @@ BEGIN
7279
,@TrcJsonRpcErrorCode
7380
,@TrcContentLength
7481
,@TrcReferrer
82+
,@TrcResponseContentLength
83+
,@TrcCacheUsed
7584
)
7685

7786
RETURN 1

releasenote.txt

Lines changed: 577 additions & 0 deletions
Large diffs are not rendered by default.
86.1 KB
Binary file not shown.
128 KB
Binary file not shown.
81.8 KB
Binary file not shown.
123 KB
Binary file not shown.
85.9 KB
Binary file not shown.
128 KB
Binary file not shown.
81.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)