Hi Ohad,
what would be the best way to extend the REST API provided by Foreman to add
some new API's?
Gus
Hi Ohad,
what would be the best way to extend the REST API provided by Foreman to add
some new API's?
Gus
I usually just create a ticket for what I need, write the code, test, then submit the patch for review.
Corey
Hi Ohad,
what would be the best way to extend the REST API provided by Foreman to add some new API’s?
Gus
–
You received this message because you are subscribed to the Google Groups “Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en.
Corey Osman
corey@logicminds.biz
678-348-0582 Pacific Time
Green I.T and Datacenter Automation Specialist
ok Corey, thanks.
Are you running the latest version? (I'm still running version 0.2)
Gus
I usually just create a ticket for what I need, write the code, test, then
submit the patch for review.Corey
On Sep 28, 2011, at 1:48 PM, Gustavo Soares wrote:Hi Ohad,
what would be the best way to extend the REST API provided by Foreman to
add some new API’s?Gus
–
You received this message because you are subscribed to the Google Groups
“Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.Corey Osman
corey@logicminds.biz
678-348-0582 Pacific TimeGreen I.T and Datacenter Automation Specialist
–
You received this message because you are subscribed to the Google Groups
“Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.
I run the development branch from github. (.4). I strongly recommend you update.
I have added a lot of new api calls for remoteadmin which also benefit everyone else. If the API call is not documented you can just add a "?format=json" at the end of the url to find out.
The search api is also a very good starting point if you can't get the model API to do what you want.
Corey
ok Corey, thanks.
Are you running the latest version? (I’m still running version 0.2)
Gus
On Wed, Sep 28, 2011 at 5:53 PM, Corey Osman corey@logicminds.biz wrote:
I usually just create a ticket for what I need, write the code, test, then submit the patch for review.Corey
On Sep 28, 2011, at 1:48 PM, Gustavo Soares wrote:Hi Ohad,
what would be the best way to extend the REST API provided by Foreman to add some new API’s?
Gus
–
You received this message because you are subscribed to the Google Groups “Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en.Corey Osman
corey@logicminds.biz
678-348-0582 Pacific TimeGreen I.T and Datacenter Automation Specialist
–
You received this message because you are subscribed to the Google Groups “Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en.–
You received this message because you are subscribed to the Google Groups “Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en.
Corey Osman
corey@logicminds.biz
678-348-0582 Pacific Time
Green I.T and Datacenter Automation Specialist
Gus,
Are you certain, the dev branch doesn't have the API features you want, as
the API has been greatly expanded since 0.2?
I would encourage you to upgrade to at least 0.3 and even consider a recent
dev build. (We are running a recent one in production with no issues.)
Thanks,
Brian
ok Corey, thanks.
Are you running the latest version? (I’m still running version 0.2)
Gus
On Wed, Sep 28, 2011 at 5:53 PM, Corey Osman corey@logicminds.biz wrote:
I usually just create a ticket for what I need, write the code, test, then
submit the patch for review.Corey
On Sep 28, 2011, at 1:48 PM, Gustavo Soares wrote:Hi Ohad,
what would be the best way to extend the REST API provided by Foreman to
add some new API’s?Gus
–
You received this message because you are subscribed to the Google Groups
“Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.Corey Osman
corey@logicminds.biz
678-348-0582 Pacific TimeGreen I.T and Datacenter Automation Specialist
–
You received this message because you are subscribed to the Google Groups
“Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.–
You received this message because you are subscribed to the Google Groups
“Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.
–
http://aws.amazon.com/solutions/solution-providers/brandorr/
Brian,
I guess so… at least not in the wiki page with all the api resources… I
would like to retrieve all hosts with a given puppetclass.
I will also run some tests with the dev branch… In 0.3 I was having some
issues when searching for a specific puppetclass… maybe I have
misconfigured something…
Gus
Gus,
Are you certain, the dev branch doesn’t have the API features you want, as
the API has been greatly expanded since 0.2?I would encourage you to upgrade to at least 0.3 and even consider a recent
dev build. (We are running a recent one in production with no issues.)Thanks,
BrianOn Wed, Sep 28, 2011 at 5:18 PM, Gustavo Soares gustavosoares@gmail.comwrote:
ok Corey, thanks.
Are you running the latest version? (I’m still running version 0.2)
Gus
On Wed, Sep 28, 2011 at 5:53 PM, Corey Osman corey@logicminds.bizwrote:
I usually just create a ticket for what I need, write the code, test,
then submit the patch for review.Corey
On Sep 28, 2011, at 1:48 PM, Gustavo Soares wrote:Hi Ohad,
what would be the best way to extend the REST API provided by Foreman to
add some new API’s?Gus
–
You received this message because you are subscribed to the Google Groups
“Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.Corey Osman
corey@logicminds.biz
678-348-0582 Pacific TimeGreen I.T and Datacenter Automation Specialist
–
You received this message because you are subscribed to the Google Groups
“Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.–
You received this message because you are subscribed to the Google Groups
“Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.–
http://aws.amazon.com/solutions/solution-providers/brandorr/–
You received this message because you are subscribed to the Google Groups
“Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.