diff --git a/fluentui-ard/CanvasManifest.json b/fluentui-ard/CanvasManifest.json index 41847b3ed1d8bcb896ef0e72725a28089ec42eaa..d9511b1d545b2110510c7b8324b659f943876725 100644 --- a/fluentui-ard/CanvasManifest.json +++ b/fluentui-ard/CanvasManifest.json @@ -98,7 +98,7 @@ "zeroalltabindexes": false }, "Author": "", - "BindingErrorCount": 2, + "BindingErrorCount": 0, "ContainsThirdPartyPcfControls": false, "DefaultConnectedDataSourceMaxGetRowsCount": 500, "DocumentAppType": "Phone", diff --git a/fluentui-ard/Connections/Connections.json b/fluentui-ard/Connections/Connections.json index c3f3dbca1746310dd215357bc1bf9d25733d6715..82658484f7551234768f7fc5b7d042b3a4a96ce7 100644 --- a/fluentui-ard/Connections/Connections.json +++ b/fluentui-ard/Connections/Connections.json @@ -1,4 +1,50 @@ { + "ac8f0aa7-20fc-4eec-83d4-a8426b128fb7": { + "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": { + "workflowEntityId": { + "value": "921001dc-f7aa-ee11-be37-0022488291be" + }, + "workflowName": { + "value": "ec84356e-395f-aa1b-0fdf-1c7e126b562e" + } + }, + "parameterHintsV2": { + "workflowEntityId": { + "value": "921001dc-f7aa-ee11-be37-0022488291be" + }, + "workflowName": { + "value": "ec84356e-395f-aa1b-0fdf-1c7e126b562e" + } + } + }, + "datasets": {}, + "dataSources": [ + "ConnectAzureOpenai" + ], + "dependencies": { + "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50": "c211ecd3-22bc-4e73-9d94-8a235c2b4f52" + }, + "dependents": [], + "id": "ac8f0aa7-20fc-4eec-83d4-a8426b128fb7" + }, + "c211ecd3-22bc-4e73-9d94-8a235c2b4f52": { + "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": [ + "ac8f0aa7-20fc-4eec-83d4-a8426b128fb7" + ], + "id": "c211ecd3-22bc-4e73-9d94-8a235c2b4f52" + }, "dd997e22-3bdb-48cb-af6f-587b3b988bb4": { "connectionRef": { "displayName": "Office 365 Outlook", diff --git a/fluentui-ard/DataSources/ConnectAzureOpenai.json b/fluentui-ard/DataSources/ConnectAzureOpenai.json new file mode 100644 index 0000000000000000000000000000000000000000..f0f470331c473201e886bf4ea3aff9d143c25367 --- /dev/null +++ b/fluentui-ard/DataSources/ConnectAzureOpenai.json @@ -0,0 +1,10 @@ +[ + { + "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 a208f6cb8c91d608ee7db49330b55bba4493d911..0a502639434f2bc0202821345643b751cfdc788e 100644 --- a/fluentui-ard/Entropy/AppCheckerResult.sarif +++ b/fluentui-ard/Entropy/AppCheckerResult.sarif @@ -9,84 +9,6 @@ } ], "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": [ { @@ -115,7 +37,7 @@ "level": "Medium" }, "ruleId": "app-UnusedMediaResources", - "ruleIndex": 2 + "ruleIndex": 0 } ], "tool": { @@ -123,34 +45,6 @@ "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 aec1bbb5e297673ee9b2a8eb6202d781a8a919e6..8f3abe28a3f3a82e87c1ae47184c680498b22957 100644 --- a/fluentui-ard/Entropy/Entropy.json +++ b/fluentui-ard/Entropy/Entropy.json @@ -26,9 +26,11 @@ "DoesTestStepsMetadataExist": true, "FunctionParamsInvariantScripts": {}, "FunctionParamsInvariantScriptsOnInstances": {}, - "HeaderLastSavedDateTimeUTC": "01/18/2024 14:52:47", + "HeaderLastSavedDateTimeUTC": "01/18/2024 14:52:51", "IsLegacyComponentAllowGlobalScopeCase": false, "LocalConnectionIDReferences": { + "ac8f0aa7-20fc-4eec-83d4-a8426b128fb7": "\"/providers/Microsoft.PowerApps/apis/shared_logicflows/connections/EC84356E395FAA1B0FDF1C7E126B562E-C1654A69E558FC9F\"", + "c211ecd3-22bc-4e73-9d94-8a235c2b4f52": "\"/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50/connections/shared-azure-2dopena-3f4cdc89-63b5-4018-882d-1f1c97eb18e0\"", "dd997e22-3bdb-48cb-af6f-587b3b988bb4": "\"/providers/microsoft.powerapps/apis/shared_office365/connections/shared-office365-4f712e21-7360-4723-a8e1-b17877eae069\"" }, "LocalDatabaseReferencesAsEmpty": false, @@ -43,7 +45,8 @@ "OrderComponentMetadata": {}, "OrderComponentTemplate": {}, "OrderDataSource": { - "Office365Outlook": 0 + "ConnectAzureOpenai": 0, + "Office365Outlook": 1 }, "OrderGroupControls": {}, "OrderPcfTemplate": {}, diff --git a/fluentui-ard/Entropy/checksum.json b/fluentui-ard/Entropy/checksum.json index 572d8af9972aa709c15cbfe537d4eeab9b057ce5..d85fc7e800a99861ba60e74168b50a79376c5228 100644 --- a/fluentui-ard/Entropy/checksum.json +++ b/fluentui-ard/Entropy/checksum.json @@ -4,37 +4,37 @@ "IsLocalBuild": false }, "ClientPerFileChecksums": { - "AppCheckerResult.sarif": "C8_EETYo3t5TNT6++3UYu5qPZmdtR/eCAFHrWnX65UwiZY=", + "AppCheckerResult.sarif": "C8_N4XEmEN8UObsfZnRbymA9dKLykMBGRYKXNtP0OZG3bk=", "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_Z4RBbojJNAN2BPWbXtL3glYKJRC86gOUyOwTNlqz9JI=", - "Properties.json": "C8_8fYiOagGQhREkv+v2gJkfLKe1UbmGOfDweygQbKPBLE=", - "References\\DataSources.json": "C8_ZRIfnFsSn0IEVCoaG0G5Y/tNcu8UkSZJROQeELpx2W0=", + "Header.json": "C8_OQFYkboZoflMYeFC2JrklT5BxiHdd6rx3IFmaAmMVb8=", + "Properties.json": "C8_GZr7cIxo9oENV6vVKEqPYxhncxT96Mtn793m7Ee47oY=", + "References\\DataSources.json": "C8_khu+WUDb4a5tvZu/0zvUqAExTFpdTX7df3InxUaD7RQ=", "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_Je2SYmBy2O4tqdYbvZdE94uEAVirpOreUVhrg1bR9ds=", + "ClientStampedChecksum": "C8_oTn6IZpmMqHvPtuhUg3ndOQe3fRt28pwogVv5dyoukg=", "ServerPerFileChecksums": { - "AppCheckerResult.sarif": "C8_EETYo3t5TNT6++3UYu5qPZmdtR/eCAFHrWnX65UwiZY=", + "AppCheckerResult.sarif": "C8_N4XEmEN8UObsfZnRbymA9dKLykMBGRYKXNtP0OZG3bk=", "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_Z4RBbojJNAN2BPWbXtL3glYKJRC86gOUyOwTNlqz9JI=", - "Properties.json": "C8_8fYiOagGQhREkv+v2gJkfLKe1UbmGOfDweygQbKPBLE=", - "References\\DataSources.json": "C8_ZRIfnFsSn0IEVCoaG0G5Y/tNcu8UkSZJROQeELpx2W0=", + "Header.json": "C8_OQFYkboZoflMYeFC2JrklT5BxiHdd6rx3IFmaAmMVb8=", + "Properties.json": "C8_GZr7cIxo9oENV6vVKEqPYxhncxT96Mtn793m7Ee47oY=", + "References\\DataSources.json": "C8_khu+WUDb4a5tvZu/0zvUqAExTFpdTX7df3InxUaD7RQ=", "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_Je2SYmBy2O4tqdYbvZdE94uEAVirpOreUVhrg1bR9ds=" + "ServerStampedChecksum": "C8_oTn6IZpmMqHvPtuhUg3ndOQe3fRt28pwogVv5dyoukg=" } \ No newline at end of file diff --git a/fluentui-ard/pkgs/Wadl/ConnectAzureOpenai.xml b/fluentui-ard/pkgs/Wadl/ConnectAzureOpenai.xml new file mode 100644 index 0000000000000000000000000000000000000000..252bf3d9e7a19ec6d3d779664681f523191cf393 --- /dev/null +++ b/fluentui-ard/pkgs/Wadl/ConnectAzureOpenai.xml @@ -0,0 +1,50 @@ +<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