You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to develop against a mocked inventory host as I rather not manually register a machine in the staging environment.
So I changed customProxy's context to /api/inventory/v1/groups but this seems to generate an error in the web application. The mock server logs have:
[14:16:33] › [HTTP SERVER] get /hosts ℹ info Request received
[14:16:33] › [NEGOTIATOR] ℹ info Request contains an accept header: application/json, text/plain, */*
[14:16:33] › [VALIDATOR] ✔ success The request passed the validation rules. Looking for the best response
[14:16:33] › [NEGOTIATOR] ✔ success Found a compatible content for application/json, text/plain, */*
[14:16:34] › [NEGOTIATOR] ✔ success Responding with the requested status code 200
[14:16:34] › [VALIDATOR] ✖ error Violation: response.body.results.0.facts.0 must have required property 'facts'
[14:16:34] › [VALIDATOR] ✖ error Violation: response.body.results.0.facts.1 must have required property 'facts'
[14:16:34] › [VALIDATOR] ✖ error Violation: response.body.results.0.facts.2 must have required property 'facts'
The text was updated successfully, but these errors were encountered:
I'm trying to develop against a mocked inventory host as I rather not manually register a machine in the staging environment.
So I changed
customProxy
'scontext
to/api/inventory/v1/groups
but this seems to generate an error in the web application. The mock server logs have:The text was updated successfully, but these errors were encountered: