UNPKG

apigeelint

Version:

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

45 lines (39 loc) 1.09 kB
<TargetEndpoint name="target-1"> <PreFlow name="PreFlow"> <Request> <Step> <Name>AM-Query</Name> </Step> </Request> <Response> <Step> <Name>AM-Clean-Response-Headers</Name> </Step> </Response> </PreFlow> <PostFlow name="PostFlow"> <Request/> <Response> </Response> </PostFlow> <Flows/> <HTTPTargetConnection> <!-- tell Apigee to invoke this with a Google Access Token --> <Authentication> <HeaderName>X-Serverless-Authorization</HeaderName> <GoogleAccessToken> <Scopes> <Scope>https://www.googleapis.com/auth/cloud-platform</Scope> </Scopes> </GoogleAccessToken> </Authentication> <SSLInfo> <Enabled>true</Enabled> <IgnoreValidationErrors>false</IgnoreValidationErrors> <TrustStore>ref://truststore-1</TrustStore> </SSLInfo> <Properties/> <!-- assemble the target path --> <URL>https://bigquery.googleapis.com/bigquery/v2/projects/infinite-chain-292422/queries</URL> </HTTPTargetConnection> </TargetEndpoint>