apigeelint icon indicating copy to clipboard operation
apigeelint copied to clipboard

PO034, for AssignMessage hygiene is using the incorrect XML element

Open DinoChiesa opened this issue 10 months ago • 2 comments

Both the plugin and the policy tests need to change. Should add tests for a full bundle, to avoid such problems in the future.

DinoChiesa avatar Apr 23 '24 01:04 DinoChiesa

Either i misunderstood the problem, or... I still need to re-discover the problem I was referencing here. I'm going to keep this open for a while , pending further investigation.

DinoChiesa avatar May 16 '24 19:05 DinoChiesa

@DinoChiesa we are now getting this error on apigeelint version 2.55.2 whereas it was not throwing this error in version 2.45.0:

element <FaultRules> is not allowed here - PO034

we use the apigeetool CLI to deploy proxies over the pipeline and while doing some tests, found that during deployment apigeetool automatically adds this line to assign message policies

<FaultRules/>

and so this update on apigeelint flagging this as an error is in conflict with apigeetool's behavior

k1mperial avatar Jul 05 '24 10:07 k1mperial

@k1mperial - Definitely apigeetool is inserting random elements. That element is not actually supported within AssignMessage. I think you should raise a bug with apigeetool, or whatever tool (or person!) is generating the AssignMessage policy.

DinoChiesa avatar Aug 20 '24 17:08 DinoChiesa

I'm closing this because I lost the plot.

DinoChiesa avatar Aug 20 '24 17:08 DinoChiesa