Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

System info #42

Merged
merged 5 commits into from
Sep 6, 2018
Merged

System info #42

merged 5 commits into from
Sep 6, 2018

Conversation

nicholasjackson
Copy link
Contributor

Merge changes to add info endpoint from @alexellis

alexellis and others added 3 commits March 19, 2018 18:10
The purpose of this change is to make faas-nomad compatible with the
latest version of the API Gateway in OpenFaaS. Each provider should
be able to advertise the underlying provider and the version of the
code. A new version of faas-provider (0.6) is vendored into the repo
which brings in an optional health endpoint (turned off by default).
The version is being passed to the provider from main.go.

A subsequent change should implement the health endpoint.

A unit test was added for the info endpoint using the format found
for the other endpoints.

The advertised information in /system/info will be consumed by the
API gateway and logged for help debugging issues. It can also be
used to turn on/off UI features such as the "network" field which
does not make sense for all providers.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
@nicholasjackson nicholasjackson merged commit a05c6bb into master Sep 6, 2018
@acornies acornies deleted the system_info branch March 13, 2019 18:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants