Is there any way to store 50KB key-value pairs in Apigee+Hybrid Env?

we have a proxy which will be the endpoint for 50 different services. Now I have a requirement to perform XSD validation for each service by using respective XSD schema.

Thinking to store those XSD schemas in KVM (service= xsdschema1) so that we can fetch required XSD schema based on service request during runtime and then wanted to perform xsd validation with help of javacallout.

But most of them are more than 10KB (as per Apigee documentation the KVM-value <=10KB).

- We can't go with SOAP validation policy because that policy needs resource files to be stored inside proxy. which might increase proxy bundle size & not sure about latency issue.

- we can't go with KVM also due to its size limitation.

- we don't have kubernetes secrets in Hybrid V1.1

- Is there any way to store these type of key-value pairs in Apigee or in GCP which are having more size and can be accessable during runtime through proxy.

Greatly Appreciated for the help.

Thanks,

0 1 186
1 REPLY 1

You can use an environment level resource file, org level is not supported in Hybrid.

https://docs.apigee.com/api-platform/develop/resource-files#hybrid

Hybrid API:

https://docs.apigee.com/reference/apis/apigee/rest/v1/organizations.environments.resourcefiles/creat...

Edge SaaS API:

https://apidocs.apigee.com/management/apis/post/organizations/%7Borg_name%7D/environments/%7Benv_nam...

Limits page shows a limit of 15M for apiproxy resource files, not sure about environment level limits.