|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PatchedChefApi
Private chef api seems to miss support for HEAD method in the node resource.
This class overrides the ChefApi.nodeExists(String) method to
use GET instead of HEAD.
| Method Summary | |
|---|---|
boolean |
nodeExists(String name)
|
| Methods inherited from interface org.jclouds.chef.ChefApi |
|---|
clientExists, commitSandbox, createClient, createClient, createDatabag, createDatabagItem, createNode, createRole, databagExists, databagItemExists, deleteClient, deleteCookbook, deleteDatabag, deleteDatabagItem, deleteNode, deleteRole, generateKeyForClient, getClient, getCookbook, getDatabagItem, getNode, getResourceContents, getRole, getUploadSandboxForChecksums, getVersionsOfCookbook, listClients, listCookbooks, listDatabagItems, listDatabags, listNodes, listRoles, listSearchIndexes, roleExists, searchClients, searchClients, searchDatabag, searchDatabag, searchNodes, searchNodes, searchRoles, searchRoles, updateCookbook, updateDatabagItem, updateNode, updateRole, uploadContent |
| Method Detail |
|---|
boolean nodeExists(String name)
nodeExists in interface org.jclouds.chef.ChefApiorg.jclouds.rest.AuthorizationException -
"401 Unauthorized" if you are not a recognized user.
"403 Forbidden" if you do not have rights to view the node.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||