Skip to content

Commit f32ecb5

Browse files
committed
removed maestro example
1 parent 87b85e2 commit f32ecb5

File tree

13 files changed

+3
-360
lines changed

13 files changed

+3
-360
lines changed

ExamplesAPIType.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@ public enum ExamplesApiType
6161
/// </summary>")]
6262
[Description("nav")]
6363
Navigator = 8,
64-
65-
/// <summary>
66-
/// Maestro
67-
/// </summary>")]
68-
[Description("mae")]
69-
Maestro = 9,
7064
}
7165

7266
public static class ExamplesApiTypeExtensions

ExamplesApiTypeExtensions.cs

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,29 +50,23 @@ public enum ExamplesApiType
5050
[Description("web")]
5151
WebForms = 6,
5252

53-
/// <summary>
54-
/// Maestro API
55-
/// </summary>
56-
[Description("mae")]
57-
Maestro = 7,
58-
5953
/// <summary>
6054
/// Notary API
6155
/// </summary>
6256
[Description("neg")]
63-
Notary = 8,
57+
Notary = 7,
6458

6559
/// <summary>
6660
/// Connected Fields
6761
/// </summary>")]
6862
[Description("cf")]
69-
ConnectedFields = 9,
63+
ConnectedFields = 8,
7064

7165
/// <summary>
7266
/// Navigator
7367
/// </summary>")]
7468
[Description("nav")]
75-
Navigator = 10,
69+
Navigator = 9,
7670
}
7771

7872
public static class ExamplesApiTypeExtensions

JWTAuth.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,6 @@ public static OAuthToken AuthenticateWithJwt(string api, string clientId, string
5050
});
5151
}
5252

53-
if (apiType == ExamplesApiType.Maestro)
54-
{
55-
scopes.AddRange(new List<string>
56-
{
57-
"aow_manage",
58-
});
59-
}
60-
6153
if (apiType == ExamplesApiType.Monitor)
6254
{
6355
scopes.AddRange(new List<string>

launcher-csharp/Common/RequestItemsService.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,10 +289,6 @@ public string IdentifyApiOfCodeExample(string eg)
289289
{
290290
currentApiType = ExamplesApiType.Connect.ToString();
291291
}
292-
else if (eg.Contains(ExamplesApiType.Maestro.ToKeywordString()))
293-
{
294-
currentApiType = ExamplesApiType.Maestro.ToString();
295-
}
296292
else if (eg.Contains(ExamplesApiType.WebForms.ToKeywordString()))
297293
{
298294
currentApiType = ExamplesApiType.WebForms.ToString();

launcher-csharp/Maestro/Controllers/Mae001TriggerWorkflowController.cs

Lines changed: 0 additions & 106 deletions
This file was deleted.

launcher-csharp/Maestro/Examples/TriggerMaestroWorkflow.cs

Lines changed: 0 additions & 99 deletions
This file was deleted.

launcher-csharp/Maestro/Views/Mae001TriggerWorkflow/embed.cshtml

Lines changed: 0 additions & 9 deletions
This file was deleted.

launcher-csharp/Maestro/Views/Mae001TriggerWorkflow/mae001.cshtml

Lines changed: 0 additions & 60 deletions
This file was deleted.

launcher-csharp/Startup.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ public Startup(IConfiguration configuration)
9191
"signature", "webforms_read", "webforms_instance_write", "webforms_instance_read",
9292
});
9393

94-
this.apiTypes.Add(ExamplesApiType.Maestro, new List<string> { "signature", "aow_manage" });
95-
9694
this.apiTypes.Add(ExamplesApiType.Notary, new List<string> { "signature", "organization_read", "notary_read", "notary_write" });
9795

9896
this.apiTypes.Add(ExamplesApiType.ConnectedFields, new List<string> { "signature", "adm_store_unified_repo_read" });

launcher-csharp/Views/Home/Index.cshtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
: ((ApIs) api).Name.ToLower() == ExamplesApiType.Monitor.ToString().ToLower() ? ExamplesApiType.Monitor.ToKeywordString()
4242
: ((ApIs) api).Name.ToLower() == ExamplesApiType.Rooms.ToString().ToLower() ? ExamplesApiType.Rooms.ToKeywordString()
4343
: ((ApIs) api).Name.ToLower() == ExamplesApiType.Connect.ToString().ToLower() ? ExamplesApiType.Connect.ToKeywordString()
44-
: ((ApIs) api).Name.ToLower() == ExamplesApiType.Maestro.ToString().ToLower() ? ExamplesApiType.Maestro.ToKeywordString()
4544
: ((ApIs) api).Name.ToLower() == ExamplesApiType.WebForms.ToString().ToLower() ? ExamplesApiType.WebForms.ToKeywordString()
4645
: ((ApIs) api).Name.ToLower() == ExamplesApiType.Notary.ToString().ToLower() ? ExamplesApiType.Notary.ToKeywordString()
4746
: ((ApIs) api).Name.ToLower() == ExamplesApiType.ConnectedFields.ToString().ToLower() ? ExamplesApiType.ConnectedFields.ToKeywordString()

0 commit comments

Comments
 (0)