You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MicrosoftAzureDataManagerForEnergy/MicrosoftAzureDataManagerForEnergy/MicrosoftAzureDataManagerForEnergy.mproj
Copy file name to clipboardExpand all lines: MicrosoftAzureDataManagerForEnergy/MicrosoftAzureDataManagerForEnergy/MicrosoftAzureDataManagerForEnergy.pq
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,16 @@
2
2
// Licensed under the MIT License.
3
3
4
4
[Version="1.0.0"]
5
-
section MicrosoftEnergyDataServices;
5
+
section MicrosoftAzureDataManagerForEnergy;
6
6
7
7
redirectUri = "https://oauth.powerbi.com/views/oauthredirect.html"; // Must be a platform that supports PKCE (Single Page Application)
if collectedItems = totalItems then // Retrieved all records, regardless of user's limit
181
181
true
182
-
else if not (limit = null) and collectedItems >= limit then // User specified limit and we retrieved that many records. Using >= comparison in case user specified 0 limit - Microsoft Energy Data Services will default to 10 in that case
182
+
else if not (limit = null) and collectedItems >= limit then // User specified limit and we retrieved that many records. Using >= comparison in case user specified 0 limit - Azure Data Manager for Energy will default to 10 in that case
183
183
true
184
184
else // We have more records to retrieve beause we haven't retrieved them all yet, or we haven't reached the user's optional limit
185
185
false
@@ -200,7 +200,7 @@ AdjustPageSizeDependingOnUsersLimit = (runningCountOfRetrievedRecords as number,
Copy file name to clipboardExpand all lines: MicrosoftAzureDataManagerForEnergy/MicrosoftAzureDataManagerForEnergy/MicrosoftAzureDataManagerForEnergy.query.pq
+22-22Lines changed: 22 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -2,32 +2,32 @@
2
2
// Licensed under the MIT License.
3
3
4
4
[Version="1.0.0"]
5
-
section MicrosoftEnergyDataServicesTests;
5
+
section MicrosoftAzureDataManagerForEnergyTests;
6
6
7
7
// Tests must be run against an instance that's completed a TNO data load: https://github.com/Azure/osdu-data-load-tno
8
8
clientId = "<client id>";
9
9
tenantId = "<tenant id>";
10
-
instanceName = "<Microsoft Energy Data Services instance name>";
10
+
instanceName = "<Microsoft Azure Data Manager for Energy instance name>";
11
11
datapatition = "<data patition ID>";
12
12
kind = "osdu:wks:master-data--Well:1.0.0";
13
13
query = "*";
14
14
15
-
shared MicrosoftEnergyDataServices.Test =
15
+
shared MicrosoftAzureDataManagerForEnergy.Test =
16
16
[
17
17
// Fact(<Name of the Test>, <Expected Value>, <Actual Value>)
18
18
facts =
19
19
{
20
20
Fact("Check that total record count is calculated when there is no limit",
Fact("Check that a partial final page, where the difference in limit and page size is greater than the page size, retrieves the correct number of records",
Fact("Check that a partial final page, where the difference in limit and page size is less than the page size, retrieves the correct number of records",
0 commit comments