From f77764c5b895e493ce8fc8a8bd11c7a82058f836 Mon Sep 17 00:00:00 2001 From: Andrew Omondi Date: Wed, 4 Oct 2023 12:24:41 +0300 Subject: [PATCH 1/3] Fix for missing functions/actions on deletedItems --- transforms/csdl/preprocess_csdl.xsl | 41 +++++++++++++++++++ .../csdl/preprocess_csdl_test_input.xml | 4 ++ .../csdl/preprocess_csdl_test_output.xml | 35 +++++++++++++++- 3 files changed, 78 insertions(+), 2 deletions(-) diff --git a/transforms/csdl/preprocess_csdl.xsl b/transforms/csdl/preprocess_csdl.xsl index 8bf9071cb..90c97142c 100644 --- a/transforms/csdl/preprocess_csdl.xsl +++ b/transforms/csdl/preprocess_csdl.xsl @@ -346,6 +346,18 @@ microsoft.graph.device + + + microsoft.graph.getByIds + microsoft.graph.getAvailableExtensionProperties + microsoft.graph.validateProperties + microsoft.graph.restore + microsoft.graph.getMemberObjects + microsoft.graph.getMemberGroups + microsoft.graph.checkMemberObjects + microsoft.graph.checkMemberGroups + + Edm.Stream + + + + + + + + Collection(graph.conditionalAccessConditions) @@ -1962,6 +1985,24 @@ + + + + + microsoft.graph.getByIds + microsoft.graph.delta + microsoft.graph.getAvailableExtensionProperties + microsoft.graph.validateProperties + microsoft.graph.restore + microsoft.graph.getMemberObjects + microsoft.graph.getMemberGroups + microsoft.graph.checkMemberObjects + microsoft.graph.checkMemberGroups + + + + + + + + + diff --git a/transforms/csdl/preprocess_csdl_test_output.xml b/transforms/csdl/preprocess_csdl_test_output.xml index 7c68c6ff9..6e3ce0d2c 100644 --- a/transforms/csdl/preprocess_csdl_test_output.xml +++ b/transforms/csdl/preprocess_csdl_test_output.xml @@ -1,4 +1,4 @@ - + @@ -358,6 +358,18 @@ microsoft.graph.device + + + microsoft.graph.getByIds + microsoft.graph.getAvailableExtensionProperties + microsoft.graph.validateProperties + microsoft.graph.restore + microsoft.graph.getMemberObjects + microsoft.graph.getMemberGroups + microsoft.graph.checkMemberObjects + microsoft.graph.checkMemberGroups + + @@ -905,6 +917,11 @@ + + + + + @@ -1225,7 +1242,21 @@ - + + + + microsoft.graph.getByIds + microsoft.graph.delta + microsoft.graph.getAvailableExtensionProperties + microsoft.graph.validateProperties + microsoft.graph.restore + microsoft.graph.getMemberObjects + microsoft.graph.getMemberGroups + microsoft.graph.checkMemberObjects + microsoft.graph.checkMemberGroups + + + \ No newline at end of file From 4e7ee75bfbd4ff46aa4ffd12c2fffc73cfc2202f Mon Sep 17 00:00:00 2001 From: Andrew Omondi Date: Wed, 4 Oct 2023 13:43:22 +0300 Subject: [PATCH 2/3] Fix incorrect generation --- transforms/csdl/preprocess_csdl.xsl | 3 ++- transforms/csdl/preprocess_csdl_test_output.xml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/transforms/csdl/preprocess_csdl.xsl b/transforms/csdl/preprocess_csdl.xsl index 90c97142c..c43a0011d 100644 --- a/transforms/csdl/preprocess_csdl.xsl +++ b/transforms/csdl/preprocess_csdl.xsl @@ -1986,7 +1986,8 @@ - + + microsoft.graph.directoryObject microsoft.graph.getByIds diff --git a/transforms/csdl/preprocess_csdl_test_output.xml b/transforms/csdl/preprocess_csdl_test_output.xml index 6e3ce0d2c..92e0f47c0 100644 --- a/transforms/csdl/preprocess_csdl_test_output.xml +++ b/transforms/csdl/preprocess_csdl_test_output.xml @@ -1242,7 +1242,7 @@ - + microsoft.graph.getByIds @@ -1256,7 +1256,7 @@ microsoft.graph.checkMemberGroups - + \ No newline at end of file From 547c8b828a933ba881eba0248be404fb205bf536 Mon Sep 17 00:00:00 2001 From: Andrew Omondi Date: Thu, 5 Oct 2023 17:21:33 +0300 Subject: [PATCH 3/3] Removes containsTarget in internal and external sponsors --- transforms/csdl/preprocess_csdl.xsl | 2 ++ transforms/csdl/preprocess_csdl_test_output.xml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/transforms/csdl/preprocess_csdl.xsl b/transforms/csdl/preprocess_csdl.xsl index 3afa95d13..651b9b099 100644 --- a/transforms/csdl/preprocess_csdl.xsl +++ b/transforms/csdl/preprocess_csdl.xsl @@ -438,6 +438,8 @@ diff --git a/transforms/csdl/preprocess_csdl_test_output.xml b/transforms/csdl/preprocess_csdl_test_output.xml index 625b899bf..f9c6cd896 100644 --- a/transforms/csdl/preprocess_csdl_test_output.xml +++ b/transforms/csdl/preprocess_csdl_test_output.xml @@ -641,7 +641,7 @@ - +