-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Basic implementation of SIGHUP reload signal based on Asset * Added TransactionNumber to SpecificContent * Refined implementation of SIGHUP reload signal based on Asset * Bumping dependencies * Cleaned up TestCases
- Loading branch information
Showing
16 changed files
with
590 additions
and
1,019 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,150 @@ | ||
<Activity mc:Ignorable="sap sap2010" x:Class="CheckReloadSignal" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:s="clr-namespace:System;assembly=System.Private.CoreLib" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=System.Private.CoreLib" xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=System.Private.CoreLib" xmlns:ui="http://schemas.uipath.com/workflow/activities" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
<x:Members> | ||
<x:Property Name="in_ConfigPath" Type="InArgument(x:String)" /> | ||
<x:Property Name="io_LastKnownSighupSignal" Type="InOutArgument(x:Int32)" /> | ||
<x:Property Name="io_Config" Type="InOutArgument(scg:Dictionary(x:String, x:Object))" /> | ||
</x:Members> | ||
<sap2010:WorkflowViewState.IdRef>ActivityBuilder_1</sap2010:WorkflowViewState.IdRef> | ||
<TextExpression.NamespacesForImplementation> | ||
<sco:Collection x:TypeArguments="x:String"> | ||
<x:String>Microsoft.VisualBasic</x:String> | ||
<x:String>System</x:String> | ||
<x:String>System.Activities</x:String> | ||
<x:String>System.Activities.Statements</x:String> | ||
<x:String>System.Collections</x:String> | ||
<x:String>System.Collections.Generic</x:String> | ||
<x:String>System.Collections.ObjectModel</x:String> | ||
<x:String>System.Data</x:String> | ||
<x:String>System.Reflection</x:String> | ||
<x:String>System.Runtime.Serialization</x:String> | ||
<x:String>System.Windows.Forms</x:String> | ||
<x:String>System.Xml.Serialization</x:String> | ||
<x:String>UiPath.Core</x:String> | ||
<x:String>UiPath.Core.Activities</x:String> | ||
<x:String>System.Activities.Expressions</x:String> | ||
<x:String>System.Diagnostics</x:String> | ||
<x:String>System.Drawing</x:String> | ||
<x:String>System.Linq</x:String> | ||
<x:String>System.Xml</x:String> | ||
<x:String>System.Xml.Linq</x:String> | ||
<x:String>System.IO</x:String> | ||
<x:String>System.Net.Mail</x:String> | ||
<x:String>GlobalVariablesNamespace</x:String> | ||
<x:String>GlobalConstantsNamespace</x:String> | ||
<x:String>System.Linq.Expressions</x:String> | ||
</sco:Collection> | ||
</TextExpression.NamespacesForImplementation> | ||
<TextExpression.ReferencesForImplementation> | ||
<sco:Collection x:TypeArguments="AssemblyReference"> | ||
<AssemblyReference>Microsoft.Bcl.AsyncInterfaces</AssemblyReference> | ||
<AssemblyReference>Microsoft.VisualBasic</AssemblyReference> | ||
<AssemblyReference>Newtonsoft.Json</AssemblyReference> | ||
<AssemblyReference>NPOI</AssemblyReference> | ||
<AssemblyReference>PresentationCore</AssemblyReference> | ||
<AssemblyReference>PresentationFramework</AssemblyReference> | ||
<AssemblyReference>System</AssemblyReference> | ||
<AssemblyReference>System.Activities</AssemblyReference> | ||
<AssemblyReference>System.Collections</AssemblyReference> | ||
<AssemblyReference>System.ComponentModel</AssemblyReference> | ||
<AssemblyReference>System.ComponentModel.Composition</AssemblyReference> | ||
<AssemblyReference>System.ComponentModel.Primitives</AssemblyReference> | ||
<AssemblyReference>System.ComponentModel.TypeConverter</AssemblyReference> | ||
<AssemblyReference>System.Configuration.ConfigurationManager</AssemblyReference> | ||
<AssemblyReference>System.Console</AssemblyReference> | ||
<AssemblyReference>System.Core</AssemblyReference> | ||
<AssemblyReference>System.Data</AssemblyReference> | ||
<AssemblyReference>System.Data.Common</AssemblyReference> | ||
<AssemblyReference>System.Data.DataSetExtensions</AssemblyReference> | ||
<AssemblyReference>System.Drawing</AssemblyReference> | ||
<AssemblyReference>System.Drawing.Primitives</AssemblyReference> | ||
<AssemblyReference>System.Linq</AssemblyReference> | ||
<AssemblyReference>System.Memory</AssemblyReference> | ||
<AssemblyReference>System.ObjectModel</AssemblyReference> | ||
<AssemblyReference>System.Private.CoreLib</AssemblyReference> | ||
<AssemblyReference>System.Private.ServiceModel</AssemblyReference> | ||
<AssemblyReference>System.Private.Uri</AssemblyReference> | ||
<AssemblyReference>System.Private.Xml</AssemblyReference> | ||
<AssemblyReference>System.Runtime.Serialization</AssemblyReference> | ||
<AssemblyReference>System.Security.Permissions</AssemblyReference> | ||
<AssemblyReference>System.ServiceModel</AssemblyReference> | ||
<AssemblyReference>System.ValueTuple</AssemblyReference> | ||
<AssemblyReference>System.Windows.Forms</AssemblyReference> | ||
<AssemblyReference>System.Xaml</AssemblyReference> | ||
<AssemblyReference>System.Xml</AssemblyReference> | ||
<AssemblyReference>System.Xml.Linq</AssemblyReference> | ||
<AssemblyReference>UiPath.Excel</AssemblyReference> | ||
<AssemblyReference>UiPath.OCR.Activities.Design</AssemblyReference> | ||
<AssemblyReference>UiPath.Studio.Constants</AssemblyReference> | ||
<AssemblyReference>UiPath.System.Activities</AssemblyReference> | ||
<AssemblyReference>UiPath.System.Activities.Design</AssemblyReference> | ||
<AssemblyReference>UiPath.UiAutomation.Activities</AssemblyReference> | ||
<AssemblyReference>UiPath.UIAutomationCore</AssemblyReference> | ||
<AssemblyReference>UiPath.Workflow</AssemblyReference> | ||
<AssemblyReference>WindowsBase</AssemblyReference> | ||
<AssemblyReference>WindowsFormsIntegration</AssemblyReference> | ||
<AssemblyReference>UiPath.Excel.Activities.Design</AssemblyReference> | ||
<AssemblyReference>System.Runtime.Serialization.Formatters</AssemblyReference> | ||
<AssemblyReference>System.Private.DataContractSerialization</AssemblyReference> | ||
<AssemblyReference>System.Runtime.Serialization.Primitives</AssemblyReference> | ||
<AssemblyReference>System.Collections.NonGeneric</AssemblyReference> | ||
<AssemblyReference>System.Linq.Expressions</AssemblyReference> | ||
<AssemblyReference>System.Runtime.Numerics</AssemblyReference> | ||
<AssemblyReference>System.Linq.Async</AssemblyReference> | ||
<AssemblyReference>mscorlib</AssemblyReference> | ||
<AssemblyReference>System.ServiceModel.Activities</AssemblyReference> | ||
</sco:Collection> | ||
</TextExpression.ReferencesForImplementation> | ||
<Sequence sap2010:Annotation.AnnotationText="Checks if an integer asset was incremented and conditionally reloads the settings." DisplayName="CheckReloadSignal" sap:VirtualizedContainerService.HintSize="875,1194" sap2010:WorkflowViewState.IdRef="Sequence_42"> | ||
<Sequence.Variables> | ||
<Variable x:TypeArguments="x:Int32" Name="LatestSighupSignal" /> | ||
</Sequence.Variables> | ||
<sap:WorkflowViewStateService.ViewState> | ||
<scg:Dictionary x:TypeArguments="x:String, x:Object"> | ||
<x:Boolean x:Key="IsExpanded">True</x:Boolean> | ||
<x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean> | ||
</scg:Dictionary> | ||
</sap:WorkflowViewStateService.ViewState> | ||
<ui:LogMessage DisplayName="Log Message INFO begin" sap:VirtualizedContainerService.HintSize="502,173" sap2010:WorkflowViewState.IdRef="LogMessage_39" Message="["Going to check the reload signal"]" /> | ||
<ui:GetRobotAsset TimeoutMS="{x:Null}" AssetName="[io_Config("AssetnameReloadSignal").ToString]" CacheStrategy="None" DisplayName="Get Asset LastSighupSignal" FolderPath="Shared" sap:VirtualizedContainerService.HintSize="502,175" sap2010:WorkflowViewState.IdRef="GetRobotAsset_3"> | ||
<ui:GetRobotAsset.Value> | ||
<OutArgument x:TypeArguments="x:Int32">[LatestSighupSignal]</OutArgument> | ||
</ui:GetRobotAsset.Value> | ||
</ui:GetRobotAsset> | ||
<If Condition="[LatestSighupSignal > io_LastKnownSighupSignal]" DisplayName="If reload condition triggered" sap:VirtualizedContainerService.HintSize="502,628" sap2010:WorkflowViewState.IdRef="If_16"> | ||
<If.Then> | ||
<Sequence DisplayName="Then" sap:VirtualizedContainerService.HintSize="468,369" sap2010:WorkflowViewState.IdRef="Sequence_40"> | ||
<sap:WorkflowViewStateService.ViewState> | ||
<scg:Dictionary x:TypeArguments="x:String, x:Object"> | ||
<x:Boolean x:Key="IsExpanded">True</x:Boolean> | ||
</scg:Dictionary> | ||
</sap:WorkflowViewStateService.ViewState> | ||
<ui:InvokeWorkflowFile ArgumentsVariable="{x:Null}" ContinueOnError="{x:Null}" DisplayName="Invoke InitAllSettings workflow" sap:VirtualizedContainerService.HintSize="434,204" sap2010:WorkflowViewState.IdRef="InvokeWorkflowFile_31" UnSafe="False" WorkflowFileName="Framework\InitAllSettings.xaml"> | ||
<ui:InvokeWorkflowFile.Arguments> | ||
<InArgument x:TypeArguments="x:String" x:Key="in_ConfigFile">[in_ConfigPath]</InArgument> | ||
<InArgument x:TypeArguments="s:String[]" x:Key="in_ConfigSheets">[{"Settings", "Constants"}]</InArgument> | ||
<OutArgument x:TypeArguments="scg:Dictionary(x:String, x:Object)" x:Key="out_Config">[io_Config]</OutArgument> | ||
</ui:InvokeWorkflowFile.Arguments> | ||
</ui:InvokeWorkflowFile> | ||
<Assign DisplayName="Assign LastKnownSighupSignal" sap:VirtualizedContainerService.HintSize="434,105" sap2010:WorkflowViewState.IdRef="Assign_31"> | ||
<Assign.To> | ||
<OutArgument x:TypeArguments="x:Int32">[io_LastKnownSighupSignal]</OutArgument> | ||
</Assign.To> | ||
<Assign.Value> | ||
<InArgument x:TypeArguments="x:Int32">[LatestSighupSignal]</InArgument> | ||
</Assign.Value> | ||
</Assign> | ||
</Sequence> | ||
</If.Then> | ||
<If.Else> | ||
<Sequence DisplayName="Else" sap:VirtualizedContainerService.HintSize="416,89" sap2010:WorkflowViewState.IdRef="Sequence_41"> | ||
<sap:WorkflowViewStateService.ViewState> | ||
<scg:Dictionary x:TypeArguments="x:String, x:Object"> | ||
<x:Boolean x:Key="IsExpanded">True</x:Boolean> | ||
</scg:Dictionary> | ||
</sap:WorkflowViewStateService.ViewState> | ||
</Sequence> | ||
</If.Else> | ||
</If> | ||
<ui:LogMessage DisplayName="Log Message TRACE end" sap:VirtualizedContainerService.HintSize="502,164" sap2010:WorkflowViewState.IdRef="LogMessage_40" Level="Trace" Message="["Finished checking the reload signal"]" /> | ||
</Sequence> | ||
</Activity> |
Oops, something went wrong.