Closed pgrdevera closed 9 months ago
PO028 checks that the policies you are using in your bundle are available in the "profile" you've configured for Apigeelint. With the addition of Apigee X and hybrid, along side the older Apigee Edge, the approach Apigee engineering has taken is that all new policy types will be available only in X/hybrid. That means policies like GraphQL, the AssertCondition, or the Integration policy step types. If you use those in a proxy that gets imported to Apigee Edge, the proxy won't work - the import will fail. Apigeelint is checking for that.
To specify the profile, use the --profile
option on the command line. The options are apigee
or apigeex
.
The README is a little skimpy on the profile concept. I'll get that fixed.
Here's the PR for the doc improvement: #398
I would like to ask what action needs to be done with this