Build a service on SPEKTRA Edge
SPEKTRA Edge lets you build and register your own service that becomes part
of the platform, the way watchdog and ZTNA do. Your service gets the same
IAM, auditing, logging, monitoring, and multi-region behaviour as the core
services, and your users reach it through the same dashboard, API, and
cuttle CLI.
This is a different job from calling the platform’s API from your own application. If that is what you need, see Integrate instead.
To see a complete worked example before reading further, look at https://github.com/cloudwan/inventory-manager-example.
What you should know first
Services are generated from a specification by the Goten framework, which is written in Go. You will get the most out of this section if you are comfortable with Go, gRPC, and protobuf. Our tools and libraries wrap most of the surrounding machinery for you.Start here
-
What a third-party service is, how it registers with
meta.goten.com, and which core services it can build on. -
Scaffold a working service and see the moving parts before going deeper.
Build your service
Work through these in order.
- Preparation — prerequisites and development environment.
- Declaration — the specification and protobuf that define your resources.
- Development — the service, its controller, registration, and a full sample.
- Operation — deploying your service and migrating it.
Related
-
The Goten ideas a service author needs: the meta service, metadata, the environment registry, the policy store, how the code is organized, and the runtime.