70
Although the API proxies and shared flows are managed through revisions, if any
modifications are made to an existing revision, there is no way to roll back since the old
changes are simply overwritten.
Audits and History
Apigee Edge provides the Audits and API, Product, and organization history features that
can be helpful in troubleshooting scenarios. These features enable you to view
information like who performed specific operations (create, read, update, delete, deploy,
and undeploy) and when the operations were performed on the Edge resources. However,
if any update or delete operations are performed on any of the Edge resources, the audits
cannot provide you the older data.
Antipattern
Managing the Edge resources (listed above) directly through Edge UI or management
APIs without using source control system
There's a misconception that Apigee Edge will be able to restore resources to their
previous state following modifications or deletes. However, Edge Cloud does not provide
restoration of resources to their previous state. Therefore, it is the user’s responsibility to
ensure that all the data related to Edge resources is managed through source control
management, so that old data can be restored back quickly in case of accidental deletion
or situations where any change needs to be rolled back. This is particularly important for
production environments where this data is required for runtime traffic.
Let’s explain this with the help of a few examples and the kind of impact that can be
caused if the data in not managed through a source control system and is
modified/deleted knowingly or unknowingly:
Example 1: Deletion or modification of API proxy
When an API proxy is deleted, or a change is deployed on an existing revision, the previous
code won’t be recoverable. If the API proxy contains Java, JavaScript, Node.js, or Python
code that is not managed in a source control management (SCM) system outside Apigee,
a lot of development work and effort could be lost.
Example 2: Determination of API proxies using specific virtual hosts
Google Cloud Privileged and confidential. apigee