-
Notifications
You must be signed in to change notification settings - Fork 6
Description
I'm currently attempting to use this module and prove out that it can work with our CICD process. It is not yet being used in any services, but I'm writing test code to test it out. What is confusing me currently is sometimes everything works fine with non issues, and sometimes (randomly) I get 404 errors returned. When checking the logs in Drupal I see the error:
{ "code" : "apimodel.ApiRevisionNotFound", "message" : "API Revision 2 is not found for Organization internal and API <uuid>.", "contexts" : [ ] }
The steps that I'm performing in the tests, generically are:
- POST - Apigee management API for creating API model
- POST - Apigee management API for importing a template
- POST - Apigee management API for uploading swagger 2.0 JSON
- POST - Drupal smartdocs_service REST module to render the swagger
- POST - Drupal cron jobs (publish swagger)
I've checked the tests and the error doesn't seem to be specific to any test in particular. Also the error message sometimes says Revision 1, and sometimes Revision 2.
Any advice would be greatly appreciated.