Skip to content

Possible issue with the render call? #3

@dcburke1

Description

@dcburke1

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:

  1. POST - Apigee management API for creating API model
  2. POST - Apigee management API for importing a template
  3. POST - Apigee management API for uploading swagger 2.0 JSON
  4. POST - Drupal smartdocs_service REST module to render the swagger
  5. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions