From 12e8658087c9feccb9c97e1b62e9f9541d3f832c Mon Sep 17 00:00:00 2001 From: Manuel <manuel.geyer@rbb-online.de> Date: Thu, 18 Jan 2024 14:52:47 +0000 Subject: [PATCH] Commit --- fluentui-ard/CanvasManifest.json | 2 +- fluentui-ard/Connections/Connections.json | 52 --------- .../DataSources/ConnectAzureOpenai.json | 10 -- fluentui-ard/Entropy/AppCheckerResult.sarif | 108 +++++++++++++++++- fluentui-ard/Entropy/Entropy.json | 7 +- fluentui-ard/Entropy/checksum.json | 20 ++-- fluentui-ard/pkgs/Wadl/ConnectAzureOpenai.xml | 50 -------- 7 files changed, 120 insertions(+), 129 deletions(-) delete mode 100644 fluentui-ard/DataSources/ConnectAzureOpenai.json delete mode 100644 fluentui-ard/pkgs/Wadl/ConnectAzureOpenai.xml diff --git a/fluentui-ard/CanvasManifest.json b/fluentui-ard/CanvasManifest.json index d9511b1..41847b3 100644 --- a/fluentui-ard/CanvasManifest.json +++ b/fluentui-ard/CanvasManifest.json @@ -98,7 +98,7 @@ "zeroalltabindexes": false }, "Author": "", - "BindingErrorCount": 0, + "BindingErrorCount": 2, "ContainsThirdPartyPcfControls": false, "DefaultConnectedDataSourceMaxGetRowsCount": 500, "DocumentAppType": "Phone", diff --git a/fluentui-ard/Connections/Connections.json b/fluentui-ard/Connections/Connections.json index a20813f..c3f3dbc 100644 --- a/fluentui-ard/Connections/Connections.json +++ b/fluentui-ard/Connections/Connections.json @@ -1,56 +1,4 @@ { - "3949869c-0bc9-4a51-90cd-bf1287c9e326": { - "connectionRef": { - "displayName": "Azure-openai-connector", - "iconUri": "https://prodapiicons.cdn.powerappscdn.net/20231208t000000z6ddcf09938484bbb86659a4f81d8d185/customconnectoricon.png", - "id": "/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50" - }, - "datasets": {}, - "dataSources": [], - "dependencies": {}, - "dependents": [ - "5c20d3af-1fb8-49ad-a085-f713362e8883" - ], - "id": "3949869c-0bc9-4a51-90cd-bf1287c9e326" - }, - "5c20d3af-1fb8-49ad-a085-f713362e8883": { - "connectionRef": { - "displayName": "Logic flows", - "iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1664/1.0.1664.3477/logicflows/icon.png", - "id": "/providers/microsoft.powerapps/apis/shared_logicflows", - "parameterHints": { - "3949869c-0bc9-4a51-90cd-bf1287c9e326": { - "value": "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50" - }, - "workflowEntityId": { - "value": "921001dc-f7aa-ee11-be37-0022488291be" - }, - "workflowName": { - "value": "ec84356e-395f-aa1b-0fdf-1c7e126b562e" - } - }, - "parameterHintsV2": { - "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50": { - "value": "3949869c-0bc9-4a51-90cd-bf1287c9e326" - }, - "workflowEntityId": { - "value": "921001dc-f7aa-ee11-be37-0022488291be" - }, - "workflowName": { - "value": "ec84356e-395f-aa1b-0fdf-1c7e126b562e" - } - } - }, - "datasets": {}, - "dataSources": [ - "ConnectAzureOpenai" - ], - "dependencies": { - "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50": "3949869c-0bc9-4a51-90cd-bf1287c9e326" - }, - "dependents": [], - "id": "5c20d3af-1fb8-49ad-a085-f713362e8883" - }, "dd997e22-3bdb-48cb-af6f-587b3b988bb4": { "connectionRef": { "displayName": "Office 365 Outlook", diff --git a/fluentui-ard/DataSources/ConnectAzureOpenai.json b/fluentui-ard/DataSources/ConnectAzureOpenai.json deleted file mode 100644 index f0f4703..0000000 --- a/fluentui-ard/DataSources/ConnectAzureOpenai.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "ApiId": "/providers/microsoft.powerapps/apis/shared_logicflows", - "FlowNameId": "0886ed27-d4ad-4432-838c-d5c2aec6a82a", - "Name": "ConnectAzureOpenai", - "ServiceKind": "ConnectedWadl", - "Type": "ServiceInfo", - "WorkflowEntityId": "921001dc-f7aa-ee11-be37-0022488291be" - } -] \ No newline at end of file diff --git a/fluentui-ard/Entropy/AppCheckerResult.sarif b/fluentui-ard/Entropy/AppCheckerResult.sarif index 0a50263..a208f6c 100644 --- a/fluentui-ard/Entropy/AppCheckerResult.sarif +++ b/fluentui-ard/Entropy/AppCheckerResult.sarif @@ -9,6 +9,84 @@ } ], "results": [ + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", + "relativeAddress": 0 + }, + "region": { + "charLength": 85, + "charOffset": 314, + "snippet": { + "text": "ConnectAzureOpenai.Run(\n textinput1.Text,\n Creativity\n )" + } + } + }, + "properties": { + "member": "OnSelect", + "module": "BaseScreen", + "type": "BaseScreen.ConSend.send1" + } + } + ], + "message": { + "arguments": [ + "Run", + "ConnectAzureOpenai" + ], + "id": "issue" + }, + "properties": { + "level": "High" + }, + "ruleId": "app-ErrUnknownNamespaceFunction", + "ruleIndex": 0 + }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "BaseScreen.ConSend.send1.OnSelect", + "relativeAddress": 0 + }, + "region": { + "charLength": 5, + "charOffset": 399, + "snippet": { + "text": ".assi" + } + } + }, + "properties": { + "member": "OnSelect", + "module": "BaseScreen", + "type": "BaseScreen.ConSend.send1" + } + } + ], + "message": { + "id": "issue" + }, + "properties": { + "level": "High" + }, + "ruleId": "app-ErrInvalidDot", + "ruleIndex": 1 + }, { "locations": [ { @@ -37,7 +115,7 @@ "level": "Medium" }, "ruleId": "app-UnusedMediaResources", - "ruleIndex": 0 + "ruleIndex": 2 } ], "tool": { @@ -45,6 +123,34 @@ "fullName": "PowerApps app checker", "name": "PowerApps app checker", "rules": [ + { + "id": "app-ErrUnknownNamespaceFunction", + "messageStrings": { + "issue": { + "text": "'{0}' is an unknown or unsupported function in namespace '{1}'." + } + }, + "properties": { + "componentType": "app", + "level": "High", + "primaryCategory": "formula", + "whyFix": "" + } + }, + { + "id": "app-ErrInvalidDot", + "messageStrings": { + "issue": { + "text": "Invalid use of '.'" + } + }, + "properties": { + "componentType": "app", + "level": "High", + "primaryCategory": "formula", + "whyFix": "" + } + }, { "id": "app-UnusedMediaResources", "messageStrings": { diff --git a/fluentui-ard/Entropy/Entropy.json b/fluentui-ard/Entropy/Entropy.json index 01f916f..aec1bbb 100644 --- a/fluentui-ard/Entropy/Entropy.json +++ b/fluentui-ard/Entropy/Entropy.json @@ -26,11 +26,9 @@ "DoesTestStepsMetadataExist": true, "FunctionParamsInvariantScripts": {}, "FunctionParamsInvariantScriptsOnInstances": {}, - "HeaderLastSavedDateTimeUTC": "01/18/2024 14:34:11", + "HeaderLastSavedDateTimeUTC": "01/18/2024 14:52:47", "IsLegacyComponentAllowGlobalScopeCase": false, "LocalConnectionIDReferences": { - "3949869c-0bc9-4a51-90cd-bf1287c9e326": "\"/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50/connections/shared-azure-2dopena-3f4cdc89-63b5-4018-882d-1f1c97eb18e0\"", - "5c20d3af-1fb8-49ad-a085-f713362e8883": "\"/providers/microsoft.powerapps/apis/shared_logicflows/connections/ec84356e395faa1b0fdf1c7e126b562e-c1654a69e558fc9f\"", "dd997e22-3bdb-48cb-af6f-587b3b988bb4": "\"/providers/microsoft.powerapps/apis/shared_office365/connections/shared-office365-4f712e21-7360-4723-a8e1-b17877eae069\"" }, "LocalDatabaseReferencesAsEmpty": false, @@ -45,8 +43,7 @@ "OrderComponentMetadata": {}, "OrderComponentTemplate": {}, "OrderDataSource": { - "ConnectAzureOpenai": 0, - "Office365Outlook": 1 + "Office365Outlook": 0 }, "OrderGroupControls": {}, "OrderPcfTemplate": {}, diff --git a/fluentui-ard/Entropy/checksum.json b/fluentui-ard/Entropy/checksum.json index ef8fa7a..572d8af 100644 --- a/fluentui-ard/Entropy/checksum.json +++ b/fluentui-ard/Entropy/checksum.json @@ -4,37 +4,37 @@ "IsLocalBuild": false }, "ClientPerFileChecksums": { - "AppCheckerResult.sarif": "C8_N4XEmEN8UObsfZnRbymA9dKLykMBGRYKXNtP0OZG3bk=", + "AppCheckerResult.sarif": "C8_EETYo3t5TNT6++3UYu5qPZmdtR/eCAFHrWnX65UwiZY=", "AppTests\\2.json": "C8_omA4KVA0ye8qkU+fMWC8nSkoW42AEHM4XBnnYkUJCys=", "Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=", "Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=", "Controls\\1.json": "C8_/PwNEU6dV00x9Xr4Yt93zX1EmsxAh36PVgOdFy9WD8g=", "Controls\\4.json": "C8_W9p4d9VL4bU/QKbAeSCKm/eHL/i3QURHwMmYMGK/E5s=", - "Header.json": "C8_bYNW368BxDFTU+sdnfpP4KJJE/MWP3qtSx4hzTLQ3JU=", - "Properties.json": "C8_yVVzdEGLFYPSVnypkmxcoww7u6Ib/nR7v3jeO4s+psk=", - "References\\DataSources.json": "C8_khu+WUDb4a5tvZu/0zvUqAExTFpdTX7df3InxUaD7RQ=", + "Header.json": "C8_Z4RBbojJNAN2BPWbXtL3glYKJRC86gOUyOwTNlqz9JI=", + "Properties.json": "C8_8fYiOagGQhREkv+v2gJkfLKe1UbmGOfDweygQbKPBLE=", + "References\\DataSources.json": "C8_ZRIfnFsSn0IEVCoaG0G5Y/tNcu8UkSZJROQeELpx2W0=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\Resources.json": "C8_/Z3a8U+hQac6bzkZ5btLTX7v5KpJfnJmMoWeHQs4HDA=", "References\\Templates.json": "C8_3Ww4szJIRkOM5XYjrrcfTagI+vAz0yk7R/L/qw0YjPE=", "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs=" }, - "ClientStampedChecksum": "C8_3KNGkZw8DV2ZQJhwV1CkRLQENUNvYtv+xd4IUm1azeY=", + "ClientStampedChecksum": "C8_Je2SYmBy2O4tqdYbvZdE94uEAVirpOreUVhrg1bR9ds=", "ServerPerFileChecksums": { - "AppCheckerResult.sarif": "C8_N4XEmEN8UObsfZnRbymA9dKLykMBGRYKXNtP0OZG3bk=", + "AppCheckerResult.sarif": "C8_EETYo3t5TNT6++3UYu5qPZmdtR/eCAFHrWnX65UwiZY=", "AppTests\\2.json": "C8_omA4KVA0ye8qkU+fMWC8nSkoW42AEHM4XBnnYkUJCys=", "Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=", "Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=", "Controls\\1.json": "C8_/PwNEU6dV00x9Xr4Yt93zX1EmsxAh36PVgOdFy9WD8g=", "Controls\\4.json": "C8_W9p4d9VL4bU/QKbAeSCKm/eHL/i3QURHwMmYMGK/E5s=", - "Header.json": "C8_bYNW368BxDFTU+sdnfpP4KJJE/MWP3qtSx4hzTLQ3JU=", - "Properties.json": "C8_yVVzdEGLFYPSVnypkmxcoww7u6Ib/nR7v3jeO4s+psk=", - "References\\DataSources.json": "C8_khu+WUDb4a5tvZu/0zvUqAExTFpdTX7df3InxUaD7RQ=", + "Header.json": "C8_Z4RBbojJNAN2BPWbXtL3glYKJRC86gOUyOwTNlqz9JI=", + "Properties.json": "C8_8fYiOagGQhREkv+v2gJkfLKe1UbmGOfDweygQbKPBLE=", + "References\\DataSources.json": "C8_ZRIfnFsSn0IEVCoaG0G5Y/tNcu8UkSZJROQeELpx2W0=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\Resources.json": "C8_/Z3a8U+hQac6bzkZ5btLTX7v5KpJfnJmMoWeHQs4HDA=", "References\\Templates.json": "C8_3Ww4szJIRkOM5XYjrrcfTagI+vAz0yk7R/L/qw0YjPE=", "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs=" }, - "ServerStampedChecksum": "C8_3KNGkZw8DV2ZQJhwV1CkRLQENUNvYtv+xd4IUm1azeY=" + "ServerStampedChecksum": "C8_Je2SYmBy2O4tqdYbvZdE94uEAVirpOreUVhrg1bR9ds=" } \ No newline at end of file diff --git a/fluentui-ard/pkgs/Wadl/ConnectAzureOpenai.xml b/fluentui-ard/pkgs/Wadl/ConnectAzureOpenai.xml deleted file mode 100644 index 252bf3d..0000000 --- a/fluentui-ard/pkgs/Wadl/ConnectAzureOpenai.xml +++ /dev/null @@ -1,50 +0,0 @@ -<application xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:service="https://europe-002.azure-apim.net/apim/logicflows" xmlns:siena="http://schemas.microsoft.com/MicrosoftProjectSiena/WADL/2014/11" siena:serviceId="ConnectAzureOpenai" xmlns="http://wadl.dev.java.net/2009/02"> - <doc title="ConnectAzureOpenai" /> - <grammars> - <jsonTypes targetNamespace="https://europe-002.azure-apim.net/apim/logicflows" xmlns="http://schemas.microsoft.com/MicrosoftProjectSiena/WADL/2014/11"> - <string name="ManualTriggerInput_text_def" /> - <number name="ManualTriggerInput_number_def" /> - <object name="ManualTriggerInput"> - <property name="text" type="string" /> - <property name="number" type="number" /> - </object> - <string name="ResponseActionOutput_assi_def" /> - <object name="ResponseActionOutput"> - <property name="assi" type="string" /> - </object> - <object name="Run_responses_default_def" /> - </jsonTypes> - </grammars> - <resources siena:authenticationProviderHref="#PowerAppAuth" base="https://europe-002.azure-apim.net/apim/logicflows"> - <resource path="/{connectionId}/triggers/manual/run"> - <param style="template" name="connectionId" type="xs:string" required="true" /> - <method siena:requiresAuthentication="true" name="POST" id="Run"> - <doc title="Runs a logic flow trigger." /> - <request> - <param style="query" name="api-version" type="xs:string" required="true" fixed="2015-02-01-preview"> - <doc title="The api version" /> - </param> - <representation mediaType="application/json"> - <param style="plain" name="text" path="/text" type="xs:string" required="true"> - <doc title="prompt1" /> - </param> - <param style="plain" name="number" path="/number" type="xs:double" required="true"> - <doc title="creativity1" /> - </param> - </representation> - </request> - <response> - <representation mediaType="application/json" element="service:ResponseActionOutput" /> - </response> - </method> - </resource> - </resources> - <authenticationProviders xmlns="http://schemas.microsoft.com/MicrosoftProjectSiena/WADL/2014/11"> - <connectionProvider id="PowerAppAuth" siena:connectionProviderId="logicflows" /> - </authenticationProviders> - <template xmlns="http://schemas.microsoft.com/MicrosoftProjectSiena/WADL/2014/11"> - <variable name="connectionId"> - <modifyParams style="template" name="connectionId" attribute="fixed" /> - </variable> - </template> -</application> \ No newline at end of file -- GitLab