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

Commit bd1f2b8

Browse files
committed
update creator file names, console write lines
1 parent 9fd9797 commit bd1f2b8

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

src/APIM_ARMTemplate/apimtemplate/Commands/Create.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,11 @@ public CreateCommand()
118118

119119
// write parameters to outputLocation
120120
fileWriter.WriteJSONToFile(masterTemplateParameters, String.Concat(creatorConfig.outputLocation, creatorConfig.linked == true ? creatorFileNames.linkedParameters : creatorFileNames.unlinkedParameters));
121-
ColoredConsole.WriteLine("Templates written to output location");
121+
Console.WriteLine("Templates written to output location");
122+
Console.WriteLine("Press any key to exit process:");
123+
#if DEBUG
124+
Console.ReadKey();
125+
#endif
122126
}
123127
return 0;
124128
});

src/APIM_ARMTemplate/apimtemplate/Common/FileHandlers/FileNameGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public CreatorFileNames GenerateCreatorLinkedFileNames()
99
// generate useable object with file names for consistency throughout project
1010
return new CreatorFileNames()
1111
{
12-
apiVersionSets = @"/api-version-sets.template.json",
12+
apiVersionSets = @"/apiVersionSets.template.json",
1313
products = @"/products.template.json",
1414
loggers = @"/loggers.template.json",
1515
backends = @"/backends.template.json",

src/APIM_ARMTemplate/apimtemplate/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"profiles": {
33
"apimtemplate": {
44
"commandName": "Project",
5-
"commandLineArgs": "extract --name LucasBlankUnlinked --resourceGroup LucasHuetHudsonInternal --fileFolder C:\\\\\\\\\\\\\\\\Users\\\\\\\\\\\\\\\\lucashh\\\\\\\\\\\\\\\\Desktop\\\\\\\\\\\\\\\\Projects\\\\\\\\\\\\\\\\APIM-ARM\\\\\\\\\\\\\\\\ExtractedTemplates\\\\\\SingleAPI --apiName firstAPI"
5+
"commandLineArgs": "create --configFile ./Creator/ExampleFiles/YAMLConfigs/validTesting.yml"
66
}
77
}
88
}

0 commit comments

Comments
 (0)