gaul / s3proxy

Access other storage backends via the S3 API
Apache License 2.0
1.72k stars 224 forks source link

JavaScript middlewares #181

Open gaul opened 7 years ago

gaul commented 7 years ago

S3Proxy middlewares presently require writing Java code and integrating them into the main S3Proxy binary during compile time. Instead S3Proxy should dynamically load scripts at run time to allow casual users to programmatically react to client requests. S3Proxy must provide some external interface to the jclouds BlobStore interface. Nashorn bundled with JDK 8 should make loading JavaScript easy.

gaul commented 7 years ago

Instead of using JavaScript, perhaps S3Proxy can load Java class files dynamically?