Comments (6)
The API :
https://github.com/nmondal/cowj/blob/main/app/src/main/java/cowj/plugins/S3StorageWrapper.java#L104
fileExists
works for that purpose.
from cowj.
That would be an extra query no? I want to get the contents of file if exists otherwise null?
from cowj.
No, it is a head call. Under the hood it always does multiple calls.
Exactly what is being broken by this?
from cowj.
Nothing major actually. The storage proxy when a file was not found, we used to get 404 because dumpb returned null. Now, it is returning 200 with empty body. The fix is to check if the body is empty before returning which I have done but just wanted to point this out
from cowj.
@hemil-ruparel-blox take a look around, this is fixed now with protocol change in the Storage ensuring people must conform to this.
from cowj.
Working as of 7b783ca. A file that does not exist, returns null
from cowj.
Related Issues (20)
- Byte array support for load and dump HOT 1
- cow-0.1-SNAPSHOT.jar should be corrected as cowj-0.1-SNAPSHOT.jar in the doc HOT 2
- Google Storage plugin : Recursive Directory Traversal HOT 2
- Resource File Support : It is sometime necessary to have resource string support that would depend on the script variables
- JWT should also take raw map based input HOT 1
- Java 21 green-thread support might be very useful to save infra HOT 2
- Cron Jobs - which are run on boot - should be retriable HOT 1
- JWT Authenticator does not take body whitespace into account
- A statically type checked language like Kotlin probably is a good idea in some cases HOT 2
- Javascript libraries loading - Require HOT 1
- websocket is a necessity for acting as a full fledged web framework HOT 2
- A tiny throwaway RAMA impl is needed HOT 1
- JDBC needs a parameterized query evaluator HOT 1
- If script returns null, COWJ returns 404 HOT 6
- Mem and File system based Storage does not `stream()` key names
- RAMA should have it's own `cron` system to run consumers HOT 3
- A good feature would be to verify query parameter verification via schema HOT 2
- ColumnNotFoundException when using queries with column aliasing in JDBCWrapper HOT 2
- Compilation is only possible now in JDK 21 due to apache derby test dependencies HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cowj.