Skip to content

Commit 7377b5f

Browse files
Improving namings of GQI DS and adding script folders. (#6)
* Improving namings of GQI DS and adding scrip folders. * Update SchedulerTasksGetter.xml * Update GetScheduledTasksGQI.xml * Naming fix. * Changed name of input parameter * Image switch --------- Co-authored-by: Jarno Lernou <jarno.lernou@skyline.be>
1 parent db7d68c commit 7377b5f

8 files changed

Lines changed: 14 additions & 14 deletions

File tree

GetScheduledTasksGQI/DataHelpers/Arguments.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class Arguments
1010
private readonly GQIStringArgument nameFilter = new GQIStringArgument("Name Filter") { IsRequired = false, DefaultValue = ".*" };
1111
private readonly GQIDateTimeArgument start = new GQIDateTimeArgument("Start") { IsRequired = true };
1212
private readonly GQIDateTimeArgument end = new GQIDateTimeArgument("End") { IsRequired = true };
13-
private readonly GQIIntArgument duration = new GQIIntArgument("Duration (s)") { IsRequired = true };
13+
private readonly GQIIntArgument duration = new GQIIntArgument("Scheduled Duration (s)") { IsRequired = true };
1414
private readonly GQIStringArgument scriptParameterInputs = new GQIStringArgument("Script Parameter Inputs") { IsRequired = false };
1515

1616
public string NameFilter { get; private set; }

GetScheduledTasksGQI/GetScheduledTasksGQI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace GetScheduledTasksGQI
1414
/// Represents a data source.
1515
/// See: https://aka.dataminer.services/gqi-external-data-source for a complete example.
1616
/// </summary>
17-
[GQIMetaData(Name = "SLC - GQI - Scheduled - Tasks - Occurrences")]
17+
[GQIMetaData(Name = "SLC - Get Scheduled Tasks Occurrences")]
1818
public class GetScheduledTasksGQI : IGQIDataSource, IGQIInputArguments, IGQIOnInit, IGQIOnPrepareFetch
1919
{
2020
private readonly Arguments arguments = new Arguments();

GetScheduledTasksGQI/GetScheduledTasksGQI.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Type>Automation</Type>
66
<Author>Skyline Communications</Author>
77
<CheckSets>FALSE</CheckSets>
8-
<Folder>DataMiner Catalog/General/Get Scheduled Tasks/Ad Hoc Data Sources/SLC - GQI - Scheduled - Tasks - Occurrences</Folder>
8+
<Folder>DataMiner Catalog/Ad Hoc Data Sources</Folder>
99

1010
<Protocols>
1111
</Protocols>
@@ -23,4 +23,4 @@
2323
<Param type="libraryName">GetScheduledTasksGQI</Param>
2424
</Exe>
2525
</Script>
26-
</DMSScript>
26+
</DMSScript>
Binary file not shown.
-4.85 KB
Loading

SchedulerTasks/CatalogInformation/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
## About
22

3-
This package consists of two ad hoc data sources, **SLC - GQI - Scheduled - Tasks** and **SLC - GQI - Scheduled - Tasks - Occurrences**, that retrieve information about scheduled tasks in a DataMiner System. By implementing these ad hoc data sources in low-code apps and/or dashboards, you can visualize data from the Scheduler module in a custom way.
3+
This package consists of two ad hoc data sources, **SLC - Get Scheduled Tasks** and **SLC - Get Scheduled Tasks Occurrences**, that retrieve information about scheduled tasks in a DataMiner System. By implementing these ad hoc data sources in low-code apps and/or dashboards, you can visualize data from the Scheduler module in a custom way.
44

5-
**SLC - GQI - Scheduled - Tasks** provides a list of scheduled tasks from the DataMiner Scheduler module, while **SLC - GQI - Scheduled - Tasks - Occurrences** provides a list of the scheduled task occurrences based on the user's input in a specific period of time. This way, a customizable overview of tasks is provided.
5+
**SLC - Get Scheduled Tasks** provides a list of scheduled tasks from the DataMiner Scheduler module, while **SLC - Get Scheduled Tasks Occurrences** provides a list of the scheduled task occurrences based on the user's input in a specific period of time. This way, a customizable overview of tasks is provided.
66

77
## Key Features
88

@@ -23,19 +23,19 @@ The versatility of the package lends itself to a broad range of applications, in
2323

2424
## Configuration
2525

26-
After the package has been deployed, two ad hoc data sources, **SLC - GQI - Scheduled - Tasks** and **SLC - GQI - Scheduled - Tasks - Occurrences**, will be available for use in GQI queries. For more information about GQI, refer to [Generic Query Interface](https://aka.dataminer.services/About_GQI).
26+
After the package has been deployed, two ad hoc data sources, **SLC - Get Scheduled Tasks** and **SLC - Get Scheduled Tasks Occurrences**, will be available for use in GQI queries. For more information about GQI, refer to [Generic Query Interface](https://aka.dataminer.services/About_GQI).
2727

28-
### SLC - GQI - Scheduled - Tasks
28+
### SLC Get Scheduled Tasks
2929

30-
While implementing **SLC - GQI - Scheduled - Tasks**, you can optionally specify the **Name Filter** input parameter. This regular expression (regex) pattern will be used to match the task name. If no name filter is specified, `.*` is used instead.
30+
While implementing **SLC - Get Scheduled Tasks**, you can optionally specify the **Name Filter** input parameter. This regular expression (regex) pattern will be used to match the task name. If no name filter is specified, `.*` is used instead.
3131

3232
![SchedulerTasks](./Images/Scheduler_Tasks_75pct.png)
3333

3434
As a result, the GQI will retrieve the name, description, and type of the task, the ID of the Agent on which the task was executed, the result of the last run of the task, and the task's interval.
3535

36-
### SLC - GQI - Scheduled - Tasks - Occurrences
36+
### SLC - GQI Scheduled Tasks Occurrences
3737

38-
While implementing **SLC - GQI - Scheduled - Tasks - Occurrences**, you should specify the following input parameters:
38+
While implementing **SLC - Get Scheduled Tasks Occurrences**, you should specify the following input parameters:
3939

4040
- **Name Filter**: Optional. Regular expression (regex) to match the task name. If no name filter is specified, `.*` is used instead.
4141
- **Start**: The beginning of the time frame during which task occurrences should be recorded.

SchedulerTasksGetter/SchedulerTasksGetter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace SchedulerTasksGetter
1212
using SchedulerTask = Skyline.DataMiner.Net.Messages.SchedulerTask;
1313

1414
/// <summary> Represents a data source. See: https://aka.dataminer.services/gqi-external-data-source for a complete example. </summary>
15-
[GQIMetaData(Name = "SLC - GQI - Scheduled - Tasks")]
15+
[GQIMetaData(Name = "SLC - Get Scheduled Tasks")]
1616
public sealed class SchedulerTasksGetter : IGQIDataSource, IGQIOnPrepareFetch, IGQIOnInit, IGQIInputArguments
1717
{
1818
private readonly GQIStringArgument nameFilterArgument = new GQIStringArgument("Name Filter") { IsRequired = false, DefaultValue = ".*" };

SchedulerTasksGetter/SchedulerTasksGetter.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Type>Automation</Type>
66
<Author>SkylineCommunications</Author>
77
<CheckSets>FALSE</CheckSets>
8-
<Folder>DataMiner Catalog/General/Get Scheduled Tasks/Ad Hoc Data Sources/SLC - GQI - Scheduled - Tasks</Folder>
8+
<Folder>DataMiner Catalog/Ad Hoc Data Sources</Folder>
99

1010
<Protocols>
1111
</Protocols>
@@ -23,4 +23,4 @@
2323
<Param type="libraryName">SchedulerTasksGetter</Param>
2424
</Exe>
2525
</Script>
26-
</DMSScript>
26+
</DMSScript>

0 commit comments

Comments
 (0)