Migrating from legacy service extensions

Migrating from legacy service extensions

Legacy service extensions imported a lot of the functionality via globals defined at the package level. The new configuration sources all inputs from the orchestrator.Orchestrator interface.

The following code snippets are meant only as examples to demonstrate the changes and updates between the legacy and new service extension interfaces.

Logging

Secret Provider

Identity Provider

Attribute Provider

Session

Registering Routes