Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit c3b02f2

Browse files
committed
add additonal informative write lines to creator
1 parent bd1f2b8 commit c3b02f2

File tree

1 file changed

+12
-0
lines changed
  • src/APIM_ARMTemplate/apimtemplate/Commands

1 file changed

+12
-0
lines changed

src/APIM_ARMTemplate/apimtemplate/Commands/Create.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,27 @@ public CreateCommand()
5050
MasterTemplateCreator masterTemplateCreator = new MasterTemplateCreator();
5151

5252
// create templates from provided configuration
53+
Console.WriteLine("Creating API version set template");
54+
Console.WriteLine("------------------------------------------");
5355
Template apiVersionSetsTemplate = creatorConfig.apiVersionSets != null ? apiVersionSetTemplateCreator.CreateAPIVersionSetTemplate(creatorConfig) : null;
56+
Console.WriteLine("Creating product template");
57+
Console.WriteLine("------------------------------------------");
5458
Template productsTemplate = creatorConfig.products != null ? productTemplateCreator.CreateProductTemplate(creatorConfig) : null;
59+
Console.WriteLine("Creating logger template");
60+
Console.WriteLine("------------------------------------------");
5561
Template loggersTemplate = creatorConfig.loggers != null ? loggerTemplateCreator.CreateLoggerTemplate(creatorConfig) : null;
62+
Console.WriteLine("Creating backend template");
63+
Console.WriteLine("------------------------------------------");
5664
Template backendsTemplate = creatorConfig.backends != null ? backendTemplateCreator.CreateBackendTemplate(creatorConfig) : null;
65+
Console.WriteLine("Creating authorization server template");
66+
Console.WriteLine("------------------------------------------");
5767
Template authorizationServersTemplate = creatorConfig.authorizationServers != null ? authorizationServerTemplateCreator.CreateAuthorizationServerTemplate(creatorConfig) : null;
5868

5969
// store name and whether the api will depend on the version set template each api necessary to build linked templates
6070
List<LinkedMasterTemplateAPIInformation> apiInformation = new List<LinkedMasterTemplateAPIInformation>();
6171
List<Template> apiTemplates = new List<Template>();
72+
Console.WriteLine("Creating API templates");
73+
Console.WriteLine("------------------------------------------");
6274
foreach (APIConfig api in creatorConfig.apis)
6375
{
6476
// create api templates from provided api config - if the api config contains a supplied apiVersion, split the templates into 2 for metadata and swagger content, otherwise create a unified template

0 commit comments

Comments
 (0)