apigee / apigeelint

Static code analysis for Apigee proxy bundles to encourage API developers to use best practices and avoid anti-patterns.
Apache License 2.0
92 stars 71 forks source link

Apigeelint scan Faling for Apigee proxy with an error The policy type (SetIntegrationRequest) is not available in the profile apigee. #363

Closed kondurure closed 1 year ago

kondurure commented 1 year ago

Apigeelint scan Faling for Apigee proxy with an error The policy type (SetIntegrationRequest) is not available in the profile apigee.

/home/runner/work/api-proxy.hl-invokeFulfilment-api/api-proxy.hl-invokeFulfilment-api/apiproxy/policies/SIR-CsDsConversionIntegration.xml

║ Line │ Column │ Type │ Message │ Rule ID ║ ╟──────────┼──────────┼──────────┼────────────────────────────────────────────────────────┼──────────────────────╢ ║ 0 │ 0 │ error │ The policy type (SetIntegrationRequest) is not │ PO028 ║ ║ │ │ │ available in the profile apigee. │ ║

ssvaidyanathan commented 1 year ago

You need to run the apigeelint command with --profile=apigeex whenever you run it Closing this issue

kondurure commented 1 year ago

Thanks @ssvaidyanathan