Forwards

To indicate to a cloud provider that traffic from the outside world (the internet) MAY be forwarded to certain endpoints of your microservice, a forwards section MAY be declared. This section MUST appear in the root of the oms.yaml.

Any HTTP traffic coming to this endpoint from an external source (the internet) SHOULD be directly proxied to your microservice.

A forwards section may be defined as:

oms: 1
lifecycle: ...
forwards:
  management_ui:
    help: The management interface
    http:
      path: /management_ui
      port: 8080
  control_interface:
    help: The control interface
    http:
      path: /control
      port: 8081
FieldDescription
httpRequired. The HTTP configuration for this forward
helpA short description about this forward which can provide clarity to the end user

HTTP

forwards.\$.http
FieldDescription
pathRequired. The HTTP path for this forward
portRequired. The port for this forward