Commit Graph

67 Commits

Author SHA1 Message Date
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
jbjohnso
496393222f Fix more instances of namespace for JSON functions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 21:02:09 +00:00
jbjohnso
133551dd07 Some fixes for WS PUT operations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14867 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 21:21:05 +00:00
jbjohnso
5ecab2d703 Repair JSON in web service (to_json is not imported to namespace on 'require', could do import, but just doing JSON:: to be clearer
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 20:52:46 +00:00
xq2005
24d81c3019 change version and json dependence
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 07:43:12 +00:00
xq2005
ece9baa5a4 change version and json dependence
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 07:25:01 +00:00
xq2005
9110102e1e change version and json dependence
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13895 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 07:18:39 +00:00
bp-sawyers
a18348883d Eliminated hard requires for SOAP::Lite and JSON
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-22 16:20:24 +00:00
daniceexi
788c4ac91c add again with new execute permission
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13860 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 01:04:41 +00:00
daniceexi
dcda42d7f3 remove to change the permission
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 01:02:53 +00:00
cjhardee
c30c73c726 Allowed the put data to be passed in the query string for table puts and patches
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 15:01:58 +00:00
daniceexi
418c371dae Add cgi to handle the status update for rhev-h when finished installing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13556 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 13:51:40 +00:00
jbjohnso
8d93c5ec4a Fixes for xcatws
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-06 21:04:24 +00:00
xq2005
9ee701ca4a fix the problem for json return format with imbedded list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 14:03:30 +00:00
arifali
3946f00fd5 corrected/added xcat-ws.conf for ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12172 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 10:25:29 +00:00
xq2005
3203501826 add the REST API of gettab
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 09:16:06 +00:00
xq2005
95d5f9db58 add REST API for capture image
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 07:54:21 +00:00
xq2005
4da98c6d66 add the API of image check command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 09:31:33 +00:00
xq2005
2f65463e87 REST API for image list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11892 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 08:50:55 +00:00
xq2005
430bb12d13 xdcp command in REST API
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11891 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-19 06:46:10 +00:00
xq2005
99e038c6a2 turn the debugging
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 07:08:32 +00:00
xq2005
af24bd9b4b add the xdsh rest api interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11858 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-15 06:54:28 +00:00