-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue in term loading now using $expand for performance reasons…
… + enabled loading of child of child terms #850
- Loading branch information
Showing
163 changed files
with
310 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/sdk/PnP.Core.Test/Base/MockData/PagingTests/GraphCollectionPaging-0-00000.response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"83f60ca0-00af-3000-787b-4079a01e79d3","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00222c99a486-d6c9-4a4b-8d6f-a9faa364c92c\u0022,\u0022Url\u0022:\u0022https://bertonline.sharepoint.com/sites/prov-2\u0022}"} | ||
{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"13013ea0-d056-4000-36bd-590515c284e7","SPClientServiceRequestDuration":"8","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u00222c99a486-d6c9-4a4b-8d6f-a9faa364c92c\u0022,\u0022Url\u0022:\u0022https://bertonline.sharepoint.com/sites/prov-2\u0022}"} |
2 changes: 1 addition & 1 deletion
2
src/sdk/PnP.Core.Test/Base/MockData/PagingTests/GraphCollectionPaging-0-00001.response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"83f60ca0-60b2-3000-787b-40c4f6aa7a16","SPClientServiceRequestDuration":"14","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u0022d40d729b-df60-4b57-ac8f-102595090e0a\u0022,\u0022Id\u0022:\u0022f92f9e40-1110-43ef-aa0e-0822e13fb7ba\u0022}"} | ||
{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"13013ea0-1061-4000-386c-a79c31148ce3","SPClientServiceRequestDuration":"10","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u0022d40d729b-df60-4b57-ac8f-102595090e0a\u0022,\u0022Id\u0022:\u0022f92f9e40-1110-43ef-aa0e-0822e13fb7ba\u0022}"} |
2 changes: 1 addition & 1 deletion
2
src/sdk/PnP.Core.Test/Base/MockData/PagingTests/GraphCollectionPaging-0-00002.response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"IsSuccessStatusCode":true,"StatusCode":201,"Headers":{"Date":"Wed, 15 Dec 2021 08:35:28 GMT","Cache-Control":"no-cache","Transfer-Encoding":"chunked","Location":"https://bertonline.sharepoint.com/_api/v2.0/sites(\u0027bertonline.sharepoint.com,f92f9e40-1110-43ef-aa0e-0822e13fb7ba,2c99a486-d6c9-4a4b-8d6f-a9faa364c92c\u0027)/termStores(\u0027root\u0027)/groups(\u0027e2fd3239-d3e1-4eaf-8b0e-c671dcd9412e\u0027)","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"5b5333e7-34ae-4eb8-ad11-fbba5aacd11c","client-request-id":"5b5333e7-34ae-4eb8-ad11-fbba5aacd11c","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022West Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00225\u0022,\u0022ScaleUnit\u0022:\u0022003\u0022,\u0022RoleInstance\u0022:\u0022AM1PEPF0000E5A2\u0022}}","OData-Version":"4.0"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#sites(\u0027bertonline.sharepoint.com%2Cf92f9e40-1110-43ef-aa0e-0822e13fb7ba%2C2c99a486-d6c9-4a4b-8d6f-a9faa364c92c\u0027)/termStore/groups/$entity\u0022,\u0022id\u0022:\u0022e2fd3239-d3e1-4eaf-8b0e-c671dcd9412e\u0022,\u0022description\u0022:\u0022\u0022,\u0022displayName\u0022:\u0022PnP-22072df6-a998-4223-b2d4-c51b181700dd\u0022,\u0022createdDateTime\u0022:\u00222021-12-15T08:35:28.293Z\u0022,\u0022scope\u0022:\u0022global\u0022}"} | ||
{"IsSuccessStatusCode":true,"StatusCode":201,"Headers":{"Cache-Control":"no-store, no-cache","Transfer-Encoding":"chunked","Location":"https://bertonline.sharepoint.com/_api/v2.0/sites(\u0027bertonline.sharepoint.com,f92f9e40-1110-43ef-aa0e-0822e13fb7ba,2c99a486-d6c9-4a4b-8d6f-a9faa364c92c\u0027)/termStores(\u0027root\u0027)/groups(\u00270b73a30f-4c71-4cba-81a8-1689aa402cc4\u0027)","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"918b8363-3f87-4fc5-91cc-abfcdc3273a8","client-request-id":"918b8363-3f87-4fc5-91cc-abfcdc3273a8","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022005\u0022,\u0022RoleInstance\u0022:\u0022DU6PEPF00002DD5\u0022}}","OData-Version":"4.0","Date":"Mon, 16 May 2022 17:22:18 GMT"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#sites(\u0027bertonline.sharepoint.com%2Cf92f9e40-1110-43ef-aa0e-0822e13fb7ba%2C2c99a486-d6c9-4a4b-8d6f-a9faa364c92c\u0027)/termStore/groups/$entity\u0022,\u0022id\u0022:\u00220b73a30f-4c71-4cba-81a8-1689aa402cc4\u0022,\u0022description\u0022:\u0022\u0022,\u0022displayName\u0022:\u0022PnP-818e7c22-69fa-4dcf-ab2a-b0b131e93ed4\u0022,\u0022createdDateTime\u0022:\u00222022-05-16T17:22:18.02Z\u0022,\u0022scope\u0022:\u0022global\u0022}"} |
2 changes: 1 addition & 1 deletion
2
src/sdk/PnP.Core.Test/Base/MockData/PagingTests/GraphCollectionPaging-0-00003.response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Date":"Wed, 15 Dec 2021 08:35:29 GMT","Cache-Control":"no-cache","Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"6382df3e-ebe2-4198-8903-0f4f7627c244","client-request-id":"6382df3e-ebe2-4198-8903-0f4f7627c244","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022West Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00225\u0022,\u0022ScaleUnit\u0022:\u0022003\u0022,\u0022RoleInstance\u0022:\u0022AM1PEPF0000E5A2\u0022}}","OData-Version":"4.0"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#sites(\u0027bertonline.sharepoint.com%2Cf92f9e40-1110-43ef-aa0e-0822e13fb7ba%2C2c99a486-d6c9-4a4b-8d6f-a9faa364c92c\u0027)/termStore(id,defaultLanguageTag)/$entity\u0022,\u0022id\u0022:\u0022437b86fc-1258-45a9-85ea-87a29156ce3c\u0022,\u0022defaultLanguageTag\u0022:\u0022en-US\u0022}"} | ||
{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Cache-Control":"no-store, no-cache","Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"3a2542c5-4d64-4101-8312-fcbc904986e4","client-request-id":"3a2542c5-4d64-4101-8312-fcbc904986e4","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022005\u0022,\u0022RoleInstance\u0022:\u0022DU6PEPF00002DD5\u0022}}","OData-Version":"4.0","Date":"Mon, 16 May 2022 17:22:19 GMT"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#sites(\u0027bertonline.sharepoint.com%2Cf92f9e40-1110-43ef-aa0e-0822e13fb7ba%2C2c99a486-d6c9-4a4b-8d6f-a9faa364c92c\u0027)/termStore(id,defaultLanguageTag)/$entity\u0022,\u0022id\u0022:\u0022437b86fc-1258-45a9-85ea-87a29156ce3c\u0022,\u0022defaultLanguageTag\u0022:\u0022en-US\u0022}"} |
2 changes: 1 addition & 1 deletion
2
src/sdk/PnP.Core.Test/Base/MockData/PagingTests/GraphCollectionPaging-0-00004.response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"IsSuccessStatusCode":true,"StatusCode":201,"Headers":{"Date":"Wed, 15 Dec 2021 08:35:31 GMT","Cache-Control":"no-cache","Transfer-Encoding":"chunked","Location":"https://bertonline.sharepoint.com/_api/v2.0/sites(\u0027bertonline.sharepoint.com,f92f9e40-1110-43ef-aa0e-0822e13fb7ba,2c99a486-d6c9-4a4b-8d6f-a9faa364c92c\u0027)/termStores(\u0027root\u0027)/sets(\u00270f92f0af-0ab4-4f8e-80bc-318d39575f6a\u0027)","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"8815163a-0089-4a7a-917e-01c3122b27ee","client-request-id":"8815163a-0089-4a7a-917e-01c3122b27ee","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022West Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00225\u0022,\u0022ScaleUnit\u0022:\u0022003\u0022,\u0022RoleInstance\u0022:\u0022AM1PEPF0000E5A2\u0022}}","OData-Version":"4.0"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#sites(\u0027bertonline.sharepoint.com%2Cf92f9e40-1110-43ef-aa0e-0822e13fb7ba%2C2c99a486-d6c9-4a4b-8d6f-a9faa364c92c\u0027)/termStore/sets/$entity\u0022,\u0022id\u0022:\u00220f92f0af-0ab4-4f8e-80bc-318d39575f6a\u0022,\u0022description\u0022:\u0022Set description\u0022,\u0022createdDateTime\u0022:\u00222021-12-15T08:35:31.393Z\u0022,\u0022localizedNames\u0022:[{\u0022name\u0022:\u0022PnPSet1\u0022,\u0022languageTag\u0022:\u0022en-US\u0022}]}"} | ||
{"IsSuccessStatusCode":true,"StatusCode":201,"Headers":{"Cache-Control":"no-store, no-cache","Transfer-Encoding":"chunked","Location":"https://bertonline.sharepoint.com/_api/v2.0/sites(\u0027bertonline.sharepoint.com,f92f9e40-1110-43ef-aa0e-0822e13fb7ba,2c99a486-d6c9-4a4b-8d6f-a9faa364c92c\u0027)/termStores(\u0027root\u0027)/sets(\u002702266ca1-766e-4b36-a7da-25de8855d834\u0027)","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"86babd51-e088-4608-a330-6efbe6ce7611","client-request-id":"86babd51-e088-4608-a330-6efbe6ce7611","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022005\u0022,\u0022RoleInstance\u0022:\u0022DU6PEPF00002DD5\u0022}}","OData-Version":"4.0","Date":"Mon, 16 May 2022 17:22:21 GMT"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#sites(\u0027bertonline.sharepoint.com%2Cf92f9e40-1110-43ef-aa0e-0822e13fb7ba%2C2c99a486-d6c9-4a4b-8d6f-a9faa364c92c\u0027)/termStore/sets/$entity\u0022,\u0022id\u0022:\u002202266ca1-766e-4b36-a7da-25de8855d834\u0022,\u0022description\u0022:\u0022Set description\u0022,\u0022createdDateTime\u0022:\u00222022-05-16T17:22:21.603Z\u0022,\u0022localizedNames\u0022:[{\u0022name\u0022:\u0022PnPSet1\u0022,\u0022languageTag\u0022:\u0022en-US\u0022}]}"} |
2 changes: 1 addition & 1 deletion
2
src/sdk/PnP.Core.Test/Base/MockData/PagingTests/GraphCollectionPaging-0-00005.response.json
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
src/sdk/PnP.Core.Test/Base/MockData/PagingTests/GraphCollectionPaging-0-00006.response.json
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.