• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Managing amazon s3 resources using web services

 
Ranch Hand
Posts: 954
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need to write RESTFul web services to manage resources on Amazon s3 server using their SDK.

I can write web services for accessing. But i am not sure how to create design for these..

Basic URI i can think of are:

http://localhost:8080/amazon/s3server/buckets <--- get all buckets name (GET operation, No PUT/POST/DELETE operation allowed)
http://localhost:8080/amazon/s3server/buckets/{bucketName}/files <--- TO GET all the files in a bucket or put in a bucket (GET, PUT, POST, DELETE)
http://localhost:8080/amazon/s3server/buckets/{bucketName}/files/{fileName} <-- TO get a file from a bucket (GET, PUT, DELETE)
http://localhost:8080/amazon/s3server/buckets/{bucketName}/files?start={start}&size={size} <-- to support pagination (GET operation only)


I don't know about the architect point..Any idea?
 
Bartender
Posts: 1210
25
Android Python PHP C++ Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'll move this to the Web Services forum since it seems more appropriate for this topic.

Are you writing a wrapper web service which contacts AWS on behalf of your users? What aspect are you having problems with?
 
Tushar Goel
Ranch Hand
Posts: 954
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Are you writing a wrapper web service which contacts AWS on behalf of your users?


I dont have started yet. I am thinking design. They are asking about WADL about this. I wondering why it is required.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic