Smartdocs Models applied in dev environment reflected on test and vice versa.

I added Smartdocs Models in dev environment it reflected on test environment, and vice versa, without exporting and importing any files using the pantheon dashboard. Need help on this. You may see below that the contents are similar. But the "Views" are not affected.

9086-dev.png

>>>>>>>>>>>>>>>>>>

9087-test.png

0 2 210
2 REPLIES 2

First, Drupal is essentially a custom application that you run, as you can modify the source code. When you have different environments from a hosting provider like Pantheon, those are meant for the application development lifecycle of Drupal. They aren't meant to align with the SDLC of Apigee Edge.

Second, an API model is just a representation of a spec. It has no opinion on whether it is in the dev/test/prod/elephant stage of its lifecycle. If you want a testing model, you could try namespacing it.

Note that Drupal 8-based portals (as well as the integrated developer portal for SaaS customers) provides a completely rewritten version of SmartDocs that is pure OpenAPI-based and doesn't require managing API models directly.

Hi @marshg@google.com

Currently, in our organization, we are having three drupal 7 portals (DEV, TEST, PROD).

We are now working on customizing DEV drupal portal. Once development is done we need to promote the same customization to the TEST as well as PROD.

How can we do this? however, we need to change the uploaded swagger files because of host name change with respect to the environments.

It would be good if you can give the best practices in terms of promoting the customization from one portal to another.

Regards,

Ashwith