I've tried to create a new hammer plugin for the discovery plugin, my issue
is that I can't see the discovered host in the apipie json output, I've
ensured that the API it self works directly via its routes, and I've also
stolen the snippet from foreman-tasks plugin
resource_description do
resource_id 'foreman_discovery'
api_version 'v2'
api_base_url "/foreman_discovery/api"
end
but I'm unable to see it in either apipie documentation or json output.
I’ve tried to create a new hammer plugin for the discovery plugin, my issue
is that I can’t see the discovered host in the apipie json output, I’ve
ensured that the API it self works directly via its routes, and I’ve also
stolen the snippet from foreman-tasks plugin
resource_description do
resource_id 'foreman_discovery’
api_version 'v2’
api_base_url "/foreman_discovery/api"
end
but I’m unable to see it in either apipie documentation or json output.
···
On Mon, Jun 16, 2014 at 9:56 AM, Ivan Necas wrote:
– Ivan
Hi,
I’ve tried to create a new hammer plugin for the discovery plugin, my
issue is that I can’t see the discovered host in the apipie json output,
I’ve ensured that the API it self works directly via its routes, and I’ve
also stolen the snippet from foreman-tasks plugin
resource_description do
resource_id 'foreman_discovery’
api_version 'v2’
api_base_url "/foreman_discovery/api"
end
but I’m unable to see it in either apipie documentation or json output.