I saw java Callout policy is importing different file formats like .doc,.js and .ppt but it should import only jar files

Dear Corporate

When i am working with java callout policy i tried to add/import other than jar file like .js,.ppt, i can able to add file and policy got created and saved.

But it should throw error like it accepts only jar files,

Correct me if i am wrong and provide your comments

Thanks

Kashi Viswanath K

0 1 76
1 REPLY 1

No I don't believe it should throw an error.

If I understand your question I think you are asking if Apigee should throw an error if you load a .ppt or otherwise under the java:// resources.

It's not defined to throw an error.

It is possible to have different "types" of resources, like java, xsd, wsdl, jsc, and etc.
And under each type you can have different kinds of files

I don't believe you can actually load or reference non-jar files from within the Java callout, but I'm not certain. In any case i don't believe it's restricted at this time.

If you'd prefer that your team don't upload such files as java resources, you could perform a "bundle lint" step to check for that, using the admin API .