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

Commit 679ead9

Browse files
committed
add single api backend logic
1 parent 82edf48 commit 679ead9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/APIM_ARMTemplate/apimtemplate/Extractor/EntityExtractors/BackendExtractor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public bool DoesPolicyReferenceBackend(string policyContent, IEnumerable<Templat
9494
var namedValueResourcesUsedByBackend = namedValueResources.Where(resource => DoesBackendReferenceNamedValue(resource, backendTemplateResource));
9595
if ((backendName != null && policyContent.Contains(backendName)) ||
9696
(backendTemplateResource.properties.url != null && policyContent.Contains(backendTemplateResource.properties.url)) ||
97+
(backendTemplateResource.properties.title != null && policyContent.Contains(backendTemplateResource.properties.title)) ||
9798
(backendTemplateResource.properties.resourceId != null && policyContent.Contains(backendTemplateResource.properties.resourceId)))
9899
{
99100
return true;

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 LucasBlankLinked --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)