Comments (1)
The code is in place, see
https://github.com/dmwm/WMArchive/blob/master/src/python/WMArchive/Service/Data.py#L35
and here is curl output which confirms that WMArchive returns 406 for misleading requests:
HEADERS="Content-type: application/json"
# define scurl as curl -k --key ~/.globus/userkey.pem --cert ~/.globus/usercert.pem "$@"
scurl -v -X POST -H $HEADERS -d '{"query":"bla"}' https://cmsweb-testbed.cern.ch/wmarchive/data
< HTTP/1.1 406 Not Acceptable
< Date: Fri, 09 Sep 2016 14:27:18 GMT
< Server: CherryPy/unknown
< Set-Cookie: cms-auth=7635e6def1b06c93ce6c9202552d4a8546f913cffb34cd956fe5b8ff671237be41cb38e2edcdb5d2;path=/;secure;httponly;expires=Thu, 01-Jan-1970 00:00:01 GMT
< Content-Length: 112
< X-Rest-Time: 1370.192 us
< Vary: Accept
< Etag: "e97e1835f02d088475defe4f095bc2a9bf42c283"
< X-Rest-Status: 100
< Content-Type: application/json
< CMS-Server-Time: D=40037 t=1473431238599979
<
{"result": [
{"status": "Not supported, expect \"data\", \"query\" attributes in your request", "data": []}
]}
from wmarchive.
Related Issues (20)
- Investigate spark streaming approach HOT 1
- Implement daily dir structure for avro files HOT 1
- wmaClient HOT 1
- don't allow duplicate docs get inserted. HOT 1
- FWJR performance documentation HOT 6
- Add filter for aggregation getting only final fwjr HOT 4
- Document keys used in WMArchive HOT 3
- UI request from Jen HOT 13
- Archive data unit change HOT 25
- Integration tests to understand the ExitCodes HOT 37
- Average event time HOT 7
- Paola's usecase HOT 11
- Actions needed to have the next release as Nov 30 HOT 5
- Adjust file size to be less of 256MB for HDFS migration HOT 2
- Reduce latency in aggregation HOT 5
- Need to pull logs multiple ways and compare them HOT 16
- Update avro input path
- Missing required field PrepID HOT 18
- Large queries with WMArchive HOT 6
- Investigate and fix source of errors in WMArchive HOT 6
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 wmarchive.