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: develop/part6Ttools/TOOProtocolDevelopmentWithCICD/Pipeline_stages_for_functions.md
+13
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,10 @@ Currently, the pipeline for function development consists of the following steps
14
14
15
15
See [Declarative checkout from SCM](#declarative-checkout-from-scm).
16
16
17
+
- Validate tag
18
+
19
+
See [Validate tag](#validate-tag).
20
+
17
21
- (Release) Prepare for SVN
18
22
19
23
See [(Release) Prepare for SVN](#release-prepare-for-svn).
@@ -32,6 +36,15 @@ When a new Git repository is created using the SLC SE Repository Manager tool, t
32
36
33
37
In this step, Jenkins loads the current repository from Git.
34
38
39
+
## Validate tag
40
+
41
+
This step is only executed for pipeline runs for a tag. It will verify whether the specified tag meets the following conditions:
42
+
43
+
- The tag has the correct format.
44
+
- The tag is in the expected branch. For example, a tag "1.0.0.1" provided on a commit that is part of the "1.0.0.X" branch will succeed, while a tag "1.0.0.1" provided on a commit belonging to branch 1.0.1.x will fail.
45
+
- All expected previous minor versions of the tag are present. For example, if a commit has been tagged with "1.0.0.4", the tags "1.0.0.1", "1.0.0.2" and "1.0.0.3" are expected to be present already.
46
+
- The tag is an annotated tag and not a lightweight tag.
47
+
35
48
## (Release) Prepare for SVN
36
49
37
50
In case a tag was detected and the version should therefore be pushed to SVN, some preparatory steps are performed.
Copy file name to clipboardexpand all lines: src/DataMiner/SLManagedAutomation/Element.cs
+46-7
Original file line number
Diff line number
Diff line change
@@ -90,6 +90,11 @@ public class Element : IActionableElement
90
90
/// Gets the name of the element.
91
91
/// </summary>
92
92
/// <value>The name of the element.</value>
93
+
/// <remarks>
94
+
/// <note type="note">
95
+
/// <para>This property returns the following string: "_<agentID>_<elementID> (e.g. "_100_5612"). To retrieve the element name, use the <see cref="Element.ElementName"/> property.</para>
96
+
/// </note>
97
+
/// </remarks>
93
98
/// <example>
94
99
/// <code>
95
100
/// Element element = engine.FindElement(400, 2000);
@@ -2945,10 +2950,9 @@ public virtual void MatrixStopBeingMaster(int pid, int master) { }
2945
2950
publicvirtualvoidPause(){}
2946
2951
2947
2952
/// <summary>
2948
-
/// Removes the link between this element and the alarm template that is assigned to it.
2953
+
/// Removes the link between this element and the alarm template that is assigned to it. This sets the element to “Not Monitored”.
2949
2954
/// </summary>
2950
2955
/// <example>
2951
-
/// <remarks>In other words, set the element to “Not Monitored”.</remarks>
2952
2956
/// <code>
2953
2957
/// Element element = engine.FindElement(400, 2000);
2954
2958
/// element.RemoveAlarmTemplate();
@@ -2957,9 +2961,8 @@ public virtual void Pause() { }
2957
2961
publicvirtualvoidRemoveAlarmTemplate(){}
2958
2962
2959
2963
/// <summary>
2960
-
/// Removes the link between an element and the trend template that is assigned to it.
2964
+
/// Removes the link between an element and the trend template that is assigned to it. This disables trending for the element.
2961
2965
/// </summary>
2962
-
/// <remarks>In other words, disable trending for the element.</remarks>
2963
2966
/// <example>
2964
2967
/// <code>
2965
2968
/// Element element = engine.FindElement(400, 2000);
/// <para>Since DataMiner 10.0.5 (RN 25025, RN 25195), this method will only return after having checked that the property was set correctly.</para>
3106
+
/// <para>From DataMiner 10.0.5 (RN 25025, RN 25195) onwards, this method will only return after having checked that the property was set correctly.</para>
3104
3107
/// <para>Prior to DataMiner 10.0.5, when the value of an element property was updated using the SetPropertyValue method on an Element object and immediately retrieved using the GetPropertyValue method, in some cases, the value returned by that last method would incorrectly be the previous value.</para>
3105
3108
/// <note type="note">
3106
3109
/// <para>The SetPropertyValue method will only perform the above-mentioned check when the “check sets” option is enabled.</para>
3107
3110
/// <list type="bullet">
3108
3111
/// <item>
3109
-
/// <description>Before launching a script in Cube, select the “After executing a SET command, check if the read parameter or property has been set to the new value” check box in the script execution window.</description>
3112
+
/// <description>Before launching a script in Cube, select the “After executing a SET command, check if the read parameter or property has been set to the new value” checkbox in the script execution window.</description>
3110
3113
/// </item>
3111
3114
/// <item>
3112
3115
/// <description>When launching a script using ExecuteScriptMessage, make sure to activate the CHECKSETS option(“CHECKSETS:TRUE”).</description>
3113
3116
/// </item>
3114
3117
/// </list>
3115
-
/// <para>With this option enabled, the SetPropertyValue method will take slightly longer to execute.When a large number of properties need to be updated which do not need to be retrieved immediately, you can disable this option in order to increase performance.</para>
3118
+
/// <para>With this option enabled, the SetPropertyValue method will take slightly longer to execute.When a large number of properties need to be updated that do not need to be retrieved immediately, you can disable this option in order to increase performance.</para>
Copy file name to clipboardexpand all lines: src/DataMiner/SLManagedAutomation/Engine.cs
+10-5
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ public Engine() { }
30
30
/// Gets the raw SLNet connection.
31
31
/// </summary>
32
32
/// <value>The raw SLNet connection.</value>
33
-
/// <remarks>It is advised to used the <see cref="SendSLNetMessage(DMSMessage)"/> or <see cref="SendSLNetSingleResponseMessage(DMSMessage)"/> method instead of the raw connection to send messages (as the method on the raw connection does not encapsulate the messages with an impersonate message.). Since DataMiner 10.0.1, to send multiple messages, the <see cref="SendSLNetMessages(DMSMessage[])"/> method can be used.</remarks>
33
+
/// <remarks>It is advised to used the <see cref="SendSLNetMessage(DMSMessage)"/> or <see cref="SendSLNetSingleResponseMessage(DMSMessage)"/> method instead of the raw connection to send messages (as the method on the raw connection does not encapsulate the messages with an impersonate message.). From DataMiner 10.0.1 onwards, to send multiple messages, the <see cref="SendSLNetMessages(DMSMessage[])"/> method can be used.</remarks>
34
34
publicstaticConnectionSLNetRaw{get;}
35
35
36
36
/// <summary>
@@ -114,6 +114,11 @@ public Engine() { }
114
114
/// Gets or sets the timeout for the current C# code block.
115
115
/// </summary>
116
116
/// <value>The timeout for the current C# code block.</value>
117
+
/// <remarks>
118
+
/// <note type="note">
119
+
/// <para>From DataMiner 10.2.0/10.1.2 onwards, this property can also be used to determine when an interactive Automation script times out.</para>
@@ -497,8 +502,8 @@ public void ExitSuccess(string reason) { }
497
502
/// <item><description>If the user clicks Attach, the script will start in a pop-up window.</description></item>
498
503
/// <item><description>If the user clicks Ignore, the message box will be closed.</description></item>
499
504
/// </list>
500
-
/// <note type="note">In DataMiner Cube, you can also use the script action Find interactive client, instead of using C#. For more information, see Find interactive client.</note>
501
-
/// <para>Since DataMiner 9.6.9 (RN 22227), it is possible to find an interactive client by user cookie instead of by user name.</para>
505
+
/// <note type="note">In DataMiner Cube, you can also use the script action Find interactive client, instead of using C#. For more information, see <see href="xref:AutomationActionFindInteractiveClient">Find interactive client</see>.</note>
506
+
/// <para>From DataMiner 9.6.9 (RN 22227) onwards, it is possible to find an interactive client by user cookie instead of by user name.</para>
502
507
/// <code>bool ok = engine.FindInteractiveClient("Some text", 100, "userCookie:" + connection.ConnectionID);</code>
503
508
/// </remarks>
504
509
/// <example>
@@ -536,7 +541,7 @@ public void ExitSuccess(string reason) { }
536
541
/// <item><description>If the user clicks Ignore, the message box will be closed.</description></item>
537
542
/// </list>
538
543
/// <note type="note">In DataMiner Cube, you can also use the script action Find interactive client, instead of using C#. For more information, see Find interactive client.</note>
539
-
/// <para>Since DataMiner 9.6.9 (RN 22227), it is possible to find an interactive client by user cookie instead of by user name.</para>
544
+
/// <para>From DataMiner 9.6.9 (RN 22227) onwards, it is possible to find an interactive client by user cookie instead of by user name.</para>
/// reportOptions.IncludeElement(dummy1, new MailReportParameter(dummy1, "Total Processor Load");
44
+
/// // Add table cell
45
+
/// reportOptions.IncludeElement(dummy1, new MailReportParameter(dummy1, "Bandwidth", "Eth0");
46
+
/// </code>
47
+
/// <note type="note">
48
+
/// <para>In the example above, the index argument has to contain the display key. If necessary, use the FindDisplayKey method on the element or the dummy to retrieve that key. See <see cref="Element.FindDisplayKey(int, String)"/>.</para>
Copy file name to clipboardexpand all lines: src/DataMiner/SLManagedAutomation/SLTicketingGateway.cs
+3-3
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ public virtual void Dispose()
26
26
/// <summary>
27
27
/// Retrieves the non-masked ticket field resolvers corresponding to one or more filters.
28
28
/// </summary>
29
-
/// <param name="filters">A collection of filters. Each filter will be processed separately and the results will be added to the final response.</param>
29
+
/// <param name="filters">A collection of filters. Each filter will be processed separately, and the results will be added to the final response.</param>
30
30
/// <returns> The requested <see cref="TicketFieldResolver"/> objects.</returns>
0 commit comments