Accessing the Control Center via the REST plugin
In this recipe, we have a closer look at the Orchestrator Control Center.
Getting ready
We need access to the Orchestrator Control Center.
Add the Orchestrator Control Center to the REST plugin as shown in the recipe Working with REST in Chapter 9, Essential Plugins .
How to do it…
The recipe has been broken up into several sections, just work through them.
Explore the Control Center API
We will be having a look at the possibilities of the Control Center API:
Open a browser to the URL and authenticate with your Control Center account:
https://[Orchestrator]:8283/vco-controlcenter/docs/
You now are connected to the swagger UI, which helps you explore the Control Center API.
Expand server-controller and check out
GET /api/server/status
andPOST /api/server/status/start
. We used these functions in recipe Working with REST in Chapter 9, Essential Plugins.
Adding start and stop calls
Create control workflows for your Remote Orchestrators.
Check out the...