gklyne / admiral-jiscmrd

Automatically exported from code.google.com/p/admiral-jiscmrd
MIT License
0 stars 0 forks source link

Web interface for ADMIRAL user administration #42

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Provide web interface to allow research group leader to add, modify and delete 
users, linking to existing scripts.

Also, allow group members to modify their own password.

Original issue reported on code.google.com by gk-goo...@ninebynine.org on 17 Mar 2011 at 9:07

GoogleCodeExporter commented 8 years ago

Original comment by bhavana....@gmail.com on 17 Mar 2011 at 11:57

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
http://www.ezran.org/blog/2008/09/rest-and-python/
  REST - http://www.xml.com/pub/a/2004/12/01/restful-web.html 

Original comment by bhavana....@gmail.com on 6 Apr 2011 at 2:51

GoogleCodeExporter commented 8 years ago
The xml.com link is a good find!

Original comment by gk-goo...@ninebynine.org on 7 Apr 2011 at 7:27

GoogleCodeExporter commented 8 years ago
Discussion :
http://stackoverflow.com/questions/3577994/creating-rest-web-services-with-pytho
n

Original comment by bhavana....@gmail.com on 12 Apr 2011 at 10:15

GoogleCodeExporter commented 8 years ago
Sample: http://johnpaulett.com/2008/09/20/getting-restful-with-webpy/

Original comment by bhavana....@gmail.com on 12 Apr 2011 at 10:16

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
****************************
REST in python using Web.py
****************************

1> Install web.py : http://webpy.org/install

2> Create example.py :

___________________________________________
import web

urls = ('/memory','PrintStatement')
if __name__ == "__main__":
    app = web.application(urls,globals())
    app.run()

class PrintStatement:
    def GET(self):
        return "Hello, world!"
_____________________________________________

3> From the command line run : python example.py

ie. In one command window, run the server:
     $ python example.py
        http://0.0.0.0:8080/
     ...

4> Open the URL : http://localhost:8080/memory
   The link should display "Hello, world!"

Original comment by bhavana....@gmail.com on 12 Apr 2011 at 1:52

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Django, a light weight framework -
----------------------------------

    http://stackoverflow.com/questions/3645543/simple-restful-client-server-example-in-python?tab=oldest#tab-top

    http://code.google.com/p/django-rest-interface/

Other options: RESTx
---------------------

   http://restx.mulesoft.org/quick-start-guide

Original comment by bhavana....@gmail.com on 12 Apr 2011 at 4:15

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Restful web services using Pylons: 

http://pylonshq.com/docs/en/1.0/controllers/#using-the-rest-controller-with-a-re
stful-api
http://pieceofpy.com/category/rest/

The following was implemented on spike for experimenting:

****************************
REST in python using Pylon
****************************

1> Install pylon through easy install

2> Source mydevenv/bin/activate

3> Create a new project named helloworld with the following command:
   $ paster create -t pylons helloworld

4> cd helloworld
   $ paster serve --reload development.ini

5> Open the URL : http://127.0.0.1:5000/hello/index
   The link should display "Hello, world!"

 < Note: More info about installation is available at "http://pylonshq.com/docs/en/1.0/gettingstarted/#installing" >

Original comment by bhavana....@gmail.com on 19 Apr 2011 at 4:33

GoogleCodeExporter commented 8 years ago
Deploying webpy applications: 
http://library.linode.com/frameworks/webpy/ubuntu-10.04-lucid#sph_id4

Original comment by bhavana....@gmail.com on 9 May 2011 at 2:43

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
About authorization: 
http://esxsnmp.googlecode.com/svn-history/r217/trunk/src/python/esxsnmp/newdb.py

Original comment by bhavana....@gmail.com on 17 May 2011 at 4:39

GoogleCodeExporter commented 8 years ago
ADMIRAL Interface Restful API document attached.

Original comment by bhavana....@gmail.com on 23 May 2011 at 8:43

GoogleCodeExporter commented 8 years ago
I note your document still shows POST to /user/{user-id} for adding a new user, 
rather than to /users.

Original comment by gk-goo...@ninebynine.org on 23 May 2011 at 9:26

GoogleCodeExporter commented 8 years ago
Thanks Graham, will update the document and relpace the old one!

Original comment by bhavana....@gmail.com on 23 May 2011 at 9:55

GoogleCodeExporter commented 8 years ago
Admin API Specification.docx

Original comment by bhavana....@gmail.com on 27 May 2011 at 9:20

Attachments: