UNPKG

apigeelint

Version:

Node module and tool to lint a bundle for an Apigee API Proxy or sharedflow.

35 lines (33 loc) 894 B
<TargetEndpoint name="target2"> <FaultRules> <!-- multiple FaultRules, evaluated top to bottom. All but last should have condition --> <FaultRule name='rule1'> <Step> <Name>AM-Target-Fault-1</Name> </Step> <!-- no Condition => will result in a linter error --> <!-- <Condition>fault.name = "mamabear"</Condition> --> </FaultRule> <FaultRule name='rule2'> <Step> <Name>AM-Target-Fault-2</Name> </Step> </FaultRule> </FaultRules> <PreFlow name="PreFlow"> <Request/> <Response/> </PreFlow> <PostFlow name="PostFlow"> <Request/> <Response/> </PostFlow> <Flows/> <HTTPTargetConnection> <SSLInfo> <Enabled>true</Enabled> <TrustStore>ref://myTrustStoreRef</TrustStore> </SSLInfo> <URL>https://does-not-matter.example.com</URL> </HTTPTargetConnection> </TargetEndpoint>