This documentation and the Cisco Observability Platform functionalities it describes are subject to change. Data saved on the platform may disappear and APIs may change without notice.


Call a Function

To access the REST endpoint of any function, the underlying service it references must already be available as a Docker image in a public repository.

  1. Subscribe to the solution that exposes the function; for help, refer to the solution's documentation on usage.

  2. If you're accessing the function's REST endpoint from outside of the cluster:

    1. Get a JWT ("bearer") token from the fsoc login command or from your fsoc configuration file, ~/.fsoc. You must refresh your JWT token every 30 minutes by re-logging into the platform (fsoc login).
    2. Add the bearer token to the request header, like this:
    Authorization: Bearer {bearerToken}
    
  3. Access the function's HTTP service endpoint at https://{tenant-name}.{fso-platform-url}/rest/{solution-name}/{function-name}/{function-endpoint}. For example, https://<your-url>/rest/starfleet/tip-of-the-day-service.

Access External Services

This is the cloud collector use case.

Limitation: Not yet available.

Access Identity Context and Propagate it to Other Services

Limitation: Not yet available.