Commit Graph

88 Commits

Author SHA1 Message Date
daniceexi
14b8749111 add handling for the error happens in table resource operation 2014-04-23 06:12:07 -04:00
daniceexi
08d73347c8 split table src to multiple ones; replace xcatws.cgi with the content from restapi.pl 2014-04-22 14:22:19 -04:00
Bruce Potter
058d969467 changed table resource to tables in genrestapidoc.pm 2014-04-21 10:36:08 -04:00
Bruce Potter
e57afa23c1 change table resource to tables in rest api 2014-04-21 10:18:51 -04:00
Bruce Potter
5d13cf0d36 added table put and delete calls to rest api 2014-04-20 18:56:24 -04:00
daniceexi
758235d4dd restructure the xcatws-test.sh to make it can handle server certificate checking and token checking 2014-04-15 09:53:48 -04:00
daniceexi
207388d424 did some minor changes for the output of examples; adjusted the resource order in the auto generated doc 2014-04-10 10:15:28 -04:00
yinle
7845eef34d Modify policy and site; remove tab 2014-04-10 06:57:10 -07:00
junxiaw
9f160dfd1d wangjunxiaw update code for restapi 2014-04-09 02:42:30 -07:00
root
9c0ca92a63 wangjunxiaw update genrestapidoc code 2014-04-09 02:39:49 -07:00
zhaoertao
99f1eba251 add examples and usage for osiamge in RESTAPI 2014-04-09 02:12:14 -07:00
daniceexi
217dee1244 removed the unused require of table.pm; fix the issue to handle the servicedone key in the xcat xml output 2014-04-09 07:22:29 -04:00
daniceexi
5fd991246a added the resource to POST token for an account 2014-04-07 08:11:23 -04:00
zhaoertao
b169de45ef Modify doc output for osimage/osimage_allattr 2014-04-04 03:47:02 -07:00
yinle
7848b733b3 Modify doc for policy and site. 2014-04-04 01:52:49 -07:00
yinle
69455327e6 Modify doc output of policy and site. 2014-04-04 01:46:33 -07:00
daniceexi
a0bbb92921 refine the output/doc of nodeshell,nodecopy,sw,postscript; Added the support of slpnodes 2014-04-03 04:29:42 -04:00
daniceexi
a2e384931a add more comments 2014-04-02 10:23:08 -04:00
daniceexi
c6486a6228 Add more comments and remove not used subroutines 2014-04-01 12:41:51 -04:00
daniceexi
c540c616ab make the output of nodeshell src is grouped with the nodename; support the xcoll flag to group the output with the output message instead of node 2014-04-01 10:16:02 -04:00
daniceexi
8887485857 support subnodes resource 2014-03-31 10:17:54 -04:00
daniceexi
cf5fc84937 add the support of makedns/makedhcp, nodestat and bootstate=offline for node 2014-03-29 04:36:15 -04:00
daniceexi
843a32e664 add the URI support for group and makedns/makedhcp 2014-03-28 10:09:17 -04:00
daniceexi
c418e9aeb9 More uri definition changes 2014-03-28 03:04:55 -04:00
daniceexi
e0ff38a38a refine the output for node resources 2014-03-27 10:18:29 -04:00
daniceexi
8be3e23145 Change the output format for several URI 2014-03-25 10:18:34 -04:00
daniceexi
3bac60fac8 add more rest api implementation. refine the doc output 2014-03-20 11:26:50 -04:00
daniceexi
4aafb62e16 add comments for the procedure to handle a restapi request; add comments to describe the definition of URI 2014-03-20 02:13:27 -04:00
Bruce Potter
bd7a9096b2 updated table rest api description 2014-03-19 18:01:58 -04:00
daniceexi
221a6854b7 add more doc info 2014-03-19 10:19:43 -04:00
Bruce Potter
0bd4753702 finished table get rest api calls 2014-03-18 18:47:01 -04:00
daniceexi
a5ff9cfeec add the mechanism to auto make document for restapi 2014-03-18 10:22:17 -04:00
Bruce Potter
79d7b55208 got table rest api call to work for single or multiple node 2014-03-17 18:16:13 -04:00
daniceexi
c55655a50c Add more rest api support 2014-03-17 10:11:27 -04:00
Bruce Potter
3eaf383163 started the table api calls 2014-03-16 19:54:00 -04:00
daniceexi
df3239cbb5 new implementaion of xCAT rest api 2014-03-14 09:45:04 -04:00
Bruce Potter
681ec3c968 finished test driver for node resource 2014-02-26 19:34:16 -05:00
Bruce Potter
c58f440db1 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core
removed user/pw from xcatws-test.sh
2014-02-25 04:11:56 -05:00
Bruce Potter
29c8b4216b removed user/pw from xcatws-test.sh 2014-02-25 04:11:22 -05:00
baiyuan
1607a1dac6 fix:convert array to hash,xcatws.cgi use hash entries 2014-02-25 00:07:34 -05:00
baiyuan
86e663860d fix:line 6: user: command not found. add: arguments 2014-02-24 04:14:18 -05:00
Bruce Potter
b77b8e7c7d got node list of xcatws.cgi also working with new json structure 2014-02-23 16:00:37 -05:00
Bruce Potter
e251f0a2cf example rest apis working with new json structure 2014-02-23 04:13:15 -05:00
Bruce Potter
80d4cf913b curl working for xcatws.cgi put and some reorg of code 2014-02-09 15:43:37 -05:00
Bruce Potter
dd8096b39f 1st put works with json dict 2014-02-03 15:58:15 -05:00
Bruce Potter
466d5f0a9f test scripts for the rest api 2014-01-31 08:26:55 -05:00
baiyuan
2825e469fe fix Undefined subroutine &JSON::decode_json called at /opt/xcat/ws/xcatws.cgi line 168 2014-01-27 23:36:01 -05:00
jbjohnso
18f0040778 Restore xcatws understanding of existing code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-27 19:08:49 +00:00
phamt
9c7b61f341 Updated REST-API to support more xCAT commands and more z/VM options.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 16:16:51 +00:00
jbjohnso
8bc4dd7476 Have xCAT WS support credentials via header rather than uri
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15180 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-14 19:19:19 +00:00