lesson definition <lessons>file,
lesson.meta.yaml, which can be found at the root of any lesson directory. Within this file, Endpoints are declared under the
endpointskey, like so:
namefield is up to you to define - you can call each endpoint whatever you want, provided all endpoints
configurationTypefield is optional, and allows you to specify what kind of automatic
presentationsfield is also optional, and allows you to specify ways that this endpoint should be presented to the user. This could be a CLI terminal, or even a web application with it's own tab. See here for more information on endpoint presentations.
additionalPortsfield allows you to specify any additional ports that should be opened for this endpoint. By default, only the ports listed in a
presentationare opened. So, this field allows you to directly specify ports that should be opened regardless of the presentations that are configured.
presentationsfield. By default, for every Presentation, Syringe will perform a basic TCP connection periodically as a heartbeat to ensure that these presentations are accessible. This means that each endpoint must be able to provide connectivity on every port opened by a Presentation.
additionalPortsfield is required, and must have at least one port configured. Syringe will then use the first port in this list to perform a health check, and will mark the endpoint as healthy.